Commit graph

54651 commits

Author SHA1 Message Date
Treehugger Robot
4115d8b01d Merge "Remove the limitation of max open streams" into main 2023-08-24 19:29:36 +00:00
Treehugger Robot
773fe517cd Merge "Use String8/16 c_str [camera]" into main am: db1eba8e0c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2723316

Change-Id: I7b3f2c2c076038660815b226bebff28e450293dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 19:28:11 +00:00
Treehugger Robot
db1eba8e0c Merge "Use String8/16 c_str [camera]" into main 2023-08-24 18:56:09 +00:00
Tomasz Wasilczyk
38836b884b Migrate from android::String isEmpty to empty
This empty method is different from the old one - it aligns with
std::string definition.

Bug: 295394788
Test: make checkbuild
Change-Id: I98dad222b149e6052b7dc63c477d84c9eb011dd3
2023-08-24 18:49:22 +00:00
Treehugger Robot
7da95bfa92 Merge "Use String8/16 c_str [drm]" into main am: 3cc1fa796e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2723935

Change-Id: Id22d85863804914816e272fa74093da18de15a23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 18:44:08 +00:00
Aditya Chitnis
5d346fb79c Initialize mStopThread in Sensor constructor
Bug: 294653181
Bug: 294500012
Test: Presubmit
Change-Id: I9c9a9119eb75e364d3969ae77248370937f1f3c5
2023-08-24 18:41:36 +00:00
Treehugger Robot
3cc1fa796e Merge "Use String8/16 c_str [drm]" into main 2023-08-24 18:22:12 +00:00
Shunkai Yao
2461891a1c Remove the limitation of max open streams
Bug: 295055755
Test: atest CtsMediaAudioTestCases
Change-Id: Ifc0bec23ccc2845657389783194eb18fcc7884fa
2023-08-24 18:14:03 +00:00
Tomasz Wasilczyk
353d4c5c75 Use String8/16 c_str [camera]
Bug: 295394788
Test: make checkbuild
Change-Id: I7ca371112e891f4f40673b5c34e3b8ccc41841bf
Merged-In: I7ca371112e891f4f40673b5c34e3b8ccc41841bf
2023-08-24 17:07:46 +00:00
Treehugger Robot
ffca721517 Merge "Migrate String8|16.setTo to assignment operator" into main am: 16012b6b06
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2723937

Change-Id: Ib40634e2965299263eadffe4b395e4104068500b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 16:44:01 +00:00
Treehugger Robot
16012b6b06 Merge "Migrate String8|16.setTo to assignment operator" into main 2023-08-24 15:54:28 +00:00
Zhanglong Xia
779ddee8ba Merge "remove manually freeing the variable mDeathRecipient" into main am: f865a8b7cd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725094

Change-Id: I0eebd4491b62a1998c39f017740a6d261fe80008
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-24 10:13:41 +00:00
Zhanglong Xia
f865a8b7cd Merge "remove manually freeing the variable mDeathRecipient" into main 2023-08-24 09:18:59 +00:00
Jooyung Han
f8bd1f0b00 Move threadnetwork HAL to VAPEX
com.android.hardware.threadnetwork is a new VAPEX containing
threadnetwork HAL. It also includes ot-rcp.

Bug: 296966113
Test: vts-tf > run vts -m VtsHalTheadNetworkTargetTest
Change-Id: Id2028d755f9b0dcc06ccd817bddf3195efb5595b
2023-08-24 17:40:46 +09:00
Jooyung Han
868b8968bf Mark threadnetwork HAL as updatable-via-apex
Since it's not available in U, we don't have to mark it in 8.xml

Bug: 296966113
Test: m
Change-Id: I5ba313208c4c43c270fd4507f3e92cea6a62dc5e
2023-08-24 16:49:25 +09:00
Jooyung Han
0b94777903 Add apexkey "com.android.hardware"
This can be shared by many AOSP com.android.hardware.* APEXes defined in
hardware/interfaces.

Bug: 296524155
Test: m
Change-Id: I8d5bf7d9cf8fe4b502af9240027529d61c9776af
2023-08-24 16:47:11 +09:00
Zhanglong Xia
3297a174d6 remove manually freeing the variable mDeathRecipient
The variable `mDeathRecipient` will automatically free the allocated
memory when it is destructed. This CL deletes the code for manually
releasing the variable `mDeathRecipient` to avoid the same variable
being freed twice.

Bug: 296617022
Test: Run fuzzer test.
Change-Id: I733f7f8d26e48a9434d41c5098f39ad91208abeb
2023-08-24 15:38:05 +08:00
Jooyung Han
b5cae6c04a Mark nfc HAL as updatable-via-apex
Mark it in both 8.xml and 9.xml. 8.xml for -next configuration.

Bug: 296529752
Test: n/a
Change-Id: Ie96c38e30618cc343586f429a5d48e7108f90614
2023-08-24 14:18:57 +09:00
Treehugger Robot
c671181af8 Merge "Enable Rust backend for NFC AIDL HAL" into main am: e37ca01670
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2648142

Change-Id: I3afe81b049081726f635c6e646e10eb28c2c6b8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 23:48:28 +00:00
Treehugger Robot
e37ca01670 Merge "Enable Rust backend for NFC AIDL HAL" into main 2023-08-23 23:32:46 +00:00
Treehugger Robot
cc476475f8 Merge "audio: Make IConfig.getSurroundSound default implementation more robust" into main am: 58d953e4be
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2723318

Change-Id: Ic9027ee666526f077b2402a0c7ccab8bd75f6775
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 23:09:18 +00:00
Treehugger Robot
58d953e4be Merge "audio: Make IConfig.getSurroundSound default implementation more robust" into main 2023-08-23 22:31:08 +00:00
Tomasz Wasilczyk
17034e5f39 Migrate String8|16.setTo to assignment operator
Bug: 295394788
Test: make checkbuild
Change-Id: Ic98514f48399115046029e68883408090f0cd0db
2023-08-23 22:14:17 +00:00
Treehugger Robot
7eb27056c0 Merge "Use String8/16 c_str [security]" into main am: f646832675
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2723317

Change-Id: I9f8627267fb287974172345def38f5179615b57e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 21:51:10 +00:00
Treehugger Robot
f646832675 Merge "Use String8/16 c_str [security]" into main 2023-08-23 21:23:44 +00:00
Mikhail Naganov
1e25ef808f audio: Make IConfig.getSurroundSound default implementation more robust
In the case when there is a problem with the legacy APM XML file,
the converter provides a default surround sound config. However,
the default implementation of IConfig::getSurroundSoundConfig did
not take an advantage of that, and was returning an empty config,
which is not accepted by VTS.

Also, improve logging messages: clarify the situation when no readable
audio policy XML file found, and use outer functions name for lambdas.

Bug: 293978054
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Iae069a0498009605ef5ededb9c9112efab08548a
2023-08-23 14:18:27 -07:00
Treehugger Robot
74388d64a3 Merge "Use String8/16 c_str [audio]" into main am: ff0aae4132
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2723315

Change-Id: I1a8384671aeb4bfcf69f1082af71be4f08e88424
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 21:13:06 +00:00
Treehugger Robot
ff0aae4132 Merge "Use String8/16 c_str [audio]" into main 2023-08-23 20:46:44 +00:00
Tomasz Wasilczyk
5c8abe9cc2 Use String8/16 c_str [security]
Bug: 295394788
Test: make checkbuild
Change-Id: I4dd1a43c314af087c4f8ecad3570613ed841589c
2023-08-23 18:51:57 +00:00
Tomasz Wasilczyk
80116affcd Use String8/16 c_str [drm]
Bug: 295394788
Test: make checkbuild
Change-Id: I8446de3a553a3ddce2da5c4551127039638e0a98
2023-08-23 18:50:11 +00:00
Tomasz Wasilczyk
b20afc5f87 Use String8/16 c_str [audio]
Bug: 295394788
Test: make checkbuild
Change-Id: I9cba2d925dc1e5363927ba336b0ca2c43207ddad
2023-08-23 18:45:04 +00:00
Shunkai Yao
c1056947dc Fix the audio source table in Processing
Bug: 297158046
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I7102608b945b92e7d66322bc94130aa965e471ea
2023-08-23 17:40:21 +00:00
Shunkai Yao
ca273f4e33 Merge "Update vts to align AOSP effects support requirement with CDD" into main am: d3e5e33330
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2719855

Change-Id: Ie3c8a9d429abdb908a9f2cb6fb9ad343302bce68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 16:02:10 +00:00
Shunkai Yao
d3e5e33330 Merge "Update vts to align AOSP effects support requirement with CDD" into main 2023-08-23 15:34:13 +00:00
Shunkai Yao
9696741d0c Update vts to align AOSP effects support requirement with CDD
Bug: 296790934
Test: atest VtsHalAudioEffectFactoryTargetTest
Change-Id: I1c837125e62a083d95e279ed0584a9bccea3dcbd
2023-08-23 15:33:51 +00:00
Tomasz Wasilczyk
7c52bb1e7f Don't use String8 path functions
Ideally, we should migrate to std::filesystem, but libc++fs is not
available for vendor binaries until b/175635923 lands.

Bug: 295394788
Test: m checkbuild
Change-Id: If285034d7b343531082d0176ab26bf51390714d0
2023-08-23 15:10:11 +00:00
Treehugger Robot
2f8e3077fe Merge "r_submix: keep the signed value for offset calculation in AIDL implementation" into main am: bc2537e41f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2721915

Change-Id: I87fe0b61d221921fdc3c69a30a982037e82b771f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 01:36:07 +00:00
Jooyung Han
6a25cd992d Merge "Put authsecret example in VAPEX" into main am: c589bee5ff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2716774

Change-Id: Id72385c930206eb0a6c5421f72d3f095c34e41a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-23 01:35:48 +00:00
Treehugger Robot
bc2537e41f Merge "r_submix: keep the signed value for offset calculation in AIDL implementation" into main 2023-08-23 01:25:01 +00:00
Jooyung Han
c589bee5ff Merge "Put authsecret example in VAPEX" into main 2023-08-23 01:16:06 +00:00
Treehugger Robot
fc849c14a1 Merge "matrices: Delete gnss.*." into main am: 6b25d47137
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2698596

Change-Id: I6ac4141ba380436dc1427afa1b230e793bb9bff5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-22 22:27:08 +00:00
Sungtak Lee
ee148fe88e media.c2 aidl: Use IGraphicBufferAllocator for createBlockPool()
Add IGraphicBufferAllocator interface as an alternate param for
IComponent::createBlockPool().

Bug: 254050314
Test: m
Change-Id: Iab3f1eb35287a8ed7c887ceb70c70d936d5bcfa8
2023-08-22 22:13:16 +00:00
Treehugger Robot
6b25d47137 Merge "matrices: Delete gnss.*." into main 2023-08-22 21:40:00 +00:00
Yifan Hong
8446d62580 matrices: Delete gnss.*.
These aren't top-level interfaces.

Bug: 255383566
Test: TH
Change-Id: I6a9c84b735bd2e233c2976211aa1ec79cd7b609c
Merged-In: I6a9c84b735bd2e233c2976211aa1ec79cd7b609c
2023-08-22 21:03:14 +00:00
Shunkai Yao
7816f26afa r_submix: keep the signed value for offset calculation in AIDL implementation
otherwise a negative offset will result in long sleep

Bug: 295055755
Test: atest android.media.audio.cts.AudioPlaybackCaptureTest
Change-Id: Ie941cc2525e3ea42b53106ae3a65242794b1dd1b
2023-08-22 20:50:31 +00:00
Yung Ti Su
ba64006aa7 enable host_supported for libbluetooth_audio_session_aidl am: fefceb14d0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2719470

Change-Id: If1eb9de69145c7fc80e9be5d840d19c3eb7210ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-22 17:28:59 +00:00
Yung Ti Su
fefceb14d0 enable host_supported for libbluetooth_audio_session_aidl
Test: manual

Change-Id: Iae06114020e5bc4e41fa5caa5df5de8a186dc2ff
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-08-22 09:29:06 +00:00
Jooyung Han
9803e86134 Mark uwb HAL as updatable-via-apex am: eb10186f70
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2718499

Change-Id: I523747db8b83fe0c5da8cf4a48b1cf7b8c59a6b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-22 08:57:06 +00:00
Jooyung Han
09e4bcd6ee Move uwb-service into VAPEX am: 83497068b9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2718498

Change-Id: Iaff196c7106f1b432755c81e966a53f462a7e63f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-22 08:57:02 +00:00
Jooyung Han
bf8e8da980 Move uwb-service.rc am: 3e0519690f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2718497

Change-Id: I5d4af0e8010dbccc926ddd216c058376a1d3ff98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-22 08:56:59 +00:00