Treehugger Robot
0cf9620136
Merge "Update VTS SupplicantStaIfaceAidlTest#SetCountryCode to US" into main am: 84c6d5e8c6
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3039132
Change-Id: If5478897cb7b52624272201402f22b142a84d36a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-15 22:49:30 +00:00
Treehugger Robot
84c6d5e8c6
Merge "Update VTS SupplicantStaIfaceAidlTest#SetCountryCode to US" into main
2024-04-15 22:26:58 +00:00
Cody Schuffelen
e6273eff1d
Merge "C++ AIDL on-device GateKeeper / SharedSecret impl" into main am: e23e450487
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3023986
Change-Id: I6532238eb92f6000366df38c87b170e623d72a44
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-14 22:26:59 +00:00
Cody Schuffelen
e23e450487
Merge "C++ AIDL on-device GateKeeper / SharedSecret impl" into main
2024-04-14 22:08:37 +00:00
Jiawei Li
73e55bdbcf
Update VTS SupplicantStaIfaceAidlTest#SetCountryCode to US
...
Bug: 323694622
Bug: 334053791
Test: VTS SupplicantStaIfaceAidlTest
Change-Id: Idad4127ce26188145c7b07d60d5e6ce40a80aa5b
2024-04-13 01:07:31 +00:00
Bruno Carneiro
bdf398486d
Improve OpenAfterOpen VTS test am: 056aa140ca
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3040299
Change-Id: I1ba8e032c62f3e5b21844f776ea0fc918d2f2529
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-12 21:40:08 +00:00
Bruno Carneiro
056aa140ca
Improve OpenAfterOpen VTS test
...
A callback should be executed every time the NFC interface is opened,
even in OpenAfterOpen scenarios. If a callback is not executed, a
crash may occur where the NfcService hangs while waiting for an
OPEN_CPLT event.
Change-Id: Idd78c0dae944e3d39a6828b43db5a608adbaf1d9
Signed-off-by: Bruno Carneiro <bccunha@motorola.com >
2024-04-12 14:43:22 -03:00
A. Cody Schuffelen
097e625335
C++ AIDL on-device GateKeeper / SharedSecret impl
...
Because Keystore2 always requires valid auth tokens for user keys, this
copies and extends the existing in-guest GateKeeper implementation to
negotiate a shared secret key with Keymint in order to generate a
session key for signing auth tokens.
This implementation also uses AIDL rather than HIDL to interact with the
framework. It's also packaged in an APEX.
The files are cobbled together from a few sources:
- SoftGateKeeper.h is based on hardware/interfaces/gatekeeper/1.0/software/SoftGateKeeper.h
- GateKeeper.{cpp,h} are based on device/google/cuttlefish/guest/hals/gatekeeper/remote/remote_gatekeeper.{cpp,h}
- SharedSecret.{cpp,h} are based on device/google/cuttlefish/guest/hals/keymint/remote/remote_shared_secret.{cpp,h}
- Apex files are based on device/google/cuttlefish/guest/hals/keymint/rust/
Keymint modifications to use BOOT_TIME are lifted from
https://android-review.git.corp.google.com/c/platform/hardware/interfaces/+/2856649/6..8/security/keymint/aidl/default/ta/clock.rs#38
Bug: 332376454
Change-Id: I81845d5e6370bdddb1a24d67437964e03a5fb243
Test: Run with rust-nonsecure keymint on Cuttlefish
2024-04-11 13:53:32 -07:00
Treehugger Robot
bdb87cf0ce
Merge "PresetReverb: Add test to validate PresetReverb Effect" into main am: 0f141d1967
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3029145
Change-Id: Ib0fcf6e703c83f1c09e887dfd411a2f45a78d0ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-11 17:37:48 +00:00
Treehugger Robot
094dfcfacf
Merge "Bluetooth vts hal: Restore to 2s startup" into main am: a6c9097dd0
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3037779
Change-Id: Icf2a60fd56912893557dd559aa243713cb799a2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-11 17:35:31 +00:00
Treehugger Robot
0f141d1967
Merge "PresetReverb: Add test to validate PresetReverb Effect" into main
2024-04-11 17:25:34 +00:00
Treehugger Robot
a6c9097dd0
Merge "Bluetooth vts hal: Restore to 2s startup" into main
2024-04-11 17:21:34 +00:00
William Escande
ac0f34f6cd
Bluetooth vts hal: Restore to 2s startup
...
1s should really be the max limit, but it requires time to investigate
the failures and optimize this
Bug: 327273567
Fix: 332815453
Test: atest VtsHalBluetoothTargetTest
Change-Id: I43767b5241d967cb643401711fd7b2e015e99455
2024-04-11 09:06:31 -07:00
Treehugger Robot
35c50c21e2
Merge "Allow vendor ISharedSecret HALs by any name" into main am: 776e39b725
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3038254
Change-Id: I9bd960e6fa72912bc32cb2bde26aff589dd017b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-11 09:54:14 +00:00
Treehugger Robot
776e39b725
Merge "Allow vendor ISharedSecret HALs by any name" into main
2024-04-11 09:36:52 +00:00
Treehugger Robot
fad8a7b6d0
Merge "[Thread] make sure buffer size is enough" into main am: 82bb6fcfdc
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3039092
Change-Id: Ie1372d5e4f7152426fdb9a6619617ac2d67e5895
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-11 08:33:14 +00:00
Treehugger Robot
82bb6fcfdc
Merge "[Thread] make sure buffer size is enough" into main
2024-04-11 08:18:51 +00:00
Mikhail Naganov
30cf023827
audio: Use allow list for device connection types in TryConnectMissingDevice am: 7b9b9e03e5
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3038652
Change-Id: I304b1d7bb2d42151aa24d9c16387e4f2bfc14711
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-11 07:36:49 +00:00
shihchienc
cb8a9d74a0
[Thread] make sure buffer size is enough
...
inotify event size is dynamic, we need to make sure read would not
return error when having inotify event.
Bug: 333829392
Test: manual check `Invalid argument` error won't happen
Change-Id: I3cac8d1519659c6b1b53c1d41013818adab876c7
2024-04-11 06:20:38 +00:00
Sneha Patil
94abce0998
PresetReverb: Add test to validate PresetReverb Effect
...
Added tests to verify increase in energy with decrease in room and hall size.
Remove preset reverb default implementation from the config file.
Bug: 305866207
Test: atest VtsHalPresetReverbTargetTest
Change-Id: I565612d90b7c7e52cb23bd5dbfaf02235f65cc67
2024-04-11 09:25:56 +05:30
Mikhail Naganov
7b9b9e03e5
audio: Use allow list for device connection types in TryConnectMissingDevice
...
Limit the connection types to test to the following:
- HDMI*
- IP_V4
- USB
Only these connection types can be easily checked by the HAL
for presence of an external device.
Bug: 326888643
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I659e14a150b3043ead8d844cd89a2c4700d57efd
2024-04-10 23:50:37 +00:00
A. Cody Schuffelen
f693f3bc5c
Allow vendor ISharedSecret HALs by any name
...
This works together with the keystore2 implementation which already
scans the device for implementations by any name.
Relevant code that searches for "shared secret participants":
https://cs.android.com/android/platform/superproject/main/+/main:system/security/keystore2/src/shared_secret_negotiation.rs;l=142;drc=f20c0ddd095013f983d0f73aee0285331bfae4e3
Bug: 332376454
Test: Run cuttlefish
Change-Id: I5eef81e5f55aaa327cabb5c648e085229b8ce6db
2024-04-10 12:59:00 -07:00
Orlando Arbildo
adafb4ab7d
Add key parameter to deriveDicePolicyBoundKey am: 287187f1d2
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3026286
Change-Id: Ib5435187819049e7718a462a80974b2cb763f161
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-10 00:22:32 +00:00
Orlando Arbildo
287187f1d2
Add key parameter to deriveDicePolicyBoundKey
...
Adding a key parameter to deriveDicePolicyBoundKey to use it
as the base of the derived key.
Bug: 284152719
Test: qemu android build
Change-Id: Iab3ee341825f01345996bde3b0b62037e4ec45da
2024-04-09 22:53:21 +00:00
Seth Moore
dc2d3dfbdb
Merge "Allow RKP-only devices to pass keymint VTS" into main am: fae563acb0
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3029929
Change-Id: If866510ba314e96fc359281f97fbb672feef4720
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-09 15:58:15 +00:00
Seth Moore
fae563acb0
Merge "Allow RKP-only devices to pass keymint VTS" into main
2024-04-09 15:31:26 +00:00
David Drysdale
9985cdb9e1
Merge "Make batch attestation keys/certs optional" into main am: 61c9ab4d87
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3002898
Change-Id: Id9c5746dade9ced9006e4b6a9b4aca1635dc9c29
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-09 09:27:39 +00:00
David Drysdale
61c9ab4d87
Merge "Make batch attestation keys/certs optional" into main
2024-04-09 09:11:54 +00:00
Treehugger Robot
ce3ffbc5a2
Merge "[threadnetwork] update the platform log API usages and implementations" into main am: f02c7e0b2f
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3029147
Change-Id: Ibde625fd05767f311c13d280d2e3795813b0712c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-09 06:59:31 +00:00
Treehugger Robot
f02c7e0b2f
Merge "[threadnetwork] update the platform log API usages and implementations" into main
2024-04-09 06:38:44 +00:00
Kiyoung Kim
09cf45025e
Merge "Remove VNDK definition(s)" into main am: 160c3d610c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2994440
Change-Id: I1441c32d31dc3ecc9778843482b0e74e9ec0c577
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-09 02:19:33 +00:00
Kiyoung Kim
160c3d610c
Merge "Remove VNDK definition(s)" into main
2024-04-09 02:13:37 +00:00
Nikolay Elenkov
7243db7045
Merge "Enable Java backend for ISecretKeeper" into main am: 6e71b471a9
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3007148
Change-Id: I8e0354c6e2d726662b0fd3af69979e8a462e4b13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-09 02:11:32 +00:00
Nikolay Elenkov
6e71b471a9
Merge "Enable Java backend for ISecretKeeper" into main
2024-04-09 01:59:35 +00:00
Orlando Arbildo
d2fd1cb025
Merge "Add deriveKey function" into main am: 4761ae94fd
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2714707
Change-Id: I5d3d2ccf951aaae602019ab6226e2dede766fccd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-08 22:20:09 +00:00
Orlando Arbildo
4a23d1a3dc
Merge "deriveDicePolicyBoundKey AIDL definition" into main am: 22c8d13258
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3026285
Change-Id: Ic4de51259120e36e795b8cf953574436d8a027f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-08 22:19:54 +00:00
Orlando Arbildo
4761ae94fd
Merge "Add deriveKey function" into main
2024-04-08 22:03:30 +00:00
Orlando Arbildo
22c8d13258
Merge "deriveDicePolicyBoundKey AIDL definition" into main
2024-04-08 22:03:18 +00:00
Rocky Fang
9ef302efac
Remove Arthur from owner's file am: 7efa3c930a
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3031025
Change-Id: Idd8aece383a33abd4184e1551a8b4a70148ac373
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-08 21:27:27 +00:00
Orlando Arbildo
cfcdb0b4b9
Add deriveKey function
...
Adding a function to HWCryptoKey AIDL definition to derive a key given
another. This will be used with deriveDicePolicyBoundKey to create
device bound keys.
Bug: 284152719
Test: qemu android build
Change-Id: Ie1e8552846df73325c2428471ca007fca217b675
2024-04-08 19:55:39 +00:00
Orlando Arbildo
6a82aa921e
deriveDicePolicyBoundKey AIDL definition
...
Adding deriveDicePolicyBoundKey function AIDL definition. It
will derive a new key based on a DICE policy
Bug: 284152719
Test: qemu android build
Change-Id: Ie9d5a1233b4aad07fe55cdc522de0cc057d3bec3
2024-04-08 19:55:37 +00:00
Seth Moore
c5c52ce1d3
Allow RKP-only devices to pass keymint VTS
...
Add test paths for HALs that are RKP-only so that they may pass tests.
Fix up a few tests that were just being skipped for RKP-only HALs.
Test: ran VTS against cuttlefish with no factory key
Bug: 329409739
Change-Id: I5400874dd2f9885c061970a30ea44985353d23ed
2024-04-08 12:38:20 -07:00
Rocky Fang
7efa3c930a
Remove Arthur from owner's file
...
Change-Id: Idb9e891c9b391133d7f5604be0bf921783e27f41
2024-04-08 17:32:45 +00:00
Zhanglong Xia
3c153add59
[threadnetwork] update the platform log API usages and implementations
...
The latest OpenThread has updated the usage of the platform log APIs.
This CL updates the log APIs usages and implementations.
Bug: b/333301206
Test: Run ThreadNetwork HAL and check logs.
Change-Id: I0c0999edbed1c041e2752d195e753d02b2c734f4
2024-04-08 17:07:57 +08:00
David Drysdale
fe5f33a61e
Make batch attestation keys/certs optional
...
Test: VtsKeyMintTargetTest
Bug: 329399923
Bug: 329269183
Change-Id: I4ef49fcbda7a69ea5623c084e276eb64d34c5813
2024-04-05 16:54:31 +00:00
Kiyoung Kim
9e9d41d162
Remove VNDK definition(s)
...
As of VNDK deprecation, any libraries that defines vndk is no longer
valid anymore. This change removes all VNDK definition(s) from modules
which was VNDK.
Bug: 328994089
Test: AOSP CF build succeeded
Change-Id: Ifdade9c052db29c989ce7d804ba725361c4c0f8e
Merged-In: Ic4f19113c1a25dc1fb60cdfbf9c0f2d8d7d09726
2024-04-05 02:29:07 +00:00
Charisee Chiw
7dfc18cd09
Merge "Update needed for Rust v1.77.1" into main am: 0c2179c224
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3026125
Change-Id: I3ed750a5b2be67c48e5ef3c7311303f60cc68fa2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-04 18:14:20 +00:00
Charisee Chiw
0c2179c224
Merge "Update needed for Rust v1.77.1" into main
2024-04-04 17:59:39 +00:00
Ray Chin
1cd6ce486e
Refine infeasible frontend status check am: 9b13077c4c am: 863f96ecdd
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3022524
Change-Id: I6affc1b0ba99edde204a4a6f61ba46e6935ea3e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-04 00:17:14 +00:00
Ray Chin
863f96ecdd
Refine infeasible frontend status check am: 9b13077c4c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3022524
Change-Id: I4a5f52304971ef1477147850eae9067455d1d221
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-03 23:57:27 +00:00