Commit Graph

28683 Commits

Author SHA1 Message Date
Treehugger Robot
c10941d4de Merge "Correct grammatical error in README.md" am: 00baab69f1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1741753

Change-Id: I5fed42182ea9c468094c46928976cb0204bbdeb2
2021-06-23 20:25:18 +00:00
Treehugger Robot
00baab69f1 Merge "Correct grammatical error in README.md" 2021-06-23 20:07:43 +00:00
Junyu Lai
6b450ba4e4 Merge "[SP32.1] Put OffloadControl 1.1 HAL into apex" am: e3dc2f88b2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1675547

Change-Id: Ib7b0237719a64bbf83c4e7bcbc9cf5fd6b742ce9
2021-06-22 20:47:19 +00:00
Junyu Lai
e3dc2f88b2 Merge "[SP32.1] Put OffloadControl 1.1 HAL into apex" 2021-06-22 20:31:18 +00:00
Alan Stokes
2a77df8a86 Merge "Allow CompOS APEX to access Keystore AIDL." am: fd7eeeaa1d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1741123

Change-Id: I0ecca542c584fa1278dea7e40b6b7b1ab37cd2ee
2021-06-22 08:26:52 +00:00
Alan Stokes
fd7eeeaa1d Merge "Allow CompOS APEX to access Keystore AIDL." 2021-06-22 08:13:11 +00:00
rayhdez
5d3fcb2c57 Correct grammatical error in README.md
Bug: 175887156
Test: N/A
Change-Id: Ic89de4ac17ac5d67ff4d4c634c444f167878b7eb
2021-06-22 00:20:07 +00:00
Treehugger Robot
a337407937 Merge "identity: fix access control checks in libeic." am: 8701205c04
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1740096

Change-Id: I7dc2526662df81bbb8e48d8b7bd16ccf12a624e9
2021-06-21 23:16:17 +00:00
Treehugger Robot
8701205c04 Merge "identity: fix access control checks in libeic." 2021-06-21 20:27:22 +00:00
David Zeuthen
af7e9cfb28 identity: fix access control checks in libeic.
Also add a new libeic_test binary which has a regression test for this
vulnerability.

Bug: 190757775
Test: atest libeic_test
Test: atest VtsHalIdentityTargetTest
Test: atest CtsIdentityTestCases
Merged-In: I8344655c59930d6bf1baa4e0f8d0f60e4fc9e48d
Change-Id: I8344655c59930d6bf1baa4e0f8d0f60e4fc9e48d
2021-06-21 15:13:55 -04:00
Xin Li
e903aa8955 [automerger skipped] Merge "DO NOT MERGE - Merge RQ3A.210605.005" am: 472ef6391c -s ours
am skip reason: Merged-In Id0a543a695fec5523410b41a289f2a71cd850b70 with SHA-1 b8cf151c98 is already in history

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

Change-Id: Ib1548ee5f408c2938533665af38b006859c77437
2021-06-21 06:11:02 +00:00
Xin Li
472ef6391c Merge "DO NOT MERGE - Merge RQ3A.210605.005" 2021-06-21 05:49:03 +00:00
David Drysdale
5455f2dc13 Merge changes I33036387,I63ca8d29 am: aedb92d5af
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1740893

Change-Id: I4bcedfc0236432936be0d06dfb68b987818815ff
2021-06-21 05:42:44 +00:00
David Drysdale
aedb92d5af Merge changes I33036387,I63ca8d29
* changes:
  KeyMint VTS: require curve for ECDSA keys
  KeyMint VTS: more attestation info tests
2021-06-21 05:30:10 +00:00
Xin Li
69f8f7446c DO NOT MERGE - Merge RQ3A.210605.005
Bug: 190855093
Merged-In: Id0a543a695fec5523410b41a289f2a71cd850b70
Change-Id: Iddab4cc5480ea83283e56514d9bc00319419a714
2021-06-18 12:24:34 -07:00
Treehugger Robot
b8cf151c98 Merge "Updating CDDL schemas to match the finalized spec." am: 11854c2d82
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1720450

Change-Id: Id0a543a695fec5523410b41a289f2a71cd850b70
2021-06-18 14:42:45 +00:00
Treehugger Robot
11854c2d82 Merge "Updating CDDL schemas to match the finalized spec." 2021-06-18 14:32:25 +00:00
Eran Messeri
4d2be4b6a5 Merge "Remove KeyMint TODOs" am: 45e16a09ca
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1741125

Change-Id: I61076f50f8aa7c58000c424b78f54d6d74686f92
2021-06-18 13:43:09 +00:00
Eran Messeri
45e16a09ca Merge "Remove KeyMint TODOs" 2021-06-18 13:28:25 +00:00
David Drysdale
df09e54ef3 KeyMint VTS: require curve for ECDSA keys
The KeyMint AIDL spec requires that "Tag::EC_CURVE must be provided to
generate an ECDSA key". Move the VTS tests to always create ECDSA keys
by curve not key size.

Bug: 188672564
Test: VtsAidlKeyMintTargetTest
Change-Id: I33036387c243b21ab0ecd49221b7e7757598913e
2021-06-18 13:52:47 +01:00
Eran Messeri
cd489e35d3 Merge "KeyMint: Document KeyCharacteristics" am: 30a6b0e7f0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1736773

Change-Id: Iad780ddff46fc981cf9356597328cdfa07e9b5bf
2021-06-18 12:52:07 +00:00
Eran Messeri
30a6b0e7f0 Merge "KeyMint: Document KeyCharacteristics" 2021-06-18 12:41:00 +00:00
Eran Messeri
2950654d44 Remove KeyMint TODOs
Remove TODOs from the KeyMint specification that were not concrete
enough or did not have enough context to act upon.

Bug: 183737811
Test: That it compiles.
Change-Id: I01899be5e65e9943053aa796a2ab23f1a783a1aa
2021-06-18 13:03:30 +01:00
Eran Messeri
58c8e39110 KeyMint: Document KeyCharacteristics
Document the various fields in KeyCharacteristics.

Bug: 183737811
Test: That it compiles.
Change-Id: I629001a3f5ac5d1e61ae6ffaa2702e3d32f56e52
2021-06-18 12:28:09 +01:00
Alan Stokes
e75851712b Allow CompOS APEX to access Keystore AIDL.
Makes the AIDL (and its dependencies) available to allow client code
to build against it.

Fixes: 190995136
Test: Client code (in progress) builds.
Change-Id: I06e7486463bca93ed25377c0dca30484a6bbf656
2021-06-18 10:21:36 +01:00
David Drysdale
37af4b3656 KeyMint VTS: more attestation info tests
Try all tags in attestion extension one by one

Test: VtsAidlKeyMintTargetTest on CF
Bug: 186735514
Change-Id: I63ca8d298d2d16f707f2437ab48aaa69c1d7563d
2021-06-18 07:45:27 +01:00
David Drysdale
2b6e3bb6ea Merge changes I5e19880b,Ibaed7364 am: 66b8018f0f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1739774

Change-Id: I5b33ec6cc4412a79f6a8022513d0ff5fad453a89
2021-06-18 06:03:42 +00:00
David Drysdale
0a24922361 KeyMint VTS: improve attestation tests am: a676c3b4ef
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1739773

Change-Id: I504d0a420ba2924184dfb4c61c2e382a191b4dc5
2021-06-18 06:03:04 +00:00
David Drysdale
66b8018f0f Merge changes I5e19880b,Ibaed7364
* changes:
  KeyMaster VTS: improve attestation tests
  KeyMint VTS: improve attestation tests
2021-06-18 05:48:34 +00:00
Xin Li
6153d3dc18 DO NOT MERGE - Mark RQ3A.210410.001 as merged
Bug: 190855093
Merged-In: Ie35ebafed5ca7a7f81ee2c03f799cc76f72d16d8
Change-Id: Ia5ade738e1bbe4bebfeaf4088e404bf6618f538a
2021-06-17 22:43:31 -07:00
Xin Li
b519a76f20 DO NOT MERGE - Merge ab/7272582
Bug: 190855093
Merged-In: Icfd3007a194da7ade037e359858b3dd48f24a0d6
Change-Id: Ie35ebafed5ca7a7f81ee2c03f799cc76f72d16d8
2021-06-18 01:26:08 +00:00
Treehugger Robot
3f1d554b25 Merge "audio: Ignore SIGPIPE in the default audio HAL wrapper" am: 6d6ddd73ee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1740273

Change-Id: Iccc84cd5bdfdafca7ed405e015076886f7b0d0d5
2021-06-17 22:13:56 +00:00
Treehugger Robot
6d6ddd73ee Merge "audio: Ignore SIGPIPE in the default audio HAL wrapper" 2021-06-17 21:58:30 +00:00
Yomna Nasser
991a680dfa Adds VTS test for getAllowedNetworkTypesBitmap am: 5645ff64b3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1739796

Change-Id: I66728fca5f2469f1d3d65e0974a480f365bc7f1d
2021-06-17 21:22:20 +00:00
Mikhail Naganov
9a88b5b110 audio: Ignore SIGPIPE in the default audio HAL wrapper
It could happen that a service process receives a SIGPIPE
while providing a dump due unexpected pipe closure on
the other side. This should not lead to a service
termination. Ignoring SIGPIPE is a normal practice for
system services.

Bug: 191123848
Test: adb shell kill -s 13 <pid-of-audio-hal>
Change-Id: I9c1d170b76aa27203206e8fd2ce2fc3f5431baac
2021-06-17 19:55:16 +00:00
Yomna Nasser
5645ff64b3 Adds VTS test for getAllowedNetworkTypesBitmap
Adds VTS test for the new HAL API getAllowedNetworkTypesBitmap

Bug: b/190398554
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: Ida0aff8e239cad324627db83903f4a1adcc479d1
Merged-In: Ida0aff8e239cad324627db83903f4a1adcc479d1
2021-06-17 17:50:04 +00:00
Jakub Pawlowski
b45def320a Bluetooth Audio: Remove WARN log spam in IsSessionReady am: 15410861bf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1738979

Change-Id: I22d176b6bb270fb73ea0e511d8a804e3b2afea0b
2021-06-17 16:36:47 +00:00
Jakub Pawlowski
15410861bf Bluetooth Audio: Remove WARN log spam in IsSessionReady
Bug: 150670922
Tag: #feature
Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest
Change-Id: Ib3ee17bcdd91e437dd8333c05d31013cb8ac6c9d
2021-06-17 16:34:31 +00:00
Nazanin
cac2bbf9af add sim_err to vts test for setSimCardPower am: 75683b35dd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1738793

Change-Id: I70777bae53456c5283d48c49cb1db9b7614c65b0
2021-06-17 16:31:59 +00:00
David Drysdale
e3cdcb2410 KeyMaster VTS: improve attestation tests
Check that the various ATTESTATION_ID_* tags are included if they
have the correct value, and that keygen fails if they have an invalid
value.

Also fix the support libraries to add the missing fields to the ASN.1
schema and fix the existing ordering.

Bug: 190757200
Test: VtsHalKeymasterV4_1TargetTest, VtsHalKeymasterV4_0TargetTest
Merged-In: I11d28d71676d44ebdc79b25b2eb70947022bb1cf
Ignore-AOSP-First: to be cross-merged manually
Change-Id: I5e19880bbc9e2e667f1204bdc2247ae53a3dada7
2021-06-17 16:43:48 +01:00
David Drysdale
a676c3b4ef KeyMint VTS: improve attestation tests
Check that the various ATTESTATION_ID_* tags are included if they
have the correct value, and that keygen fails if they have an invalid
value.

Also update attestation tags to include vendor/boot patchlevel if
they're available. (They always should be, but fixing that is a
separate task.)

Bug: 190757200
Test: VtsAidlKeyMintTargetTest
Merged-In: Ibaed7364c6d08c0982e2a9fb6cb864ae42cf39fe
Change-Id: Ibaed7364c6d08c0982e2a9fb6cb864ae42cf39fe
2021-06-17 16:43:37 +01:00
Nazanin
75683b35dd add sim_err to vts test for setSimCardPower
Test: VTS
Bug: 191105273
Change-Id: I73ba86b4f0c93d6467d5af5c430e374cb01435bc
2021-06-16 20:29:24 -07:00
David Drysdale
f0f6682ab5 Merge "VTS tests: check size of byte strings" am: 98949afb70
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1736653

Change-Id: I4d1f029a03d622afe304870c487aff95eabb7541
2021-06-16 07:32:21 +00:00
David Drysdale
24babae302 Merge "KeyMint VTS: extract full vendor patchlevel" am: 52ce52fb1e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1719301

Change-Id: I5d9f6370737ce7bcd1276c0ef0cc25609e0094f6
2021-06-16 07:31:26 +00:00
David Drysdale
98949afb70 Merge "VTS tests: check size of byte strings" 2021-06-16 07:17:53 +00:00
David Drysdale
52ce52fb1e Merge "KeyMint VTS: extract full vendor patchlevel" 2021-06-16 07:17:27 +00:00
Michael Butler
81663327b9 Merge "Simplify NNAPI SharedHandle -- hal" am: 12ec862f4a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1730974

Change-Id: I481070ae4bc9d236e04014a26db80ceb62e3bd76
2021-06-16 04:10:12 +00:00
Michael Butler
12ec862f4a Merge "Simplify NNAPI SharedHandle -- hal" 2021-06-16 02:30:31 +00:00
Eran Messeri
b2178bc9c9 Merge "Use TagType constants" am: 1e6730acec
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1737653

Change-Id: I1e0b0f485cc5fa11a5497e894a297b5140743008
2021-06-15 15:30:57 +00:00
Eran Messeri
1e6730acec Merge "Use TagType constants" 2021-06-15 15:13:51 +00:00