Commit graph

39954 commits

Author SHA1 Message Date
Kiran Rachuri
6c4bb0aae6 Add trailer present property
Bug: 197026083
Test: Build
Change-Id: I734f35e3d7ef17aa47c2c2cc57ba87e6e7944e79
2022-02-04 00:12:39 +00:00
TreeHugger Robot
d310acf16d Merge "Add properties for EV charging" 2022-02-03 22:44:43 +00:00
Max Bires
bfd607145c Fixing spec discrepancy in MacedPublicKey am: fbc0db2cd2 am: 0b51b97a80 am: d731deda2e am: 649b0b6ba5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1971499

Change-Id: I771bae65fab08b1ba78b3626229aa66f300c7db4
2022-02-03 22:28:16 +00:00
Max Bires
649b0b6ba5 Fixing spec discrepancy in MacedPublicKey am: fbc0db2cd2 am: 0b51b97a80 am: d731deda2e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1971499

Change-Id: If762b21cf74ed3967d5ec31373e57c708eced4f5
2022-02-03 22:14:29 +00:00
Max Bires
d731deda2e Fixing spec discrepancy in MacedPublicKey am: fbc0db2cd2 am: 0b51b97a80
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1971499

Change-Id: I036077615cf23718b6c4f91e6ad2f552f29e8690
2022-02-03 22:05:07 +00:00
Max Bires
0b51b97a80 Fixing spec discrepancy in MacedPublicKey am: fbc0db2cd2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1971499

Change-Id: I6caa4b986418cd63b1f0b10c8aedaa2615a961bf
2022-02-03 21:53:41 +00:00
TreeHugger Robot
c3ada23eb3 Merge "Update documentation of SensorInfo.aidl" 2022-02-03 21:21:46 +00:00
Arthur Ishiguro
b30f4556fc Update documentation of SensorInfo.aidl
Bug: 217750786
Test: None, comments only
Change-Id: I8c5e6c15b398ea5935bdcac08605f3f7e7399d3a
2022-02-03 19:33:13 +00:00
Max Bires
fbc0db2cd2 Fixing spec discrepancy in MacedPublicKey
The algorithm choice was listed as -8 for ES256, when it should be -7.

Fixes: 217691766
Test: Everyone harmoniously agrees by +2'ing.
Change-Id: I7f73efff42ee6d2b3bfb94b74c1208170805b870
2022-02-03 18:51:56 +00:00
TreeHugger Robot
01b299483d Merge "Update getInterfaceVersion checks to include -1" 2022-02-03 18:33:17 +00:00
Kiran Rachuri
8f1f1503c5 Add properties for EV charging
Bug: 209021366
Test: Build
Change-Id: Iec82501e478830ff7f1830750394ad5b0ecc9735
2022-02-03 15:48:50 +00:00
Treehugger Robot
1bbd78efcd Merge "Changing DeviceInfo fields to be mandatory." am: 87a6fbc5cd am: 7aba6f7c52 am: b92d700d4a am: e9faf18290
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965502

Change-Id: I9665202053ead084c6705320440d75d6f3386837
2022-02-03 01:59:41 +00:00
Gabriel Biren
550bb6b479 Merge "Improve initialization sequence for supplicant AIDL VTS tests." am: 1048b42ea6 am: 352fc9106f am: 36072bf04a am: fddd95734d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1966398

Change-Id: If38b8bfe7cfe510a07293c1aabe6a785dd8e7380
2022-02-03 01:59:29 +00:00
Treehugger Robot
e9faf18290 Merge "Changing DeviceInfo fields to be mandatory." am: 87a6fbc5cd am: 7aba6f7c52 am: b92d700d4a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965502

Change-Id: If00cd63ee66f3a8e7ba989fd578303078b53bc7a
2022-02-03 01:40:35 +00:00
Gabriel Biren
fddd95734d Merge "Improve initialization sequence for supplicant AIDL VTS tests." am: 1048b42ea6 am: 352fc9106f am: 36072bf04a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1966398

Change-Id: I50b5079096de46fcf8cdbabaf34e7b31817df6db
2022-02-03 01:40:27 +00:00
Treehugger Robot
b92d700d4a Merge "Changing DeviceInfo fields to be mandatory." am: 87a6fbc5cd am: 7aba6f7c52
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965502

Change-Id: I3efbab0404c150c0c406b7b3f12c163cef74117e
2022-02-03 00:58:23 +00:00
Gabriel Biren
36072bf04a Merge "Improve initialization sequence for supplicant AIDL VTS tests." am: 1048b42ea6 am: 352fc9106f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1966398

Change-Id: I985f2fb96ff63c753c21f987f90cc544e013d728
2022-02-03 00:58:15 +00:00
Treehugger Robot
7aba6f7c52 Merge "Changing DeviceInfo fields to be mandatory." am: 87a6fbc5cd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965502

Change-Id: Ib4fe7203d27fbcbd499393ade2e48d35144133f8
2022-02-03 00:38:54 +00:00
Gabriel Biren
352fc9106f Merge "Improve initialization sequence for supplicant AIDL VTS tests." am: 1048b42ea6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1966398

Change-Id: I1b16986317c2179c2c00f84f336967cfd86dfc8b
2022-02-03 00:38:44 +00:00
Yu-Han Yang
09fd012938 Update getInterfaceVersion checks to include -1
getInterfaceVersion() returns -1 if it is unknown.

V1 of the HAL doesn't implement getInterfaceVersion
due to ABI reasons for regular, unversioned, AIDL
interfaces.

Bug: 206670536
Test: on device
Change-Id: Id63b65b8a03488a6f179c7f64bd9d457e28eb30a
2022-02-02 16:29:59 -08:00
Treehugger Robot
87a6fbc5cd Merge "Changing DeviceInfo fields to be mandatory." 2022-02-03 00:27:21 +00:00
Gabriel Biren
1048b42ea6 Merge "Improve initialization sequence for supplicant AIDL VTS tests." 2022-02-03 00:16:23 +00:00
Victor Berchet
ad59f89a19 Merge "Make contexthub aidl available host side" 2022-02-02 23:09:39 +00:00
Victor Berchet
b32b544106 Make contexthub aidl available host side
Bug: 158007175
Test: running atest --host event_logger_test
Change-Id: I9f5f50ebc07d500dd4ffc51af8f1d39e9576e1db
2022-02-02 14:54:27 -08:00
Max Bires
8b09c50e49 Changing DeviceInfo fields to be mandatory.
This change removes the optionality ("?") from all of the device info
fields, now that DeviceIDs are mandatory. It also changes att_id_state
to the broader "fused" category. It may not convey exactly the same
meaning, but it seems better to avoid proliferating a lot of fields that
all speak to some technical detail of the factory provisioning status of
the device.

Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: Iaf3de6a7a7a9b8af7d2e9673d7f1320858b95617
2022-02-02 14:18:36 -08:00
Gabriel Biren
4e6c9a2b80 Improve initialization sequence for supplicant
AIDL VTS tests.

Bug: 215298798
Bug: 215467859
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
            VtsHalWifiSupplicantP2pIfaceTargetTest
      (Tested on both a Coral and Oriole device)
Change-Id: I435e16a447af16d9cd619c5bc8883ed24151080a
2022-02-02 22:18:20 +00:00
Treehugger Robot
1793c1eba9 Merge "Remove 'ops' field from BCC public keys." am: fefa4986db am: f2e823e672 am: c12212b6a6 am: acaf0438ca
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964424

Change-Id: Ie823d3b88ab1379069564f95d28d907ab3ad3fa3
2022-02-02 21:46:03 +00:00
Treehugger Robot
acaf0438ca Merge "Remove 'ops' field from BCC public keys." am: fefa4986db am: f2e823e672 am: c12212b6a6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964424

Change-Id: Id98a07be82d77a7fd48a8656a661c7b96bab1a31
2022-02-02 21:31:01 +00:00
Treehugger Robot
c12212b6a6 Merge "Remove 'ops' field from BCC public keys." am: fefa4986db am: f2e823e672
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964424

Change-Id: I0987f4b0a8699f03c9162c480f1ddbb3ca00c8a3
2022-02-02 21:14:56 +00:00
Treehugger Robot
f2e823e672 Merge "Remove 'ops' field from BCC public keys." am: fefa4986db
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964424

Change-Id: I44b01b621ed158af6fb2f73c5f5d2012c77bc700
2022-02-02 21:04:50 +00:00
Treehugger Robot
fefa4986db Merge "Remove 'ops' field from BCC public keys." 2022-02-02 20:47:25 +00:00
David Zeuthen
daf56f71ca identity: Fix API level used for Android 13. am: 3ba59bc5cc am: c615a4c009 am: 290bf4d72b am: 57f8ee51c2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1968520

Change-Id: I1c7ed61aa9ab20a715756b7cbb90c0efa4a22351
2022-02-02 18:43:10 +00:00
David Zeuthen
57f8ee51c2 identity: Fix API level used for Android 13. am: 3ba59bc5cc am: c615a4c009 am: 290bf4d72b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1968520

Change-Id: I6dab343344ffbbe5d146651bdb9d35f5c08055cc
2022-02-02 18:22:57 +00:00
David Zeuthen
290bf4d72b identity: Fix API level used for Android 13. am: 3ba59bc5cc am: c615a4c009
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1968520

Change-Id: Ieb35290e3e61190b03552f4a1845b68208ceda40
2022-02-02 18:11:37 +00:00
David Zeuthen
c615a4c009 identity: Fix API level used for Android 13. am: 3ba59bc5cc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1968520

Change-Id: I7c5a71aa241ef7922ac10b26ff77d8baca202a00
2022-02-02 17:29:50 +00:00
David Zeuthen
3ba59bc5cc identity: Fix API level used for Android 13.
Android 13 will be API level 32, not API level 31.

Bug: None
Test: atest IdentityCredentialImplementedTest
Change-Id: I1102970895b9a0fdf9ec7178b42d33c66bfe7616
2022-02-02 10:34:31 -05:00
Max Bires
2b5db8eae4 Remove 'ops' field from BCC public keys.
The application of ops is currently inconsistent within the spec, and
wrong where it is specified. It is mapped to an integer when it should
be mapped to an array that contains the integer value. Given that all
key usage is strictly defined within the spec itself, there is no value
currently in including the ops field. Because of this, the choice is
being made to simply remove the field.

Test: documentation change only
Change-Id: Ia3a9895c7840e3cda9c2775080b7dcb18544d417
2022-02-01 19:35:58 -08:00
Ahmed ElArabawy
7b7e4616c3 Merge "wifi: Add support for AP initiated QoS policy feature" 2022-02-02 03:25:12 +00:00
Treehugger Robot
6d62e17a81 Merge "Include the CWT validation in VTS testing." am: 608099fd88 am: 769c2bf958 am: b90df9e683 am: 8b4d894f2e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965500

Change-Id: I4c47b6217b5fa957df87ed7eb766398821521f7f
2022-02-02 03:14:41 +00:00
Treehugger Robot
8b4d894f2e Merge "Include the CWT validation in VTS testing." am: 608099fd88 am: 769c2bf958 am: b90df9e683
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965500

Change-Id: If338e6afa0a5665b95a569f8a6d18dd7fdf740db
2022-02-02 02:56:22 +00:00
Treehugger Robot
b90df9e683 Merge "Include the CWT validation in VTS testing." am: 608099fd88 am: 769c2bf958
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965500

Change-Id: Ifcfe72ac6c82f30bee36c886cae1e696a84ea67f
2022-02-02 02:44:59 +00:00
Treehugger Robot
769c2bf958 Merge "Include the CWT validation in VTS testing." am: 608099fd88
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965500

Change-Id: I33b1326c643c262d3ac09a245e8d959b81347fa7
2022-02-02 02:27:46 +00:00
Treehugger Robot
608099fd88 Merge "Include the CWT validation in VTS testing." 2022-02-02 02:14:02 +00:00
Max Bires
81880284af Include the CWT validation in VTS testing.
This change modifies the VTS tests to validate the structure of the CBOR
Web Token (CWT) which contains the public key as one of several fields
in the map. It only validates the subset of fields expected to be seen
in the VTS tests. The ones related to the actual BCC will not be
present in test mode due to the security guarantees of the interface.

Additionally, the test will also now check that the first key in the BCC
array matches the public key that should be self-signed in the
certificate located in the second index of the BCC array.

Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I9e7769861529b8095d77ce8fee3c78222579d38c
2022-02-02 02:13:26 +00:00
Yu-Han Yang
ab2527a441 Merge "Add register/unregister methods for SvStatus and NMEA (hardware/interfaces)" 2022-02-02 01:05:24 +00:00
Veerendranath Jakkam
ad6d094932 wifi: Add support for AP initiated QoS policy feature
This commit defines supplicant AIDL APIs needed for QoS policy
feature.

Bug: 191426881
Test: VTS test
Change-Id: Iab9c78d716da6c263ac7c6d49e257ee2e794a648
(cherry-picked from commit 4f43701bd12994f7bbaacf6b547ae7d7093b6c38)

Change-Id: Ifb7a58192723d2d9135f4c5fffe192780c8bb482
2022-02-02 00:11:07 +00:00
Michael Butler
e599ad0443 Merge "Move NNAPI HAL CommonUtils to nnapi/SharedMemory -- hal" am: ea3e90c1f1 am: 0d612d723b am: f288828f8e am: 67a0cba6b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1966388

Change-Id: Ie8eccccc4d97287b776cf786d146f4cf80f1edc5
2022-02-01 23:27:28 +00:00
Treehugger Robot
b8e28ac698 Merge "identity: Add VTS test to check that Identity Credential is implemented." am: 3ca6856eab am: b9d180b749 am: cca1115e42 am: 91b693aa4b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1966394

Change-Id: Ifc3db11a2194d34e9c2091efd95af578952739b6
2022-02-01 23:27:16 +00:00
Treehugger Robot
9d2c2c873b Merge "identity: Add tests to check that implementations support 32 bytes for challenges." am: e99edd915b am: 4d9c63556f am: 34924a7db3 am: e247553997
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1963723

Change-Id: I7b3c9c219ce9a766a529e2b9a0738f90e2be0ed8
2022-02-01 23:26:31 +00:00
Tyler Trephan
bba3e51ff5 Merge "Updated VTS to support heading sensors." 2022-02-01 23:15:55 +00:00