Commit graph

64094 commits

Author SHA1 Message Date
Mikhail Naganov
9970dadaa9 Merge "Volume Control: Add tests to validate Volume Control Effect" into main am: 4fbb997e17
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2968207

Change-Id: I9fe1b948ec1f168816258c443b0fc3a5c11e6d35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-22 02:50:03 +00:00
Mikhail Naganov
4fbb997e17 Merge "Volume Control: Add tests to validate Volume Control Effect" into main 2024-02-22 02:17:54 +00:00
Weston Carvalho
dbe3ce37e9 Merge "Create Secure Storage AIDL interface" into main am: 7f20fbe400
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2585668

Change-Id: I02e4e6750ac89471d49bdd7c2c1320f20d4641c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 21:55:47 +00:00
Weston Carvalho
7f20fbe400 Merge "Create Secure Storage AIDL interface" into main 2024-02-21 21:28:27 +00:00
Sneha Patil
93e4eb5487 Volume Control: Add tests to validate Volume Control Effect
Added test to apply level, mute and unmute input.
Added test to verify decreasing volume levels.

Bug: 305866207
Test: atest VtsHalVolumeTargetTest
Change-Id: Ie105a3bb77255da61719d042cbd5abc23c405d93
2024-02-21 18:11:29 +05:30
Yuyang Huang
1063d9444e [automerger skipped] Update VTS to exempt low-power TVs from APF am: 1abfda2def -s ours am: cc7c85168d -s ours
am skip reason: Merged-In Ifec617520db20d1ef61f1eca63b7160d9191f446 with SHA-1 9f215110bf is already in history

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

Change-Id: I36b7231ee61323fb19280095c1dd777cdafcb1ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 01:30:45 +00:00
Yuyang Huang
cc7c85168d [automerger skipped] Update VTS to exempt low-power TVs from APF am: 1abfda2def -s ours
am skip reason: Merged-In Ifec617520db20d1ef61f1eca63b7160d9191f446 with SHA-1 9f215110bf is already in history

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

Change-Id: Iff89de6cef5511d27b32ca4a3431c387721d13b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 00:49:46 +00:00
Eric Biggers
1438394ac9 Merge "keymint: document deprecation of UNLOCKED_DEVICE_REQUIRED enforcement" into main am: 8c7558625f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2966026

Change-Id: I4a1416d471eb98a0b826bcad02384e583378d075
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-20 19:30:01 +00:00
Eric Biggers
8c7558625f Merge "keymint: document deprecation of UNLOCKED_DEVICE_REQUIRED enforcement" into main 2024-02-20 18:42:20 +00:00
Treehugger Robot
6f5630cd21 Merge "Fix test run for GSI" into main am: 74d99edac1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2931355

Change-Id: I060768982c8a30b8104fecbedf8663f426cfc7e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-19 06:04:04 +00:00
Treehugger Robot
74d99edac1 Merge "Fix test run for GSI" into main 2024-02-19 05:29:23 +00:00
Yuyang Huang
1abfda2def Update VTS to exempt low-power TVs from APF
This change updates the VTS to exempt TV devices that consume <= 2W of
standby power from APF requirements. This update aligns with latest GTVS
policy.

Bug: 306587099
Test: TH
(cherry picked from https://android-review.googlesource.com/q/commit:9f215110bf524e3bf1d2fb591a724623e11423bc)
Merged-In: Ifec617520db20d1ef61f1eca63b7160d9191f446
Change-Id: Ifec617520db20d1ef61f1eca63b7160d9191f446
2024-02-18 01:19:56 +00:00
Yuyang Huang
25ae719f23 Merge "Update VTS to exempt low-power TVs from APF" into main am: 37ad71f3ce
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2957772

Change-Id: Ia64deb5e5be44dca193a530e3607d5a378238dc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-17 01:25:18 +00:00
Yuyang Huang
37ad71f3ce Merge "Update VTS to exempt low-power TVs from APF" into main 2024-02-17 00:33:43 +00:00
Eric Biggers
df32f52a47 keymint: document deprecation of UNLOCKED_DEVICE_REQUIRED enforcement
KeyMint enforcement of UNLOCKED_DEVICE_REQUIRED is broken, has never
been used, and cannot be fixed.  So, document that it does not need to
be implemented.  Also remove the VTS test for it, which was disabled.

UNLOCKED_DEVICE_REQUIRED remains supported in Keystore.

Bug: 321100166
Test: Build
Change-Id: If4d47ee49c9d4a595820cfceb0f5f3027f99ee9f
2024-02-16 20:28:17 +00:00
Jooyung Han
c1e4f6ede3 Merge "Use new API to load mapper" into main am: f6b4016c32
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2963302

Change-Id: I62e056a3c0ed6a4ac130fae5c01ee455b0da061e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 22:59:48 +00:00
Jooyung Han
f6b4016c32 Merge "Use new API to load mapper" into main 2024-02-14 22:20:35 +00:00
Weston Carvalho
b8d8740cdf Create Secure Storage AIDL interface
Test: mmm hardware/interfaces/staging/security/see/storage/aidl/
Bug: 278779487
Change-Id: I1aceb7fffcd9e8b60228d232cf1b610a07754ac0
2024-02-14 11:38:58 -06:00
Treehugger Robot
52e9ebfa91 Merge "Use new API to load mapper" into main am: 6a5da15033
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2960862

Change-Id: If9bc9393e42d5af792d04fabda945c2bb1a5a028
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 01:32:01 +00:00
Jooyung Han
4784c0b0b3 Use new API to load mapper
AServiceManager_getDeclaredPassthroughHal() can replace
android_load_sphal_library().

Bug: 316051788
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I50021790693c3ec2bce8cb4af96b0d6ee276b2e7
2024-02-14 09:48:00 +09:00
Treehugger Robot
6a5da15033 Merge "Use new API to load mapper" into main 2024-02-14 00:46:11 +00:00
Yuyang Huang
9f215110bf Update VTS to exempt low-power TVs from APF
This change updates the VTS to exempt TV devices that consume <= 2W of
standby power from APF requirements. This update aligns with latest GTVS
policy.

Bug: 306587099
Test: TH
Change-Id: Ifec617520db20d1ef61f1eca63b7160d9191f446
2024-02-14 08:58:53 +09:00
Ryan Prichard
9705248d2a Merge changes Ic373e0a3,Icb3937d8 into main am: 600b93a0c2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2960244

Change-Id: Ib48370e9f5daf5a58100d5d12055612bb2a335c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 17:51:18 +00:00
Shunkai Yao
8fcfd41a72 Merge "Effect AIDL: add Spatializer default implementation to Cuttlefish" into main am: ac270bcbe2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2959644

Change-Id: Idfc6d94b03fd276eef06eae790f45918ea30048e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 17:49:58 +00:00
Ryan Prichard
600b93a0c2 Merge changes Ic373e0a3,Icb3937d8 into main
* changes:
  Replace std::basic_string_view<uint8_t> with std::span
  Replace std::basic_string<uint8_t> with std::vector
2024-02-13 17:32:52 +00:00
Shunkai Yao
ac270bcbe2 Merge "Effect AIDL: add Spatializer default implementation to Cuttlefish" into main 2024-02-13 17:06:18 +00:00
Jooyung Han
0425704133 Use new API to load mapper
AServiceManager_getDeclaredPassthroughHal() can replace
android_load_sphal_library().

Bug: 325018681
Test: VtsHalGraphicsMapperStableC_TargetTest
Change-Id: I004355a9df8bd1ba4f9fb00149d7fddb9ac9f499
2024-02-13 21:37:47 +09:00
Ryan Prichard
01cf20d711 Replace std::basic_string_view<uint8_t> with std::span
In newer versions of libc++, std::char_traits<T> is no longer defined
for non-character types, and a result, std::basic_string_view<uint8_t>
is also no longer defined. See
https://discourse.llvm.org/t/deprecating-std-string-t-for-non-character-t/66779.

Bug: 175635923
Test: libkeymint_remote_prov_support_test
Change-Id: Ic373e0a3c081b996d4c81a9783103ae6406833f7
2024-02-12 20:34:20 -08:00
Ryan Prichard
aecb0333b0 Replace std::basic_string<uint8_t> with std::vector
In newer versions of libc++, std::char_traits<T> is no longer defined
for non-character types, and a result, std::basic_string<uint8_t> is
also no longer defined. See
https://discourse.llvm.org/t/deprecating-std-string-t-for-non-character-t/66779.

Bug: 175635923
Test: make checkbuild
Change-Id: Icb3937d8b1ff6dbe7e35e62f2e6cc1e2eb789121
2024-02-12 20:15:47 -08:00
Shunkai Yao
c7f5c2dd83 Effect AIDL: add Spatializer default implementation to Cuttlefish
Bug: 273373363
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: Ib49d62c61de831c8147c935799d22be78950488f
2024-02-13 02:11:12 +00:00
Henri Chataing
f3a785b16d blueooth/audio/aidl/default: Disable GetProviderInfo am: 7f9c47a388
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2957054

Change-Id: Ia8e556e6cc1aa6c8b97ec896fe2ccfed2c36e74e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-12 23:19:22 +00:00
Henri Chataing
7f9c47a388 blueooth/audio/aidl/default: Disable GetProviderInfo
This implementation of the HAL is used by pixel devices.
The implementation of GetProviderInfo is test only

Bug: 324570010
Test: TreeHugger
Change-Id: I67d17fb07c1288317290a0b1c4b07cd3be1e48c6
2024-02-12 18:24:51 +00:00
Subrahmanyaman
649c660d2b Test to validate a range of certificate validity times. am: e1560216fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2583372

Change-Id: I8e17f8abbf6b9a031a899e34828a537c71fa6e9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-12 16:14:49 +00:00
Subrahmanyaman
e1560216fe Test to validate a range of certificate validity times.
Bug: 280624515
Test: run VtsAidlKeyMintTarget
Change-Id: Id315c28e2ea114c5c39e235d3ee6be2a0d8bfa71
2024-02-12 15:25:53 +00:00
Devin Moore
9fcb65ddfc Merge "Remove HIDL media.c2 from the 202404 FCM" into main am: e2955b27df
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2955347

Change-Id: I0aa722af82d254408f7d44675d28e01f1a9df132
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-09 20:40:17 +00:00
Devin Moore
e2955b27df Merge "Remove HIDL media.c2 from the 202404 FCM" into main 2024-02-09 19:55:42 +00:00
Devin Moore
9fdb6fe412 Merge changes If8f281ec,Id711ba79 into main am: 275fc31337
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2954004

Change-Id: Ifd383dedde3066771e6ef1306a6ef1b3a72c71f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-09 17:11:05 +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
e06ecd2c2a [automerger skipped] Merge "Create EmuMetadataGenerator to check meta.json." into main am: 1652bf307c -s ours
am skip reason: Merged-In Ib3bc7b68a1312152617fdab4598ed389447c20cd with SHA-1 9540e47340 is already in history

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

Change-Id: I9b98a1241bcdd4ba5feac3c017b3012e48775a2d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 23:50:37 +00:00
Yu Shan
707ce8c5f0 [automerger skipped] Create EmuMetadataGenerator to check meta.json. am: e6fd48d078 -s ours
am skip reason: Merged-In Ib3bc7b68a1312152617fdab4598ed389447c20cd with SHA-1 9540e47340 is already in history

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

Change-Id: I54895c50595955db20c664d214995b80ecde3660
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 23:50:31 +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
b99a805e68 Merge "Replace use of deprecated logging functions" into main am: 919723a5bd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2952816

Change-Id: Ia1bba99986af4c2f708f685a61bdfa9a723b36b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 18:56:08 +00:00
Yu Shan
0b67a32f4e Merge "Create EmuMetadataGenerator to check meta.json." into aosp-main-future 2024-02-07 18:46:22 +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
a04bf8b776 Merge "Test that the Bluetooth Finder property is set." into main am: e2f62e73f4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2940230

Change-Id: I19644fcf6628ee538c8a5a234f03cd2eacb61a58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 07:21:49 +00:00