media/testutils/src/main/java/com/google/android/exoplayer2/testutil
tonihei 2b9c31a14f Add MediaSource and DataSource to inject playback nonce into URLs.
A new playback nonce is created for each playback of the same item. Thus we
need to inject the nonce dynamically into the data source factory.

This CL adds the DataSource which does the actual insertion into the request
URLs and a MediaSource which listens to new media periods, to request the
nonce and to configure the data source factory for this media period to use
this nonce.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=197134217
2018-05-18 15:04:55 +01:00
..
Action.java Move renderer flags, overrides and tunneling ID into Parameters 2018-05-07 05:56:48 +01:00
ActionSchedule.java Make tests use DefaultTrackSelector 2018-04-11 00:29:53 +01:00
AutoAdvancingFakeClock.java Migrate ExoPlayerTest to Robolectric. 2018-01-23 19:30:41 +00:00
DebugRenderersFactory.java Pass DrmSessionManager through SimpleExoPlayer. 2018-03-28 00:43:07 +01:00
DecoderCountersUtil.java Use Truth instead of framework asserts in all tests. 2018-01-23 19:29:12 +00:00
Dumper.java Sanitize constants 2016-08-31 15:25:18 +01:00
ExoHostedTest.java Make tests use DefaultTrackSelector 2018-04-11 00:29:53 +01:00
ExoPlayerTestRunner.java Automated g4 rollback of changelist 192816182. 2018-04-16 10:55:42 +01:00
ExtractorAsserts.java Move (almost all) remaining core library instrumentation tests to Robolectric. 2018-02-16 11:46:34 +00:00
FakeAdaptiveDataSet.java Add chunk size variation to fake adaptive data set. 2017-10-13 19:53:02 +01:00
FakeAdaptiveMediaPeriod.java Add callbacks for media period life cycle. 2018-03-28 00:41:29 +01:00
FakeAdaptiveMediaSource.java Send media source events for fake media sources. 2018-03-27 23:58:52 +01:00
FakeChunkSource.java Use long for HLS media sequences 2018-02-01 14:25:01 +00:00
FakeClock.java Replace message delay with send at time in playback loop. 2018-01-04 15:48:11 +00:00
FakeDataSet.java SegmentDownloader loadManifest cleanup. 2017-08-17 22:32:57 +01:00
FakeDataSource.java Add MediaSource and DataSource to inject playback nonce into URLs. 2018-05-18 15:04:55 +01:00
FakeExtractorInput.java Use Truth instead of framework asserts in all tests. 2018-01-23 19:29:12 +00:00
FakeExtractorOutput.java Move (almost all) remaining core library instrumentation tests to Robolectric. 2018-02-16 11:46:34 +00:00
FakeMediaPeriod.java Make MediaPeriod implementations compliant with its specification 2018-03-28 00:52:04 +01:00
FakeMediaSource.java Add MediaSource and DataSource to inject playback nonce into URLs. 2018-05-18 15:04:55 +01:00
FakeRenderer.java Automated g4 rollback of changelist 192816182. 2018-04-16 10:55:42 +01:00
FakeSampleStream.java Send media source events for fake media sources. 2018-03-27 23:58:52 +01:00
FakeTimeline.java Add setters to MediaSource factories for custom window tag. 2018-04-07 19:12:21 +01:00
FakeTrackOutput.java Supports seeking for FLAC files without a SEEKTABLE. 2018-05-18 15:04:55 +01:00
HostActivity.java Use Truth instead of framework asserts in all tests. 2018-01-23 19:29:12 +00:00
LogcatMetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
MetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
TestUtil.java Move extension tests to Robolectric. 2018-02-27 11:03:50 +00:00