Commit graph

27730 commits

Author SHA1 Message Date
Jeongik Cha
95dbe442b2 Specify version for aidl_interface explicitly
Bug: 150578172
Test: m
Change-Id: I8ccf9c8d08ad7131c77d316bf36fb515421d3ae1
2021-02-17 12:30:56 +09:00
Treehugger Robot
2a325dff91 Merge "Add RemotelyProvisionedComponent HAL." am: 0ace84a193
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1367566

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I831dba611649e52d7a2d21ade4f52700e26ae1dc
2021-02-17 00:10:05 +00:00
Treehugger Robot
0ace84a193 Merge "Add RemotelyProvisionedComponent HAL." 2021-02-16 23:48:44 +00:00
Kalesh Singh
b9d91e2095 Merge "VtsHalMemtrackTargetTest: Update test suite" am: 1c402dca96
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1590513

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib3dfb4d563da366790e4758e7bf077cf6e3783b8
2021-02-16 21:51:09 +00:00
Kalesh Singh
1c402dca96 Merge "VtsHalMemtrackTargetTest: Update test suite" 2021-02-16 21:08:03 +00:00
Treehugger Robot
7fa6d5b808 Merge "Fix HidlUtils::deviceAddressToHalImpl for HAL V4--6" am: eb4b22027b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1587526

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idfd04bfa4bb63076d432b837cdf2dd4c93e7d72a
2021-02-16 20:05:29 +00:00
Treehugger Robot
eb4b22027b Merge "Fix HidlUtils::deviceAddressToHalImpl for HAL V4--6" 2021-02-16 19:35:36 +00:00
Kalesh Singh
6e2d21dbc2 VtsHalMemtrackTargetTest: Update test suite
"vts-core" has been renamed to "vts"

Bug: 175021432
Test: atest VtsHalMemtrackTargetTest
Change-Id: Idad5d309bc66cf631932bad66c66d5915ba2fe2c
2021-02-16 14:08:43 -05:00
Shawn Willden
274bb55f10 Add RemotelyProvisionedComponent HAL.
Test: VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I51fb01f4c52949c81f3ad2d694a4afdf0fa67788
2021-02-16 07:40:59 -08:00
Treehugger Robot
1ac13080b3 Merge "Apply aidl_format to NNAPI AIDL interface files" am: 06811c8124
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1587251

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7babc656b3beb72566a1c2468122c5d8fe047e56
2021-02-15 17:59:15 +00:00
Treehugger Robot
06811c8124 Merge "Apply aidl_format to NNAPI AIDL interface files" 2021-02-15 17:24:17 +00:00
Treehugger Robot
a624a632da Merge "Add more tests for limited use key feature." am: 82d8bdd90d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1583223

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2af65704bba11d3cd9da38ec2aabf5db2b7035b1
2021-02-15 06:25:08 +00:00
Treehugger Robot
82d8bdd90d Merge "Add more tests for limited use key feature." 2021-02-15 05:48:12 +00:00
Kalesh Singh
15bf0b3294 Merge "Memtrack HAL: Remove MemtrackType::NUM_TYPES" am: 5a52686fd6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1587451

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iae0d8557806b228a383b6359b3ef0a633eb093a1
2021-02-13 22:40:51 +00:00
Treehugger Robot
d224907547 Merge changes from topic "keymint_aidl_impl" am: 34a7139467
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1570080

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5a8050d780bc01a27551a99ce74967053bd8cc6f
2021-02-13 22:40:09 +00:00
Kalesh Singh
5a52686fd6 Merge "Memtrack HAL: Remove MemtrackType::NUM_TYPES" 2021-02-13 22:35:11 +00:00
Treehugger Robot
34a7139467 Merge changes from topic "keymint_aidl_impl"
* changes:
  Vts tests for earlyBoot and deviceLocked functionality. Test: atest VtsAidlKeyMintTargetTest Bug: b/171287439.
  The aidl changes related to device locked, entryBootEnded and hw info. Test: atest VtsAidlKeyMintTargetTest Bug: b/178222844, 179062062
2021-02-13 22:11:52 +00:00
Mikhail Naganov
32fe782db4 Fix HidlUtils::deviceAddressToHalImpl for HAL V4--6
Ensure that the busAddress field is used as a fallback
for types of devices that may not necessary have it,
e.g. for built-in microphones.

Add a subset of presubmit tests for HidlUtils of V6
similar to the tests for V7.

Bug: 180143301
Test: atest android.hardware.audio.common@6.0-util_tests
Change-Id: I61fca8bd4342fdf496d1ca5bf2d01399fd3d34c7
2021-02-12 15:49:09 -08:00
Kalesh Singh
1bcbf85110 Memtrack HAL: Remove MemtrackType::NUM_TYPES
Remove NUM_TYPES from MemtrackType enum, since this can cause conflicts
if the enum changes.

Use enum_range to iterate the MemtrackType enum.

Bug: 179432507
Test: atest VtsHalMemtrackTargetTest
Change-Id: Iadad3e0547c1c2f6aaf0f55a2d50e4c625a909e0
2021-02-12 11:29:53 -05:00
Lev Proleev
79bd373c10 Apply aidl_format to NNAPI AIDL interface files
The change also updates the generated files using more up-to-date
version of the aidl code generator. This adds copyright notice to the
generated files.

Bug: 180101047
Test: no presubmit hooks erros
Change-Id: I8535eee96078eda3fadcea130f123a9bdbf1edec
2021-02-12 14:58:20 +00:00
Treehugger Robot
9abd32b602 Merge "The implementation of vts and default implementation to support ISecureClock and ISharedSecret AIDLs. Test: atest VtsAidlSecureClockTargetTest, atest VtsAidlSharedSecretTargetTest Bug: b/175136979, b/175141176" am: 9717a37b6a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1562810

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0424942af64d493e556df6d8ffc93375123a0ff3
2021-02-12 04:47:47 +00:00
Treehugger Robot
9717a37b6a Merge "The implementation of vts and default implementation to support ISecureClock and ISharedSecret AIDLs. Test: atest VtsAidlSecureClockTargetTest, atest VtsAidlSharedSecretTargetTest Bug: b/175136979, b/175141176" 2021-02-12 02:42:35 +00:00
Treehugger Robot
fb669b9e39 Merge "Identity: Fix breakage caused by recent changes in libsoft_attestation_cert." am: aef57a826a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1584471

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icde3291dbd1813cb068ff07e9d4810e871793dc7
2021-02-11 23:12:56 +00:00
Treehugger Robot
aef57a826a Merge "Identity: Fix breakage caused by recent changes in libsoft_attestation_cert." 2021-02-11 22:42:29 +00:00
Jakub Pawlowski
eebcaea5b2 Disable failing VTS tests am: 3d5cd48f92
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1584988

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic4aa8368f5394da332f94c00f688e4d013d8bfd9
2021-02-11 22:34:30 +00:00
Jakub Pawlowski
3d5cd48f92 Disable failing VTS tests
These will be reenabled in patches that add missing implementation

Test: atest VtsHalBluetoothAudioV2_1TargetTest
Bug: 150670922
Bug: 179790901
Bug: 179936318
Change-Id: I4c124ab5c4bcd9db50d35f41f8227a8bd2fb6744
2021-02-11 20:43:23 +00:00
Qi Wu
8e727f799b Add more tests for limited use key feature.
Verify that when keymint implementation supports rollback resistance,
it must also enforce the single use key in hardware by secure hardware.

Test: atest -c VtsAidlKeyMintTargetTest
Change-Id: Ib984003247906ded7266da620e2d82e826d916bc
2021-02-11 16:37:32 +00:00
David Zeuthen
37388b36bf Identity: Fix breakage caused by recent changes in libsoft_attestation_cert.
CL:1566356 changed the notBefore and notAfter fields in the X.509
attestation certificate returned by generate_attestation_from_EVP().
This broke the default implementation of the Identity Credential HAL.

Fixed by setting TAG_CERTIFICATE_NOT_BEFORE and
TAG_CERTIFICATE_NOT_AFTER to the expected values.

Test: atest VtsHalIdentityTargetTest
Bug: 179933300
Change-Id: I2dbca41c1e905c17cd2bc565d2e987945b86273a
2021-02-11 08:44:51 -05:00
Chirag Pathak
9ea6a0addc Vts tests for earlyBoot and deviceLocked functionality.
Test: atest VtsAidlKeyMintTargetTest
Bug: b/171287439.

Change-Id: I41c0b7b6b608b26147669b007225ad6f2d3cdfed
2021-02-10 23:42:44 +00:00
Treehugger Robot
5fef7e1de0 Merge "health 2.1 impl: log values properly." am: 709382fcc5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1581063

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibcb9d6655fe837f70d4c71a63901db19bbc4ed26
2021-02-10 23:23:58 +00:00
Treehugger Robot
709382fcc5 Merge "health 2.1 impl: log values properly." 2021-02-10 23:03:44 +00:00
Chirag Pathak
bcf07f93a7 The aidl changes related to device locked, entryBootEnded and hw info.
Test: atest VtsAidlKeyMintTargetTest
Bug: b/178222844, 179062062

Change-Id: Id4ffd6dae48ba45019d42303413ddbc35eb59935
2021-02-10 22:06:45 +00:00
Treehugger Robot
b03f1398d5 Merge "Remove stale TODOs about audio HALs" am: 1d926594bd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1582549

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic21763e042f97b283d2a56dd4936fb0c0d3985ae
2021-02-10 21:15:55 +00:00
Treehugger Robot
1d926594bd Merge "Remove stale TODOs about audio HALs" 2021-02-10 20:56:46 +00:00
Treehugger Robot
61a4a2a00d Merge "audio: Allow specifying "default" stream type in V7" am: 9dac2b95fc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1582322

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I911d2b7f5b607de9576c02fd9ff4c100b0e01d1a
2021-02-10 20:11:28 +00:00
Benjamin Schwartz
ff858d5636 power/stats: Clean up warnings
Bug: 179853694
Test: build
Change-Id: Ibb452160dff5d1ec81700a12a163c0f01d666338
2021-02-10 11:42:10 -08:00
Treehugger Robot
9dac2b95fc Merge "audio: Allow specifying "default" stream type in V7" 2021-02-10 19:40:08 +00:00
Chirag Pathak
8960aaefea The implementation of vts and default implementation to support ISecureClock and ISharedSecret AIDLs.
Test: atest VtsAidlSecureClockTargetTest, atest VtsAidlSharedSecretTargetTest
Bug: b/175136979, b/175141176

Change-Id: I4a0d25981d0172c0e2c8defc61b325eca6d6a029
2021-02-10 18:48:34 +00:00
Mikhail Naganov
7c95c4b535 Remove stale TODOs about audio HALs
Both 6.0 and 7.0 can be used for launching new
devices on S due to large amount of refactorings
in the interfaces. Vendors who don't need
the new features added in V7 are free to continue
using V6.

Bug: 142480271
Test: N/A
Change-Id: I133348b9a0a1a200ba28b2d67cac92f1962a3e09
2021-02-10 10:33:23 -08:00
Lev Proleev
afe5f36b93 Merge changes from topic "nnapi_aidl_interface" am: 9b2940dbce
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1580711

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib2ab8486901f54ea9f1e5336629480edf6865e29
2021-02-10 17:09:53 +00:00
Lev Proleev
f9a2287d30 Add utils for AIDL types conversions am: 6b6dfcd439
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1580710

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id9514d770a04596f52a584e4c32b9e9712573fb7
2021-02-10 17:09:50 +00:00
Lev Proleev
6d928349cf Create first version of NNAPI AIDL interface am: bfd12c66e4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1556224

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iae3e7ff8cfecde9162c981da577e4bb9d0a87464
2021-02-10 17:09:48 +00:00
Michael Butler
7a9e26d3bd Add dynamic interface casting to NN utility code am: e5e67024c6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1580709

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7e9d71574acfbcda2ac4018413b67cd9c9a7775f
2021-02-10 17:09:00 +00:00
Lev Proleev
9b2940dbce Merge changes from topic "nnapi_aidl_interface"
* changes:
  Implement VTS tests for NNAPI AIDL interface
  Add utils for AIDL types conversions
  Create first version of NNAPI AIDL interface
  Add dynamic interface casting to NN utility code
2021-02-10 16:45:19 +00:00
Thiébaud Weksteen
fd6c4f5f5d Merge "Document emergency case for setAllowedNetworkTypeBitmap" am: e9fb347e0b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1531900

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I63303d392a4a328dfcc11464d4c95d690811941b
2021-02-10 08:00:42 +00:00
Thiébaud Weksteen
e9fb347e0b Merge "Document emergency case for setAllowedNetworkTypeBitmap" 2021-02-10 07:31:47 +00:00
Mikhail Naganov
5fd0c77caf audio: Allow specifying "default" stream type in V7
Despite that AUDIO_STREAM_DEFAULT value of audio_stream_type_t
should only used by the framework, it can still end up being
passed to the HAL in port configs and offload info structures.
This happens in the cases when the stream type is not actually
used by the HAL. It seems natural to use an empty string
as the value of AudioStreamType field in this case.

Bug: 179743630
Test: atest android.hardware.audio.common@7.0-util_tests
Test: make a telephone call on a device with HAL V7
Change-Id: Ia330031fca9d081627746b4f6074162835c4c54b
2021-02-09 20:41:52 -08:00
Treehugger Robot
21c5d4e07e Merge "OMX VTS: free graphics buffers at the end of test" am: 7e734892c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1552731

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8948da77efa3243c686f4d15699d7e2dcfedf991
2021-02-10 01:26:28 +00:00
Treehugger Robot
7e734892c9 Merge "OMX VTS: free graphics buffers at the end of test" 2021-02-10 01:22:45 +00:00
Janis Danisevskis
68f64d5bac Fix Keymint VTS test after adding CERTIFICATE_* tags am: 164bb878d4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1579254

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I444d8472141dab64ae19a1d1ad1f2bbf74063113
2021-02-10 01:22:05 +00:00