Commit Graph

34914 Commits

Author SHA1 Message Date
TreeHugger Robot
c8bef520c4 Merge changes I0b38a98a,I6f8e6ec1 into sc-dev am: 4f53440f87 am: 00487b339f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15193438

Change-Id: I73aaee43e46ffa89be1f4a73b2c3ad88853056b3
2021-07-07 20:50:40 +00:00
TreeHugger Robot
00487b339f Merge changes I0b38a98a,I6f8e6ec1 into sc-dev am: 4f53440f87
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15193438

Change-Id: I9f6371e31064ecc91087cf0be1952dc79ed8bfc8
2021-07-07 20:39:14 +00:00
TreeHugger Robot
4f53440f87 Merge changes I0b38a98a,I6f8e6ec1 into sc-dev
* changes:
  IFace: update VTS tests
  IFace: update default implementation
2021-07-07 20:22:39 +00:00
TreeHugger Robot
0b0ee659de Merge "Revert "audio: exclude the echo reference device in capture position test"" into sc-dev am: 8c5166b2f5 am: 8c77e004fc am: 6bbc44b7e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15223272

Change-Id: I7ac56c4c2eac7fb00be4c322a3ee360b2dd2deba
2021-07-07 19:09:20 +00:00
TreeHugger Robot
5088064b49 Merge "Revert "audio: exclude the echo reference device in capture position test"" into sc-dev am: 8c5166b2f5 am: 9cc7237076 am: c14165fa44
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15223272

Change-Id: I2ca55a2c655523de871c2e3583871a27eab89652
2021-07-07 19:08:41 +00:00
TreeHugger Robot
6bbc44b7e6 Merge "Revert "audio: exclude the echo reference device in capture position test"" into sc-dev am: 8c5166b2f5 am: 8c77e004fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15223272

Change-Id: I400a855ddfdb2b49a9fbad34c0863f8afef581d2
2021-07-07 18:57:35 +00:00
TreeHugger Robot
f654cb4b80 Merge "Revert "audio: exclude the echo reference device in capture position test"" into sc-dev am: 8c5166b2f5 am: eb4b61958e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15223272

Change-Id: Id48b51227ea17fea5c7921fc0e4925075e22e110
2021-07-07 18:57:31 +00:00
TreeHugger Robot
c14165fa44 Merge "Revert "audio: exclude the echo reference device in capture position test"" into sc-dev am: 8c5166b2f5 am: 9cc7237076
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15223272

Change-Id: I5c2d59f13f5d3945824e4bf672181303f37f9482
2021-07-07 18:57:09 +00:00
TreeHugger Robot
8c77e004fc Merge "Revert "audio: exclude the echo reference device in capture position test"" into sc-dev am: 8c5166b2f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15223272

Change-Id: Ib807c10790e55a4a06ca85417aca146d791dbf9e
2021-07-07 18:35:52 +00:00
TreeHugger Robot
9cc7237076 Merge "Revert "audio: exclude the echo reference device in capture position test"" into sc-dev am: 8c5166b2f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15223272

Change-Id: Ib804bd3a80ad13899e74e2e65f2271296ab79b5a
2021-07-07 18:35:50 +00:00
TreeHugger Robot
eb4b61958e Merge "Revert "audio: exclude the echo reference device in capture position test"" into sc-dev am: 8c5166b2f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15223272

Change-Id: Id68989d25d51a31aa4275dbccb9601ae3b81c5bf
2021-07-07 18:34:53 +00:00
TreeHugger Robot
8c5166b2f5 Merge "Revert "audio: exclude the echo reference device in capture position test"" into sc-dev 2021-07-07 18:17:25 +00:00
Mikhail Naganov
dd0e20eba3 Revert "audio: exclude the echo reference device in capture position test"
This reverts commit b22f307ccf.

Reason for revert: As explained in b/192307382#comment12, the HAL must provide capture positions for the echo reference input regardless of whether there is any actual output.

This should not affect O6/R4 as according to b/192307382#comment10, the VTS tests pass w/o this patch after the HAL has been fixed.

Bug: 192307382
Change-Id: I224bd9de1dcb2e2c8dc138dbfd85f848378aea4f
Test: VtsHalAudioV7_0TargetTest --gtest_filter=*PcmOnlyConfigInputStreamTest*
2021-07-07 17:07:15 +00:00
Eran Messeri
eba709d244 Merge "KeyMint: Fix device-unique attestation chain specification" am: 9c3bd29cab am: e52c1bb007 am: 7050121408 am: 5b9dbab850
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1757172

Change-Id: Ibe6a5b158c2f680e546ed708deae983b7e828546
2021-07-06 16:38:28 +00:00
Eran Messeri
5b9dbab850 Merge "KeyMint: Fix device-unique attestation chain specification" am: 9c3bd29cab am: e52c1bb007 am: 7050121408
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1757172

Change-Id: I1916e2cfdb1592a0c68621cd591ea252cae7d322
2021-07-06 16:27:28 +00:00
Eran Messeri
7050121408 Merge "KeyMint: Fix device-unique attestation chain specification" am: 9c3bd29cab am: e52c1bb007
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1757172

Change-Id: I39a7f8fea450bb6d3ba9020d9955de52e6c8ca45
2021-07-06 16:13:34 +00:00
Eran Messeri
e52c1bb007 Merge "KeyMint: Fix device-unique attestation chain specification" am: 9c3bd29cab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1757172

Change-Id: I68d2499457a803fc2afdb8f5ab9d7fd8db9d552e
2021-07-06 15:55:18 +00:00
Eran Messeri
9c3bd29cab Merge "KeyMint: Fix device-unique attestation chain specification" 2021-07-06 15:38:16 +00:00
Eran Messeri
6852c09c7b Merge "Annotate some TODOs" am: 302d29eb9b am: 0185ac7270 am: 3c8c7cdfa2 am: 6f381fc935
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1749641

Change-Id: I17acb8f57eb2443169d3565d23e58fd61c216fdf
2021-07-06 14:31:33 +00:00
Eran Messeri
6f381fc935 Merge "Annotate some TODOs" am: 302d29eb9b am: 0185ac7270 am: 3c8c7cdfa2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1749641

Change-Id: I928acafa348c482aafbd7d0941f9395ff02b42e0
2021-07-06 14:21:25 +00:00
Eran Messeri
3c8c7cdfa2 Merge "Annotate some TODOs" am: 302d29eb9b am: 0185ac7270
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1749641

Change-Id: Iec657494ec02a6eb8f9697161798e0fde206100e
2021-07-06 14:08:59 +00:00
Eran Messeri
0185ac7270 Merge "Annotate some TODOs" am: 302d29eb9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1749641

Change-Id: I44b41e53bf2057d1413a49e691c04e8e32912868
2021-07-06 13:56:22 +00:00
Eran Messeri
302d29eb9b Merge "Annotate some TODOs" 2021-07-06 13:40:53 +00:00
Eran Messeri
03d7a1a4f3 KeyMint: Fix device-unique attestation chain specification
Fix the device-unique attestation chain specification: The chain should
have two or three certificates.
In case of two certificates, the device-unique key should be used for
the self-signed root.
In case of three certificates, the device-unique key should be certified
by another key (ideally shared by all StrongBox instances from the same
manufacturer, to ease validation).

Adjust the device-unique attestation tests to accept two or three
certificates in the chain.

Additionally, the current StrongBox KeyMint implementation can not yet
generate fully-valid chains (with matching subjects and issuers), so
relax that check.

Bug: 191361618
Test: m VtsAidlKeyMintTargetTest
Change-Id: I6e6bca33ebb4af67cac8e41a39e9c305d0f1345f
2021-07-06 14:32:16 +01:00
Eran Messeri
7c046786b8 Annotate some TODOs
There are two tags that cannot be currently removed but should be
removed in KeyMint V2. Mark them as deprecated and point to the bug
for deletion.

Bug: 183737811
Test: That it compiles.
Change-Id: I80ccaedeb777fdb249a8cb021db6628da32d6029
2021-07-06 10:46:57 +01:00
Seth Moore
4988876497 Add ensuring that test BCC keys not unique ids am: 42c1133fed am: ea113e83c9 am: 9c59da828b am: b6684b321c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1755320

Change-Id: Idcf0c64d0292998dd867b8330770ac513c620e9e
2021-07-06 07:37:03 +00:00
Seth Moore
b6684b321c Add ensuring that test BCC keys not unique ids am: 42c1133fed am: ea113e83c9 am: 9c59da828b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1755320

Change-Id: Ifac785efc3ef5d374bc94e3784abbb09b5000d32
2021-07-06 07:24:20 +00:00
Seth Moore
9c59da828b Add ensuring that test BCC keys not unique ids am: 42c1133fed am: ea113e83c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1755320

Change-Id: I4965a2f30f3bbe4a86089808965c49fd443b8a5c
2021-07-06 07:04:58 +00:00
Seth Moore
ea113e83c9 Add ensuring that test BCC keys not unique ids am: 42c1133fed
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1755320

Change-Id: Iba4468d4fd8c311425bbcd7f8a6d9d9ff3e20787
2021-07-06 06:52:37 +00:00
Ilya Matyukhin
e19a494c59 IFingerprint: update VTS tests am: 04247248ce am: 76b8048610 am: 3c8936f1d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192112

Change-Id: Id5a16d07cb43972d189491e09dd4b7f0f0c53ba3
2021-07-03 02:16:59 +00:00
Ilya Matyukhin
e11a12e81c IFingerprint: update VTS tests am: 04247248ce am: 629f296ea2 am: 2d30e77c5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192112

Change-Id: I35e13b0857ad60ae5dbbc0b2b65fd586dd5c58f6
2021-07-03 02:16:50 +00:00
Ilya Matyukhin
3c8936f1d1 IFingerprint: update VTS tests am: 04247248ce am: 76b8048610
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192112

Change-Id: Icacb9ed17a05e47c70bdf9cc92343f5a17209d6d
2021-07-03 02:05:19 +00:00
Ilya Matyukhin
2d30e77c5c IFingerprint: update VTS tests am: 04247248ce am: 629f296ea2
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192112

Change-Id: I056016d80338af08b86f47f1395000866eec6a24
2021-07-03 02:04:51 +00:00
Ilya Matyukhin
22e5ec680c IFingerprint: update VTS tests am: 04247248ce am: 6bf1146fb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192112

Change-Id: I3a20e045e8a1913408f854c2001643e42fd8666c
2021-07-03 02:04:25 +00:00
Ilya Matyukhin
629f296ea2 IFingerprint: update VTS tests am: 04247248ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192112

Change-Id: I31abf5063616cc2658ad81c75666afecde521c4f
2021-07-03 01:50:50 +00:00
Ilya Matyukhin
6bf1146fb6 IFingerprint: update VTS tests am: 04247248ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192112

Change-Id: I414cf8a5954141cd19cda0b84c5932b3f977b6e0
2021-07-03 01:49:57 +00:00
Ilya Matyukhin
76b8048610 IFingerprint: update VTS tests am: 04247248ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192112

Change-Id: I7b00ebb888973faf2a06af1b2e8a8f95ef626654
2021-07-03 01:49:54 +00:00
Ilya Matyukhin
5a840d78fa IFingerprint: update default implementation am: 1d52438592 am: f3c53e9c55 am: ff86e07cff
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192111

Change-Id: If2f34ed00627e0d110fe9e0ef36c70af35161c3e
2021-07-03 00:42:34 +00:00
Ilya Matyukhin
4fda60543c IFingerprint: update default implementation am: 1d52438592 am: 43c233e346 am: 68a977f7e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192111

Change-Id: Ieac9c0407660728e25dcb8a5a5ee4d124bc1b4f5
2021-07-03 00:42:05 +00:00
Ilya Matyukhin
ff86e07cff IFingerprint: update default implementation am: 1d52438592 am: f3c53e9c55
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192111

Change-Id: I07b70b4e4a1c2ff1f4198c451b666739c7bac51a
2021-07-03 00:27:41 +00:00
Ilya Matyukhin
68a977f7e6 IFingerprint: update default implementation am: 1d52438592 am: 43c233e346
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192111

Change-Id: I6b2c1d794b0f2b8a58c0707ac5a653bb6dbb57a9
2021-07-03 00:27:11 +00:00
Ilya Matyukhin
af6a74151e IFingerprint: update default implementation am: 1d52438592 am: 37ff41de0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192111

Change-Id: I51f9b8f9a5edc92dfb1e260dbf92e957c8aa61f8
2021-07-03 00:26:49 +00:00
Ilya Matyukhin
43c233e346 IFingerprint: update default implementation am: 1d52438592
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192111

Change-Id: Ib22f2f584c7ab53143ad88bcf604800ac925eade
2021-07-03 00:12:31 +00:00
Ilya Matyukhin
37ff41de0b IFingerprint: update default implementation am: 1d52438592
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192111

Change-Id: Iaa1b6ae728785456c2f5054b4d26713d8dc557af
2021-07-03 00:11:41 +00:00
Ilya Matyukhin
f3c53e9c55 IFingerprint: update default implementation am: 1d52438592
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192111

Change-Id: I9072ef742649bb4258071c43f1fda7cc6d75db0d
2021-07-03 00:11:41 +00:00
Ilya Matyukhin
046020b149 IFace: update VTS tests
Bug: 170650876
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I0b38a98acaec654b144dbe56fc64c5c741bd4488
2021-07-03 00:10:19 +00:00
Ilya Matyukhin
60406beac6 IFace: update default implementation
Bug: 170651283
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I6f8e6ec12e597034264e2b1383bc7325b0f697b7
2021-07-03 00:10:03 +00:00
Ilya Matyukhin
04247248ce IFingerprint: update VTS tests
Bug: 166799066
Test: VtsHalBiometricsFingerprintTargetTest
Change-Id: I2bf765890203a4edc016d1b7f0abd1d205b2a0ba
2021-07-02 23:58:58 +00:00
Ilya Matyukhin
1d52438592 IFingerprint: update default implementation
Bug: 166800618
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I0ac3a019081f4f5db6943fc019165ad1aa2e0bc8
2021-07-02 23:58:14 +00:00
Seth Moore
42c1133fed Add ensuring that test BCC keys not unique ids
Get two test BCCs, then ensure that no repeated keys are found.

Bug: 192687735
Test: VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I48f86e7dfa9ab4bc6303a8d1b64ac7ca6ac76bbf
Merged-In: I48f86e7dfa9ab4bc6303a8d1b64ac7ca6ac76bbf
2021-07-02 15:58:26 -07:00