media/libraries
tonihei 6abc94a8b7 Remove flakiness from DefaultAnalyticsCollectorTest
Our FakeClock generally makes sure that playback tests are fully
deterministic. However, this fails if the test uses blocking waits
with clock.onThreadBlocked and where relevant Handlers are created
without using the clock.

To fix the flakiness, we can make the following adjustments:
 - Use TestExoPlayerBuilder instead of legacy ExoPlayerTestRunner
   to avoid onThreadBlocked calls. This also makes the tests more
   readable.
 - Use clock to create Handler for FakeVideoRenderer and
   FakeAudioRenderer. Ideally, this should be passed through
   RenderersFactory, but it's too disruptive given this is a
   public API.
 - Use clock for MediaSourceList and MediaPeriodQueue update
   handler.

PiperOrigin-RevId: 490907495
2022-11-29 18:31:15 +00:00
..
cast Rename getVideoSurfaceSize to getSurfaceSize 2022-11-16 12:15:05 +00:00
common Exclude tracks from PlayerInfo if not changed 2022-11-24 14:45:37 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
datasource_cronet Handle buffers in DefaultAudioSink with AudioProcessingPipeline. 2022-11-16 12:07:58 +00:00
datasource_okhttp Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
datasource_rtmp Annotate methods that always return this with @CanIgnoreReturnValue 2022-08-08 07:55:25 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:21:36 +01:00
decoder_av1 Fix Dackka parameter name error in Gav1Decoder and VpxDecoder 2022-11-10 14:48:37 +00:00
decoder_ffmpeg Fix compilation error in ffmpeg JNI layer 2022-11-22 17:46:02 +00:00
decoder_flac Fix Dackka/Metalava errors in av1, flac, ffmpeg, midi, and opus modules 2022-11-10 14:44:16 +00:00
decoder_opus Add set -eu to all shell scripts 2022-11-22 10:11:32 +00:00
decoder_vp9 Add set -eu to all shell scripts 2022-11-22 10:11:32 +00:00
effect Destroy eglSurface in FrameProcessor 2022-11-22 10:06:58 +00:00
exoplayer Remove flakiness from DefaultAnalyticsCollectorTest 2022-11-29 18:31:15 +00:00
exoplayer_dash Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 14:56:54 +00:00
exoplayer_hls Refactor transformation completion 2022-11-22 09:44:47 +00:00
exoplayer_ima Refactor transformation completion 2022-11-22 09:44:47 +00:00
exoplayer_rtsp Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 14:56:54 +00:00
exoplayer_smoothstreaming Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 14:56:54 +00:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Convert bitrates to bps before setting it 2022-11-29 18:28:49 +00:00
session Handle the bitmap loading result with applicationHandler 2022-11-24 14:48:50 +00:00
test_data Convert bitrates to bps before setting it 2022-11-29 18:28:49 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Migrate BROWSER_ROOT_HINTS_KEY_ROOT_CHILDREN_SUPPORTED_FLAGS to Media3 2022-11-24 14:38:41 +00:00
test_session_current Misc fix in gradle build file 2022-11-24 14:46:43 +00:00
test_utils Remove flakiness from DefaultAnalyticsCollectorTest 2022-11-29 18:31:15 +00:00
test_utils_robolectric Remove flakiness from DefaultAnalyticsCollectorTest 2022-11-29 18:31:15 +00:00
transformer Bump muxer watchdog abort timer default timeout to 10s. 2022-11-29 18:27:45 +00:00
ui Mark broadcast receivers as not exported 2022-11-22 09:54:45 +00:00
ui_leanback Refactor transformation completion 2022-11-22 09:44:47 +00:00