Commit Graph

28799 Commits

Author SHA1 Message Date
Daniel Bright
3529f26b3b Introduce Radio Hal Device Capabilities
* Asks the device what set of capabilities are supported on the device
  with respect to the Radio Hal
* The capabilities struct is left empty and will be filled
  in once the first set of radio hal capabilities are nailed down later
  in Android S

Test: Added cts, ran cts, and std tests
Bug: 163085807
Change-Id: I867f26bc649005e89ebf7a0b74f6fbeb2f44ac93
2020-11-17 16:59:46 -08: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
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
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
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
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
Treehugger Robot
f4c82a843f Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" am: f19e282226 am: c9f4cc376d am: 119d863efa am: bfcb424813
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497700

Change-Id: Ie68f4455a82435d73f47af315237713e6c10511f
2020-11-14 07:29:53 +00:00
Treehugger Robot
bfcb424813 Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" am: f19e282226 am: c9f4cc376d am: 119d863efa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497700

Change-Id: Ica406a4de8dfb04c093d3227a71e860e8727e720
2020-11-14 07:18:37 +00:00
Treehugger Robot
119d863efa Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" am: f19e282226 am: c9f4cc376d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497700

Change-Id: I2d5be618227828a815867144c1e29c826ba3c2ab
2020-11-14 07:04:59 +00:00
Treehugger Robot
c9f4cc376d Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" am: f19e282226
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497700

Change-Id: I694d4cd21dcfd79ea5fdc1993efb7df59178c03c
2020-11-14 06:44:04 +00:00
Treehugger Robot
f19e282226 Merge "supplicant(vts): Skip p2p tests on non-p2p devices as intended" 2020-11-14 06:14:29 +00:00
TreeHugger Robot
357a2d4084 Merge "Allow setting new values for mock speed and bearing in GNSS HAL" 2020-11-14 04:00:06 +00:00
Treehugger Robot
29368c06d3 Merge "Camera: Expect physical results in the last partial notification" am: cecee13161 am: f026f3e5fe am: 5bb754093a am: 3ee6110e35
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1435036

Change-Id: I8dcaf8ccfc584c2ba6a53fee3eff06d8f1b6f80a
2020-11-13 21:52:52 +00:00
Treehugger Robot
3ee6110e35 Merge "Camera: Expect physical results in the last partial notification" am: cecee13161 am: f026f3e5fe am: 5bb754093a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1435036

Change-Id: Id31aef9259e8a30fb77bd22bd2bd9f8afddc726e
2020-11-13 21:41:14 +00:00
Amy Zhang
b6064e59c7 Add monitor for ip cid change
Previously we added scrambling status monitoring.
Now we are merging the configuration of these two monitoring into one.
They are going through the same interface by configuring Filter Event Monitoring Type.

Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 153595125
Change-Id: I5fcd0d4dff55453023a730caa36995f13f074a8f
2020-11-13 13:30:09 -08:00
Treehugger Robot
5bb754093a Merge "Camera: Expect physical results in the last partial notification" am: cecee13161 am: f026f3e5fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1435036

Change-Id: I0f6bc521094e2643c8f309bc13122f498879ae8c
2020-11-13 21:28:30 +00:00
Treehugger Robot
f026f3e5fe Merge "Camera: Expect physical results in the last partial notification" am: cecee13161
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1435036

Change-Id: I18791e18ce567404c19b3872426179a8ee6b2a7e
2020-11-13 21:08:37 +00:00
Treehugger Robot
cecee13161 Merge "Camera: Expect physical results in the last partial notification" 2020-11-13 20:45:34 +00:00
Enrico Granata
72a47a2e5a Allow setting new values for mock speed and bearing in GNSS HAL
Bug: None
Test: lshal debug android.hardware.gnss@2.1::IGnss/default location bea=30 spd=40
      on Cuttlefish instance
Change-Id: Ib954ba44720627e54e69aa29b0a744f203a65704
2020-11-13 12:52:51 -07:00
Roshan Pius
5c9ad33f9a Merge "wifi(hal): Use debug property to select one of preset HAL iface combination" 2020-11-13 19:32:16 +00:00
TreeHugger Robot
c64fb701f9 Merge "Add GNSS AIDL HAL VTS to presubmit checks" 2020-11-13 18:39:15 +00:00
Karthik Bharadwaj
6b08578192 Merge "Fix VTS SensorsHidl Test Failures" am: 98e36a4ca8 am: fadbaf00f9 am: 5e00533a44 am: 3453a4d198
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1493936

Change-Id: I0b1b07e66de8a8a0ce42ca8236d43f034ee46d8e
2020-11-13 08:55:49 +00:00
Karthik Bharadwaj
3453a4d198 Merge "Fix VTS SensorsHidl Test Failures" am: 98e36a4ca8 am: fadbaf00f9 am: 5e00533a44
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1493936

Change-Id: Ic894f642521adfa860ffed50b55521cf6215c727
2020-11-13 08:25:16 +00:00
Karthik Bharadwaj
5e00533a44 Merge "Fix VTS SensorsHidl Test Failures" am: 98e36a4ca8 am: fadbaf00f9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1493936

Change-Id: I23bcdec4e97c8a782d4658c956e6b06842c66191
2020-11-13 08:06:53 +00:00
Karthik Bharadwaj
fadbaf00f9 Merge "Fix VTS SensorsHidl Test Failures" am: 98e36a4ca8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1493936

Change-Id: Ic10dcdddf13819ce09cdfc916534cbca8d55baa5
2020-11-13 07:42:53 +00:00
Karthik Bharadwaj
98e36a4ca8 Merge "Fix VTS SensorsHidl Test Failures" 2020-11-13 06:47:17 +00:00
Roshan Pius
2272ff8942 wifi(hal): Use debug property to select one of preset HAL iface combination
This will be useful for testing/debugging STA + STA & AP + AP feature.

Note: I originally planned to read the entire iface combination from the
property (i.e would be much more flexible), but that is way too complex
and error prone. So, instead pre-define some combinations that we would
want to switch between and use the property as an index.

Bug: 173044646
Test: Manual:
i) adb shell "/vendor/bin/sh -c '/vendor/bin/setprop
persist.vendor.debug.wifi.hal.preset_interface_combination_idx 0'"
ii) adb reboot
iii) Ensure that AP + AP was enabled.

Change-Id: Iea63835c39fce78307a056a5ed94efcbd35cdfb6
2020-11-12 19:06:12 -08:00
Amy Zhang
ff82d7ca94 Add startId in Filter Event to work with filter reconfiguration
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 172593389
Change-Id: I77e45366b737068aa0aa20c2b384f2e3160c7398
2020-11-12 17:41:39 -08:00
Karthik Bharadwaj
534d9358af Fix VTS SensorsHidl Test Failures
This CL fixes test failures by:
- Remove the deprecated 'Device Temperature' sensor from
the sensor list
- Ignoring the deprecated 'Device Temperature' sensor type
for tests
- Only accessing shared memory buffer if the shared memory
type is supported
- Return a default z-axis data value for the accel sensor type.
- Update the batch() functions argument to take an int64 timestamp
to adhere to the interface

Bug: 171940270
Test: run vts -a x86 -m VtsHalSensorsV2_0TargetTest
Change-Id: I88fe8746030f42edd620f9891aa44bc228a73426
2020-11-13 00:19:24 +00:00
Sooraj Sasindran
52d9d086fd [automerger skipped] Provide secondary link capacity estimation am: 43e5220d23 am: 4c673e1005 am: ce39416615 am: fd121bdea2 -s ours
am skip reason: Change-Id I371f1f8ad820f8b20c972c3310ebe82b3790a577 with SHA-1 1162d8e903 is in history

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

Change-Id: I0197993c1bef95208ce745de3b1afc0734b99dfe
2020-11-12 23:33:13 +00:00
Sooraj Sasindran
037a4da009 [automerger skipped] Rename enableNrDualConnectivity am: e9525fdd5f am: 62b012621e am: 076111b91a am: d6782b4678 -s ours
am skip reason: Change-Id Ie8722b82cd235557c47528c2529cbc177e025135 with SHA-1 56d4de8e73 is in history

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

Change-Id: I2399853d71e10150f9718297192feaf30750fb2c
2020-11-12 23:33:10 +00:00
Sooraj Sasindran
fd121bdea2 Provide secondary link capacity estimation am: 43e5220d23 am: 4c673e1005 am: ce39416615
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1490699

Change-Id: Ic5734cfed1e798a159438a841ca6848377e5ddb7
2020-11-12 23:20:30 +00:00
Sooraj Sasindran
d6782b4678 Rename enableNrDualConnectivity am: e9525fdd5f am: 62b012621e am: 076111b91a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497160

Change-Id: I600b70833196e2d0b52fc6819da769895d9f4d06
2020-11-12 23:20:28 +00:00
Jerry Wong
a0e13d6060 supplicant(vts): Skip p2p tests on non-p2p devices as intended
The logic to skip the p2p tests on non-p2p devices appear to have
inadventently flipped since d6436731.

Bug: 173134041
Test: atest VtsHalWifiSupplicantV1_1TargetTest
Change-Id: I7945950e8483241e47e308a2c5ad97571d74a769
2020-11-12 15:01:24 -08:00
Sooraj Sasindran
ce39416615 Provide secondary link capacity estimation am: 43e5220d23 am: 4c673e1005
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1490699

Change-Id: I1da74b1287ae942401ea038a7e9a1cb12694f3e5
2020-11-12 22:46:06 +00:00
Sooraj Sasindran
076111b91a Rename enableNrDualConnectivity am: e9525fdd5f am: 62b012621e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497160

Change-Id: I0bac9b52d7c26e2debf4ceb0698f5bbe8c612d02
2020-11-12 22:46:04 +00:00
Sooraj Sasindran
4c673e1005 Provide secondary link capacity estimation am: 43e5220d23
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1490699

Change-Id: Ia6a98233666c73eff622253b1b3d124718219662
2020-11-12 22:11:31 +00:00
Sooraj Sasindran
62b012621e Rename enableNrDualConnectivity am: e9525fdd5f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1497160

Change-Id: Id42e90d10fc836bdccb316b91753b8a7cacb701d
2020-11-12 22:10:41 +00:00
Jordan Jozwiak
c9e720b367 Use a better RANGE_REMAINING default
Test: adb shell cmd car_service get-property-value | grep 0x11600308
Bug: 173114224
Change-Id: Ice9a53b57e79a0166602249b5be9e3bcb03371ec
2020-11-12 21:19:28 +00:00
Yu-Han Yang
68dc40f111 Add GNSS AIDL HAL VTS to presubmit checks
Bug: 171821213
Test: on cuttlefish
Change-Id: I0375976671a3556c0ee4a847dcdf88e7cd25c76f
2020-11-12 13:14:46 -08:00