Commit graph

34631 commits

Author SHA1 Message Date
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
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
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
fefa4986db Merge "Remove 'ops' field from BCC public keys." 2022-02-02 20:47:25 +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
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
ea3e90c1f1 Merge "Move NNAPI HAL CommonUtils to nnapi/SharedMemory -- hal" 2022-02-01 22:44:53 +00:00
Treehugger Robot
3ca6856eab Merge "identity: Add VTS test to check that Identity Credential is implemented." 2022-02-01 20:14:17 +00:00
Treehugger Robot
e99edd915b Merge "identity: Add tests to check that implementations support 32 bytes for challenges." 2022-02-01 19:31:27 +00:00
David Zeuthen
9699aa5aad identity: Add VTS test to check that Identity Credential is implemented.
Chipsets launching with Android 13 must support Identity Credential at
feature version 202201 or later. Verify this.

Bug: 217197568
Test: atest IdentityCredentialImplementedTest
Change-Id: Icddb2c63571a4a69213bd9796ba78f5b384f7d5d
2022-02-01 13:04:37 -05:00
Sarah Chin
f746a91d93 Final API changes for IRadio
Remove CarrierRestrictions#priority
Move USSD from messaging -> voice
Rename DataProfileInfo#TYPE_THREE_GPP/2 -> TYPE_3GPP2
Remove neighboring CID APIs

Test: atest VtsHalRadioTargetTest
Bug: 199433581
Bug: 216688606
Change-Id: I621d99b8024f92709bcb675b667bcba678eede9b
Merged-In: I621d99b8024f92709bcb675b667bcba678eede9b
2022-01-31 13:29:03 -08:00
Sarah Chin
a2932530f3 Merge "Make TrafficDescriptor nonnull in DataProfileInfo" 2022-01-31 21:22:42 +00:00
Sarah Chin
98131819ae Merge "Add all prior VTS tests" 2022-01-31 21:17:02 +00:00
Michael Butler
6b0905cb69 Move NNAPI HAL CommonUtils to nnapi/SharedMemory -- hal
This CL relocates utility code that transfers data between pointer-based
memory and shared memory for Request objects and Model objects, moving
it from nnapi/hal/CommonUtils.h (hal utilities) to nnapi/SharedMemory.h
(canonical library).

This change also adds a check for whether Model and Requests have
pointer-based data in neuralnetworks/aidl/utils/src/Conversions.cpp to
make it consistent with the HIDL utility conversions.

Bug: 217217023
Test: mma
Test: presubmit
Change-Id: I55a0fea186708d806bc709681e10027a9e4b0ffb
2022-01-31 19:26:57 +00:00
Sarah Chin
363bb087bb Make TrafficDescriptor nonnull in DataProfileInfo
Test: build
Bug: 215717256
Change-Id: I02a5d5fbcc0a3ae22431fcc8615ac68d6df7b628
2022-01-31 11:22:38 -08:00
David Zeuthen
834f32215f identity: Add tests to check that implementations support 32 bytes for challenges.
Also update AIDL docs for this.

Bug: 216177025
Test: atest VtsHalIdentityTargetTest
Change-Id: I45cd0cc54f7e9f0d1f9c61d0649f7b7e7f6297a3
2022-01-31 11:53:43 -05:00
Daniel Norman
411e98d202 Merge "Revert^2 "Create thermal apex"" 2022-01-30 04:34:41 +00:00
Sagar Verma
d13bbb3256 BT: Aptx-Adaptive AIDL changes
Bug: 203751353
Change-Id: I65f7b4de77ff0083721069959f6ba2081a158a80
2022-01-29 16:15:41 +05:30
Sarah Chin
52de0adbd1 Add all prior VTS tests
Test: atest VtsHalRadioTargetTest
Bug: 210712359
Change-Id: Ib7ace442ee2bf8d203df9899d8e8331b26af74ad
Merged-In: Ib7ace442ee2bf8d203df9899d8e8331b26af74ad
2022-01-28 22:07:24 -08:00
Treehugger Robot
350d762bcc Merge "VTS for UsageSetting" 2022-01-29 05:57:39 +00:00
Sarah Chin
02ab7331ac Merge "Allow null DataProfileInfo for IA APN to clear" 2022-01-29 01:46:13 +00:00
Nathan Harold
ccc496b7bf VTS for UsageSetting
Add tests to check that usage setting can be
retrived and set as well as ensuring that invalid
values cannot be set.

Bug: 205595503
Test: make VtsHalRadioTargetTest
Merged-In: I26a68d4b6be4810fab9302b58a3be7f65fc82c83
Change-Id: I26a68d4b6be4810fab9302b58a3be7f65fc82c83
(cherry picked from commit 244423c76b)
2022-01-28 17:10:34 -08:00
Sarah Chin
4ae4e1723f Allow null DataProfileInfo for IA APN to clear
Test: build
Bug: 216357727
Change-Id: If003316192f579a3970ac48eaf50cb714cf757e6
Merged-In: If003316192f579a3970ac48eaf50cb714cf757e6
2022-01-28 15:15:23 -08:00
Daniel Norman
58cdf3dafd Revert^2 "Create thermal apex"
33251ba579

Change-Id: If3dd5bd1d8d35fc398a51e531fd9bf43ab91fb39
2022-01-28 21:46:36 +00:00
Treehugger Robot
32a10e4c95 Merge "Add owners for IRadio VTS" 2022-01-28 20:45:36 +00:00
Sarah Chin
1755f21ff2 Add owners for IRadio VTS
Test: build
Bug: 210712359
Change-Id: I9a6cafa49de5f84647de624c69781314ceada7a1
2022-01-28 10:51:59 -08:00
Treehugger Robot
71af5c2da9 Merge "health: vendor.charger-* -> vendor.charger." 2022-01-28 01:20:11 +00:00
Treehugger Robot
2bb6c15bd9 Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" 2022-01-27 22:38:48 +00:00
Treehugger Robot
6e503b7a4e Merge "Remove early break for sub-HAL initialization failure" 2022-01-27 21:33:27 +00:00
Bob Badour
589e5f76f6 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  nfc/aidl/Android.bp
  nfc/aidl/default/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I9ad294e992c80d7962cf097a4dc5e60a51ba0fd9
2022-01-27 10:48:29 -08:00
Seth Moore
ff225d91c0 Merge changes from topic "revert-1959803-revert-1956689-add rkp to identity-default-ENFHZTRTBV-OLKYWRVSFZ"
* changes:
  Revert^2 "Add remote key provisioning to the IC HAL"
  Revert^2 "Refactor IC support for RKP"
  Revert^2 "Log to logd in the default identity service"
  Revert^2 "Fix formatting of identity credential aidl"
2022-01-27 18:18:12 +00:00
Yifan Hong
64345cd628 health: vendor.charger-* -> vendor.charger.
Devices may have actions triggered by
init.svc.vendor.charger. If the name is changed,
these actions are not triggered properly.

The name is usually vendor.charger, so the default
service will also use vendor.charger as the name.

Test: none
Bug: 215152892
Change-Id: Icb296ae82a6f3472730fdb3abc35dcede22889e7
2022-01-26 15:53:11 -08:00
Steven Moreland
c82603654a Merge "-= src_available" 2022-01-26 23:43:03 +00:00
Yixuan Wang
105da222fb Remove early break for sub-HAL initialization failure
Bug: 212420575
Test: none
Change-Id: I38099a4edbdeffe99ae2d91fc9dc518c9da98b13
2022-01-26 21:22:44 +00:00
Steven Moreland
fe0546fe14 -= src_available
Default now. To Remove.

Bug: 215754978
Test: N/A
Change-Id: I4042a83ae624187570e7e2b2a7a1c1282906f6d0
2022-01-25 23:38:32 +00:00
Seth Moore
1bf823ce75 Revert^2 "Add remote key provisioning to the IC HAL"
be32113307

Change-Id: I55ddbddd0bc317f1f077a63b0275c4d55fd9c76f
2022-01-25 23:04:37 +00:00
Seth Moore
ff3df54c39 Revert^2 "Refactor IC support for RKP"
201e6abbd0

Change-Id: I52171d7d5253b415cdcdfcf09061629e9a20ee1a
2022-01-25 23:04:37 +00:00
Seth Moore
3fc3c4cc63 Revert^2 "Log to logd in the default identity service"
5502a1fa35

Change-Id: Iee5fb393555195be682982161ecb716ff28fa3a9
2022-01-25 23:04:37 +00:00
Seth Moore
801695e626 Revert^2 "Fix formatting of identity credential aidl"
78063761fa

Change-Id: Ib0264d155482a06e078123eaea4712c67c61e161
2022-01-25 23:04:37 +00:00
Seth Moore
6278c2d241 Merge changes from topic "revert-1956689-add rkp to identity-default-ENFHZTRTBV"
* changes:
  Revert "Fix formatting of identity credential aidl"
  Revert "Log to logd in the default identity service"
  Revert "Refactor IC support for RKP"
  Revert "Add remote key provisioning to the IC HAL"
2022-01-25 23:03:24 +00:00
Seth Moore
78063761fa Revert "Fix formatting of identity credential aidl"
Revert "Add dependency on keymint cpp lib"

Revert "Allow default identity service to call keymint"

Revert submission 1956689-add rkp to identity-default

Reason for revert: Broke git-master. Will resubmit later.
Reverted Changes:
I96dcf3027:Add remote key provisioning to the IC HAL
Id686ac33a:Add dependency on keymint cpp lib
Ib368a2a00:Log to logd in the default identity service
I7d2906de0:Refactor IC support for RKP
Iae0f14f1c:Fix formatting of identity credential aidl
I01d086a4b:Allow default identity service to call keymint

Change-Id: I36a012ca72d7b214bde813fd3a1c08a99101f607
2022-01-25 22:44:24 +00:00
Seth Moore
5502a1fa35 Revert "Log to logd in the default identity service"
Revert "Add dependency on keymint cpp lib"

Revert "Allow default identity service to call keymint"

Revert submission 1956689-add rkp to identity-default

Reason for revert: Broke git-master. Will resubmit later.
Reverted Changes:
I96dcf3027:Add remote key provisioning to the IC HAL
Id686ac33a:Add dependency on keymint cpp lib
Ib368a2a00:Log to logd in the default identity service
I7d2906de0:Refactor IC support for RKP
Iae0f14f1c:Fix formatting of identity credential aidl
I01d086a4b:Allow default identity service to call keymint

Change-Id: I051e97b4b7ec8c060b46de42092c049f12379ea5
2022-01-25 22:44:24 +00:00