Ryan Prichard
d3e4d3a3e0
VtsHalMediaOmx: avoid std::set and std::vector of const T
...
These containers use std::allocator<const T>, which is an undocumented
libc++ extension to the C++ standard library. The extension was removed
in llvm.org/PR96319. Use an ordinary non-const T instead.
Bug: http://b/349681543
Test: m VtsHalMediaOmxV1_0TargetStoreTest
Flag: EXEMPT, refactor to fix build failure
Change-Id: I5b5ceed1d2618b7ce1f979242f33f6bc92df0545
2024-10-01 16:09:05 -07:00
Priyanka Advani (xWF)
fdd4b4ec05
Merge "Revert "Support 192kHz sample rate in AIDL remote submix"" into main
2024-09-30 20:23:00 +00:00
Priyanka Advani (xWF)
fdad9716c0
Revert "Support 192kHz sample rate in AIDL remote submix"
...
Revert submission 2835831-e-ac3-joc remote submix
Reason for revert: Droidmonitor created revert due to b/370533763. Will be verifying through ABTD before submission.
Reverted changes: /q/submissionid:2835831-e-ac3-joc+remote+submix
Change-Id: I52e74ea0191f2820ba6c06b82040757d9e45097e
2024-09-30 18:44:06 +00:00
Mikhail Naganov
d146de2290
Merge "Support 192kHz sample rate in AIDL remote submix" into main
2024-09-30 17:07:38 +00:00
Treehugger Robot
876f8b4392
Merge "Explicitly include libhardware_header for vendors" into main
2024-09-30 09:25:16 +00:00
Abdelrahman Daim
7c60a7a0cb
Explicitly include libhardware_header for vendors
...
Summary: This seems to be not implicit when building vendor, so it's now necessary to explicitly include.
Test: Succesful build on master
Change-Id: Ie9720a3ae4c9f94210bc34c60d14756c7d0cf56f
Signed-off-by: Abdelrahman Daim <adaim@meta.com >
2024-09-27 07:47:17 -07:00
Treehugger Robot
cbca4fe91b
Merge "Convert android.hardware.graphics.composer@2.2-service to soong" into main
2024-09-25 23:02:40 +00:00
Treehugger Robot
885c50fad1
Merge "threadhal: handle socket disconnection gracefully" into main
2024-09-25 06:18:22 +00:00
Jeremy Wu
4cdccd0bb9
Merge "Add support for HFP_SOFTWARE_DATAPATH session type" into main
2024-09-25 04:59:21 +00:00
Jeremy Wu
cd019230f3
Add support for HFP_SOFTWARE_DATAPATH session type
...
Bug: 349290628
Bug: 315234036
Test: m packages/modules/Bluetooth
Flag: com::android::bluetooth::flags::is_sco_managed_by_audio and HFP session type only enabled when flag is enabled
Change-Id: I952f8baf347084d57162fdfd767259157f39962e
2024-09-25 02:43:23 +00:00
Yu Shan
acd65a80a9
Use read-write lock to guard property config.
...
Property config now may change dynamically due to late-init. We might
also support dynamic config later. This CL uses read write lock
to properly guard access to config map.
Flag: EXEMPT HAL change
Test: atest DefaultVehicleHalTest
Bug: 342470570
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:35401eb1ba251507ed68748b19b0c4a2fcc56c40 )
Merged-In: I0df79040c363e66baab48631f457752532d2967d
Change-Id: I0df79040c363e66baab48631f457752532d2967d
2024-09-24 21:41:57 +00:00
Aayush Soni
7956b83f9f
VtsVisualizer: skip testCaptureSampleBufferSizeAndOutput for offload
...
Bug: 368991623
Test: atest VtsHalVisualizerTargetTest on a device where aidl
visualizer and offload is enabled
Change-Id: Id575544a427e01f11adc437d59b16f28ccbe1794
2024-09-24 16:47:46 +00:00
Yu Shan
f74d99117c
Merge "Inject getS2rS2dConfig through constructor." into main
2024-09-23 23:19:23 +00:00
Shunkai Yao
99bbeb8e2a
Merge "Align EffectContext workbuffer size to FMQ size" into main
2024-09-23 22:17:47 +00:00
Shunkai Yao
7a03de84af
[RESTRICT AUTOMERGE] HapticGenerator VTS: validate parameter before setting am: d994467f38
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3276956
Change-Id: Ib668843372fafe36240c54607f3ee9bbd17bd367
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-23 21:42:00 +00:00
Mikhail Naganov
9a24a94496
Merge "audio: Update FMQ error reporting handler" into main
2024-09-23 20:55:42 +00:00
Shunkai Yao
d994467f38
[RESTRICT AUTOMERGE] HapticGenerator VTS: validate parameter before setting
...
the newer version of HapticGenerator have range defined
Bug: 368467232
Test: atest VtsHalHapticGeneratorTargetTest
Change-Id: I1e366caf7d3944bc371d3b646733ed873aa111c8
Merged-In: I9da0f6f2573722089efadb78ff96fc265bdad164
2024-09-23 20:45:07 +00:00
shihchienc
83f6d02eb5
threadhal: handle socket disconnection gracefully
...
Thread hal exit the process when receiving socket disconnection. This
patch is to change the behavior to handle this connection gracefully.
Bug: 368867685
Test: atest VtsHalThreadNetworkTargetTest
Test: manual
Change-Id: I04a9b00784c4c4beb4dad97d080532a3052be05a
2024-09-22 10:38:38 +00:00
Terry Guan
53e667adc6
Merge "Change documentation for AP_POWER_STATE_REQ" into main
2024-09-20 02:13:11 +00:00
Yu Shan
ffd34374e8
Inject getS2rS2dConfig through constructor.
...
getS2rS2dConfig is used during FakeVehicleHardware constructor so
at that point the subclass is not initialized yet and it cannot
call into subclass's virtual methods. We need to inject the function
directly into constructor.
Flag: EXEMPT reference HAL
Test: atest FakeVehicleHardwareTest
Bug: 365994148
Change-Id: I79b9a22a2f60239e192c9f5fd4aad7338abae490
2024-09-19 18:01:08 -07:00
Mikhail Naganov
76d38c1b94
audio: Update FMQ error reporting handler
...
Switch to use the error handler mechanism of the FMQ.
Bug: 338974476
Test: m
Change-Id: I795f1ee173771cdd7af899c0339280576378ca8e
2024-09-19 16:32:49 -07:00
Bill Yang
ce222a2cbc
Convert android.hardware.graphics.composer@2.2-service to soong
...
The conversion skip the if condition for
TARGET_USES_DISPLAY_RENDER_INTENTS due to the cflag it set is never
being used actually.
Bug: 368204639
Test: m android.hardware.graphics.composer@2.2-service
Change-Id: I7347fa5cef192385f94954f620bebee6a24ebb82
2024-09-19 06:37:15 +00:00
Henri Chataing
f506e2dc47
VtsHalBluetoothTargetTest: Check API level compatibility
...
The following requirements apply only when the support API level
is lower than 34:
- [VSR-5.3.14-001]
- [VSR-5.3.14-002]
- [VSR-5.3.14-004]
Bug: 297818112
Test: atest VtsHalBluetoothTargetTest
Change-Id: I278681dfd9c30647110c55634d6e324786c48d73
2024-09-18 21:58:15 +00:00
Shunkai Yao
de16db4d2e
Align EffectContext workbuffer size to FMQ size
...
Bug: 361370596
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I0d424914566ff3b8c0e13d0c8f08d138761e2ea0
2024-09-18 20:36:06 +00:00
Treehugger Robot
68246be0ec
Merge "VisualizerTest: Add tests for visualizer effect parameters" into main
2024-09-18 18:19:12 +00:00
Roshan Pius
e8ba631772
Merge "Nfc AIdl interface updated following" into main
2024-09-18 17:34:39 +00:00
Seth Moore
95b0e8beac
Replace "UDS_Public" with "UDS_Pub" for consistency
...
Change-Id: I0d331abb7e538ac4c7e8cc966653aac38c0190d6
2024-09-18 16:24:00 +00:00
Aayush Soni
bb001fbca6
VisualizerTest: Add tests for visualizer effect parameters
...
Bug: 305866207
Test: atest VtsHalVisualizerTargetTest
Change-Id: I07faeabe1fc468fb0ba480266ba68e8882c3801e
2024-09-18 18:38:52 +05:30
subrahmanyaman
dc578038f3
[automerger skipped] Updated the vts attestation tests for strongbox implementations which am: 4f4d7d7615 am: 4d4f7cb075 -s ours am: 6e6dcc5640 -s ours am: 94cb8d622c -s ours am: fe611786f5 -s ours
...
am skip reason: Merged-In Ie3f3f33f773227d879e11f11e2ef0eaee33db648 with SHA-1 7d9bc46f6f is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963909
Change-Id: I19bee05c1837b6363a3863228454ff39f065234d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 23:04:48 +00:00
subrahmanyaman
fcea28c2ef
[automerger skipped] Support for P256 curve in RKP for Strongbox am: 8785f89b1d am: 59737c281f -s ours am: b222638c56 -s ours am: 0ce792ca26 -s ours am: 6f8fec9146 -s ours
...
am skip reason: Merged-In Ic38fd2318dd8749ae125f1e78d25f2722bd367e5 with SHA-1 fb213d6031 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962596
Change-Id: I65546e57f528cd8752a2677e21a67b959c1ef5ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 23:04:45 +00:00
subrahmanyaman
d81cf9caf0
[automerger skipped] Fixed vts tests cases which do not support factory attestation. am: 7e1dd8a3a3 am: abfb309c18 -s ours am: 242523198c -s ours am: 7cacd99d7e -s ours am: 22711873d4 -s ours
...
am skip reason: Merged-In I8055fef8df5ec77e317f810f9b95a53311b23cf0 with SHA-1 0564249f93 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963907
Change-Id: I84fd64056a05dd0cd6fab77b24ca1eabc4eaa2ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 23:04:42 +00:00
Max Bires
db57c72d60
[automerger skipped] Include the CWT validation in VTS testing. am: b326f33fbc am: 52d0159890 -s ours am: c13a2a0d1b -s ours am: fadc5a5d55 -s ours am: 3e30f3726e -s ours
...
am skip reason: Merged-In I9e7769861529b8095d77ce8fee3c78222579d38c with SHA-1 81880284af is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962595
Change-Id: I872eecbea73e66c84a2723aaceac33bc3d453550
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 23:04:38 +00:00
subrahmanyaman
fe611786f5
[automerger skipped] Updated the vts attestation tests for strongbox implementations which am: 4f4d7d7615 am: 4d4f7cb075 -s ours am: 6e6dcc5640 -s ours am: 94cb8d622c -s ours
...
am skip reason: Merged-In Ie3f3f33f773227d879e11f11e2ef0eaee33db648 with SHA-1 7d9bc46f6f is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963909
Change-Id: Ie51e29a0a9bf0e9f500ad5ab62678b6f96747b95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:53:07 +00:00
subrahmanyaman
6f8fec9146
[automerger skipped] Support for P256 curve in RKP for Strongbox am: 8785f89b1d am: 59737c281f -s ours am: b222638c56 -s ours am: 0ce792ca26 -s ours
...
am skip reason: Merged-In Ic38fd2318dd8749ae125f1e78d25f2722bd367e5 with SHA-1 fb213d6031 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962596
Change-Id: I9fde7014f6771ee6c7615060d4e1c2fe9ac7c1f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:53:03 +00:00
subrahmanyaman
22711873d4
[automerger skipped] Fixed vts tests cases which do not support factory attestation. am: 7e1dd8a3a3 am: abfb309c18 -s ours am: 242523198c -s ours am: 7cacd99d7e -s ours
...
am skip reason: Merged-In I8055fef8df5ec77e317f810f9b95a53311b23cf0 with SHA-1 0564249f93 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963907
Change-Id: I51b250f025a267fc5e19a1f1bb90d8fcc7285707
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:53:00 +00:00
Max Bires
3e30f3726e
[automerger skipped] Include the CWT validation in VTS testing. am: b326f33fbc am: 52d0159890 -s ours am: c13a2a0d1b -s ours am: fadc5a5d55 -s ours
...
am skip reason: Merged-In I9e7769861529b8095d77ce8fee3c78222579d38c with SHA-1 81880284af is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962595
Change-Id: I05f4db754e949cf06e2d3133dce5da4922b803fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:52:57 +00:00
subrahmanyaman
94cb8d622c
[automerger skipped] Updated the vts attestation tests for strongbox implementations which am: 4f4d7d7615 am: 4d4f7cb075 -s ours am: 6e6dcc5640 -s ours
...
am skip reason: Merged-In Ie3f3f33f773227d879e11f11e2ef0eaee33db648 with SHA-1 7d9bc46f6f is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963909
Change-Id: Iab80f668a957baf5ded2f242461bb5dc274703e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:42:43 +00:00
subrahmanyaman
0ce792ca26
[automerger skipped] Support for P256 curve in RKP for Strongbox am: 8785f89b1d am: 59737c281f -s ours am: b222638c56 -s ours
...
am skip reason: Merged-In Ic38fd2318dd8749ae125f1e78d25f2722bd367e5 with SHA-1 fb213d6031 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962596
Change-Id: I3b4677ff0a6b1c8e361ca604da05171767a7169a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:42:40 +00:00
subrahmanyaman
7cacd99d7e
[automerger skipped] Fixed vts tests cases which do not support factory attestation. am: 7e1dd8a3a3 am: abfb309c18 -s ours am: 242523198c -s ours
...
am skip reason: Merged-In I8055fef8df5ec77e317f810f9b95a53311b23cf0 with SHA-1 0564249f93 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963907
Change-Id: I30a4a5d9b8a0031e5a16e249a13ac1e37afc9ecb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:42:37 +00:00
Max Bires
fadc5a5d55
[automerger skipped] Include the CWT validation in VTS testing. am: b326f33fbc am: 52d0159890 -s ours am: c13a2a0d1b -s ours
...
am skip reason: Merged-In I9e7769861529b8095d77ce8fee3c78222579d38c with SHA-1 81880284af is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962595
Change-Id: I830e743d79ccbdddb0da23935fee75f95b4fa8d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:42:32 +00:00
subrahmanyaman
6e6dcc5640
[automerger skipped] Updated the vts attestation tests for strongbox implementations which am: 4f4d7d7615 am: 4d4f7cb075 -s ours
...
am skip reason: Merged-In Ie3f3f33f773227d879e11f11e2ef0eaee33db648 with SHA-1 7d9bc46f6f is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963909
Change-Id: Id77df57d453b08ffb0fdab82d9bd5212dcb205bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:32:55 +00:00
subrahmanyaman
b222638c56
[automerger skipped] Support for P256 curve in RKP for Strongbox am: 8785f89b1d am: 59737c281f -s ours
...
am skip reason: Merged-In Ic38fd2318dd8749ae125f1e78d25f2722bd367e5 with SHA-1 fb213d6031 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962596
Change-Id: Idc2cb91062219a47c75cbf078840b7e9bb821b9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:32:52 +00:00
subrahmanyaman
242523198c
[automerger skipped] Fixed vts tests cases which do not support factory attestation. am: 7e1dd8a3a3 am: abfb309c18 -s ours
...
am skip reason: Merged-In I8055fef8df5ec77e317f810f9b95a53311b23cf0 with SHA-1 0564249f93 is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963907
Change-Id: I22254b694f142e081f5cef5a9dc96b818f190042
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:32:49 +00:00
Max Bires
c13a2a0d1b
[automerger skipped] Include the CWT validation in VTS testing. am: b326f33fbc am: 52d0159890 -s ours
...
am skip reason: Merged-In I9e7769861529b8095d77ce8fee3c78222579d38c with SHA-1 81880284af is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962595
Change-Id: I8db5e50be2e7fe646192a25a55103d13a7452f48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:32:45 +00:00
subrahmanyaman
4d4f7cb075
Updated the vts attestation tests for strongbox implementations which am: 4f4d7d7615
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963909
Change-Id: I0baad8c5208771261625ee609d69b5a64f4b6d42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:23:11 +00:00
subrahmanyaman
59737c281f
Support for P256 curve in RKP for Strongbox am: 8785f89b1d
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962596
Change-Id: Ib08eed464f2e53d62b4a8e0ca831fa56ce1d2b83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:23:08 +00:00
subrahmanyaman
abfb309c18
Fixed vts tests cases which do not support factory attestation. am: 7e1dd8a3a3
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963907
Change-Id: I9cf2f40a426fac73c5e1cf9eecaab75cb7a4c5b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:23:04 +00:00
Max Bires
52d0159890
Include the CWT validation in VTS testing. am: b326f33fbc
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962595
Change-Id: I2e337aa9985e21b3bdd02f1d32dd6cde7fd501a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-17 22:23:02 +00:00
Treehugger Robot
6e5537e1d6
Merge "Do not force verbose logs on for anything including ComposerCommandBuffer.h" into main
2024-09-17 18:31:07 +00:00
terryguan
f63b26874d
Change documentation for AP_POWER_STATE_REQ
...
Add documentation to VehicleProperty.aidl for AP_POWER_STATE_REQ
Bug: 366270660
Test: make
Change-Id: Ia3ce01a6af89fdf1fe99046f4afc6ae1500c4331
2024-09-17 11:30:32 -07:00