Commit graph

56917 commits

Author SHA1 Message Date
chayemme
841a77124f Work around fix for "libvtswidevine32.so" not found (HIDL versions) am: 79819a085d am: 8316fc3c3d am: 29161eeb07 am: 3a03b61f7a am: b2db20f22d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766827

Change-Id: Ie3cfc6fadf37c564b4dcbd764f82bbaaccba5e71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 23:55:17 +00:00
chayemme
22cd1bf242 Work around fix for "libvtswidevine32.so" not found (HIDL versions) am: 79819a085d am: 10853c6c2a am: 0794b5ebf4 am: 3393ab61cf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766827

Change-Id: Icc23a4ef7eaa61dd4002f3563a1e29a1fa244327
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 23:55:08 +00:00
chayemme
b2db20f22d Work around fix for "libvtswidevine32.so" not found (HIDL versions) am: 79819a085d am: 8316fc3c3d am: 29161eeb07 am: 3a03b61f7a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766827

Change-Id: I306c1a4ff73e31a64bd816491013ae38a18a665e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 23:37:41 +00:00
chayemme
3a03b61f7a Work around fix for "libvtswidevine32.so" not found (HIDL versions) am: 79819a085d am: 8316fc3c3d am: 29161eeb07
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766827

Change-Id: I6ad2d7e79e7c75bcbe4f3520163927f2d78b8f90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 23:25:41 +00:00
chayemme
3393ab61cf Work around fix for "libvtswidevine32.so" not found (HIDL versions) am: 79819a085d am: 10853c6c2a am: 0794b5ebf4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766827

Change-Id: I87f818378965fbf17315bfc23414a69c1722399d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 23:22:20 +00:00
chayemme
0794b5ebf4 Work around fix for "libvtswidevine32.so" not found (HIDL versions) am: 79819a085d am: 10853c6c2a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766827

Change-Id: I1483cdf35450321952e760569e905c8c2e61b225
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 22:50:45 +00:00
chayemme
29161eeb07 Work around fix for "libvtswidevine32.so" not found (HIDL versions) am: 79819a085d am: 8316fc3c3d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766827

Change-Id: I84e08dff75232b326d0a46e3dd535f2fb1e1839e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 22:50:25 +00:00
chayemme
10853c6c2a Work around fix for "libvtswidevine32.so" not found (HIDL versions) am: 79819a085d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766827

Change-Id: Ie21eb414e3157583d3c3bd0c41c85ecc0e3724ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 22:19:31 +00:00
chayemme
8316fc3c3d Work around fix for "libvtswidevine32.so" not found (HIDL versions) am: 79819a085d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766827

Change-Id: Ia16c28ff444113d47bfb344487966e2ae46d43c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 22:16:59 +00:00
Alice Kuo
7c3b9c36e3 Move APTX_ADAPTIVE_LE and APTX_ADAPTVIE_LEX to configurable am: f850de6732 am: 2c8d74fc82 am: 00cc9873a3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766488

Change-Id: I0576fbf0dd0484ab4922f7639218997b612b3598
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 08:08:08 +00:00
Alice Kuo
00cc9873a3 Move APTX_ADAPTIVE_LE and APTX_ADAPTVIE_LEX to configurable am: f850de6732 am: 2c8d74fc82
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766488

Change-Id: I67854f29eb6396014081839709a447870996747c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 07:22:04 +00:00
Alice Kuo
2c8d74fc82 Move APTX_ADAPTIVE_LE and APTX_ADAPTVIE_LEX to configurable am: f850de6732
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766488

Change-Id: Ic4e755bdc5e132a3f9da26a5890b2fd2dd0d960c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 06:51:09 +00:00
Alice Kuo
f850de6732 Move APTX_ADAPTIVE_LE and APTX_ADAPTVIE_LEX to configurable
We should bring the capabilities from the configure file that the device
could have its own capabilties.

Bug: 302173270
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I2cb5194acbe64d7d64cca9b245b26ca5fbac35d4
2023-10-04 04:07:06 +08:00
Bob Wang
8975814bda Merge "[UWB HAL] Use AsyncFd to read the buffer only when it's readable." into main am: 4e3c5aca14 am: 625d52ae10 am: 7235328a66
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766185

Change-Id: Icbf87342bc9f5afc53880dfd9c36302ee83dbbeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 18:49:36 +00:00
Bob Wang
7235328a66 Merge "[UWB HAL] Use AsyncFd to read the buffer only when it's readable." into main am: 4e3c5aca14 am: 625d52ae10
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766185

Change-Id: Ic6e59c9fa011e783b04de173022a83ed6d7c5179
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 18:16:42 +00:00
Bob Wang
625d52ae10 Merge "[UWB HAL] Use AsyncFd to read the buffer only when it's readable." into main am: 4e3c5aca14
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766185

Change-Id: I4665614ebfe72260217be365be89e2c2597e58bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 17:45:25 +00:00
Bob Wang
4e3c5aca14 Merge "[UWB HAL] Use AsyncFd to read the buffer only when it's readable." into main 2023-10-03 16:51:34 +00:00
Mikhail Naganov
f0102fff01 audio: Set 'maxOpenStreamCount' to unlimited for input ports am: 8dbc51158f am: 81b8fb2841 am: 9fa5515ad7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2768032

Change-Id: Ic3059af3a845260506fd44a78bf450ff844692ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 01:04:28 +00:00
ziyiw
4fec12a6f0 [UWB HAL] Use AsyncFd to read the buffer only when it's readable.
This CL fixes the issue that some bytes are missing after we toggle uwb
off and on.

Test: atest CtsUwbTestCases
Bug: 302005209

Change-Id: I8ad8072fe01c8d1f466d8debf0ccf5831b3eddf8
2023-10-03 00:58:04 +00:00
Mikhail Naganov
9fa5515ad7 audio: Set 'maxOpenStreamCount' to unlimited for input ports am: 8dbc51158f am: 81b8fb2841
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2768032

Change-Id: If097fc0794b2ca21f7906dace12d5f5d0ce4def5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-03 00:32:07 +00:00
Mikhail Naganov
81b8fb2841 audio: Set 'maxOpenStreamCount' to unlimited for input ports am: 8dbc51158f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2768032

Change-Id: I0f917bd3a39d08659e7b6d9c49ea4cc03f7c2db6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-02 23:58:05 +00:00
Mikhail Naganov
8dbc51158f audio: Set 'maxOpenStreamCount' to unlimited for input ports
Since libaudiohal@aidl reports that the most current legacy C API
version is supported by the HAL, the audio server uses a different
logic for telephony scenarios than for the HIDL HAL. This involves
opening more streams on the same mix port. Allow opening
an unlimited number of streams. However, keep the number of active
streams to be `1`.

Bug: 302132812
Test: atest CtsMediaAudioTestCases --test-filter=".*AudioNativeTest.*"
Test: atest CtsMediaAudioTestCases --test-filter=".*CallAudioInterceptionTest.*"
Change-Id: I896398fca73f28d28d9397d00751394c969531b4
2023-10-02 15:19:03 -07:00
Mikhail Naganov
2723db3708 Merge changes I7df6e323,I0e3412b9 into main am: 0da62dd023 am: 63d294c196 am: 3758b9a613
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2767897

Change-Id: I944bc7f9252bc6e7500d635d4a61bd6b05bd059c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-02 21:36:12 +00:00
Mikhail Naganov
3758b9a613 Merge changes I7df6e323,I0e3412b9 into main am: 0da62dd023 am: 63d294c196
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2767897

Change-Id: I88a3510fd88ea733b6675400bbb16db5f424867c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-02 21:03:39 +00:00
Mikhail Naganov
63d294c196 Merge changes I7df6e323,I0e3412b9 into main am: 0da62dd023
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2767897

Change-Id: I5def5e9262b8dfec9131f2d2bd184634956e6aae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-02 19:56:23 +00:00
Mikhail Naganov
0da62dd023 Merge changes I7df6e323,I0e3412b9 into main
* changes:
  audio: Fix notification of streams of the device change
  audio: Fix update of an existing patch
2023-10-02 18:06:44 +00:00
Treehugger Robot
322a636b99 Merge "Revert "Add bootcontrol HAL APEX"" into main am: ac9f70ee2f am: 3beb387558 am: d29b94b7a0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766666

Change-Id: I1850b62715cbaa9e181d0261fdbccaee94ba6906
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-30 06:17:33 +00:00
Treehugger Robot
d29b94b7a0 Merge "Revert "Add bootcontrol HAL APEX"" into main am: ac9f70ee2f am: 3beb387558
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766666

Change-Id: I4aef9d19ab857b9e39f70a4ab6c2de768063d316
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-30 05:15:19 +00:00
Treehugger Robot
3beb387558 Merge "Revert "Add bootcontrol HAL APEX"" into main am: ac9f70ee2f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766666

Change-Id: Ie25e8545f086c130c56ed6709d89330ac4a11306
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-30 04:07:43 +00:00
Treehugger Robot
ac9f70ee2f Merge "Revert "Add bootcontrol HAL APEX"" into main 2023-09-30 03:34:45 +00:00
Mikhail Naganov
89a8ea964d audio: Fix notification of streams of the device change
Replace the incorrect logic which was considering each
port individually with the correct logic which considers
a connection of a mix port to device ports.

Bug: 302573756
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I7df6e32315945897d88923ea4d9744e590e85dfd
2023-09-29 17:05:23 -07:00
Mikhail Naganov
dc41773ba3 audio: Fix update of an existing patch
The code for updating the existing patch did not modify
the patch stored in the module's list of patches.

Added a test which switches the patch to another port
config and validates that 'Module.getAudioPatches' returns
the updated patch.

Bug: 302573756
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I0e3412b9387cd451436a48af116dc5a940d868cf
2023-09-29 17:05:13 -07:00
Gabriel Biren
f89475aeeb [automerger skipped] Merge "Disable Wi-Fi framework during VTS" into stage-aosp-udc-ts-dev am: 2a7fc95f69 am: 90bb1142d6 -s ours am: ee45cce2ea -s ours
am skip reason: Merged-In I5ea7f00cfebf79021185f66766454d053c973b31 with SHA-1 46538346af is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24859125

Change-Id: I70fa6bc66c8ac69daf9b67d3b381716c8c415081
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 19:48:00 +00:00
Gabriel Biren
b93408fd34 [automerger skipped] Merge "Disable Wi-Fi framework during VTS" into stage-aosp-udc-ts-dev am: 2a7fc95f69 am: 90bb1142d6 am: 95a394109f -s ours
am skip reason: Merged-In I5ea7f00cfebf79021185f66766454d053c973b31 with SHA-1 46538346af is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24859125

Change-Id: Ibb4c0575c08fd83aae96cb5b7ddbdfd277a5e72a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 19:46:07 +00:00
Gabriel Biren
95a394109f Merge "Disable Wi-Fi framework during VTS" into stage-aosp-udc-ts-dev am: 2a7fc95f69 am: 90bb1142d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24859125

Change-Id: I82186b9eb4dbab9e0b6ceb5bd7d1b81535aa84be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 18:37:15 +00:00
Gabriel Biren
ee45cce2ea [automerger skipped] Merge "Disable Wi-Fi framework during VTS" into stage-aosp-udc-ts-dev am: 2a7fc95f69 am: 90bb1142d6 -s ours
am skip reason: Merged-In I5ea7f00cfebf79021185f66766454d053c973b31 with SHA-1 46538346af is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24859125

Change-Id: I5971bde668107c816371243c306894038c09597d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 18:30:54 +00:00
Gabriel Biren
90bb1142d6 Merge "Disable Wi-Fi framework during VTS" into stage-aosp-udc-ts-dev am: 2a7fc95f69
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24859125

Change-Id: I59bfb277bfa68798762019a228711df3a5ab06a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 17:26:42 +00:00
Gabriel Biren
2a7fc95f69 Merge "Disable Wi-Fi framework during VTS" into stage-aosp-udc-ts-dev 2023-09-29 16:45:25 +00:00
Treehugger Robot
91a5e08d41 Merge "Audio : Add OpenInputMultipleTimes VTS for r_submix" into main am: afdfa1d079 am: 35a06a8adc am: 45c99de596
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2762796

Change-Id: I967d51194768b2229fe85ad00433427cb2a5dee3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 23:51:59 +00:00
Treehugger Robot
45c99de596 Merge "Audio : Add OpenInputMultipleTimes VTS for r_submix" into main am: afdfa1d079 am: 35a06a8adc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2762796

Change-Id: I9b450b34400c236f8f44522a8a791209d5c6ab83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 22:50:40 +00:00
Treehugger Robot
35a06a8adc Merge "Audio : Add OpenInputMultipleTimes VTS for r_submix" into main am: afdfa1d079
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2762796

Change-Id: I466944898bbcc4e2c9b5e6f43994bee0a49b6b0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 21:43:47 +00:00
Treehugger Robot
afdfa1d079 Merge "Audio : Add OpenInputMultipleTimes VTS for r_submix" into main 2023-09-28 20:53:33 +00:00
chayemme
79819a085d Work around fix for "libvtswidevine32.so" not found (HIDL versions)
Bug: 299174272
Change-Id: Id7771e9ebbad46c95ae4fdbdfa1f9f9cc588b147
2023-09-28 20:29:50 +05:30
Treehugger Robot
0d5d484d72 Merge "Refactored automotiveSvV1.0_fuzzer" into main am: 05d080dd16 am: 5de5782cf7 am: 8e10b94061
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707273

Change-Id: I6fc2d4b8a63bf7f98a1f111b7053527ca9c396e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 09:09:58 +00:00
Treehugger Robot
8e10b94061 Merge "Refactored automotiveSvV1.0_fuzzer" into main am: 05d080dd16 am: 5de5782cf7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707273

Change-Id: I7a3def46ca42adc9cbf2d4489fa67265af3725d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 08:09:33 +00:00
Isaac Chiou
e5687ce492 Revert "Add bootcontrol HAL APEX"
Revert submission 2756126-bootcontrol-hal-apex

Reason for revert: Fix BB for b/301548350

Reverted changes: /q/submissionid:2756126-bootcontrol-hal-apex

Change-Id: Ia0da4a4983030f3a1bc4ff717e845e34ce9cfaa7
2023-09-28 07:26:41 +00:00
Shraddha Basantwani
21980e5196 Audio : Add OpenInputMultipleTimes VTS for r_submix
Bug: 286914845
Test: atest AudioModuleRemoteSubmix

Change-Id: I8ae78db42274d8e17408ad6d5300cda7de134985
2023-09-28 07:20:30 +00:00
Treehugger Robot
5de5782cf7 Merge "Refactored automotiveSvV1.0_fuzzer" into main am: 05d080dd16
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707273

Change-Id: I91007755ac5a01a55061ff2f9731f0127ef0192c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 07:03:15 +00:00
Treehugger Robot
05d080dd16 Merge "Refactored automotiveSvV1.0_fuzzer" into main 2023-09-28 06:14:27 +00:00
Treehugger Robot
8addf6a2c1 Merge "media.c2 : Change waitable object to be based on single fd" into main am: c43c449c79 am: 90e403f2f6 am: 5eaab1d0d8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2753410

Change-Id: I528c0f347ada628ef30454a71a5dad42f8de4cb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 06:05:36 +00:00