Commit Graph

28218 Commits

Author SHA1 Message Date
Yu-Han Yang
274ea0a7c4 Add GNSS AIDL interfaces (hardware/interfaces)
Bug: 159467682
Test: atest VtsHalGnssTargetTest
Change-Id: I75c5599f2e0698f833e2d36ac53d460f4f0c3bb4
2020-09-25 15:20:07 -07:00
Kevin Chyn
ac378f41fa Merge changes I0b7e7ab3,I92db9b22,I24615333,I7ca0365b
* changes:
  Move lockout callbacks to ISessionCallback
  Finish remainder of documentation.
  Minor API changes and additional documentation for IFingerprint
  Update fingerprint #authenticate interfaces & documentation
2020-09-23 20:24:39 +00:00
Kevin Chyn
ef79d661ba Move lockout callbacks to ISessionCallback
Also fixes backward compatibility for AcquiredInfo and Error
constants.

For lockout-related changes:
1) If a session doesn't exist, it means the framework (or higher)
   doesn't care about its lockout state.
2) This allows the ISession#authenticate lifecycle to be clearer,
   e.g. no need for ILockoutCallback#onLockoutTimed followed by
   ISessionCallback#onError(LOCKOUT)

Bug: 168842956
Bug: 168843220

Test: make -j android.hardware.biometrics.fingerprint-update-api
Test: make -j
Test: make -j VtsHalBiometricsFingerprintTargetTest
Change-Id: I0b7e7ab3b89d0d1d7647535af07766c493a2067b
2020-09-23 11:40:13 -07:00
Kevin Chyn
8b3cd5db21 Finish remainder of documentation.
Note that this doesn't mean documentation is done, it just means that
previously undocumented areas now at least have some documentation.

Bug: 168843220
Test: Builds

Change-Id: I92db9b228d46b3925d3f7ae56698f7c52a0ae1bf
2020-09-23 11:27:01 -07:00
Kevin Chyn
1288c105a7 Minor API changes and additional documentation for IFingerprint
1) Removes vendorCode from onEnrollmentProgress. This is already
   being sent in ISessionCallback#onAcquired
2) Adds missing SessionState::INVALIDATING_AUTHENTICATOR_ID state

Test: make -j56 android.hardware.biometrics.fingerprint-update-api
Test: make -j56 VtsHalBiometricsFingerprintTargetTest
Test: make -j56

Change-Id: I246153339b336c029c9f156868127456aecf1a04
2020-09-23 11:07:59 -07:00
Les Lee
8fa716a72f Merge "wifi: Add access network type support" 2020-09-23 14:02:37 +00:00
Kevin Chyn
64c13a083a Update fingerprint #authenticate interfaces & documentation
1) Split into onAuthenticationSucceeded and onAuthenticaitonFailed.
   No longer need to use "weird behavior" below:
   A) authenticated(id=0) == reject
   B) onEnrolled(id=0) --> previously forbidden
   C) remove(id=0) --> previously magic number to remove all
      enrollments. The new interface has remove(int[] ids).
2) Renames keystoreOperationId to operationId, since keystore
   is only one example of a valid use case. operationId and HATs
   can be used as attestation for any opaque operation.

Bug: 168842956
Bug: 168843220

Test: make -j56 android.hardware.biometrics.fingerprint-update-api
Test: make -j56 VtsHalBiometricsFingerprintTargetTest
Change-Id: I7ca0365be9cf82539d6cabc6d9fcec916badc323
2020-09-23 00:18:55 -07:00
Devin Moore
5152ded395 Merge changes from topic "revert-1433252-revert-1431616-thirtytwo-QKCUUIXLZL-QJYJJALHBY" am: 51dc008bd3 am: 359970caaf am: e30e9d9d67 am: 022d9abfae am: 172c490db6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434354

Change-Id: Ie30e61029ba87e0c0f5cedc18683891502ae5b05
2020-09-22 22:29:32 +00:00
Devin Moore
3a79b5f5b5 Reland "Change HIDL fmq tests to use int32_t for payload" am: 7a26802481 am: 8980ac3b5f am: 99ace1c2f4 am: 7178223c75 am: 599e196d74
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434353

Change-Id: I955ec3bb3fb375f2405519cdd9b02612cceb8959
2020-09-22 22:29:29 +00:00
Devin Moore
172c490db6 Merge changes from topic "revert-1433252-revert-1431616-thirtytwo-QKCUUIXLZL-QJYJJALHBY" am: 51dc008bd3 am: 359970caaf am: e30e9d9d67 am: 022d9abfae
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434354

Change-Id: Id70f2a2b18bce22fbe7602a2ea70da7f78350b77
2020-09-22 22:00:30 +00:00
Devin Moore
599e196d74 Reland "Change HIDL fmq tests to use int32_t for payload" am: 7a26802481 am: 8980ac3b5f am: 99ace1c2f4 am: 7178223c75
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434353

Change-Id: Id8d4e83a58d1147fe1920aba25c26df20b6036e4
2020-09-22 22:00:28 +00:00
Devin Moore
022d9abfae Merge changes from topic "revert-1433252-revert-1431616-thirtytwo-QKCUUIXLZL-QJYJJALHBY" am: 51dc008bd3 am: 359970caaf am: e30e9d9d67
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434354

Change-Id: I3e86b3e9cdd6794882ce4e83a20a801abca8ae70
2020-09-22 21:31:57 +00:00
Devin Moore
7178223c75 Reland "Change HIDL fmq tests to use int32_t for payload" am: 7a26802481 am: 8980ac3b5f am: 99ace1c2f4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434353

Change-Id: Idc5099535d2962e06988c8181e04fce1c401ae30
2020-09-22 21:31:55 +00:00
Devin Moore
e30e9d9d67 Merge changes from topic "revert-1433252-revert-1431616-thirtytwo-QKCUUIXLZL-QJYJJALHBY" am: 51dc008bd3 am: 359970caaf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434354

Change-Id: I210c10e0c63e46ae4cf8c0d16b20c970c9768395
2020-09-22 21:14:39 +00:00
Devin Moore
99ace1c2f4 Reland "Change HIDL fmq tests to use int32_t for payload" am: 7a26802481 am: 8980ac3b5f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434353

Change-Id: I339aa773c01927f7f2d559eb7bd34ce6091b4170
2020-09-22 21:14:37 +00:00
Devin Moore
359970caaf Merge changes from topic "revert-1433252-revert-1431616-thirtytwo-QKCUUIXLZL-QJYJJALHBY" am: 51dc008bd3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434354

Change-Id: I7888a9c5d291d84ff87c248cf45ab49f98fa2987
2020-09-22 20:53:25 +00:00
Devin Moore
8980ac3b5f Reland "Change HIDL fmq tests to use int32_t for payload" am: 7a26802481
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1434353

Change-Id: Ic2ef85618e3cb4bacda1bf98e9516b59b4e80a66
2020-09-22 20:52:57 +00:00
Devin Moore
51dc008bd3 Merge changes from topic "revert-1433252-revert-1431616-thirtytwo-QKCUUIXLZL-QJYJJALHBY"
* changes:
  Reland "Add template parameters to MQDescriptor"
  Reland "Change HIDL fmq tests to use int32_t for payload"
2020-09-22 20:06:31 +00:00
Kevin Chyn
ffcdeb00bc Merge "Start adding documentation for IFingerprint" 2020-09-22 17:37:56 +00:00
Devin Moore
dd61a8901d Reland "Add template parameters to MQDescriptor"
b26628ac32

Bug: 142326204

Change-Id: I78d08f84231ca19905f51b0520ede1b71df34365
2020-09-22 17:33:14 +00:00
Devin Moore
7a26802481 Reland "Change HIDL fmq tests to use int32_t for payload"
9719e2d984

Bug: 142326204

Change-Id: I0914f7612bcd227f9a4cabbe2818de7d9999a3d3
2020-09-22 17:32:22 +00:00
Amy Zhang
f2659f5fb8 Merge "Add API to get the shared memory Audio/Video handle" 2020-09-22 17:17:56 +00:00
lesl
c9d109fe06 wifi: Add access network type support
The access network type can be used to indicate network metered state.
Add access network type support when create access point.

Test: Manual Test, check client scan IE to show correct interworking
value. see: b/137879206#comment14
Test: atest VtsHalWifiHostapdV1_0TargetTest
Test: atest VtsHalWifiHostapdV1_1TargetTest
Test: atest VtsHalWifiHostapdV1_2TargetTest
Bug: 137879206

Change-Id: I74213bd763f865f26781313b00e1b1cfeee93086
2020-09-22 20:46:24 +08:00
Kai Wang
14072bb93b Merge "Add configArray for Gear_Selection in google VHAL" into rvc-qpr-dev am: f10a9af711 am: 551b891e9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12600691

Change-Id: I30b3f8c909568f5c3012481a7bb8cb84b0a190fd
2020-09-22 02:59:23 +00:00
Kai Wang
551b891e9e Merge "Add configArray for Gear_Selection in google VHAL" into rvc-qpr-dev am: f10a9af711
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12600691

Change-Id: I8380ebf6cd987728cc52e8803b4c123b89a204cd
2020-09-22 02:40:01 +00:00
Kai Wang
f10a9af711 Merge "Add configArray for Gear_Selection in google VHAL" into rvc-qpr-dev 2020-09-22 01:50:03 +00:00
Treehugger Robot
00ecfa1284 Merge "remove 4.14 kernels for Android S" am: 2b3810aa3a am: 00d3339fb5 am: 37bd8ef94f am: fb6044b481 am: 77cf6320bd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1431736

Change-Id: I0849a1de4ded0e6030ef1ecd71f9f3af78b9a178
2020-09-22 01:41:23 +00:00
Treehugger Robot
77cf6320bd Merge "remove 4.14 kernels for Android S" am: 2b3810aa3a am: 00d3339fb5 am: 37bd8ef94f am: fb6044b481
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1431736

Change-Id: Ifb7516c414b61d24462036244d110dc5ecf85396
2020-09-22 01:14:55 +00:00
Amy Zhang
976c640464 Add API to get the shared memory Audio/Video handle
In the MediaEvent of AV filters, the AV memory handle is mapped/unmapped on each event.
If the vendor allocates a persistent memory block, and use MediaEvent.offset to access the data,
the mapping change is unnecessary.

To improve this, a new API to get shared AV Memory is introduced.
To pass additional information to Codec2 for AV memory,
the index for Codec2 to setup additional information can be carried in the handle.

Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 162013047
Bug: 157143515
Bug: 156664393
Change-Id: Ibd4471ff8e19b0a99b8bcbc982dc08dbcc92efcf
2020-09-21 17:42:29 -07:00
Treehugger Robot
fb6044b481 Merge "remove 4.14 kernels for Android S" am: 2b3810aa3a am: 00d3339fb5 am: 37bd8ef94f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1431736

Change-Id: I59f2919cbb48b1a6aa9d4c518305b3737c17e7b2
2020-09-22 00:32:29 +00:00
Treehugger Robot
37bd8ef94f Merge "remove 4.14 kernels for Android S" am: 2b3810aa3a am: 00d3339fb5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1431736

Change-Id: I18fd793b278792d3682c8036db7546b7aa1d6e48
2020-09-22 00:06:59 +00:00
Kevin Chyn
571caa6a45 Start adding documentation for IFingerprint
Minor changes to interface:
1) IResetLockoutCallback renamed to ILockoutCallback
2) Removes unnecessary parameter from onChallengeGenerated
3) Adds "challenge" param to revokeChallenge to support multiple
   in-flight challenges

Bug: 168842956
Bug: 168843220

Test: make -j56 android.hardware.biometrics.fingerprint-update-api
Test: make -j
Test: make -j56 VtsHalBiometricsFingerprintTargetTest

Change-Id: If1f63a6d0c135d7b59690a31728b4d3fc8c2d2c4
2020-09-21 17:06:32 -07:00
Yifan Hong
9e56cabcef Merge "Add TV CEC to Q+ compatibility matrices." am: 4b7cc14a88 am: aff3512c24 am: 2206232c05 am: a2f2aeef75 am: 6875cf2a5a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1429914

Change-Id: I31af29c92066f37b14d0fecb5918b151f4f3c711
2020-09-21 23:18:56 +00:00
Treehugger Robot
00d3339fb5 Merge "remove 4.14 kernels for Android S" am: 2b3810aa3a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1431736

Change-Id: Ie2c8d3ac94f3cf3c035cc673030f22367f306fa6
2020-09-21 23:08:45 +00:00
Yifan Hong
6875cf2a5a Merge "Add TV CEC to Q+ compatibility matrices." am: 4b7cc14a88 am: aff3512c24 am: 2206232c05 am: a2f2aeef75
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1429914

Change-Id: I7fca302db32375770507e4c5968a86fef66f0fcb
2020-09-21 22:56:09 +00:00
Yifan Hong
a2f2aeef75 Merge "Add TV CEC to Q+ compatibility matrices." am: 4b7cc14a88 am: aff3512c24 am: 2206232c05
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1429914

Change-Id: I7a06ff8a82e9d076ba42694519058dcffbf48ebc
2020-09-21 22:35:12 +00:00
Treehugger Robot
2b3810aa3a Merge "remove 4.14 kernels for Android S" 2020-09-21 22:33:56 +00:00
Diego Wilson
922b61533c Merge changes from topic "revert-1431616-thirtytwo-QKCUUIXLZL" am: 4737502679 am: 7fe9553d96 am: 786b335242 am: efb41275bd am: 6451cbd7aa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1433255

Change-Id: I4c29004eaa89452a0702e37fa6f3ba47f871542b
2020-09-21 22:17:36 +00:00
Yifan Hong
2206232c05 Merge "Add TV CEC to Q+ compatibility matrices." am: 4b7cc14a88 am: aff3512c24
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1429914

Change-Id: I18c7600050c5ba37e508071f13a5b9cbb9114b53
2020-09-21 21:47:45 +00:00
Diego Wilson
6451cbd7aa Merge changes from topic "revert-1431616-thirtytwo-QKCUUIXLZL" am: 4737502679 am: 7fe9553d96 am: 786b335242 am: efb41275bd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1433255

Change-Id: Ib16b8ee6fe107e63fc054f26992e779e1a56bda9
2020-09-21 21:47:05 +00:00
Diego Wilson
efb41275bd Merge changes from topic "revert-1431616-thirtytwo-QKCUUIXLZL" am: 4737502679 am: 7fe9553d96 am: 786b335242
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1433255

Change-Id: Ibe7289d478056b15263d013310b8ba11a498c751
2020-09-21 21:27:50 +00:00
Yifan Hong
aff3512c24 Merge "Add TV CEC to Q+ compatibility matrices." am: 4b7cc14a88
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1429914

Change-Id: Ia5f5808a6c633403fc8b503e977cddf343434c39
2020-09-21 21:26:24 +00:00
Amy Zhang
83529a402b Merge "IP and CID filtering configuration of IP filter" 2020-09-21 21:18:59 +00:00
Amy Zhang
6dadd0e973 Merge "Extend DVBT Constellation to report the rotation status" 2020-09-21 21:18:05 +00:00
Diego Wilson
786b335242 Merge changes from topic "revert-1431616-thirtytwo-QKCUUIXLZL" am: 4737502679 am: 7fe9553d96
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1433255

Change-Id: I00277fded511292958e0f0cdb45f9b94a989c7db
2020-09-21 21:00:09 +00:00
Steve Muckle
5eb1a2c121 remove 4.14 kernels for Android S
Android S will not support 4.14 on launch devices.

Bug: 168921549
Change-Id: Ia3c3d1481919a9534c84ad41f307742d0d29587e
2020-09-21 13:38:14 -07:00
Yifan Hong
4b7cc14a88 Merge "Add TV CEC to Q+ compatibility matrices." 2020-09-21 20:28:30 +00:00
Diego Wilson
7fe9553d96 Merge changes from topic "revert-1431616-thirtytwo-QKCUUIXLZL" am: 4737502679
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1433255

Change-Id: I498f1856c8d44c8c326b0118f3ebd8cc6483cf2b
2020-09-21 20:03:48 +00:00
Diego Wilson
4737502679 Merge changes from topic "revert-1431616-thirtytwo-QKCUUIXLZL"
* changes:
  Revert "Change HIDL fmq tests to use int32_t for payload"
  Revert "Add template parameters to MQDescriptor"
2020-09-21 19:44:34 +00:00
Diego Wilson
9719e2d984 Revert "Change HIDL fmq tests to use int32_t for payload"
Revert "Change payload type to int32_t for fmq device tests"

Revert submission 1431616-thirtytwo

Reason for revert: This topic broke the aosp_x86-userdebug target. Details at http://b/169077648

Reverted Changes:
If736389eb:Add template parameters to MQDescriptor
Ice9c28c3d:Change HIDL fmq tests to use int32_t for payload
Ia18d8459b:Add template arguments to MQDescriptor for AIDL
I95586cc83:Change payload type to int32_t for fmq device test...

Change-Id: Iaf37a5dca7a915f098e49ecb076c0932eb60e0c3
2020-09-21 19:36:49 +00:00