Commit Graph

27118 Commits

Author SHA1 Message Date
Andy Hung
2b652acb2c Merge "audio: add implementation for TV related API" am: 8e8fd18d8f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1562146

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iba2f76be0dabc7213ed805ac14a75582bd01b792
2021-01-28 18:20:34 +00:00
Andy Hung
8e8fd18d8f Merge "audio: add implementation for TV related API" 2021-01-28 18:03:34 +00:00
Kuowei Li
b2d3eaeb3f audio: add implementation for TV related API
1. AudioDescriptionMixLevel getter/setter.
2. DualMonoMode getter/setter.
3. PlaybackRate getter/setter.

Test: TIS player with instrumented HAL
Test: atest AudioTrackTest#testTunerConfiguration
Test: atest AudioTrackTest#testDualMonoMode
Test: atest AudioTrackTest#testAudioDescriptionMixLevel
Test: atest AudioManagerTest#testGetAdditionalOutputDeviceDelay
Bug: 173482792
Merged-In: I7e4f14387b45a5387ba2c4e8797edf18f373b936
Change-Id: I7e4f14387b45a5387ba2c4e8797edf18f373b936
2021-01-27 19:22:01 -08:00
Treehugger Robot
77b885d86e Merge "Turn aidl_format on" am: fa4fd90392
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1555877

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9b62210d627b4b0dba563c909c6abddb7fdf9b46
2021-01-28 02:40:01 +00:00
Treehugger Robot
fa4fd90392 Merge "Turn aidl_format on" 2021-01-28 02:19:57 +00:00
Daniel Bright
af709809e3 Merge "Add S-NSSAI" am: 31f2eb3791
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1559181

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1441c19bf803ca0ba2b49d19679037328246dc65
2021-01-27 19:03:39 +00:00
Daniel Bright
31f2eb3791 Merge "Add S-NSSAI" 2021-01-27 18:48:54 +00:00
Janis Danisevskis
eee4345d92 SecureClock/SharedSecret: Add owners files. am: 08ca885240
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1561255

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idaaade551ccdc9f20b5e6581d5d4f2a2dc082a22
2021-01-27 03:49:57 +00:00
Janis Danisevskis
08ca885240 SecureClock/SharedSecret: Add owners files.
Test: N/A
Change-Id: Ie9a210d9ffb476168b0df55cacd261711adfcb1f
2021-01-26 16:33:21 -08:00
Bo Hu
0af76f22c6 Merge "drm: allow to build on 64bit only guest" am: 82ae7eb4b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1560105

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib159e5791a064244b7e0b486f94faff2d11d2922
2021-01-26 23:40:26 +00:00
Bo Hu
82ae7eb4b5 Merge "drm: allow to build on 64bit only guest" 2021-01-26 23:35:30 +00:00
Treehugger Robot
e54d360a8a Merge "Add limited use keys related tag into KeyMint aidl. And add vts test to verify the tag appears in the key characteristics. also if the tag is enforced in the hardware, afer the usage of the key is exhausted, the key blob should be invalidated from the secure storage (such as RPMB partition)." am: 0d59cbdb1d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1512636

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3fb3e0ed988ccb9fa02735e5cfd695c0b479a8a3
2021-01-26 23:27:54 +00:00
Treehugger Robot
0d59cbdb1d Merge "Add limited use keys related tag into KeyMint aidl. And add vts test to verify the tag appears in the key characteristics. also if the tag is enforced in the hardware, afer the usage of the key is exhausted, the key blob should be invalidated from the secure storage (such as RPMB partition)." 2021-01-26 23:05:51 +00:00
Daniel Bright
8e3a2bfdcd Add S-NSSAI
* Added support for S-NSSAI within HAL
* Created struct SliceInfo that represents a S-NSSAI as defined
  in 3GPP TS 24.501.
* Added slice info to setupDataCall and SetupDataCallResult

Bug: 169960538
Test: made ims phone call
Change-Id: I8d2c55bece07c599cb7d1ac0d16ad85c0acdeae5
Merged-In: I8d2c55bece07c599cb7d1ac0d16ad85c0acdeae5
2021-01-26 14:29:28 -08:00
David Zeuthen
30f799ff0e Merge "KeyMint: Add support for key agreement operation and use it for ECDH." am: df543ea006
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1544544

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib072252b151de1ee3e144b161f08453fe36f6443
2021-01-26 22:26:41 +00:00
David Zeuthen
df543ea006 Merge "KeyMint: Add support for key agreement operation and use it for ECDH." 2021-01-26 22:05:24 +00:00
Treehugger Robot
713f6fb002 Merge "libaidlcommonsupport_test: static libs" am: dd2f6251c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1559999

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idd86bfd74cdd5f0c08b25d766189659d508de72b
2021-01-26 21:39:01 +00:00
Treehugger Robot
dd2f6251c9 Merge "libaidlcommonsupport_test: static libs" 2021-01-26 21:01:04 +00:00
Steven Moreland
2ca1e9ad88 libaidlcommonsupport_test: static libs
In case devices don't have them.

I've also changed the version of these libraries which are used to be
explicit.

Fixes: 178483563
Test: libaidlcommonsupport_test
Change-Id: I4ebbbc84f8cb383b99d1e9a1ecc5ad6b28b8549e
2021-01-26 19:37:22 +00:00
Mikhail Naganov
7efe601b35 Merge "Add AUDIO_FORMAT_MAT to the list of formats in XSD" am: 84be95b671
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1558868

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I601029ce5af0be0da0e65c27d7bbfa0db350ae0d
2021-01-26 19:02:57 +00:00
Mikhail Naganov
84be95b671 Merge "Add AUDIO_FORMAT_MAT to the list of formats in XSD" 2021-01-26 18:57:25 +00:00
Treehugger Robot
d48676ea08 Merge "Update Memtrack HAL VTS Requirements" am: 251efb3fe4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1556748

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iabef7e0c56b01754835c1820cf6093245c366298
2021-01-26 18:52:17 +00:00
Treehugger Robot
251efb3fe4 Merge "Update Memtrack HAL VTS Requirements" 2021-01-26 18:39:57 +00:00
David Zeuthen
e0c4089f06 KeyMint: Add support for key agreement operation and use it for ECDH.
Test: VtsAidlKeyMintTargetTest
Bug: 171847641
Change-Id: Id9dc0ee3c69d9c2421ce7b0f228580a90411169e
2021-01-26 12:09:17 -05:00
Kalesh Singh
11fdc97211 Update Memtrack HAL VTS Requirements
Only devices with 5.10 or later kernel are required to
implement getGpuDeviceInfo().

At least one non-empty device name must be returned by
getGpuDeviceInfo().

Test: atest VtsHalMemtrackTargetTest
Bug: 176477627
Change-Id: I8c7121f4bed0e674407a22f0a772e95475243568
2021-01-26 11:22:27 -05:00
David Zeuthen
409331de91 Merge "Identity Credential changes for Android 12" am: ef90842503
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1464242

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4d784db01bae8fe694902e6c227c471806e2ab7f
2021-01-26 15:40:03 +00:00
David Zeuthen
ef90842503 Merge "Identity Credential changes for Android 12" 2021-01-26 14:50:27 +00:00
Peter Collingbourne
273d2dd6e7 Merge "Import wifi_channel_stat into legacy_hal namespace." am: 9883e2fc46
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1559106

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I206fc423d3c42a17818a6963d1095d565a175429
2021-01-26 06:40:26 +00:00
Peter Collingbourne
9883e2fc46 Merge "Import wifi_channel_stat into legacy_hal namespace." 2021-01-26 06:04:41 +00:00
bohu
17b4bcfcfa drm: allow to build on 64bit only guest
Change-Id: If13e87b61c8e5efa447f494ff527478cf97175ff
2021-01-25 21:51:00 -08:00
Janis Danisevskis
fc20ddde1a Keymint/secureclock: Add Rust derives to some of the types. am: 6bb888fecf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1548082

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If1f84e4a09fbdc7a841a3f96a9a7450fac8eb34f
2021-01-25 21:35:30 +00:00
Devin Moore
689e51eb68 Merge "Use NativeHandle in MQDescriptor instead of ParcelFileDescriptor" am: 1f00c21c28
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1556319

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8db6eb1f7b7d85791719f399897baf231f8d8871
2021-01-25 19:11:59 +00:00
Janis Danisevskis
6bb888fecf Keymint/secureclock: Add Rust derives to some of the types.
This adds rust derive stanzas to TimeStamp, TimeStampToken, and
HardwareAuthToken.

Also removes an unused import from IKeyMintDevice.

Test: Compiles.
Change-Id: If41248f5cda8015ecb07bec5d1bc75317b803492
2021-01-25 10:51:54 -08:00
Devin Moore
1f00c21c28 Merge "Use NativeHandle in MQDescriptor instead of ParcelFileDescriptor" 2021-01-25 18:20:54 +00:00
Peter Collingbourne
0c4836f418 Import wifi_channel_stat into legacy_hal namespace.
Fixes android.hardware.wifi@1.0-service-tests build failure.

Change-Id: I067106c4db8a9c9c358ec287409cc1b93c50c926
2021-01-25 10:19:51 -08:00
Treehugger Robot
d3840e5d84 Merge "Instead of including wifi_hal.h in the legacy_hal namespace, import the types." am: ec203cf2fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1535575

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I831ed34a2d02a87bfc17d1460458a57363bcd381
2021-01-25 17:17:20 +00:00
Treehugger Robot
ec203cf2fb Merge "Instead of including wifi_hal.h in the legacy_hal namespace, import the types." 2021-01-25 16:46:20 +00:00
David Zeuthen
49f2d2558a Identity Credential changes for Android 12
- Add IIdentityCredential.deleteCredentialWithChallenge()
- Deprecate IIdentityCredential.deleteCredential()
- Add IIdentityCredential.proveOwership()
- Add IIdentityCredential.updateCredential()
- Add ProofOfBinding CBOR to AuthenticationKey X.509 certificate
- Document which API versions new methods/features appeared in.
- Mention need to declare android.hardware.identity_credential system
  feature (w/ feature version number) and do this for the default
  implementation.

Bug: 170146643
Test: atest VtsHalIdentityTargetTest
Change-Id: Ib47c7caa5f3d6fff6919f019eee44a735dba9cf8
2021-01-23 13:35:57 -05:00
Mikhail Naganov
d338aebc38 Add AUDIO_FORMAT_MAT to the list of formats in XSD
This format is known to the framework since Android Q, and its lack
from the XSD was an issue, which only got fixed in
Audio HAL V7.

Bug: 176536594
Test: atest VtsHalAudioV5_0Target
Change-Id: I32ccb926b5ad9202a5a6329d7069db37563ff45b
2021-01-22 23:12:36 +00:00
Xusong Wang
1523e7711b Merge "Increase NNAPI VTS single-test timeout to 20m." am: eafa06164d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1526466

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I03e5f6552c9e7628373bd6f5c37c73b767da2609
2021-01-22 21:56:50 +00:00
Devin Moore
17365e56a2 Use NativeHandle in MQDescriptor instead of ParcelFileDescriptor
android.hardware.common.fmq.MQDescriptor needs to handle multiple file
descriptors, so changing from ParcelFileDescriptor to
android.hardware.common.NativeHandle.
android.hardware.common.fmq.GrantorDescriptor needs to keep track of the
fdIndex as well.

Bug: 176912570
Test: atest fmq_unit_tests fmq_test

Change-Id: I15f2393e6c420ae5394322b28c4523fa80f7dcc7
2021-01-22 13:30:19 -08:00
Xusong Wang
eafa06164d Merge "Increase NNAPI VTS single-test timeout to 20m." 2021-01-22 21:20:57 +00:00
Daniel Bright
dd0854be90 Merge "Introduce Radio Hal Device Capabilities" am: 64f69904ff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1522564

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8045f781225ec07d641fa3e1ecb24fa9532bfd6c
2021-01-22 20:10:03 +00:00
Daniel Bright
64f69904ff Merge "Introduce Radio Hal Device Capabilities" 2021-01-22 19:08:21 +00:00
Qi Wu
d22ec8418b Add limited use keys related tag into KeyMint aidl.
And add vts test to verify the tag appears in the key characteristics.
also if the tag is enforced in the hardware, afer the usage of the key
is exhausted, the key blob should be invalidated from the secure storage
(such as RPMB partition).

Bug: b/174140443
Test: atest VtsHalKeyMintV1_0TargetTest

Change-Id: Ic65b855c5a8692ab8d1281dd46562ad0844ab1b0
2021-01-22 15:58:52 +08:00
ChengYou Ho
40c6d690ce Add weaver aidl interface am: 10f8a48b64
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1554019

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I96be32dfead561e6eb8cc90831b219b5664faf75
2021-01-22 06:53:38 +00:00
ChengYou Ho
10f8a48b64 Add weaver aidl interface
Bug: 176107318
Change-Id: I4dd064843e3e630b878ff08f89100e1b4303a02c
2021-01-22 06:34:31 +00:00
Amos Bianchi
50c991306d Merge "Rename interface method name." am: 0bc3543c86
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1555817

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I92bf93780cb1b70381fce0939d0350b1ec62d6d0
2021-01-22 01:47:40 +00:00
Amos Bianchi
0bc3543c86 Merge "Rename interface method name." 2021-01-22 01:26:46 +00:00
Yifan Hong
0088b167ad Merge "Remove health 1.0 IHealth." am: ddb407f12e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1554270

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I15f26f660499e8bdeea8961f85326c6d7102f0a3
2021-01-21 23:27:26 +00:00