Java API changes to support MediaCas framework.
Also add partial-frame related enums to MediaCodec,
MediaCodecInfo, and MediaExtractor as a way to indicate
a input frame contains partial data.
Test: basic test app and test plugin to execise the code path;
impelenting playback of CAS-secured MPEG2TS streams, including
a Widevine-based CAS plugin, locally modified ExoPlayer and
Android TV Tuner input.
bug: 22804304
Change-Id: Ia4ba1d4046f7588e42bfb21e726390457d2fc8e3
Use newly defined "V2_DEFY_QUOTA" flag to split cache clearing into
two phases: clearing data for apps above their quotas, and then
pushing deeper by clearing data for apps below their quotas.
Add placeholder comments for other data types that we're planning to
add shortly. Route all clearing behavior through this new method,
which remains guarded behind a flag for now.
Test: builds, boots
Bug: 34692014
Change-Id: I678d7b4e2bf6c837dd8a9adbc36a53015907f75f
Problem:
Home screen isn't allowed to enter VR mode as part of boot.
Root-cause:
VRManager is not indicating VR Mode is allowed until the system sleep
state gets synchronized.
Because the initial sleep state during boot is AWAKE and remains AWAKE if no
lock-screen is set, VrManager fails to mark VrMode as available due to a
mismatch between its initial internal sleep state and the systems sleep state.
VrManager's initial sleep state is SLEEP, where the system's initial sleep
state is AWAKE.
Solution: Set VrManager's initial sleep state to AWAKE to match the system.
Bug: 35469244
Test: - Validated VrHome comes up properly
- Tested VrMode is not allowed when the lock-screen is shown
- Tested VrMode is not allowed when the display is off
- Tested VrMode is allowed when no lock-screen is set AND the display
is on.
Change-Id: I42e9da07db21b3ed034c4173fe329cbb7796ee7e
- Ensure that we don't mark the docked or fullscreen stacks as
invisible when the assistant stack is over them and translucent.
Bug: 35363819
Test: android.server.cts.ActivityManagerAssistantStackTests
Test: #testTranslucentAssistantActivityStackVisibility
Change-Id: I86698beec4963942dd3816e7d3f43c6614d892ac
onProvideAutoFillStructure() sets mandatory auto-fill information like the
auto-fill id, so we must enforce subclass to call it.
Bug: 35395043
Test: m update-api
Change-Id: I525690b38639d970f516a906ddeb3a6bd6e01d8c
Bug: 30876804
Test: On user build, verify that "Ambient Display" does not appear in SystemUI Tuner.
Change-Id: I75ba7ce11346f9cb8bf5683b17debe77edca20bf