media/testutils/src/main/java/com/google/android/exoplayer2/testutil
tonihei aac53cac56 Add reason to onTimelineChanged.
Currently onTimelineChanged doesn't allow to distinguish easily between the
different reasons why it's being called. Especially, finding
out whether a new media source has been prepared or the current source
refreshed dynamically was impossible without tightly coupling the player
operations with the listener.

The new reasons provide this disdinction by either indicating a newly
initialized media source, a dynamic update to an existing timeline
or manifest, or a reset of the player (which usually results in an
empty timeline).

The original onTimelineChanged method without reason is kept in the
DefaultEventListener as deprecated to prevent the need to update all
existing listeners in one go.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=176478701
2017-11-21 13:07:46 +00:00
..
Action.java Add reason to onTimelineChanged. 2017-11-21 13:07:46 +00:00
ActionSchedule.java Amend seek action in ActionSchedule to optionally wait until playback resumes. 2017-10-11 12:14:39 +01:00
CacheAsserts.java SegmentDownloader loadManifest cleanup. 2017-08-17 22:32:57 +01:00
DebugRenderersFactory.java Catch up video rendering by dropping to keyframes 2017-10-11 12:11:58 +01:00
DecoderCountersUtil.java Rename droppedOutputBufferCount 2017-10-11 12:17:25 +01:00
Dumper.java Sanitize constants 2016-08-31 15:25:18 +01:00
ExoHostedTest.java Add AudioSink interface and use it from audio renderers 2017-10-03 08:47:20 +01:00
ExoPlayerTestRunner.java Add reason to onTimelineChanged. 2017-11-21 13:07:46 +00:00
ExtractorAsserts.java Some extractor fixes 2017-08-02 17:44:41 +01:00
FakeAdaptiveDataSet.java Add chunk size variation to fake adaptive data set. 2017-10-13 19:53:02 +01:00
FakeAdaptiveMediaPeriod.java Release streams in fake adaptive media period. 2017-09-15 23:24:28 +01:00
FakeAdaptiveMediaSource.java Add fake adaptive media source. 2017-07-31 20:45:08 +01:00
FakeChunkSource.java Fix positions passed to TrackSelection 2017-10-19 16:48:39 +01:00
FakeClock.java Add postDelayed operation to Clock interface. 2017-09-05 16:34:44 +01:00
FakeDataSet.java SegmentDownloader loadManifest cleanup. 2017-08-17 22:32:57 +01:00
FakeDataSource.java Use Handler callback instead of sleep() to catch InteruptedException. 2017-09-15 23:28:13 +01:00
FakeExtractorInput.java Clean up MP3 synchronization and fix handling < 4 frames. 2016-09-16 18:52:42 +01:00
FakeExtractorOutput.java Propagate track type through ExtractorOutput.track 2017-02-15 16:49:47 +00:00
FakeMediaClockRenderer.java Allow multiple Formats per TrackGroup in testutil fake classes. 2017-07-17 23:08:52 +01:00
FakeMediaPeriod.java Inject toKeyframe discard parameter from ExoPlayerImplInternal 2017-11-17 18:45:51 +00:00
FakeMediaSource.java Add method to FakeMediaSource to trigger source info refresh. 2017-11-17 18:37:08 +00:00
FakeRenderer.java Clear buffer in fake renderer in each iteration. 2017-09-08 22:24:19 +01:00
FakeSampleStream.java Propagate skipped input buffers through to CodecCounters 2017-07-31 21:14:23 +01:00
FakeShuffleOrder.java Add fake shuffle order. 2017-08-29 22:44:13 +01:00
FakeSimpleExoPlayer.java Add reason to onTimelineChanged. 2017-11-21 13:07:46 +00:00
FakeTimeline.java Add simplified FakeTimeline constructor. 2017-11-17 18:57:51 +00:00
FakeTrackOutput.java Introduce CryptoData parameter object 2017-05-11 05:53:20 +01:00
FakeTrackSelection.java Notify TrackSelection when it's enabled and disabled. 2017-11-13 20:06:06 +00:00
FakeTrackSelector.java Notify TrackSelection when it's enabled and disabled. 2017-11-13 20:06:06 +00:00
HostActivity.java Relax test termination for API level 23 and above 2017-09-15 23:40:43 +01:00
LogcatMetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
MediaSourceTestRunner.java Use MediaSourceTestRunner in additional source tests 2017-11-21 13:01:59 +00:00
MetricsLogger.java Move playback test utils to testutils. 2017-06-12 10:18:50 +01:00
MockitoUtil.java Move MockitoUtils to testutils and use it for all Mockito set-ups. 2017-11-20 13:40:28 +00:00
OggTestData.java Some test cleanup 2017-11-17 18:41:38 +00:00
StubExoPlayer.java Some test cleanup 2017-11-17 18:41:38 +00:00
TestUtil.java Use MediaSourceTestRunner in additional source tests 2017-11-21 13:01:59 +00:00
TimelineAsserts.java Add MediaSourceTestRunner for MediaSource tests. 2017-11-17 19:02:14 +00:00