- Apr 24, 2024
-
-
Iván Budnik authored
The playback info field is NonNull, so getPlaybackInfo() is artificially returning a null value if the Binder transaction to system_server fails. As per go/android-api-guidelines#framework-rethrow-remoteexception we should always be rethrowing RemoteExceptions to provide a strong signal that the operation failed. In practice, the returned value is never null, unless system_server has died. Several CTS tests already assume this NonNull-ness. Test: atest CtsMediaBetterTogetherTestCases Bug: 333564788 Change-Id: Id18cce692d8d0b25486da427ef9860eb2f176aef
-
- Apr 23, 2024
-
-
Arun Johnson authored
Bug: 336058761 Bug: 333622829 Bug: 336058293 Test: android.mediav2.cts.CodecEncoderBlockModelMultiAccessUnitTest#testSimpleEncode Test: android.mediav2.cts.CodecUnitTest$TestApi#testQueueInputBuffersInUnInitState Change-Id: I4ce7fd2872ce3b4734050b68e5bf2c9b0519c898
-
Iván Budnik authored
Before this change, the method would not turn off scanning in system_server when a screen-on scan request was released. As a result, proxy routers would unknowingly keep scanning forever even after having cancelled their scan requests. Bug: 331202666 Test: atest MediaRouter2HostSideTest ProxyMediaRouter2HostSideTest Change-Id: I63563f38b7d53e608782e651150242519a55f5ce Flag: com.android.media.flags.enable_screen_off_scanning
-
Santiago Seifert authored
Bug: b/319645714 Change-Id: I7bf8374786cf3290951fc208a9b6a581389ee6b7 Flag: DOCS_ONLY Test: presubmit
-
- Apr 19, 2024
-
-
Yu Liu authored
Bug: 330354107 Test: CI Change-Id: I508c4ef2db631b723f85269527367e0adc0fb14e
-
Bishoy Gendy authored
This reverts commit 26b84ff4. Reason for revert: Flag will not be advanced to nextfood for V, so keeping the API consistent b/334875798#comment10. Change-Id: I7fa3aeaf2e86f030334f749ee7e5d8ca40ca2cae
-
Dennis Shen authored
This reverts commit 02287dc9. Reason for revert: Performance regression is gone based on go/abtd verification, reintroduce the change. Change-Id: I0dceae0d564612925f23002ac76fb60bbbe599f1
-
- Apr 18, 2024
-
-
Arun Johnson authored
Bug: 331977352 Test: atest android.mediav2.cts.CodecUnitTest$TestApi#testQueueInputBuffersWithBadOffset Flag: codec_fwk.com.android.media.codec.flags.large_audio_frame Change-Id: Ic95bd99a88b83885c409881d1e4d3229f4a9ca0d
-
Robert Wu authored
Bug: 335666113 Test: presubmit Change-Id: Iefbf8864dbc90425a4b8b8e54314f69b97588969
-
Bishoy Gendy authored
API deadline was missed for advancing trunk stable flag to nextfood, so removing STATE_PLAYBACK_SUPPRESSED from the api for V to advance the flag. It should be added to the API with the next release. Bug: b/295518668 Test: mp droid Change-Id: I5cec250bcb02745c05570c7be5fbd2ab230abd26
-
Robert Wu authored
Bug: 335517441 Change-Id: I4abb20b81a39333476bb520660efaa09b2b0fe0c Test: presubmit
-
- Apr 17, 2024
-
-
Robert Wu authored
"<" needs to be replaced with "<" in docs. Bug: 335516003 Test: presubmit Change-Id: I18bc9a0a01d54c72175b27146b624903dc289924
-
Wonsik Kim authored
Bug: 326010604 Test: atest CtsMediaV2TestCases:CodecDecoderTest CtsMediaV2TestCases:CodecEncoderTest Change-Id: I24e9bd768349a68b1eb7717c2170b8b6cf18baa3
-
Marvin Ramin authored
Cap DRM sessions at max. SW_SECURE_CRYPTO security level for sessions opened by applications that are currently visible on a Virtual Device. Goal is to ensure applications do not get misled that full hw backed DRM is available (which it generally would be on the host device). As virtual devices operate with virtual displays hw backed DRM will not be available and we now report it as such for applications. Bug: 306374719 Test: atest VirtualDeviceDrmTest Change-Id: I55acb7d15e19611a702492c71dccce2f973fd37c
-
- Apr 16, 2024
-
-
Santiago Seifert authored
Bug: b/333180588 Change-Id: Ie0eb633236c1684d17a7b8b6ca796a7b5dc514e4 Test: N/A. Disabling flaky test.
-
- Apr 15, 2024
-
-
Santiago Seifert authored
Bug: b/333181541 Test: N/A. Disabling tests. Change-Id: Ida8a441596dd17a37c8e850c11f455084f795183
-
- Apr 12, 2024
-
-
Arun Johnson authored
The mapping of the linearblock is kept open until a call to recycle() is done. Users are allowed to use the space in the linear block if available. Behaviour of using overlapping memory location is undefined. Bug: 331921194 Test: atest CtsMediaDrmFrameworkTestCases Change-Id: I5d81be242a2187fe3a57a5474804482e64a5b083
-
Alex Dadukin authored
Bug: b/279555229 Test: Pending Flag: ACONFIG com.android.media.flags.enable_built_in_speaker_route_suitability_statuses TRUNKFOOD Change-Id: I25cc308c0a791ad710499d4626eecfbe03d119fd
-
Bishoy Gendy authored
Bug: 317048338 Test: Using the steps in b/317048338#comment12 Change-Id: Ia91199fdb23beed27bde687fdca8fe5d3a5a4759 (cherry picked from commit c5fc8ea9) Merged-In: Ia91199fdb23beed27bde687fdca8fe5d3a5a4759
-
Bishoy Gendy authored
Bug: 317048338 Test: Using the steps in b/317048338#comment12 Change-Id: Ia91199fdb23beed27bde687fdca8fe5d3a5a4759
-
- Apr 10, 2024
-
-
Bishoy Gendy authored
- This also handling the missing permssion exception in b/333370745 which caused the initial CL to be reverted. Bug: 295518668 Bug: 333370745 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsDelegateTest.java Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.media.QSMediaControllerPlayAndPause#testPlayAndPause Test: Using MediaRouter SampleApp Change-Id: I19b832d53550935c56e52e5e35c10d8c10c57a4c
-
- Apr 08, 2024
-
-
Chaitanya Cheemala authored
This reverts commit f11b5016. Reason for revert: Likely culprit for b/333370745 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Change-Id: Ib2fb1ee00703587dfdb31ef3b5e568e3bf2dfc81
-
Iván Budnik authored
This change deduplicates code and extracts some methods as pre-work for proxy routers keeping a local copy of non-system routing controllers. This is a non-functional change. Bug: 330300516 Test: atest CtsMediaBetterTogetherTestCases Change-Id: Idcdf68e56913059683626575ed9e189e7b871ebe
-
dakinola authored
Add new override to force users of MediaProjection API to show Partial Screenshare as an option Bug: 316897322 Flag: None Test: atest CompatChangesValidConfigTest Test: atest MediaProjectionPermissionDialogDelegateTest Test: atest ScreenRecordPermissionDialogDelegateTest Test: atest CtsMediaProjectionTestCases:MediaProjectionCompatChangeTests Test: atest PlatformScenarioTests:MediaProjectionPermissionTest Change-Id: I81c2ad3c0e253834676f561a9033ff54dafaa0ea
-
Bishoy Gendy authored
Bug: 295518668 Test: attest cts/tests/app/src/android/app/cts/ActivityManagerFgsDelegateTest.java Change-Id: I6bc80f92220569ad4c20866947e6fabe889412c9
- Apr 05, 2024
-
-
Iván Budnik authored
This is a non-functional change. Test: atest CtsMediaBetterTogetherTestCases Bug: 330300516 Change-Id: I6ce9fd9e30d64230fd69c595d076452439a50dcd
-
Iván Budnik authored
onTransferred() only handles session creation events, while onSessionUpdated() handles session updates. This is a non-functional change. Bug: 330300516 Test: atest SystemMediaRouter2Test ProxyMediaRouter2HostSideTest Change-Id: I8744bdd5539509b4ed57385d0144e966f30974f2
-
- Apr 04, 2024
-
-
Santiago Seifert authored
It was originally added to prototype the watch-to-phone output switcher, in ag/24993347. We now have a proper API for this, so this flag is no longer useful. Bug: b/304234628 Test: N/A. Change-Id: I928f5ec3b8532a134f269d03a75e0b82cac1ca30
-
Santiago Seifert authored
Bug: b/310145678 Test: atest CtsMediaHostTestCases CtsMediaBetterTogetherTestCases AudioManagerRouteControllerTest Change-Id: I0a73bcfd7c0c5a7780dd587dbd45fe6ba6e286e9
-
Satish Yalla authored
Revert submission 26596106-pss-opt-out-override Reason for revert: <Reason for revert: Potential culprit for b/332779806- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.> Reverted changes: /q/submissionid:26596106-pss-opt-out-override Change-Id: Ide32e23e0f48370bc762d15b2add3eccc70ba69a
-
- Apr 03, 2024
-
-
Santiago Seifert authored
Regardless of manager scans (example: scans coming from sys ui or settings). Concretely, this change will prevent apps that don't integrate with MediaRouter2 from having remote volume control in Settings (this is described in detail in linked bugs). Bug: b/319604673 Test: Manually by casting using popular app that doesn't integrate MR2. Test: atest CtsMediaHostTestCases CtsMediaBetterTogetherTestCases Change-Id: I61f8a2de2fa617517527e775eccf38506a1b9a18
-
Chris Göllner authored
Relanding PSS opt-out override from ag/25896593. Initial implementation defined the ChangeId on SysUI side, but SysUI tests seemed to not recognise it being disabled by default, leading to SysUI test failures. Now instead defining the ChangeId in MediaaProjectionmanager, SysUI is able to properly to read the override as disabled by default, so shouldn't break existing SysUI E2Es. Bug: 316897322 Flag: None Test: atest packages/SystemUI/tests/src/com/android/systemui/mediaprojection/permission/MediaProjectionPermissionDialogDelegateTest.kt Test: atest packages/SystemUI/tests/src/com/android/systemui/screenrecord/ScreenRecordPermissionDialogDelegateTest.kt Test: atest CtsMediaProjectionTestCases:MediaProjectionCompatChangeTests Test: atest PlatformScenarioTests:android.platform.test.scenario.sysui.mediaprojection.MediaProjectionPermissionTest Change-Id: Ibb9ec963a094ab384980bcbd58c68a39d6094ef2
-
- Apr 02, 2024
-
-
Lajos Molnar authored
Bug: 325550522 Test: atest CodecDecoderSurfaceTest.java Change-Id: Ifcb678c3843fe9d6f60486282ae54587ba28bff1
-
- Mar 30, 2024
-
-
Yu Liu authored
Bug: 330354107 Test: CI Flag: NONE Ignore-AOSP-First: It is easier to detect all the mismatch in internal master. Change-Id: I41c11c7deda2936d39701a3a694166c5e49d423a
-
- Mar 28, 2024
-
-
Chungro Lee authored
Revert submission 3009938-revert-3002586-revert-2988057-default-full-lto-DWADZBGWJG-UPWNCWKHFI Reason for revert: b/331528903 Reverted changes: /q/submissionid:3009938-revert-3002586-revert-2988057-default-full-lto-DWADZBGWJG-UPWNCWKHFI Change-Id: Id71726b1e4d96b60ade2fba49d99b776ef7834ea
-
- Mar 27, 2024
-
-
Raj Goparaju authored
SparseArray clone is not effective when deep copying. Add a custom copier to iterate through the sparse array and manually copy each entry. Bug: 307354764 Test: m gts && atest -c com.google.android.gts.audio.AudioHostTest Change-Id: Ia899be2b7a5c1ef2fe7d9f4cde5f36b5e65d3462
-
Lajos Molnar authored
This is hopefully a temporary workaround until this functionality is added to the generated stubs. Related-Bug: 325389296 Bug: 331666510 Change-Id: Ie08c9241f61e44c8e9857c2cf761fc43ac7fe35f
-
Lajos Molnar authored
This API is known to be used from contexts where aconfig flag accessors fail. Bug: 325389296 Change-Id: I5164b528c3b852bef9a757d9b2399b0af51feeb0
-
Biswarup Pal authored
- For any camera, CameraManager (API layer) now receives the device id (i.e., the id of the device owning the camera, for virtual camera this would be the id of the virtual device, and for real cameras this would be Context#DEVICE_ID_DEFAULT) and the mapped camera id (for virtual devices, the back and front virtual cameras of that device would have 0 and 1 respectively as their mapped camera id, and for real cameras this would be their actual camera id) from ICameraServiceListener. It skips the callbacks if the received device id doesn't match the one in the current context (except for external cameras of the default device). As a result, real cameras are available only to contexts associated with the default device or any virtual device with default camera policy. Virtual cameras are available only to contexts associated with a virtual device with custom camera policy. Note that externally connected real cameras are available to all contexts. For binder calls to cameraserver, the API layers pass the device id of the current context and the device camera policy. - VDM passes the id of the virtual device to virtual camera HAL service so that it can be reported to cameraserver. VDM also exposes the camera policy of a virtual device to cameraserver. - This change adds device-awareness to both camera2 and legacy camera API's. Test: atest CtsVirtualDevicesTestCases Test: atest VirtualCameraControllerTest Bug: 291736219 Change-Id: Ic696b0499cfbb9bfbc3c9156ca6ffd93dc42bcc3
-