Commit graph

54887 commits

Author SHA1 Message Date
Jooyung Han
fa2dd8e2ad Merge "Revert^2 "Add bootcontrol HAL APEX"" into main 2023-10-11 04:20:38 +00:00
Jooyung Han
6693205f17 Merge "Cleanup: use shared apex_key" into main 2023-10-11 03:41:11 +00:00
Jooyung Han
3876680a8b Merge "Cleanup: use shared apex_key" into main 2023-10-11 03:40:34 +00:00
Jason Macnak
b8c23a8a7d Merge "Ensure AIMapper and underlying IMPL outlive IMapperProvider" into main 2023-10-10 21:49:10 +00:00
Jason Macnak
7d201b58fa Ensure AIMapper and underlying IMPL outlive IMapperProvider
... as a

  static vendor::mapper::IMapperProvider<IMPL> provider;

may be destructed during a clean process exit (during __cxa_finalize())
but the underlying IMPL may still be in use on other threads.

Bug: b/304343434
Test: boot Cuttlefish
Change-Id: I80687494c61210d527908b5a67375950ca45c8ea
2023-10-10 11:54:00 -07:00
Jooyung Han
9aaa45eb6b Cleanup: use shared apex_key
plus, moved VINTF fragments into VAPEX

Bug: 296524155
Test: m
Change-Id: I8adac4c00a98d1fd7c71aa92851567a35d9dabf3
2023-10-10 13:53:36 +09:00
Jooyung Han
3d66ca3689 Cleanup: use shared apex_key
Bug: 296524155
Test: m
Change-Id: I353d4803d0e6bd16d4a5617ca7790d33ff589747
2023-10-10 13:46:47 +09:00
Jooyung Han
cadd26dbe7 Cleanup: move VINTF fragments into VAPEX
VINTF fragments for Power VAPEX were installed in /vendor/etc as a
workaround when VINTF fragments in VAPEX were not supported.

Bug: n/a
Test: m && launch_cvd
      # power/power-stat services are running
Change-Id: I0243a0bd2f2dd597260f73a3994cf81db213daf7
2023-10-10 12:46:33 +09:00
Jooyung Han
a0b0a624ff Cleanup: use shared apex_key
Bug: 296524155
Test: m
Change-Id: I2b722872d1a93952186a38a385a3e0cd1869b7f5
2023-10-10 10:47:36 +09:00
Krzysztof Kosiński
13de1b68b4 Clean up obsolete aliases for Truth.
Bug: 255714762
Test: presubmit
Change-Id: I0cb0dd70d7aaa1a2388f725f3365ffff6dbc3b37
2023-10-07 00:48:10 +00:00
Xin Li
a737141254 Merge "Merge Android 14" into main 2023-10-06 05:34:12 +00:00
Treehugger Robot
df7f1d5f60 Merge "media.c2 aidl: change minSdk to 30" into main 2023-10-06 01:54:31 +00:00
Henri Chataing
ed2acd8952 Merge "UWB: Cleanup in default HAL" into main 2023-10-06 00:11:30 +00:00
Henri Chataing
7e798080c8 UWB: Cleanup in default HAL
Resolve comments on I8ad8072fe01c8d1f466d8debf0ccf5831b3eddf8

Bug: 302005209
Test: m android.hardware.uwb-service
Change-Id: I1c4348fa7548441555c46cac88c2e5787d764f03
2023-10-06 00:11:08 +00:00
Xin Li
0321b51e3d Merge Android 14
Bug: 298295554
Merged-In: I2cb5194acbe64d7d64cca9b245b26ca5fbac35d4
Change-Id: I08423a3b9bf283262c2945f58078f6e0b614707e
2023-10-05 15:41:01 -07:00
Tomasz Wasilczyk
19f00f8964 Merge "Don't depend on String8 cast to C string [drm]" into main am: 15272cf28e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2748300

Change-Id: I560a707f4167057cc45f824fca9e96286c48a6c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 19:23:41 +00:00
Tomasz Wasilczyk
15272cf28e Merge "Don't depend on String8 cast to C string [drm]" into main 2023-10-05 18:53:20 +00:00
Treehugger Robot
2302808153 Merge "Add apex_defaults for consumerir HAL APEX" into main am: 2e62fc4d3b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2752347

Change-Id: I47e6114fe6d2500e3e4e1a15d82568676ef1c172
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 01:33:07 +00:00
Treehugger Robot
2e62fc4d3b Merge "Add apex_defaults for consumerir HAL APEX" into main 2023-10-05 01:02:47 +00:00
chayemme
333a803a23 Work around fix for "libvtswidevine32.so" not found (HIDL versions) am: 79819a085d am: 51c17e5a3f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766827

Change-Id: I82687d8830023639502adf9a75a2d1953b684d95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 22:50:43 +00:00
chayemme
51c17e5a3f 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: I20a36cc161aee037481b83d8912808991eb57822
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 22:17:06 +00:00
Sungtak Lee
007122be1d media.c2 aidl: change minSdk to 30
Test: m
Bug:254050314
Change-Id: I62613e59146599b49ae69c84d033eca39fcfdb18
2023-10-04 17:26:20 +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
Jooyung Han
c829836109 Revert^2 "Add bootcontrol HAL APEX"
e5687ce492

Change-Id: Ie86897efb0380d2ad2884b29ae45126d25d40b34
2023-10-04 01:03:45 +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
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
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
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
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