media/testutils/src/main/java/com/google/android/exoplayer2/testutil
tonihei be88499615 Display last frame when seeking to end of stream.
We currently don't display the last frame because the seek time is behind the
last frame's timestamps and it's thus marked as decodeOnly.

This case can be detected by checking whether all data sent to the codec is
marked as decodeOnly at the time we read the end of stream signal. If so, we
can re-enable the last frame. This should work for almost all cases because the
end-of-stream signal is read in the same feedInputBuffer loop as the last
frame and we therefore haven't released the last frame buffer yet.

Issue:#2568
PiperOrigin-RevId: 251425870
2019-06-06 17:34:47 +01:00
..
Action.java Put @Nullable annotation in the right place 2019-05-30 15:10:55 +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 Display last frame when seeking to end of stream. 2019-06-06 17:34:47 +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 Put @Nullable annotation in the right place 2019-05-30 15:10:55 +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 Put @Nullable annotation in the right place 2019-05-30 15:10:55 +01:00
FakeAdaptiveMediaSource.java Migrate to androidx 2019-02-19 13:22:54 +00: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 Put @Nullable annotation in the right place 2019-05-30 15:10:55 +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 helper method to get uid of timeline period. 2018-07-23 12:22:57 +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