Commit graph

64449 commits

Author SHA1 Message Date
Shikha Panwar
adad97cb79 Merge "Vts: New dice_policy_builder api with TargetEntry." into main 2024-06-14 08:54:39 +00:00
lichen yu
fc47032de5 [automerger skipped] Fix VtsHalSensorsV2_0TargetTest am: 8659a96281 -s ours
am skip reason: Merged-In I6f6d36d1e3c98b85b412189c3f97163c0945a7ab with SHA-1 3beaf4faca is already in history

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

Change-Id: I56a90e1a6b1eba513b789829f83b4909e9235a95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-14 02:52:54 +00:00
Shikha Panwar
d530f7e39b Vts: New dice_policy_builder api with TargetEntry.
The policy building library changes in aosp/3125493, accordingly change
the function call. This does not change the behaviour or test coverage
of VTS.

Test: atest VtsSecretkeeperTargetTest
Bug: 291245237
Change-Id: I21a7b0abe5bf186893ec9a68bb080b41778d3313
2024-06-13 14:55:51 +00:00
lichen yu
3beaf4faca Fix VtsHalSensorsV2_0TargetTest
During VTS testing, when many sensors are quickly enabled, the load on the Sensorhub side will be too heavy, and then continue to send sensor enable instructions and Sensor Flush instructions. These instructions sent by the Kernel driver to the Sensorhub through inter-core communication cannot be responded to in a timely manner. After the Kernel side judges the timeout, it will determine that the enable fails; after the enable fails, it cannot continue to test the flush or return the expected flush data.

ten sensors is tested as a group

Bug: 339763843
Test: run vts -m VtsHalSensorsV2_0TargetTest
(cherry picked from https://android-review.googlesource.com/q/commit:09952885e441bcf0d8f0bf0834ff46608b07e0d0)
Change-Id: I6f6d36d1e3c98b85b412189c3f97163c0945a7ab
2024-06-13 00:01:10 +00:00
lichen yu
8659a96281 Fix VtsHalSensorsV2_0TargetTest
During VTS testing, when many sensors are quickly enabled, the load on the Sensorhub side will be too heavy, and then continue to send sensor enable instructions and Sensor Flush instructions. These instructions sent by the Kernel driver to the Sensorhub through inter-core communication cannot be responded to in a timely manner. After the Kernel side judges the timeout, it will determine that the enable fails; after the enable fails, it cannot continue to test the flush or return the expected flush data.

ten sensors is tested as a group

Bug: 339763843
Test: run vts -m VtsHalSensorsV2_0TargetTest
(cherry picked from https://android-review.googlesource.com/q/commit:09952885e441bcf0d8f0bf0834ff46608b07e0d0)
Merged-In: I6f6d36d1e3c98b85b412189c3f97163c0945a7ab
Change-Id: I6f6d36d1e3c98b85b412189c3f97163c0945a7ab
2024-06-12 23:39:23 +00:00
David Drysdale
54db6b2214 Merge "KeyMint: version gate attestation of IMEI2" into main 2024-06-12 09:57:28 +00:00
Treehugger Robot
12086575b5 Merge "Update the input duration to reduce the number of samples to process" into main 2024-06-11 19:52:33 +00:00
Treehugger Robot
e540e3385d Merge "media.bufferpool2: Ensure uniqueness of connection id" into main 2024-06-11 18:15:11 +00:00
David Drysdale
e9dcae53e4 KeyMint: version gate attestation of IMEI2
aosp/3106417 added extra tests with for device ID attestation, but
didn't include a version gate for attesting to the second IMEI value,
which is only present in KeyMint v3+.

Test: VtsAidlKeyMintTargetTest
Change-Id: I95f47942058781709efe96d38442e0518e39705d
2024-06-11 15:43:12 +01:00
Sneha Patil
a9171f9d8d Update the input duration to reduce the number of samples to process
Bug: 305866207
Test: atest VtsHalBassBoostTargetTest
      atest VtsHalVolumeTargetTest
      atest VtsHalVirtualizerTargetTest
      atest VtsHalPresetReverbTargetTest
Change-Id: I6dc4fa6006634e570d075f8099401bd3dc572da1
2024-06-11 13:11:37 +00:00
Sungtak Lee
5e104e41ad media.bufferpool2: Ensure uniqueness of connection id
Currently same connection id can be given to different connections if
they don't belong to the same bufferpool.

Ensure uniqueness of connection id for each connection.

Bug: 323793249
Change-Id: I350872e6d60736ea4525d473944c92b5fe3f5f84
2024-06-10 23:58:13 +00:00
Treehugger Robot
8cdcadcbe4 Merge "Revert^2 "Remove Vndk_use_version property from AIDL"" into main 2024-06-10 02:31:11 +00:00
Bao Do
7f89d61751 Remove VTS test for High Quality broadcast
Not all target device support high quality broadcast config.

Bug: 342672142
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I87508c8deec994defb5653e51e75a00a8efcb873
2024-06-07 16:59:52 +08:00
David Drysdale
c8452d57a0 [automerger skipped] Merge "Delete standard output in VtsAidlKeyMintTargetTest" into android14-tests-dev am: 9d0352bf56 -s ours
am skip reason: Merged-In I3d81f7e59b6189fab1b146320263509f2694c11e with SHA-1 ca3ea117ef is already in history

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

Change-Id: I4f25468d68aae0afba294c83b495460eb241b37b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 06:56:24 +00:00
Huang Rui
a9a5e3eb45 [automerger skipped] Delete standard output in VtsAidlKeyMintTargetTest am: 0cff7329d2 -s ours
am skip reason: Merged-In I3d81f7e59b6189fab1b146320263509f2694c11e with SHA-1 ca3ea117ef is already in history

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

Change-Id: I9361dc8a42434bbefaf83ad10e91c486e85d0021
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 06:56:20 +00:00
David Drysdale
9d0352bf56 Merge "Delete standard output in VtsAidlKeyMintTargetTest" into android14-tests-dev 2024-06-07 06:46:42 +00:00
Myles Watson
66f0636c0e Merge changes I9fd5e4cb,I59872b1a into main
* changes:
  HCI: Prefer the requested hci_interface
  HCI: Return the interface from EV_INDEX_ADDED
2024-06-07 05:45:36 +00:00
Elliott Hughes
c3f1297610 Merge "Remove android.hardware.automotive@libc++fs." into main 2024-06-06 18:52:50 +00:00
Yuyang Huang
0b32bfcd6c Merge "Add @VsrTest annotations to CheckApfIsSupported" into main 2024-06-06 14:39:10 +00:00
Yuyang Huang
904cbb7cac Add @VsrTest annotations to CheckApfIsSupported
Bug: 303356901
Test: TH
Change-Id: I9d6e3ddcef042e39df8d91f68747fddcbd705573
2024-06-06 16:28:15 +09:00
Ted Wang
20aea225f1 Merge "Replace all keys in sendEids" into main 2024-06-06 06:14:38 +00:00
Bao Do
1cb6465c10 Merge changes I15075455,I03f322e8 into main
* changes:
  Additional broadcast config logic for LEA multi-codec
  Additional context matching logic for LEA multi-codec
2024-06-06 05:48:26 +00:00
Myles Watson
1f0e88bff9 HCI: Prefer the requested hci_interface
Bug: 345058678
Test: mma -j32
      Connect passthrough mode with AAOS
Change-Id: I9fd5e4cba1e14e6260f485f56f473ce506f18437
2024-06-05 13:39:54 -07:00
Myles Watson
f7986f1a31 HCI: Return the interface from EV_INDEX_ADDED
Bug: 345058678
Test: mma -j32
      Connect passthrough mode with AAOS
Change-Id: I59872b1a5f84401c19106ebb0ffe1dbcc72f6aff
2024-06-05 13:39:10 -07:00
Yi Kong
1612fe7f8e Merge "Add missing include of <mutex>" into main 2024-06-05 16:20:38 +00:00
Elliott Hughes
dccd8f3c2a Remove android.hardware.automotive@libc++fs.
It's no longer used (now libc++fs is part of libc++), and it's
dangerously opting out of the global cpp_std default.

Bug: http://b/344590580
Change-Id: I17648b573600ff2ee1ab45383c7fda7d5bcfc7a2
2024-06-05 13:09:01 +00:00
Elliott Hughes
a22a7ccba5 Merge "libc++fs is part of libc++ now." into main 2024-06-05 13:06:47 +00:00
Bao Do
81092bb791 Additional broadcast config logic for LEA multi-codec
Broadcast settings matching now base on context to
populate configurations

Bug: 306225778
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I150754558ceb74f19888ef63210e2a42b3f00cd8
2024-06-05 19:18:33 +08:00
Ted Wang
fbf30ae2db Replace all keys in sendEids
Bug: 343604097
Test: vts
Change-Id: I3dd03e24384899a9a4eb104ce0c81932b9c6fefc
2024-06-05 08:20:06 +00:00
Kiyoung Kim
377b466018 Revert^2 "Remove Vndk_use_version property from AIDL"
6f88ec9cfe

Change-Id: I7374625caf1d4d54bed7c00d83ca8afb62e1947b
Merged-In: I681cc850341a7dc47416dc81c1da21b687f87b1b
2024-06-05 07:13:06 +00:00
Pechetty Sravani
b70524066f Merge "Revert "Remove Vndk_use_version property from AIDL"" into main 2024-06-05 05:12:40 +00:00
Pechetty Sravani
6f88ec9cfe Revert "Remove Vndk_use_version property from AIDL"
Revert submission 3102645-no_vndk_aidl

Reason for revert: Droidmonitor triggered revert due to build breakage in b/345063864. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:3102645-no_vndk_aidl

Change-Id: Idc33bb7fbad72d18ac46a69639ac81bf554d469f
2024-06-05 03:42:44 +00:00
Treehugger Robot
bf5b700570 Merge "Convert system_compatibility_matrix.xml to soong" into main 2024-06-05 03:10:03 +00:00
Treehugger Robot
1b182103f4 Merge "Remove Vndk_use_version property from AIDL" into main 2024-06-05 01:34:48 +00:00
Pirama Arumuga Nainar
1212902aa2 Add missing include of <mutex>
This fixes build failure with clang-r522817

Bug: 322868540
Change-Id: Ie5db4a32bebd137d1ba11213e0d642d85f1f7d1d
Test: m out/soong/.intermediates/hardware/interfaces/automotive/can/1.0/default/tests/fuzzer/automotiveCanV1.0_fuzzer/android_vendor_arm64_armv8-2a_cortex-a55_fuzzer/e560d7b19ebf7276b3e850d3d346dec8/obj/hardware/interfaces/automotive/can/1.0/default/CanBus.o
2024-06-04 23:10:12 +00:00
Elliott Hughes
98eb91c3cb libc++fs is part of libc++ now.
Change-Id: I55a7c77ec09b21375bd3e3187a12383dde7414b0
2024-06-04 17:25:02 +00:00
Bao Do
57861bdd0c Additional context matching logic for LEA multi-codec
When we match with the remote capabilities, we don't filter by
preferred audio context, since they are suggestion.

Instead, we populate settings into 2 separated vector:
- Matched settings with matched preferred context,
- Matched settings,

We then filter by the first vector, then by the second vector.

Bug: 306225778
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I03f322e8de509127d218a9de6b41dd39b2ebdcba
2024-06-04 14:00:32 +08:00
David Duarte
cbe01d238c Merge "Update to pdl 0.3.0" into main 2024-06-04 00:26:19 +00:00
Kiyoung Kim
ec3db82cd0 Remove Vndk_use_version property from AIDL
Vndk_use_version property is no longer in use with deprecation of VNDK.
Remove Vndk_use_version property and its usage.

Bug: 328994089
Test: AOSP CF build succeeded
Change-Id: I681cc850341a7dc47416dc81c1da21b687f87b1b
Merged-In: I681cc850341a7dc47416dc81c1da21b687f87b1b
2024-06-03 07:00:49 +00:00
Treehugger Robot
c63722a30c Merge "Fix build on clang-r522817" into main 2024-06-01 20:37:37 +00:00
Yi Kong
9053d1a6fc Fix build on clang-r522817
hardware/interfaces/automotive/can/1.0/tools/libprotocan/MessageInjector.cpp:44:8: error: no member named 'lock_guard' in namespace 'std'
   44 |   std::lock_guard<std::mutex> lock(mMessagesGuard);
      |   ~~~~~^

Bug: 322868540
Test: presubmit
Change-Id: I45cd6a8420e508a37e2b6da456933c036493e15e
2024-06-02 04:29:38 +09:00
Treehugger Robot
c99ca5a384 Merge "[uwb-hal] add antenna mode app config param" into main 2024-05-31 18:30:53 +00:00
David Duarte
f8a70bbcbc Update to pdl 0.3.0
Test: m
Change-Id: I78df5c5ee828d418023128ef57428aa6be67ec3a
2024-05-31 17:32:37 +00:00
David Drysdale
ef1123b24e KeyMint: add VTS test with all IDs
Add a test that includes all of the device IDs for attestation, which
helps to check whether the emitted extension is including everything in
the correct order.

(This is already tested in CTS since aosp/2650044)

Also fix test of first API level to use `get_vsr_api_level` helper.

Test: VtsAidlKeyMintTargetTest
Test: with/without KeyMint hacked to emit tags in wrong order
Change-Id: Ic6e489aa99c773d794ad8cbddbe5153b1a145ea5
2024-05-31 12:05:04 +01:00
Treehugger Robot
56e050362d Merge "EnvironmentalReverbTest: Add Tests to Validate Environmental Reverb Effect" into main 2024-05-29 18:27:25 +00:00
Sneha Patil
37f131c244 EnvironmentalReverbTest: Add Tests to Validate Environmental Reverb Effect
Compare energy values of auxiliary output for different parameters
Remove environmental reverb default implementation from the config file.

Bug: 305866207
Test: atest VtsHalEnvironmentalReverbTargetTest
Change-Id: I261c52ff25dd63d41213f0b40df8627dbb80a95d
2024-05-29 17:26:20 +05:30
Treehugger Robot
4e4299e2e6 Merge "Replacing manual CBOR description with CDDL." into main 2024-05-29 05:12:12 +00:00
Treehugger Robot
7884619140 Merge "Added keymint_authSet_fuzzer" into main 2024-05-28 08:24:05 +00:00
Treehugger Robot
02a086bdaa Merge "Added keymint_attestation_fuzzer" into main 2024-05-28 06:45:29 +00:00
yangbill
eb5b983d01 Convert system_compatibility_matrix.xml to soong
Bug: 342336921
Test: m system_compatibility_matrix.xml
Test: Modified build/release/flag_declarations/RELEASE_AIDL_USE_UNFROZEN.textproto \
      m system_compatibility_matrix.xml

Change-Id: I181c2054adb187332b3feb634e309a3e75425611
2024-05-27 07:54:09 +00:00