media/libraries
Googler 6c7dddbd7f Fix tests affected by Robolectric's constructor visibility bug
Previously, Robolectric's instrumentation updated all constructors to be
public. This caused two main types of problems:

1) When non-public constructors were made public and added to the Android API,
Robolectric allowed tests to incorrectly use the constructors on older SDK
levels (where they were non-public). This most commonly occurs for
AccessibiltyEvent and AccessibilityNodeInfo.

2) When reflection was used to instantiate classes that were instrumented by
Robolectric, all constructors were accessible.

Fix issues across Google3 Robolectric tests that were affected by this issue.
A forthcoming change will fix the instrumentation in Robolectric to prevent
this type of issue from occurring.

Tested:
    TAP --sample ran all affected tests and none failed
    http://test/OCL:507861075:BASE:507805409:1675803313108:f2128fa4
PiperOrigin-RevId: 508087822
2023-02-14 14:21:57 +00:00
..
cast Clarify behavior for out-of-bounds indices and align implementations 2022-12-21 15:07:20 +00:00
common Effect: Rename TextureProcessor to ShaderProgram. 2023-02-08 14:04:09 +00:00
database Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_cronet Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_okhttp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
datasource_rtmp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_av1 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_ffmpeg Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_flac Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_opus Add javadoc links to README files 2022-12-12 11:19:23 +00:00
decoder_vp9 Add javadoc links to README files 2022-12-12 11:19:23 +00:00
effect Effect: Create GlEffect.isNoOp to simplify Transformer. 2023-02-08 14:07:41 +00:00
exoplayer Fix tests affected by Robolectric's constructor visibility bug 2023-02-14 14:21:57 +00:00
exoplayer_dash Merge pull request #248 from lemondoglol:update-segment-size 2023-02-08 14:08:36 +00:00
exoplayer_hls Merge pull request #248 from lemondoglol:update-segment-size 2023-02-08 14:08:36 +00:00
exoplayer_ima Create an AdEventListener for each supported stream type 2023-02-08 14:00:33 +00:00
exoplayer_rtsp Add javadoc links to README files 2022-12-12 11:19:23 +00:00
exoplayer_smoothstreaming Merge pull request #248 from lemondoglol:update-segment-size 2023-02-08 14:08:36 +00:00
exoplayer_workmanager Add javadoc links to README files 2022-12-12 11:19:23 +00:00
extractor Encapsulate Opus frames in Ogg during audio offload 2023-02-08 14:12:06 +00:00
session Session: advertise legacy FLAG_HANDLES_QUEUE_COMMANDS 2023-02-02 15:38:04 +00:00
test_data Move AudioBoxesTest.java to third_party/.../muxer/... 2023-02-14 14:21:09 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-30 18:03:11 +00:00
test_session_common Do not assume a valid queue in 3rd party sessions 2023-02-01 10:34:25 +00:00
test_session_current Session: advertise legacy FLAG_HANDLES_QUEUE_COMMANDS 2023-02-02 15:38:04 +00:00
test_utils Encapsulate Opus frames in Ogg during audio offload 2023-02-08 14:12:06 +00:00
test_utils_robolectric Rollback of 7e63997459 2022-12-21 15:13:24 +00:00
transformer Add an API entry point to pass a Composition 2023-02-08 14:11:13 +00:00
ui Tweak UI behavior when commands are missing. 2023-02-01 10:22:15 +00:00
ui_leanback Fix (another) LeanbackPlayerAdapter param name mismatch 2023-02-01 10:41:50 +00:00