Commit graph

32336 commits

Author SHA1 Message Date
TreeHugger Robot
a66bac8e90 Merge "Update Documentation for EPOCH_TIME." into sc-qpr1-dev am: 922f2b0bca
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15618006

Change-Id: Ifbf528768e04cf583d1798340a7c9a7df66a304a
2021-08-20 21:32:44 +00:00
TreeHugger Robot
922f2b0bca Merge "Update Documentation for EPOCH_TIME." into sc-qpr1-dev 2021-08-20 19:29:27 +00:00
Max Bires
8f1a65edbb Merge "AesInvalidKeySize skip 192 on SB devices" into sc-dev am: f0394173a4 am: a9ed99084f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15596426

Change-Id: Id8694dc6f24e79cad370414cb21c6e2f78b1ed1e
2021-08-20 16:48:47 +00:00
Max Bires
a9ed99084f Merge "AesInvalidKeySize skip 192 on SB devices" into sc-dev am: f0394173a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15596426

Change-Id: I5beb70f270cd1981a5085bbd6acf74629af46bf9
2021-08-20 16:31:06 +00:00
Max Bires
f0394173a4 Merge "AesInvalidKeySize skip 192 on SB devices" into sc-dev 2021-08-20 16:15:29 +00:00
Ashutosh Agarwal
52799bd05d Update Documentation for EPOCH_TIME.
This is a change in behaviour for EPOCH_TIME to align it with a future revisions.

Bug: 157504928
Test: atest CarServicesTest
Test: atest VehiclePropertyIdsTest

Change-Id: I81881a03a1a562afc93cb1a2fe8a8fffa43f093d
2021-08-19 18:54:54 +00:00
David Drysdale
481915d74a KeyMint VTS: add missing purpose/algo am: ca76a75096 am: e3e0cf4702
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15624902

Change-Id: Id486153197839a2aa3967a8ee0b70cd3d017de78
2021-08-19 17:54:50 +00:00
David Drysdale
e3e0cf4702 KeyMint VTS: add missing purpose/algo am: ca76a75096
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15624902

Change-Id: Ia9ab6269235c03b55edf23bb3b2edce28e8f1afa
2021-08-19 17:41:57 +00:00
David Drysdale
ca76a75096 KeyMint VTS: add missing purpose/algo
Test was producing an invalid set of parameters in a different way than
intended.

Bug: 197222749
Test: VtsAidlKeyMintTargetTest
Merged-In: I07f706fec81d91e8eee9c0561428142559c54f12
Change-Id: I07f706fec81d91e8eee9c0561428142559c54f12
Ignore-AOSP-First: this is a manual cross-merge
2021-08-19 17:14:18 +01:00
Max Bires
5b7f78d43b AesInvalidKeySize skip 192 on SB devices
This change clarifies the language to specify that StrongBox devices
must only support key sizes of 128 and 256. Additionally, it changes the
new AesInvalidKeySize test to only enforce against StrongBox instances
on devices that launch on S or later, not previously launched devices.

Ignore-AOSP-First: CP to AOSP
Bug: 191736606
Test: Test passes on a StrongBox enabled device
Change-Id: Ic0ff19d2d19d6e18dfbc0fad4b8182264f36b2f6
2021-08-19 03:28:15 -07:00
Bill Richardson
11d2d57885 Merge "Revert "AesInvalidKeySize skip 192 on SB devices"" into sc-dev am: f332d02bc6 am: 64c9a48f07
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15595275

Change-Id: Ie7fb9f23704d422596564e27a0602219e74bbd89
2021-08-18 17:26:59 +00:00
Bill Richardson
64c9a48f07 Merge "Revert "AesInvalidKeySize skip 192 on SB devices"" into sc-dev am: f332d02bc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15595275

Change-Id: I6cafaeaf04de684fb646eeb9dab15741bc4e677e
2021-08-18 17:13:34 +00:00
Bill Richardson
f332d02bc6 Merge "Revert "AesInvalidKeySize skip 192 on SB devices"" into sc-dev 2021-08-18 16:54:06 +00:00
Max Bires
0224cfe3e0 Revert "AesInvalidKeySize skip 192 on SB devices"
This reverts commit eb8b0577e8.

Reason for revert: Broke a different TEE implementation

Bug: 196922051
Change-Id: I9f136d237bd06bfe2a1cc29d11bb1fbe0b8ace5e
2021-08-17 14:41:49 +00:00
TreeHugger Robot
9ac48cecef Merge "omx: validate only standard OMX roles" into sc-dev am: af592fb124 am: aae88ba179
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15528285

Change-Id: Ia99885431518927bd7d5dbd373a4953b2768a3df
2021-08-17 00:57:09 +00:00
TreeHugger Robot
aae88ba179 Merge "omx: validate only standard OMX roles" into sc-dev am: af592fb124
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15528285

Change-Id: I5e2f8f8594b750f120ab4e971f6e3efaa14583a0
2021-08-17 00:44:04 +00:00
TreeHugger Robot
af592fb124 Merge "omx: validate only standard OMX roles" into sc-dev 2021-08-17 00:29:34 +00:00
Max Bires
d68a2ef3e6 Merge "AesInvalidKeySize skip 192 on SB devices" into sc-dev am: f24a66f42a am: 0cf1bf28c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15502083

Change-Id: I061326f8788c73aa20b501d5d88281ee0d31b863
2021-08-13 22:16:39 +00:00
Max Bires
0cf1bf28c9 Merge "AesInvalidKeySize skip 192 on SB devices" into sc-dev am: f24a66f42a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15502083

Change-Id: Iffc28e67c8339d7547b637e099aecc3e1f075e4a
2021-08-13 21:58:58 +00:00
Kai Wang
c490c1359b Merge "Add placeholder properties for emulator" into sc-v2-dev 2021-08-13 21:48:37 +00:00
Max Bires
f24a66f42a Merge "AesInvalidKeySize skip 192 on SB devices" into sc-dev 2021-08-13 21:45:03 +00:00
TreeHugger Robot
27ad7247b5 Merge "Merge stage-aosp-sc-ts-dev before making it an upstream" into sc-dev am: 92f2398542 am: 3996d69a0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15547734

Change-Id: Ib001c8287a8b42783266d085f91d98759227eb1b
2021-08-13 19:27:57 +00:00
TreeHugger Robot
3996d69a0e Merge "Merge stage-aosp-sc-ts-dev before making it an upstream" into sc-dev am: 92f2398542
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15547734

Change-Id: Ie4ec5c89380260df60b2cfcce84edf112e65a774
2021-08-13 19:12:48 +00:00
TreeHugger Robot
92f2398542 Merge "Merge stage-aosp-sc-ts-dev before making it an upstream" into sc-dev 2021-08-13 18:56:01 +00:00
David Drysdale
863def40f9 Merge "KeyMint VTS: catch empty cert chains" into sc-dev am: 6e46363a34 am: ef49c282d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15518062

Change-Id: Ieddb975bc3b9ecee3d49d9c50dece1e752127879
2021-08-13 06:07:31 +00:00
David Drysdale
ef49c282d8 Merge "KeyMint VTS: catch empty cert chains" into sc-dev am: 6e46363a34
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15518062

Change-Id: I1b3377469c43d2700445d200e26d424d497a278e
2021-08-13 05:53:17 +00:00
David Drysdale
6e46363a34 Merge "KeyMint VTS: catch empty cert chains" into sc-dev 2021-08-13 05:37:40 +00:00
Xin Li
875e721880 Merge stage-aosp-sc-ts-dev before making it an upstream
Bug: 169893837
Merged-In: I6970e4114a1efacc36e25871b77c5350496a0b2a
Change-Id: I996a73bdcf0574bb961115d80f0065a489fb2a6f
2021-08-13 00:54:30 +00:00
The Android Open Source Project
bb90e848b9 Merge ab/7633965
Bug: 169893837
Merged-In: I07cf1825c23e2467852d5cd93436eb9dee23b408
Change-Id: Ie9a09f85d7b24b031cb6869429a33ff1eeb84687
2021-08-12 22:39:56 +00:00
Kai
b22a8678f8 Add placeholder properties for emulator
Add some placeholder properties in google VHAL. Developers who use the
aae emulator can use them in developing new features without
implementing a real property.

Bug: 193460353
Test: build aae emulator, use adb lshal to change property values
Change-Id: I6131a4892495c4c1e1c73e078572a666a33f984e
Merged-In: I6131a4892495c4c1e1c73e078572a666a33f984e
(cherry picked from commit 4d1fe81bee)
2021-08-12 18:50:44 +00:00
TreeHugger Robot
502d16122b Merge "Allow negative value for CorrelationVector#samplingStartM" into sc-dev am: 97f4447645 am: abdba20c53
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15515071

Change-Id: I7fc9869fb6d897dd920fc0fefd4a9e45c3175155
2021-08-12 07:51:55 +00:00
TreeHugger Robot
abdba20c53 Merge "Allow negative value for CorrelationVector#samplingStartM" into sc-dev am: 97f4447645
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15515071

Change-Id: Ie8182d1f63918c953bbcb245bf055faa859edd5b
2021-08-12 07:31:34 +00:00
TreeHugger Robot
97f4447645 Merge "Allow negative value for CorrelationVector#samplingStartM" into sc-dev 2021-08-12 07:17:49 +00:00
Lajos Molnar
7f8fb92524 omx: validate only standard OMX roles
Test uses ::android::GetComponentRole to get OMX role for media type
that only supports standard types (on GSI where VTS is run).

Bug: 164550113
Bug: 171536493
Bug: 194827876
Test: atest VtsHalMediaOmxV1_0TargetStoreTest
Change-Id: Ia9e64c8d887518f6c7d8c650a942bad7ce3457f0
2021-08-11 17:10:38 +00:00
David Drysdale
1cc416882f KeyMint VTS: catch empty cert chains
Explicitly detect empty cert chains returned by GenerateKey rather
than crashing when trying to dereference the first entry.

Bug: 195605180
Test: VtsAidlKeyMintTargetTest
Merged-In: Idad2703b458952ff599c6ccdd04a941aef7aedde
Change-Id: Idad2703b458952ff599c6ccdd04a941aef7aedde
Ignore-AOSP-First: already merged in aosp/master
2021-08-11 16:33:13 +01:00
Kuowei Li
7118c26d22 audio: Allow SetAudioProperties to not be supported am: 9faa583bf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15363188

Change-Id: I902be86aae3c8cd338abb0339e62ed9a522fdf30
2021-08-10 17:55:02 +00:00
Mikhail Naganov
f68e7ee118 [automerger skipped] Audio VTS: Make the active microphone query test more robust in V7 am: d11628ec78 -s ours
am skip reason: Merged-In I00fe8fedb6bfc6e034387b35c88f954cb2638dfa with SHA-1 e4ce86bfb7 is already in history

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

Change-Id: I379c09a6eb7ad6961b13e22f163f5fe163f1bc52
2021-08-10 17:54:50 +00:00
Mikhail Naganov
3850023634 [automerger skipped] audio: Fix handling of relative XML include paths in VTS am: 068de276f0 -s ours
am skip reason: Merged-In Id595c9fd30be378d76387ee55a8937e0bf28d1cd with SHA-1 13c6796528 is already in history

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

Change-Id: Ifecb620c8ba6aac6679e0615760a6d8aff53a362
2021-08-10 17:54:37 +00:00
Marin Shalamanov
1ecf9132cc Merge "Increase timeout for VtsHalGraphicsComposerV2_4TargetTest" into sc-dev am: b2239ad43f am: 5f8e6adf93
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15503010

Change-Id: Ibf911f9414316c0ba14ae65dd0f581bd0913e2b3
2021-08-10 16:03:32 +00:00
Marin Shalamanov
5f8e6adf93 Merge "Increase timeout for VtsHalGraphicsComposerV2_4TargetTest" into sc-dev am: b2239ad43f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15503010

Change-Id: I0215c7695babc81a4cc19825351cb7d69a7ca19d
2021-08-10 15:46:30 +00:00
Marin Shalamanov
b2239ad43f Merge "Increase timeout for VtsHalGraphicsComposerV2_4TargetTest" into sc-dev 2021-08-10 15:33:08 +00:00
Shinru Han
37f63ed771 Allow negative value for CorrelationVector#samplingStartM
Bug: 195934893
Test: on cuttlefish
Change-Id: Ief1514c8d8e48c9c3f13b93c3d2c355a508a84a7
2021-08-10 18:25:30 +08:00
Max Bires
eb8b0577e8 AesInvalidKeySize skip 192 on SB devices
This change clarifies the language to specify that StrongBox devices
must only support key sizes of 128 and 256. Additionally, it changes the
new AesInvalidKeySize test to only enforce against StrongBox instances
on devices that launch on S or later, not previously launched devices.

Ignore-AOSP-First: CP to AOSP
Bug: 191736606
Test: Test passes on a StrongBox enabled device
Change-Id: I1a27a0d61e5247ad90c8f5b1423f2a1567016bac
2021-08-09 23:04:26 -07:00
TreeHugger Robot
171be708d9 Merge "Set the minSampleRate > 0 for continuous properties on the AAOS emulator." into sc-dev am: 4f8d0ea1ad am: abf474d2e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15483496

Change-Id: I8d626df393b44121bc1e67682b812fd75910bbfb
2021-08-10 03:33:54 +00:00
TreeHugger Robot
abf474d2e9 Merge "Set the minSampleRate > 0 for continuous properties on the AAOS emulator." into sc-dev am: 4f8d0ea1ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15483496

Change-Id: Ibd0a0086393efe7bd1dcaaf25044d749fc4c42c2
2021-08-10 03:19:57 +00:00
TreeHugger Robot
4f8d0ea1ad Merge "Set the minSampleRate > 0 for continuous properties on the AAOS emulator." into sc-dev 2021-08-10 03:07:36 +00:00
Marin Shalamanov
e7a2d287b2 Increase timeout for VtsHalGraphicsComposerV2_4TargetTest
The current timout of 5 mins is not enough for
setActiveConfigWithConstraints to complete on devices
which have ~30 display modes and which can't do seamless
switching. The test needs 8 mins to complete locally --
increasing the timeout to 15 to have some margin.

Bug: 188686850
Test: atest VtsHalGraphicsComposerV2_4TargetTest
Change-Id: I07cf1825c23e2467852d5cd93436eb9dee23b408
2021-08-09 17:57:33 +02:00
Tyler Trephan
d1705d569a Set the minSampleRate > 0 for continuous properties on the AAOS
emulator.

Test: atest CarPropertyManagerTest
Bug: 194680297
Change-Id: I3b9c359885d173c89e825b206b629ed9dfa38d13
2021-08-09 08:44:55 -07:00
TreeHugger Robot
d55de55843 Merge "wifi: use 1.4 ISupplicant object for 1.4 vts tests" into sc-dev am: fa0fb43978
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15463400

Change-Id: Id9ae63b72e05a4b4d99905bcc8eb3db011ef9619
2021-08-06 02:53:28 +00:00
TreeHugger Robot
fa0fb43978 Merge "wifi: use 1.4 ISupplicant object for 1.4 vts tests" into sc-dev 2021-08-06 02:38:32 +00:00