media/testutils/src/main/java/com/google/android/exoplayer2/testutil
tonihei 049f3cf5cd Keep default start position (TIME_UNSET) as content position for preroll ads.
If we use the default start position, we currently resolve it immediately
even if we need to play an ad first, and later try to project forward again
if we believe that the default start position should be used.

This causes problems if a specific start position is set and the later
projection after the preroll ad shouldn't take place.

The problem is solved by keeping the content position as TIME_UNSET (= default
position) if an ad needs to be played first. The content after the ad can
then be resolved to its current default position if needed.

PiperOrigin-RevId: 258583948
2019-07-18 14:14:52 +01:00
..
Action.java add manifest to Timeline.Window 2019-07-14 16:20:45 +01:00
ActionSchedule.java Put @Nullable annotation in the right place 2019-05-30 15:10:55 +01:00
AutoAdvancingFakeClock.java Migrate ExoPlayerTest to Robolectric. 2018-01-23 19:30:41 +00:00
DebugRenderersFactory.java Don't throw DecoderQueryException from getCodecMaxSize 2019-06-06 17:36:03 +01:00
DecoderCountersUtil.java Use Truth instead of framework asserts in all tests. 2018-01-23 19:29:12 +00:00
DummyMainThread.java Make DownloadManager use DownloadIndex 2019-03-26 13:18:11 +00:00
Dumper.java Sanitize constants 2016-08-31 15:25:18 +01:00
ExoHostedTest.java Add IntDef for Player states. 2019-04-30 22:07:47 +01:00
ExoPlayerTestRunner.java Keep default start position (TIME_UNSET) as content position for preroll ads. 2019-07-18 14:14:52 +01:00
ExtractorAsserts.java Use androidx.test and extensions. 2019-03-15 04:53:12 +00:00
FakeAdaptiveDataSet.java Add MediaChunkIterator for FakeAdaptiveDataSet. 2018-07-06 14:25:38 +01:00
FakeAdaptiveMediaPeriod.java Plumb DrmSessionManager into DashMediaSource 2019-07-14 16:22:22 +01:00
FakeAdaptiveMediaSource.java add manifest to Timeline.Window 2019-07-14 16:20:45 +01:00
FakeChunkSource.java Migrate to androidx 2019-02-19 13:22:54 +00:00
FakeClock.java Replace message delay with send at time in playback loop. 2018-01-04 15:48:11 +00:00
FakeDataSet.java Put @Nullable annotation in the right place 2019-05-30 15:10:55 +01:00
FakeDataSource.java Move playback tests off deprecated APIs 2018-08-24 16:05:40 +01:00
FakeExtractorInput.java Split a few assertThat(a && b).isTrue() calls into separate assertions for more precise diagnostics. 2019-05-15 13:44:26 -07:00
FakeExtractorOutput.java Move (almost all) remaining core library instrumentation tests to Robolectric. 2018-02-16 11:46:34 +00:00
FakeMediaPeriod.java Migrate to androidx 2019-02-19 13:22:54 +00:00
FakeMediaSource.java add manifest to Timeline.Window 2019-07-14 16:20:45 +01:00
FakeRenderer.java Automated g4 rollback of changelist 192816182. 2018-04-16 10:55:42 +01:00
FakeSampleStream.java Put @Nullable annotation in the right place 2019-05-30 15:10:55 +01:00
FakeTimeline.java add manifest to Timeline.Window 2019-07-14 16:20:45 +01:00
FakeTrackOutput.java Add static Util.EMPTY_BYTE_ARRAY 2018-09-12 14:57:01 +01:00
HostActivity.java Rename host_activity.xml to avoid manifest merge conflicts. 2019-05-30 15:28:23 +01:00
LogcatMetricsLogger.java Add wrapper for Log messages to allow settig the log level. 2018-09-20 12:12:21 +01:00
MetricsLogger.java Use androidx.test and extensions. 2019-03-15 04:53:12 +00:00
TestUtil.java Enable use of database storage in CachedContentIndex 2019-02-18 15:57:09 +00:00