Commit Graph

28836 Commits

Author SHA1 Message Date
Ytai Ben-Tsvi
f30af28640 Add dependencies to VtsHalAudioTargetTest_defaults
Needed in response to libaudioclient/libaudiofoundation refactor.

Test: Compiles
Change-Id: I57ef815e932a2e775a70c38fb8e3c7cdda06db54
2020-11-18 14:36:45 -08:00
TreeHugger Robot
ba59ee15d6 Merge "Update default face implementation" 2020-11-18 19:15:40 +00:00
Kevin Chyn
d37dae5138 Merge "Remove sensorId, userId from onChallenge*" 2020-11-18 04:06:17 +00:00
Kevin Chyn
cfb5499a45 Update default face implementation
Note that we're configuring this default HAL as "STRONG" so that the
framework can eventually test multi-sensor authenticatorId invalidation

Bug: 173453845
Test: atest CtsBiometricsTestCases
Change-Id: Idd7b74f0a22c5078dc5c2b0b99f62fdc4b51e25d
2020-11-17 17:15:18 -08:00
Kevin Chyn
0d13e044f1 Remove sensorId, userId from onChallenge*
These methods were moved into ISession, but forgot to remove the
sensorId, userId parameters

Bug: 173453845
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.face-service.example
Test: m VtsHalBiometricsFaceTargetTest
Change-Id: I78efd095e0b86f8a8568c8d74d946fd8436f6e65
2020-11-17 15:18:30 -08:00
Karthik Bharadwaj
f51af3b721 Merge "Strip hinge angle sensor when running a 2.1 HAL as 2.0" am: d3e3b877ac am: 6e8d750aa3 am: 40cf1af6fd am: f5572477e4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1498362

Change-Id: I5ba4d5f69b279d5ea59b143c12c2dab073609dc1
2020-11-17 21:24:07 +00:00
Karthik Bharadwaj
f5572477e4 Merge "Strip hinge angle sensor when running a 2.1 HAL as 2.0" am: d3e3b877ac am: 6e8d750aa3 am: 40cf1af6fd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1498362

Change-Id: I5cd3a8b4ca6a05228cb72dbdcbe00bf6721b288f
2020-11-17 20:34:46 +00:00
Karthik Bharadwaj
40cf1af6fd Merge "Strip hinge angle sensor when running a 2.1 HAL as 2.0" am: d3e3b877ac am: 6e8d750aa3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1498362

Change-Id: Ice4f9109d0b85091acf07f9722aefb6332220f72
2020-11-17 20:22:08 +00:00
TreeHugger Robot
8fde7a3fb6 Merge "Add IGnssPowerIndication AIDL HAL (hardware/interfaces)" 2020-11-17 20:12:54 +00:00
Karthik Bharadwaj
6e8d750aa3 Merge "Strip hinge angle sensor when running a 2.1 HAL as 2.0" am: d3e3b877ac
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1498362

Change-Id: I3e2781b95dfe0ca601c0f6fc02ec0eca9c9a56fb
2020-11-17 20:06:24 +00:00
Karthik Bharadwaj
d3e3b877ac Merge "Strip hinge angle sensor when running a 2.1 HAL as 2.0" 2020-11-17 19:28:36 +00:00
Treehugger Robot
9ef650a4c5 Merge "Implement keymint V1 aidl interfaces, service module, and vts tests." am: 0ab081bfa6 am: ce18601982 am: ed6b1b32cb am: e8fd22b6fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1298415

Change-Id: Ie71bd3250c441b39c82a9c62ab0c1f83f748ddc1
2020-11-17 17:51:31 +00:00
Treehugger Robot
e8fd22b6fb Merge "Implement keymint V1 aidl interfaces, service module, and vts tests." am: 0ab081bfa6 am: ce18601982 am: ed6b1b32cb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1298415

Change-Id: I9c8d02fc4cd2d636a329d98357e036e078c600b3
2020-11-17 17:33:06 +00:00
Treehugger Robot
ed6b1b32cb Merge "Implement keymint V1 aidl interfaces, service module, and vts tests." am: 0ab081bfa6 am: ce18601982
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1298415

Change-Id: If9747f424911aa05c3b8732e4eca63bf6a88eee4
2020-11-17 17:10:02 +00:00
Treehugger Robot
ce18601982 Merge "Implement keymint V1 aidl interfaces, service module, and vts tests." am: 0ab081bfa6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1298415

Change-Id: I6649cf14198d4f2ca23ef2d00f94698e4023f281
2020-11-17 16:55:17 +00:00
Treehugger Robot
0ab081bfa6 Merge "Implement keymint V1 aidl interfaces, service module, and vts tests." 2020-11-17 16:13:50 +00:00
Les Lee
edaa1ae116 Merge "wiif: Add AP bridge operations support (AP+AP Part 2)" 2020-11-17 14:12:41 +00:00
Junyu Lai
50e7b1a399 Merge "Refactor 1.0 TetheroffloadControl VTS" am: 628db71ca0 am: 589ee9d105 am: b92013ee46 am: 11f386a21d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1481236

Change-Id: I9864c205d17e62c92cb5509f2f164baa9175ac74
2020-11-17 12:30:39 +00:00
Slava Shklyaev
85d12d470e Merge "Replace nn::NativeHandle with nn::SharedHandle" 2020-11-17 12:28:47 +00:00
Junyu Lai
11f386a21d Merge "Refactor 1.0 TetheroffloadControl VTS" am: 628db71ca0 am: 589ee9d105 am: b92013ee46
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1481236

Change-Id: Ic99d36c421058a39b58c0bc33ac2b36a68bf4576
2020-11-17 11:45:10 +00:00
Junyu Lai
b92013ee46 Merge "Refactor 1.0 TetheroffloadControl VTS" am: 628db71ca0 am: 589ee9d105
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1481236

Change-Id: Id502822354593e3f434b38bde5bf708a2afd53e0
2020-11-17 11:23:57 +00:00
Junyu Lai
589ee9d105 Merge "Refactor 1.0 TetheroffloadControl VTS" am: 628db71ca0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1481236

Change-Id: I602daa593f6efdd902df31c4163f1cfdf7b8ef96
2020-11-17 09:56:24 +00:00
Junyu Lai
628db71ca0 Merge "Refactor 1.0 TetheroffloadControl VTS" 2020-11-17 09:40:05 +00:00
Selene Huang
31ab404a5e Implement keymint V1 aidl interfaces, service module, and vts tests.
Bug: b/160968242
Test: atest VtsHalKeyMintV1_0TargetTest

Change-Id: I5f9d642f96e262dd567d88f4d582e621d168dceb
2020-11-17 01:11:42 -08:00
lesl
c92aa85a6e wiif: Add AP bridge operations support (AP+AP Part 2)
AP+AP Part 2 includes:
1. Support bridge in libwifi_system_iface
2. WifiHal
a. createApIface_1_5 (Support create bridge mode AP)
b. removeApIface_1_5 (Support remove one of the instance in bridge)
3. Framework:
Create bridge AP when multi-bands configured.

Bug: 162686273
Test: Manual Test (SAP enable normally)
Change-Id: I518417add566ce4780a7e2e83af14460e6e8a217
2020-11-17 14:12:01 +08:00
TreeHugger Robot
ba1b4cc839 Merge "VTS: Verify no duplicate entries between partial results" 2020-11-17 05:53:57 +00:00
Michael Butler
52cf99c9e0 [automerger skipped] Implement NNAPI canonical interfaces am: 4b276a767b am: e91a56a78f am: b88715f91f am: ac08b8b27e -s ours
am skip reason: Change-Id Iec6ae739df196b4034ffb35ea76781fd541ffec3 with SHA-1 3670c385c4 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1501391

Change-Id: I7cf7a0aee97522c7682d73546beb7232f873b5ca
2020-11-17 03:23:18 +00:00
Michael Butler
ac08b8b27e Implement NNAPI canonical interfaces am: 4b276a767b am: e91a56a78f am: b88715f91f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1501391

Change-Id: I96d7e0bffa34c0d5ffe1128a8c822bc0bca9a639
2020-11-17 02:40:45 +00:00
Michael Butler
b88715f91f Implement NNAPI canonical interfaces am: 4b276a767b am: e91a56a78f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1501391

Change-Id: I7d9c31e4e9daaa82eaad9b00e71ba486e0b6e46d
2020-11-17 02:24:51 +00:00
Michael Butler
e91a56a78f Implement NNAPI canonical interfaces am: 4b276a767b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1501391

Change-Id: Ia189937db1aa88c591bd0b44465c3c9816e80d82
2020-11-17 02:04:19 +00:00
TreeHugger Robot
cdb9391837 Merge "Changing package for audio_policy_configuration_V7_0" 2020-11-17 00:27:50 +00:00
Amy Zhang
3bcf8d742d Merge "Revert "Add monitor for ip cid change"" 2020-11-16 23:24:14 +00:00
Amy Zhang
d1d3f70fd3 Revert "Add monitor for ip cid change"
This CL will be re-revert once the corresponding JNI and framework CL are ready to commit

This reverts commit b6064e59c7.

Reason for revert: build breakage

Change-Id: I9b1e2493f1bc93393b634d6b841a56c6d0171542
2020-11-16 23:17:35 +00:00
Kevin Chyn
419fd849e6 Merge "Remove HAT from invalidateAuthenticatorId and correct documentation" 2020-11-16 23:08:55 +00:00
Daniel Bright
d46bf8ffa5 Merge "Added pdu session id to setupDataCall" 2020-11-16 22:35:07 +00:00
Michael Butler
4b276a767b Implement NNAPI canonical interfaces
This CL implements the canonical IDevice, IPreparedModel, and IBuffer
interfaces for the 1.0, 1.1, 1.2, and 1.3 NN HIDL HAL interfaces.
Further, it introduces "Resilient" adapter interfaces to automatically
retrieve a handle to a recovered interface object after it has died and
rebooted.

This CL also updates the conversion code from returning nn::Result to
nn::GeneralResult, which includes a ErrorStatus code in the case of an
error.

Finally, this CL introduces a new static library
neuralnetworks_utils_hal_service which consists of a single function
::android::nn::hal::getDevices which can be used by the NNAPI runtime to
retrieve the HIDL services without knowing the underlying HIDL types.

Bug: 160668438
Test: mma
Test: NeuralNetworksTest_static
Change-Id: Iec6ae739df196b4034ffb35ea76781fd541ffec3
Merged-In: Iec6ae739df196b4034ffb35ea76781fd541ffec3
(cherry picked from commit 3670c385c4)
2020-11-16 14:29:55 -08:00
Amy Zhang
947a1f7abb Merge "Add monitor for ip cid change" 2020-11-16 22:06:31 +00:00
Amy Zhang
fd79e632b1 Merge "Add startId in Filter Event to work with filter reconfiguration" 2020-11-16 22:04:41 +00:00
Kevin Chyn
4d0df26150 Remove HAT from invalidateAuthenticatorId and correct documentation
1) Removes HAT param from fingerprint AIDL
2) Update documentation for fingerprint and face AIDL

Fixes: 173432893
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.fingerprint-service.example

Change-Id: I9c5e219c6f7a59609b6ff9d692f5a931f4bcea24
2020-11-16 12:42:40 -08:00
Michael Butler
ab1e0ab946 Merge "Implement NNAPI canonical interfaces" 2020-11-16 19:18:29 +00:00
Shuzhen Wang
6f906c15ab VTS: Verify no duplicate entries between partial results
Partial results are appended together. If there are duplicate entries
between partial results, there will be more than more entries for a tag
in the final result. This can cause undefined behavior, especially when
they have different values.

Test: Run Camera VTS test on Pixel devices
Bug: 170575182
Change-Id: I931660cef16a90ee0c247e3c4513a88adb7211ab
2020-11-16 11:11:59 -08:00
Lais Andrade
a7e50de027 Merge "Introduce IVibratorManager.aidl" 2020-11-16 19:09:09 +00:00
Jordan Jozwiak
f6e8bf9664 Use a better RANGE_REMAINING default am: c9e720b367 am: 7467314b49
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13035487

Change-Id: I68de44bcb0e8985eb45733278f3865fde3ca5dc1
2020-11-16 17:42:08 +00:00
Jordan Jozwiak
7467314b49 Use a better RANGE_REMAINING default am: c9e720b367
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13035487

Change-Id: I7e91e47621ebe318b3f3d135515e2deb52fb9913
2020-11-16 17:21:27 +00:00
Slava Shklyaev
d4290b8bf8 Replace nn::NativeHandle with nn::SharedHandle
Bug: 160669116
Test: mma
Change-Id: I73b2b93aab6cbf37d3c145e15ee9ae45228954f1
2020-11-16 14:42:28 +00:00
Lais Andrade
80b1861b20 Introduce IVibratorManager.aidl
Introduce interface for vibrator manager HAL.

A default implementation is made available to the existing
android.hardware.vibrator-service.example, which now provides a top
level devault IVibrator and a top level IVibratorManager with a
different vibrator in it.

VTS tests were also introduced for the new manager, and existing tests
for IVibrator where changed to run in all top level and managed HAL
instances found on a device.

Bug: 166586119
Test: atest VtsHalVibratorTargetTest
      atest VtsHalVibratorManagerTargetTest
Change-Id: Iec9175167e795bc03c4f3d873e2ac6682ed52512
2020-11-16 14:29:29 +00:00
TreeHugger Robot
9bb4eb0273 Merge changes from topic "USB-GADGET-HAL-v1.2"
* changes:
  Add USB Gadget Hal v1.2 default implementation
  USB Gadget hal v1.2 interface
2020-11-16 10:43:46 +00:00
karthik bharadwaj
c8fd7b31e0 Strip hinge angle sensor when running a 2.1 HAL as 2.0
VTS ensures that  2.0 HALs don't expose the hinge angle sensor,
but the 2.1 HALs must run 2.0 VTS tests. This CL ensures that
we don't expose the hinge angle sensor on the 2.0 HAL, to avoid
failing those VTS tests.

Bug: 173135479
Test: run vts -a x86 -m VtsHalSensorsV2_0TargetTest
Change-Id: I944bfb0b01be0831e45cfd3d6ed7dab6770d1b80
2020-11-16 05:21:25 +00:00
Michael Butler
3670c385c4 Implement NNAPI canonical interfaces
This CL implements the canonical IDevice, IPreparedModel, and IBuffer
interfaces for the 1.0, 1.1, 1.2, and 1.3 NN HIDL HAL interfaces.
Further, it introduces "Resilient" adapter interfaces to automatically
retrieve a handle to a recovered interface object after it has died and
rebooted.

This CL also updates the conversion code from returning nn::Result to
nn::GeneralResult, which includes a ErrorStatus code in the case of an
error.

Finally, this CL introduces a new static library
neuralnetworks_utils_hal_service which consists of a single function
::android::nn::hal::getDevices which can be used by the NNAPI runtime to
retrieve the HIDL services without knowing the underlying HIDL types.

Bug: 160668438
Test: mma
Test: NeuralNetworksTest_static
Change-Id: Iec6ae739df196b4034ffb35ea76781fd541ffec3
2020-11-14 16:21:04 -08:00
Daniel Bright
7674b03f38 Added pdu session id to setupDataCall
The pdu session id needs to be passed to setup data call on handover

Test: Tested that handover still worked with logs.  IWlan -> Cell + Cell -> IWlan
Bug: 161572859
Change-Id: I0e11c8997674cdaad4bb82491d818ca85ee197d1
2020-11-14 16:04:49 -08:00