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
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
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
2a7fc95f69
Merge "Disable Wi-Fi framework during VTS" into stage-aosp-udc-ts-dev
2023-09-29 16:45:25 +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
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
90e403f2f6
Merge "media.c2 : Change waitable object to be based on single fd" into main am: c43c449c79
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2753410
Change-Id: I55051d80f1c8b5e7a099825c1d6887da500dbe99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 03:58:18 +00:00
Treehugger Robot
c43c449c79
Merge "media.c2 : Change waitable object to be based on single fd" into main
2023-09-28 02:58:22 +00:00
Treehugger Robot
7559fbaeb2
Merge "Update automotive.vehicle OWNERS file" into main am: 06d47be3d0
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2765946
Change-Id: I91b383d44c8e366f7a3e4c10fd2d591f0c836eed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-28 00:52:18 +00:00
Treehugger Robot
06d47be3d0
Merge "Update automotive.vehicle OWNERS file" into main
2023-09-27 23:59:04 +00:00
Devin Moore
46c0057798
Update automotive.vehicle OWNERS file
...
Test: none
Bug: none
Change-Id: I6f6a64658a2ad6151447bdcc77d83e66c9c12320
2023-09-27 22:56:36 +00:00
Mikhail Naganov
a4998f64cd
Merge "audio: Align Module::getMmapPolicyInfos behavior with legacy" into main am: b9c4bd4ea5
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2763851
Change-Id: I2d35697637c6a8ff08eecd48b5dd44faae11bfc1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-27 21:49:37 +00:00
Mikhail Naganov
b9c4bd4ea5
Merge "audio: Align Module::getMmapPolicyInfos behavior with legacy" into main
2023-09-27 20:37:46 +00:00
Treehugger Robot
ba9dc7939f
[automerger skipped] Merge "Support Rust builds of some AIDL interfaces." into main am: 6b3f886f2f
-s ours
...
am skip reason: Merged-In I1ab9ed45b0b500065c0f18b810c3aa266878b80f with SHA-1 fcb6c4118b
is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2751053
Change-Id: Iaa16f1cc7fa2838ed3845343f46b25e8f1a63333
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-27 11:16:26 +00:00
Andrew Walbran
059d6eb779
[automerger skipped] Support Rust builds of some AIDL interfaces. am: 2d425674b5
-s ours
...
am skip reason: Merged-In I1ab9ed45b0b500065c0f18b810c3aa266878b80f with SHA-1 fcb6c4118b
is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2751053
Change-Id: I490762355c68f6b53dbba5bf0332288c042e7ac2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-27 11:16:22 +00:00
Treehugger Robot
6b3f886f2f
Merge "Support Rust builds of some AIDL interfaces." into main
2023-09-27 09:59:26 +00:00
Mikhail Naganov
8506491475
audio: Align Module::getMmapPolicyInfos behavior with legacy
...
When there are no device ports supporting MMAP,
Module::getMmapPolicyInfos have to return 'Policy::NEVER'
so that the AAudio code does not attempt to use
the AAudio service. This aligns with the use of sysprops
by the HIDL implementation.
Update AudioCoreModule#GetMmapPolicyInfos test to use
the same logic for determining MMAP support as the framework
uses.
This makes CtsNativeMediaAAudioTest cases passing with
the AIDL HAL on Cuttlefish.
Bug: 302049825
Test: atest VtsHalAudioCoreTargetTest
Test: atest CtsNativeMediaAAudioTest [w/AIDL enabled on CF]
Change-Id: Ie58c408f6f648a8a03b6a5d92118b90061389c50
2023-09-26 17:20:58 -07:00
Kyle Zhang
2d64355f9d
Work around fix for "libvtswidevine32.so" not found am: 720b897783
am: fac8f01d4e
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2762345
Change-Id: I59e08fed391d1b6786c8b427d3521253b0e40aab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 23:23:29 +00:00
Kyle Zhang
98b3d5abbc
Work around fix for "libvtswidevine32.so" not found am: 720b897783
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2762345
Change-Id: Ibf51568598d66416a6b2c2bdb1f61b7aa434fc6a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 22:23:18 +00:00
Kyle Zhang
fac8f01d4e
Work around fix for "libvtswidevine32.so" not found am: 720b897783
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2762345
Change-Id: Ib27ff1c5ac57426f9368ef9bf3bf401641925e09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 22:18:17 +00:00
Treehugger Robot
69f5242fba
Merge "Don't depend on String8 cast to C string [health]" into main am: d937584b22
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2748301
Change-Id: I1c913e1f157c5270904b2d92d729b85977b5189d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 19:15:18 +00:00
Treehugger Robot
d937584b22
Merge "Don't depend on String8 cast to C string [health]" into main
2023-09-26 18:00:21 +00:00
Kyle Zhang
720b897783
Work around fix for "libvtswidevine32.so" not found
...
Bug: 299290047
Change-Id: I01ef50feaaa8ff237d4d04848f9c9e67a81adc80
2023-09-26 17:13:51 +00:00
Andrew Walbran
ddd2d2457f
Merge "Enable Rust build of android.hardware.media.bufferpool2." into aosp-main-future
2023-09-26 16:39:05 +00:00
Ye Jiao
2236b96bf4
Disable Wi-Fi framework during VTS
...
When VTS case kills supplicant in SetUp, Wi-Fi framework will trigger
recovery process and causes races between VTS and Wi-Fi framework.
Disable Wi-Fi framework using 'cmd wifi' in SetUp.
Bug: 297820612
Test: run vts -m VtsHalWifiHostapdV1_0TargetTest with new case
(cherry picked from https://android-review.googlesource.com/q/commit:46538346af90bf93dcafa36206fc2ea5c545dd93 )
Merged-In: I5ea7f00cfebf79021185f66766454d053c973b31
Change-Id: I5ea7f00cfebf79021185f66766454d053c973b31
2023-09-26 16:35:18 +00:00
Jooyung Han
367dbf3ac1
Add apex_defaults for consumerir HAL APEX
...
The IR HAL APEX can be defined by inheriting the default one. Note that
HAL in APEX can't load a legacy libhardware module from /vendor/lib/hw.
Instead, it tries to load the hardware module from the APEX. Hence, the
APEX inheriting this should embed it along with the HAL binary.
Bug: 300011390
Test: ConsumerIrTest VtsHalIrTargetTest hal_implementation_test
Change-Id: I14ab4a7e52195f630aa394f74a3f2852f6007ecc
2023-09-26 19:09:39 +09:00
Gabriel Biren
93ce27b837
Merge "Disable Wi-Fi framework during VTS" into main am: bddf425784
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2728874
Change-Id: Idf7f13190d2e731afa4633b7bc31437ae2ed0ed3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25 23:41:06 +00:00
Gabriel Biren
bddf425784
Merge "Disable Wi-Fi framework during VTS" into main
2023-09-25 22:34:44 +00:00
Treehugger Robot
3877b6094b
Merge "Skip known VTS failures on vendor code till U" into main am: 87e6b60eb3
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2654142
Change-Id: If63ff188c3e82b4648706b910ee02e729409cdc1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25 19:58:54 +00:00
Treehugger Robot
87e6b60eb3
Merge "Skip known VTS failures on vendor code till U" into main
2023-09-25 19:24:14 +00:00
Mikhail Naganov
4991074eba
Merge "audio: Fix connection between alsa_device_profile and _proxy" into main am: f69e0b6795
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2760046
Change-Id: I1203693e0bd17f89326b99b7ff60c4fea75809d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25 17:11:27 +00:00
Mikhail Naganov
f69e0b6795
Merge "audio: Fix connection between alsa_device_profile and _proxy" into main
2023-09-25 16:00:00 +00:00
Treehugger Robot
6569dc7511
Merge "Updated vehicleManager_fuzzer" into main am: 7761d90af1
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2097954
Change-Id: Ic84b53a9c26e671cec114c7fb82a8a23600ea619
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-25 04:34:27 +00:00
Treehugger Robot
7761d90af1
Merge "Updated vehicleManager_fuzzer" into main
2023-09-25 03:21:12 +00:00
Wonsik Kim
6590f39160
Merge "media.c2: add apex_available and set minsdk to 31" into main am: bea101032f
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2734633
Change-Id: I9fc9ae4eff412e71b4f4914ab22a1ece8b7a46c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 22:39:24 +00:00
Wonsik Kim
bea101032f
Merge "media.c2: add apex_available and set minsdk to 31" into main
2023-09-22 22:12:33 +00:00
Ryan Prichard
2abfe4abc7
Merge "Fix nonce uniqueness tests" into main am: 8d333ff410
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2758146
Change-Id: Ifc31204eaea700e50e8ac0601fa77911b590b65c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 20:51:37 +00:00
Ryan Prichard
8d333ff410
Merge "Fix nonce uniqueness tests" into main
2023-09-22 19:43:55 +00:00
Treehugger Robot
b616f1844b
Merge "audio: Fix Effect worker thread" into main am: 542110eebe
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2757106
Change-Id: I61aa81f240dac4184c1600b624b4f8d27756ef6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-22 17:16:53 +00:00
Treehugger Robot
542110eebe
Merge "audio: Fix Effect worker thread" into main
2023-09-22 16:40:06 +00:00