Commit Graph

59312 Commits

Author SHA1 Message Date
Devin Moore
e2955b27df Merge "Remove HIDL media.c2 from the 202404 FCM" into main 2024-02-09 19:55:42 +00:00
Devin Moore
275fc31337 Merge changes If8f281ec,Id711ba79 into main
* changes:
  bump.py remove Level.h dependency
  Update bump.py for Trunk Stable
2024-02-09 16:23:44 +00:00
Devin Moore
f094d4e363 Remove HIDL media.c2 from the 202404 FCM
HIDL is no longer supported in devices targeting 202404 vendor
interface.

This removes the tmp FCM fragment that was being used to declare the
media.c2 HIDL dependency.

Test: m && launch_cvd
Bug: 218588089
Change-Id: I40973f5cdc9f4c9ca891929c8e8f865119322c17
2024-02-09 00:29:25 +00:00
Devin Moore
0425916b68 bump.py remove Level.h dependency
We want to run bump.py during finalization. We don't want to have to
update Level.h and the VTS tests that early.
So this CL removes the dependency on Level.h and requires the
current/next letters of the API levels for the kernerl configs to be
passed as arguments.

Test: bump.py 202404 202505 v w
Bug: 279809333
Change-Id: If8f281eccf62d380949a5ea9f5d0d3bb2d7f19ab
2024-02-09 00:27:32 +00:00
Devin Moore
4be20f792a Update bump.py for Trunk Stable
The next year's compatbility matrix is added to a conditional statement
so it's only available on in-development release configurations.

The curent year's compatibility matrix is moved from the conditional
statement to always be added to all release configs.

The next year's compatibility matrix level is set to the next year's
level after copying the current matrix file.

Test: ./bump.py
Bug: 279809333

Change-Id: Id711ba79110c8775f715eddf37a9bf51b073ec91
2024-02-09 00:27:29 +00:00
Yu Shan
1652bf307c Merge "Create EmuMetadataGenerator to check meta.json." into main 2024-02-07 23:10:54 +00:00
Yu Shan
e6fd48d078 Create EmuMetadataGenerator to check meta.json.
Create EmuMetadataGenerator to convert AIDL generated java files
to meta.json that can be used by emulator to populate the available
vhal props list.

Added build rules to generate the Java files from AIDL files and
check whether the meta.json file needs to be updated.

Test: make sdk_car_x86_64-trunk_staging-userdebug target
Bug: 318747444
Change-Id: Ib3bc7b68a1312152617fdab4598ed389447c20cd
Merged-In: Ib3bc7b68a1312152617fdab4598ed389447c20cd
2024-02-07 22:06:58 +00:00
Jeffrey Vander Stoep
919723a5bd Merge "Replace use of deprecated logging functions" into main 2024-02-07 17:57:53 +00:00
Jeff Vander Stoep
116a4d893c Replace use of deprecated logging functions
This is needed to upgrade the android_logger crate from 0.12.0
to 0.13.3.

with_max_level provides the same functionality as with_min_level.
The renaming is admittedly confusing, but the new name is accurate
and it makes sense that they deprecated and then removed the
previously poorly named with_min_level.

See crate documentation [1] and code [2].

[1]: https://docs.rs/android_logger/0.12.0/android_logger/struct.Config.html#method.with_min_level
[2]: https://docs.rs/android_logger/0.12.0/src/android_logger/lib.rs.html#227

Bug: 322718401
Test: build and run CF with the change.
Test: m aosp_cf_x86_64_phone
Change-Id: Ie410d871ccc2a083eec5bcb7e805f52b985b9385
2024-02-07 12:55:53 +01:00
Yahav Nussbaum
e2f62e73f4 Merge "Test that the Bluetooth Finder property is set." into main 2024-02-07 06:45:05 +00:00
Treehugger Robot
27e97308c4 Merge "[DON'T BLOCK] Test ownership migration rules" into main 2024-02-07 00:55:34 +00:00
Shunkai Yao
3ed9b6bbce Merge "Add backward compatibility in effect hal default implementation" into main 2024-02-06 18:23:57 +00:00
Treehugger Robot
f30ab93e89 [automerger skipped] Merge "[DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest" into android12L-tests-dev am: 1f3bee1191 -s ours am: 85e1f5e409 -s ours am: 1d95f15155 -s ours
am skip reason: contains skip directive

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

Change-Id: If601756ff9631c6a3afad0bc2a5056ffa244ba0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 07:02:48 +00:00
Kevin Karl
f61348cffb [automerger skipped] [DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest am: 29a9a9ccfd -s ours am: 8824d06406 -s ours am: 145c1fbd21 -s ours
am skip reason: contains skip directive

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

Change-Id: I5c3b64d5f640a52ab7b9d133bbf3b818c31e7181
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 07:02:43 +00:00
Treehugger Robot
1d95f15155 [automerger skipped] Merge "[DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest" into android12L-tests-dev am: 1f3bee1191 -s ours am: 85e1f5e409 -s ours
am skip reason: contains skip directive

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

Change-Id: I1d971445353976b1b49757b89a0067646c67b9dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 06:18:15 +00:00
Kevin Karl
145c1fbd21 [automerger skipped] [DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest am: 29a9a9ccfd -s ours am: 8824d06406 -s ours
am skip reason: contains skip directive

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

Change-Id: I04a9a6a56dd02243d86f58ee830a94c47493f382
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 06:18:08 +00:00
Jooyung Han
c5c0b5eb6a Merge "Revert "Install bluetooth audio VINTF fragment in apex"" into main 2024-02-06 05:54:53 +00:00
Treehugger Robot
85e1f5e409 [automerger skipped] Merge "[DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest" into android12L-tests-dev am: 1f3bee1191 -s ours
am skip reason: contains skip directive

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

Change-Id: Ie1a578863136c0f34c5dc00e92b7b9604f000971
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 05:54:43 +00:00
Kevin Karl
8824d06406 [automerger skipped] [DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest am: 29a9a9ccfd -s ours
am skip reason: contains skip directive

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

Change-Id: Ib6d24f096a57f36adad35f7b6559354f3860769e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 05:54:38 +00:00
Treehugger Robot
1f3bee1191 Merge "[DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest" into android12L-tests-dev 2024-02-06 05:25:19 +00:00
Ke-Yu Lu
e9f8c8c4f5 Revert "Install bluetooth audio VINTF fragment in apex"
Revert submission 2949647-bt-audio-vintf

Reason for revert: b/323989115

Reverted changes: /q/submissionid:2949647-bt-audio-vintf

Change-Id: Ie335aa9a0ad2bb847cabe6f85ef37352e9065e3a
2024-02-06 04:04:01 +00:00
Jooyung Han
0cacd8c7f5 Merge "Install bluetooth audio VINTF fragment in apex" into main 2024-02-06 00:54:22 +00:00
Oriol Prieto Gascó
7c186a5793 Merge "Set the container field of aconfig flags" into main 2024-02-06 00:38:07 +00:00
Shunkai Yao
7e2c3719ff Add backward compatibility in effect hal default implementation
Skipping the reopen sequence for unsupported version
Add member initialize for EffectContext

Bug: 322780092
Test: latest libAudioHal with V1 effect HAL
Test: atest VtsHalAudioEffectTargetTest

Change-Id: I597194e5ebf25566d5adda533e151da2e99781f4
2024-02-05 22:58:54 +00:00
Yahav Nussbaum
41a33e5b1c Test that the Bluetooth Finder property is set.
Bug: 307897345
Test: atest VtsHalBluetoothFinderTargetTest
Change-Id: I1821d1cc255a5e156497b993d694fdd9d38c4a96
2024-02-05 20:04:22 +00:00
Shawn Willden
dfb119d14e [automerger skipped] Merge "Fix AttestKeyTest failures in KeyMint VTS" into android12-tests-dev am: bd01292ab7 am: 198bcf3a6d -s ours am: 9f1f92c4a8 -s ours am: fe823a11c2 -s ours
am skip reason: Merged-In I8199e5c7570b10b71f127c7439b889c0b3327865 with SHA-1 981c9c2236 is already in history

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

Change-Id: Ic3ca74ea4e1215b05c29a28251510192d080c78d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 19:58:03 +00:00
Shawn Willden
6cc5e20358 [automerger skipped] Merge "Add check_feature helper" into android12-tests-dev am: 61b28ebd18 am: 3756b0c17f -s ours am: dc8281e5a6 -s ours am: 935b26802d -s ours
am skip reason: Merged-In I4a5b2a41172c15ae29efb5b177eb86cea5527b4e with SHA-1 b7d44a2eef is already in history

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

Change-Id: I26aea2ad0a0fa343f8a93a5a15b539f0c7d86bb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 19:57:58 +00:00
Shawn Willden
fe823a11c2 [automerger skipped] Merge "Fix AttestKeyTest failures in KeyMint VTS" into android12-tests-dev am: bd01292ab7 am: 198bcf3a6d -s ours am: 9f1f92c4a8 -s ours
am skip reason: Merged-In I8199e5c7570b10b71f127c7439b889c0b3327865 with SHA-1 981c9c2236 is already in history

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

Change-Id: I30cc99967587e979d36f8b6b1de76bfb4c0964fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 19:32:48 +00:00
Shawn Willden
935b26802d [automerger skipped] Merge "Add check_feature helper" into android12-tests-dev am: 61b28ebd18 am: 3756b0c17f -s ours am: dc8281e5a6 -s ours
am skip reason: Merged-In I4a5b2a41172c15ae29efb5b177eb86cea5527b4e with SHA-1 b7d44a2eef is already in history

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

Change-Id: I241187d84b542beb5a44df2c867056d2ba6d7426
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 19:32:43 +00:00
Shawn Willden
9f1f92c4a8 [automerger skipped] Merge "Fix AttestKeyTest failures in KeyMint VTS" into android12-tests-dev am: bd01292ab7 am: 198bcf3a6d -s ours
am skip reason: Merged-In I8199e5c7570b10b71f127c7439b889c0b3327865 with SHA-1 981c9c2236 is already in history

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

Change-Id: If4d6d688d8e7d0373e3e1edd740ae0c78605134e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 18:49:14 +00:00
Shawn Willden
dc8281e5a6 [automerger skipped] Merge "Add check_feature helper" into android12-tests-dev am: 61b28ebd18 am: 3756b0c17f -s ours
am skip reason: Merged-In I4a5b2a41172c15ae29efb5b177eb86cea5527b4e with SHA-1 b7d44a2eef is already in history

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

Change-Id: I3bab88ae6c301fb8ced89c251e84a21e0e35ec59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 18:49:09 +00:00
Jayant Chowdhary
02cb71bd4d Merge "Camera VTS: Test only CROPPED_RAW use case for RAW_SENSOR streams" into android14-tests-dev am: e51dca227c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2944865

Change-Id: I7e8bd1591f4520c63f3fe7449353a55961014334
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 18:30:10 +00:00
Shawn Willden
198bcf3a6d Merge "Fix AttestKeyTest failures in KeyMint VTS" into android12-tests-dev am: bd01292ab7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2665235

Change-Id: I6adf3810f97b1af4f4b7afad0059035154944623
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 18:12:23 +00:00
Shawn Willden
3756b0c17f Merge "Add check_feature helper" into android12-tests-dev am: 61b28ebd18
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2665195

Change-Id: Ic114fba82b35940152193ea95e0f871f9ed4b74d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 18:12:19 +00:00
Jayant Chowdhary
e51dca227c Merge "Camera VTS: Test only CROPPED_RAW use case for RAW_SENSOR streams" into android14-tests-dev 2024-02-05 17:45:14 +00:00
Shawn Willden
bd01292ab7 Merge "Fix AttestKeyTest failures in KeyMint VTS" into android12-tests-dev 2024-02-05 17:44:49 +00:00
Shawn Willden
61b28ebd18 Merge "Add check_feature helper" into android12-tests-dev 2024-02-05 17:44:49 +00:00
Aditya Choudhary
ad2ba1b851 [DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: Ic8c4bd6ac246e7efa98bbdaf822d12ae8e1230a5
2024-02-05 15:45:22 +00:00
Oriol Prieto Gasco
ac46ba289b Set the container field of aconfig flags
Test: m
Bug: 312769710
Change-Id: I63e922ffcfc96a27e6166252563b3633a5bc0b1a
2024-02-05 14:34:56 +00:00
Jooyung Han
92ca5545ca Install bluetooth audio VINTF fragment in apex
Previously, android.hardware.bluetooth.audio-impl was installed with no
use and the attached vintf was fulfilled by the
com.android.hardware.audio apex.

For cleanup, we no longer install android.hardware.bluetooth.audio-impl
separately (for cuttlefish) and install the VINTF inside the apex.

Bug: 312265159
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I31e0ccd6a8c3c00565159f2be7fe3bf4d70e9ddf
2024-02-05 11:04:02 +09:00
Shunkai Yao
047484de60 Merge "Effect: verify all AIDL IEffect versions are same as IFactory" into main 2024-02-02 20:23:29 +00:00
Mikhail Naganov
cb49cde0ad Merge "audio: Move stable libaudioclient tests to presubmit for the AIDL HAL" into main 2024-02-02 19:53:44 +00:00
Jooyung Han
63b64e2995 Merge "Use LLNDK guard instead of builtin_available" into main 2024-02-02 01:58:22 +00:00
Shunkai Yao
910a8153b2 Effect: verify all AIDL IEffect versions are same as IFactory
Bug: 322780092
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: If47f70b9d8f72a45f3ecf927294fb93fda28851b
2024-02-02 01:46:09 +00:00
Jayant Chowdhary
7a9ee22a51 Camera VTS: Test only CROPPED_RAW use case for RAW_SENSOR streams
There are no mandatory stream combinations for RAW_SENSOR streams that
do not involve the CROPPED_RAW stream use case. So we don't need to test
stream non CROPPED_RAW stream use cases with the RAW_SENSOR format,
since we don't have a definite answer to whether they will be supported or not.

Bug: 317773720

Test: Camera VTS on cf
Test: Vendor testing

Merged-In: I0870e90ae68a5e35196f0ba0afaa6b8bf7fbfbd8
Change-Id: I0870e90ae68a5e35196f0ba0afaa6b8bf7fbfbd8
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
(cherry picked from commit 6847115a00)
2024-02-01 18:51:13 +00:00
Mikhail Naganov
03761c7e8e audio: Move stable libaudioclient tests to presubmit for the AIDL HAL
These framework-side tests are helpful in detecting breakages
caused by changes in the HAL code.

Data from postsubmit runs:

Test module audioeffect_tests: Latency (p90): 3s, Flakiness: 0.00%
Test module trackplayerbase_tests: Latency (p90): 13s, Flakiness: 0.00%

Bug: 311830316
Test: presubmit
Test-Mapping-Slo-Bypass-Bug: b/318425155
Change-Id: I5c329239cd3890e98edc74283bc9edb83e7e7ba7
2024-02-01 10:47:21 -08:00
Devin Moore
7f3b4b2a38 Merge "Revert^2 "Remove Q matrices"" into main 2024-02-01 18:22:50 +00:00
Treehugger Robot
17aa36a60d Merge "Replace use of deprecated logging functions" into main 2024-02-01 17:36:36 +00:00
Shikha Panwar
36e66b72fe Merge "Expand DICE chain in VTS/test to contain arrays" into main 2024-02-01 16:06:36 +00:00
Shikha Panwar
9e15e5e01e Expand DICE chain in VTS/test to contain arrays
Include a list of subcomponents in AVB DiceChainEntry in the sample DICE
chain and include constraints on that in the sealing_policy.

Bug: 291238565
Test: VTS#secret_management_policy_gate
Change-Id: Id36ddf137bacf99c273b61c3136691426f2d5b34
2024-02-01 13:15:36 +00:00