Commit graph

35073 commits

Author SHA1 Message Date
Sooraj Sasindran
d561cc3391 add slicingConfigChanged api
add slicing config changed api to be sent
by modem whenever there is a slice config change

Test: build, vts tracked using bug 214043323
Bug: 194332512
Change-Id: I86e8ab8ac5aa782b099434f1a04ce314631b7f4e
2022-01-13 11:40:54 -08:00
David Gross
9894d5625f Merge "Freeze neuralnetworks AIDL version as v3 for FL7" am: 3e6d04f6df am: b81359e293
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947667

Change-Id: Ibeabc21c4ad4107eb30e73bfe167aec262996623
2022-01-13 18:16:11 +00:00
David Gross
b81359e293 Merge "Freeze neuralnetworks AIDL version as v3 for FL7" am: 3e6d04f6df
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947667

Change-Id: I2d41c8d9d604c599f634ff7909d9a516c0316dfb
2022-01-13 18:03:13 +00:00
David Gross
3e6d04f6df Merge "Freeze neuralnetworks AIDL version as v3 for FL7" 2022-01-13 17:51:42 +00:00
Sneh Bansal
c338f29b6d VTS: Check for "ro.board.first_api_level" in GetBarringInfo()
Some GRF targets launched with S release do not support getBarringInfo()
API.

Check "ro.board.first_api_level" also to return from the test-case
when the response is REQUEST_NOT_SUPPORTED.

Bug: 212384410
Change-Id: I890f54f80ff3aca3dcb2c51f20db087d453c2927
2022-01-13 22:57:22 +05:30
Gabriel Biren
72c29327b7 Merge "Allow VTS tests to pass on devices without Hostapd AIDL." am: f97801a1c5 am: 81271949c0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947696

Change-Id: I45d4dbe9e28bbbaa21e15dda5067968e8089be21
2022-01-13 17:09:32 +00:00
Gabriel Biren
81271949c0 Merge "Allow VTS tests to pass on devices without Hostapd AIDL." am: f97801a1c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947696

Change-Id: I58a966af4c43706632ef2ef600923152d14d8049
2022-01-13 16:53:47 +00:00
Gabriel Biren
f97801a1c5 Merge "Allow VTS tests to pass on devices without Hostapd AIDL." 2022-01-13 16:34:32 +00:00
Josh Wu
4dd1b26caf BtAudio: Replace bitmask capabilities with vector
Bug: 203490261
Test: m android.hardware.bluetooth.audio-update-api
Change-Id: I258e9912ab740990cab61772f0d6893a64d372d9
2022-01-13 04:32:36 -08:00
David Drysdale
c6b8907a32 Alter spec text for RSA-PSS to match reality
The Key{Mint,Master} spec previously said that RSA-PSS mode should use
SHA-1 for the MGF1 digest, separately from whatever Tag::DIGEST gets
specified as the main digest.

However, both the reference implementation and the VTS/CTS tests
use BoringSSL's defaults, which is to re-use the main digest as the MGF1
digest if none is separately specified.

Given that this behaviour is embedded in many implementations over
several years (and given that there isn't a security implication),
change the spec to match this behaviour.  Also update the VTS test
code to make this clear/obvious.

Test: VtsAidlKeyMintTargetTest, VtsHalKeymasterV4_0TargetTest
Bug: 210424594
Merged-In: I4303f28d094ef4d4b9dc931d6728b1fa040de20d
Change-Id: I4303f28d094ef4d4b9dc931d6728b1fa040de20d
2022-01-13 09:13:08 +00:00
Gabriel Biren
962d5dfa99 Allow VTS tests to pass on devices without Hostapd AIDL.
Bug: 214298597
Test: Run VTS tests on an AOSP build (since AOSP
       is still using the HIDL interface).
Change-Id: I4bd005b5c96570694477a4b45fa5cc790c45be8f
2022-01-12 23:15:17 +00:00
Gabriel Biren
fc12c9d39e Merge "Allow VTS tests to pass on devices without Supplicant AIDL." am: ac91c7c9dd am: 57aaae7ad5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1945692

Change-Id: I246a670fa0cfb7a0d0cd26ea390291b1815e75c5
2022-01-12 23:08:29 +00:00
Gabriel Biren
57aaae7ad5 Merge "Allow VTS tests to pass on devices without Supplicant AIDL." am: ac91c7c9dd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1945692

Change-Id: I006dd6d83f1f3105b9646c7ddfbf0734f3dc29aa
2022-01-12 23:02:27 +00:00
Treehugger Robot
7d89d1e83d Merge "health: vts: Remove hridya@ from OWNERS" am: dc1456dc77 am: 182d2d7069
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947192

Change-Id: I66b375cf2955f6d6707fa2f5193e5bf1ed59c7cf
2022-01-12 23:02:06 +00:00
Gabriel Biren
ac91c7c9dd Merge "Allow VTS tests to pass on devices without Supplicant AIDL." 2022-01-12 22:52:18 +00:00
Treehugger Robot
182d2d7069 Merge "health: vts: Remove hridya@ from OWNERS" am: dc1456dc77
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1947192

Change-Id: Ic00d21fe8dfe92ad08d03eba0bf59ee6583baf87
2022-01-12 22:45:43 +00:00
Treehugger Robot
dc1456dc77 Merge "health: vts: Remove hridya@ from OWNERS" 2022-01-12 22:35:20 +00:00
David Gross
68e4300c72 Freeze neuralnetworks AIDL version as v3 for FL7
$ m android.hardware.neuralnetworks-update-api
$ m android.hardware.neuralnetworks-freeze-api

Bug: 202280925

Test: adb shell NeuralNetworksTest_static
Test: atest VtsHalNeuralnetworksTargetTest
Change-Id: I2b2755d7376bb847b15b395e280bf352b5b9ef55
2022-01-12 14:18:36 -08:00
Gabriel Biren
5214086d25 Update supplicant bitmap comments to clarify that
defs.h is a useful reference, but not the main
definition for the bitmap values in the interface.

Bug: 210904141
Test: N/A since only comments were updated
Change-Id: Ib721d6ea0182db50f05ddab10096583481f85413
2022-01-12 22:02:55 +00:00
Michael Butler
c0bceee092 Merge changes Ifeffea05,I966f65a1 am: 104192c28f am: ca40766dd6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1944552

Change-Id: I6bc37dde0fa87402e944d4ec0c431c17c5dfa85b
2022-01-12 20:44:27 +00:00
Michael Butler
ca40766dd6 Merge changes Ifeffea05,I966f65a1 am: 104192c28f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1944552

Change-Id: I3922ab4a1f5b63f84ea7094b3f5f062d03af2683
2022-01-12 20:27:27 +00:00
Michael Butler
104192c28f Merge changes Ifeffea05,I966f65a1
* changes:
  Remove uid from NN HIDL adapter
  Create NN AIDL adapter
2022-01-12 20:08:47 +00:00
Hridya Valsaraju
ec876871ed health: vts: Remove hridya@ from OWNERS
Test: N/A
Bug: N/A
Change-Id: I37b12a4e4dcabf09c3ff7188a59482357fe36242
2022-01-12 11:15:42 -08:00
Changyeon Jo
28dbd0b076 Update EVS OWNERS am: becb08fac0 am: 7843f7d669
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1944551

Change-Id: I6f658623f89d5ebcc0b9058b25f188c61d776e58
2022-01-12 11:39:16 +00:00
Changyeon Jo
7843f7d669 Update EVS OWNERS am: becb08fac0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1944551

Change-Id: I020867ee27bee4a28af29b05b21a390bfe29916b
2022-01-12 11:20:14 +00:00
David Drysdale
42fe189633 KeyMint VTS: test curve 25519 functionality
- Add CURVE_25519 as a supported curve for EC operations.
- Add a helper that checks whether the HAL is of a version that is
  expected to support curve 25519, and skip relevant tests if not.
- Ed25519 support
  - Update KeyMintAidlTestBase::LocalVerifyMessage to cope with a public
    key of type EVP_PKEY_ED25519.
  - Add a test key pair generated with openssl command line.
  - Key generation test
  - Key import test for raw format
  - Key import test for PKCS#8 format
  - Key import failures tests
  - Signature test
  - Check that purposes cannot be combined (Ed25519 != X25519)
  - Check that Ed25519 key can be attested to
  - Implicitly check that an Ed25519 key can be used for attestation
    (as it is in ValidCurves())
  - Force Digest::NONE for Ed25519 throughout.
- X25519 support
  - Add a test key pair generated with openssl command line.
  - Key generation test
  - Key import test for raw format
  - Key import test for PKCS#8 format
  - Key import failures tests
  - Key agreement test, including...
  - Refactoring of existing key agreement test for re-use
  - Update key agreement checks to cope with a public key of type
    EVP_PLEY_X25519.
  - Key agreement test using imported key
  - Check that purposes cannot be combined (Ed25519 != X25519)

Bug: 194358913
Test: VtsAidlKeyMintTargetTest
Change-Id: Ifa0f95fdfba4387843c8e821c2ca977da0488fa6
2022-01-12 10:58:19 +00:00
Michael Butler
594cc78a7b Remove uid from NN HIDL adapter
Having the adapter retrieve the uid is redundant because the implementor
is already able to get the uid directly themselves with
IPCThreadState::self()->getCallingUid().

Bug: N/A
Test: mma
Change-Id: Ifeffea053cb92556be1aae8b17a94fafa1ac98e0
2022-01-11 22:59:11 -08:00
Changyeon Jo
becb08fac0 Update EVS OWNERS
Bug: 214143406
Test: Gerrit uploader
Change-Id: Ief6351e9609ce11dd85dca815b6833524fead0c7
2022-01-12 06:34:15 +00:00
Michael Butler
534556391a Create NN AIDL adapter
This change adds the following adapters:
* nn::IDevice -> BnDevice
* nn::IPreparedModel -> BnPreparedModel
* nn::IBurst -> BnBurst
* nn::IBuffer -> BnBuffer

Bug: N/A
Test: mma
Test: locally created a binderized service with this adapter code,
      which passed VtsHalNeuralnetworksTargetTest
Change-Id: I966f65a1e4d75284c050b77f3f40c515e4970130
2022-01-11 22:23:31 -08:00
Treehugger Robot
3a0bddaec1 Merge "Update IConsumerIr method comments and add units to parameter" am: 74a84f8446 am: 8c60cf3171
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1943844

Change-Id: Id531ab80f2f28683fd65a11fa89a29feafd63cc2
2022-01-12 01:52:17 +00:00
Treehugger Robot
8c60cf3171 Merge "Update IConsumerIr method comments and add units to parameter" am: 74a84f8446
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1943844

Change-Id: I8f29c6244a1fb0475da2684aaa33592fdef9a03e
2022-01-12 01:35:12 +00:00
Treehugger Robot
eaed24f245 Merge "bluetooth.audio pass both source and sink metadata" am: f4a4ab1ca6 am: 4c28e00673
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1944804

Change-Id: Ib383dacadbe6b31c426d1c1d75046a0aa1642361
2022-01-12 01:23:04 +00:00
Treehugger Robot
74a84f8446 Merge "Update IConsumerIr method comments and add units to parameter" 2022-01-12 01:16:20 +00:00
Treehugger Robot
4c28e00673 Merge "bluetooth.audio pass both source and sink metadata" am: f4a4ab1ca6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1944804

Change-Id: I3c4f95552419ff0b98f50b00428ac66a421e1c19
2022-01-12 01:00:41 +00:00
Treehugger Robot
f4a4ab1ca6 Merge "bluetooth.audio pass both source and sink metadata" 2022-01-12 00:48:30 +00:00
Gabriel Biren
cc7409e8f9 Allow VTS tests to pass on devices without Supplicant AIDL.
Bug: 212653303
Bug: 212652735
Bug: 212652340
Test: Run VTS tests on an AOSP build (since AOSP
       is still using the HIDL interface).
Change-Id: I442efb35c4c68a1337cacc952c3fdb338ef2615d
2022-01-12 00:46:38 +00:00
Josh Wu
d7aa1428a5 BT: Support LC3 over A2DP am: 1bc606fafe am: 68a0fff7a2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1944805

Change-Id: If030ab4055572e904890c9499173c5d2af6be3d2
2022-01-12 00:38:50 +00:00
Josh Wu
68a0fff7a2 BT: Support LC3 over A2DP am: 1bc606fafe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1944805

Change-Id: Ia93fc459df72011dbc0954afaefbf8ff44ce17a7
2022-01-12 00:18:57 +00:00
Alice Kuo
91ea7b97d6 Add le audio capabilities and audio config update supported in aidl am: 60b00151bd am: 914dc1db66
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1942861

Change-Id: Icc3ad36e725e84c5b01545cd7488b29ba73e8822
2022-01-11 23:43:07 +00:00
Alice Kuo
914dc1db66 Add le audio capabilities and audio config update supported in aidl am: 60b00151bd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1942861

Change-Id: I6a0d4eed3c4b844ac1ff929435c73c0864a59ee5
2022-01-11 23:30:47 +00:00
Janis Danisevskis
37f1609ed5 DICE: Use fixed sized arrays for fixed sized fields.
Bug: 210149444
Test: N/A
Change-Id: I1d4e502cb6535117f51d2d0ce008f2669fc90e96
2022-01-11 11:06:35 -08:00
Josh Wu
1bc606fafe BT: Support LC3 over A2DP
Test: m android.hardware.bluetooth.audio-update-api
Bug: 211589164
Change-Id: Ib2efd9b5af71fa0188edb85b13cf031710b6fe21
2022-01-11 03:28:18 -08:00
Alice Kuo
60b00151bd Add le audio capabilities and audio config update supported in aidl
Bug: 203490261
Bug: 150670922
Test: m android.hardware.bluetooth.audio-update-api
Change-Id: I035aad6ee6f6ac0833d9716b50323620ce6df34b
2022-01-11 03:28:16 -08:00
Jakub Pawlowski
0f5c11d965 bluetooth.audio pass both source and sink metadata
Currently just source metadata is passed through the new aidl.

Test: m android.hardware.bluetooth.audio-update-api
Bug: 203490261
Bug: 150670922
Change-Id: I76a44bb8c5cb0b6c16845aca36ba93517ecd07b4
Merged-In: I76a44bb8c5cb0b6c16845aca36ba93517ecd07b4
2022-01-11 05:41:04 +00:00
Kedar Chitnis
1d03fd93bc Merge "Fix dumpstate AIDL interface API comments" am: d8f9af28ee am: 243d10fe42
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1943153

Change-Id: I0c13f448045f6c76432bf8ddd8c605a200606602
2022-01-11 05:07:58 +00:00
Kedar Chitnis
243d10fe42 Merge "Fix dumpstate AIDL interface API comments" am: d8f9af28ee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1943153

Change-Id: I35a0823fcf5fe5c1f63f62189d9d019f74a99ed4
2022-01-11 04:39:34 +00:00
Kedar Chitnis
d8f9af28ee Merge "Fix dumpstate AIDL interface API comments" 2022-01-11 04:14:46 +00:00
Treehugger Robot
b9f3b6228e Merge "Prepares android.hardware.wifi@1.0-service" am: 1303d913f3 am: 5cd48bab29
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1908491

Change-Id: I58b559364e9bd28efcd1bb473350bda45a9ea8c0
2022-01-11 02:24:56 +00:00
Treehugger Robot
5cd48bab29 Merge "Prepares android.hardware.wifi@1.0-service" am: 1303d913f3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1908491

Change-Id: I8ae047d6f19ebf9c9b95277514d4090a13544533
2022-01-11 01:59:29 +00:00
Treehugger Robot
1303d913f3 Merge "Prepares android.hardware.wifi@1.0-service" 2022-01-11 01:35:49 +00:00