Commit graph

35073 commits

Author SHA1 Message Date
Mikhail Naganov
eb413a0f3e Audio HAL V7.1: Interfaces & types am: 51a7e13849 am: 54e9a3a892
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973700

Change-Id: I7831c1826aa70cc1bec47fede67bd8fa97c15adf
2022-02-07 17:50:01 +00:00
Mikhail Naganov
54e9a3a892 Audio HAL V7.1: Interfaces & types am: 51a7e13849
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1973700

Change-Id: I0b855acf71e3d8b20e38ae74f6c15b719e5df18e
2022-02-07 17:35:35 +00:00
Roopa Sattiraju
5ca1ea4a5a Merge "Adding bluetooth apex" am: 7a79c11c44 am: a550c194fd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932846

Change-Id: I684176407412f7322cacbd72ac09fa36126211cd
2022-02-05 06:22:38 +00:00
Roopa Sattiraju
a550c194fd Merge "Adding bluetooth apex" am: 7a79c11c44
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932846

Change-Id: I325276032f939aeb4bf2d8b83ed98f9434fd721d
2022-02-05 06:10:25 +00:00
Roopa Sattiraju
7a79c11c44 Merge "Adding bluetooth apex" 2022-02-05 05:56:15 +00:00
Mikhail Naganov
51a7e13849 Audio HAL V7.1: Interfaces & types
Introduced V7.1 of the core HAL. The only added methods of
the interfaces are those for creating objects implementing
the new version. HIDL types are from V7.0.

APM XSD is cloned for adding new enums. Provided the minor
update for the enums utility library.

CTS-Coverage-Bug: 215647214
Bug: 214426419
Test: m
Change-Id: I3caa2fda2fb5d7d8e8292e23fb2cf0e32e05c146
(cherry picked from commit a0cd944914)
Merged-In: I3caa2fda2fb5d7d8e8292e23fb2cf0e32e05c146
2022-02-05 00:43:27 +00:00
Roopa Sattiraju
e01400a7e4 Adding bluetooth apex
Bluetooth uses ISAP interfaces which are radio 1.0 HIDL implementation.
ISAP is not migrated to AIDL and would need to be migrated only if adding
any new interfaces to ISAP. Since the usage is only in 1.0 and 1.1 and 1.2
would be backward compatible, adding bluetooth apex only to radio 1.0.


Bug: 206121418
Test: Compile
Change-Id: I4f387fb0a36518cbef99084421a90a5d2f5c26c2
2022-02-05 00:38:40 +00:00
Treehugger Robot
dae5db1c87 Merge "Add a top-level OWNERs" am: 95ad078d75 am: 8cf5b0071f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1972199

Change-Id: I7fd5bc2747f17aad2388e365506a64d541ed5c43
2022-02-04 22:08:22 +00:00
Treehugger Robot
8cf5b0071f Merge "Add a top-level OWNERs" am: 95ad078d75
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1972199

Change-Id: I2de7b3da46f773bc89c76ab95366b8410c37280a
2022-02-04 21:56:23 +00:00
Treehugger Robot
95ad078d75 Merge "Add a top-level OWNERs" 2022-02-04 21:38:21 +00:00
Alice Kuo
5eb08fbbbd Move owner file on the top of bluetooth.audio HAL folder am: 2ed773b36d am: 2d38dc52db
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1962887

Change-Id: I320955d743b4d83ad91e20a96114edcdb6060986
2022-02-04 18:50:05 +00:00
Alice Kuo
2d38dc52db Move owner file on the top of bluetooth.audio HAL folder am: 2ed773b36d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1962887

Change-Id: Iae2370249908c2e1ec75152c901a19a8725c8e52
2022-02-04 18:34:02 +00:00
Alice Kuo
2ed773b36d Move owner file on the top of bluetooth.audio HAL folder
Bug: 204585486
Test: NA
Change-Id: I0edd3a9c98a336b5a18000060e026d878dfe7127
2022-02-04 16:28:43 +00:00
Max Bires
78e11bb6f4 Merge "Enforcing canonicalization of DeviceInfo." am: 4820b542fa am: 2b8301c90e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1968997

Change-Id: Ic5f285a2109b8f49cf7d1e548b21c4e672736290
2022-02-04 03:11:20 +00:00
Max Bires
2b8301c90e Merge "Enforcing canonicalization of DeviceInfo." am: 4820b542fa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1968997

Change-Id: I6d2b837f7f2592fad29546d2e68c559d1ef4904e
2022-02-04 03:00:09 +00:00
Max Bires
4820b542fa Merge "Enforcing canonicalization of DeviceInfo." 2022-02-04 02:44:54 +00:00
Roopa Sattiraju
08e6905ff5 Merge "Adding bluetooth apex and min_sdk_version" am: 85d3fae9c5 am: 9793b79ce7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1971382

Change-Id: I1aa6b83bb67919b291dcc5d47ee3358ef960e6b8
2022-02-04 02:43:14 +00:00
Roopa Sattiraju
9793b79ce7 Merge "Adding bluetooth apex and min_sdk_version" am: 85d3fae9c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1971382

Change-Id: Ia81995413558eb55383ac4163ebe844636166ed4
2022-02-04 02:23:44 +00:00
Roopa Sattiraju
85d3fae9c5 Merge "Adding bluetooth apex and min_sdk_version" 2022-02-04 02:11:54 +00:00
Chen Chen
0af9666861 Merge "Spatial Audio: Add audio HAL interface for allowing or disallowing low latency audio" am: dc9bfdd2de am: 5ccb3146c7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965513

Change-Id: I1adb89418a5867305d84e4a53c0ecc144d675a8d
2022-02-04 01:17:12 +00:00
Chen Chen
5ccb3146c7 Merge "Spatial Audio: Add audio HAL interface for allowing or disallowing low latency audio" am: dc9bfdd2de
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965513

Change-Id: Ibfcdece441c51c4dbe16126087574ff347cbffe3
2022-02-04 01:06:31 +00:00
John Reck
b09556a1e9 Add a top-level OWNERs
Test: N/A
Change-Id: I21cd4888b3141dd272fcc72e880402b2ca84bc50
2022-02-03 19:58:21 -05:00
Chen Chen
dc9bfdd2de Merge "Spatial Audio: Add audio HAL interface for allowing or disallowing low latency audio" 2022-02-04 00:45:58 +00:00
Roopa Sattiraju
7455efc39a Adding bluetooth apex and min_sdk_version
Bug: 206121418
Test: Compile
Change-Id: I59dbd7a2b4758be4b90acfd419112e8b9e259219
2022-02-03 14:15:22 -08: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
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
Max Bires
8c255e69bf Enforcing canonicalization of DeviceInfo.
This change specifies that the DeviceInfo map returned by the IRPC HAL
implementation should be canonicalized. Additionally, it adds coverage
to the VTS tests to ensure this requirement is enforced.

Test: atest VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I276f38497a307c407d305b62a3e9af78a403054e
2022-02-03 01:00:03 +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
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
Chen Chen
cc0cd5eadf Spatial Audio: Add audio HAL interface for allowing or disallowing low
latency audio

Bug: 214615268
Test: build
Tag: feature
Change-Id: I5c9e26edb1271cd69a487409506cc1b93f49e111
2022-02-02 15:09:07 -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
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
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
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
Michael Butler
f288828f8e Merge "Move NNAPI HAL CommonUtils to nnapi/SharedMemory -- hal" am: ea3e90c1f1 am: 0d612d723b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1966388

Change-Id: Ie303ab2337fb2557066c1ed5fc7781d7ea4cbfe0
2022-02-01 23:06:30 +00:00
Michael Butler
0d612d723b Merge "Move NNAPI HAL CommonUtils to nnapi/SharedMemory -- hal" am: ea3e90c1f1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1966388

Change-Id: I2127e3ea9acdd1c16e96b49843a9a398efd1a974
2022-02-01 22:56:28 +00:00