Commit Graph

234 Commits

Author SHA1 Message Date
TreeHugger Robot
70d0e89dcd Merge changes from topic "contexthub_hal_1_2"
* changes:
  Add VTS tests for Context Hub HAL 1.2
  Adds default (mock) Context Hub HAL 1.2 impl
  Adds Context Hub HAL v1.2
2020-10-08 22:15:32 +00:00
Arthur Ishiguro
d06c45e008 Add VTS tests for Context Hub HAL 1.2
Also updates the compatibility matrix.

Bug: 166845383
Test: Run test on device with HAL 1.2 implemented, verify pass

Change-Id: Iac53e755cfa38fbd1322421279475de76b4bb572
2020-10-07 13:50:11 -07:00
Benjamin Schwartz
6708bf6ae5 Merge "power/stats: Rename PowerStats HAL" 2020-10-07 19:27:16 +00:00
Benjamin Schwartz
71c6f8ba6f power/stats: Rename PowerStats HAL
Bug: 169864180
Test: m
Change-Id: I6abacd82d9bcbc5957dcad891ae5c742bc307316
2020-10-06 09:20:21 -07:00
Roshan Pius
854acd7c7d wifi: Deprecate older versions of wifi HAL
Various wifi protocol MAC randomizations are mandatory in Android 11.
So, deprecate older versions of wifi HAL which don't support the
corresponding API's.

Bug: 169201652
Test: Compiles
Change-Id: I20f5b3665650c86fc0f976c544194f87157e6b90
2020-10-02 13:47:07 -07:00
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
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
Yifan Hong
ccf77dc5b7 Add TV CEC to Q+ compatibility matrices.
No requirement has changed because TV HALs are optional.

Also remove TV CEC and tuner from fcm_exclude list.
Bug: 110261831
Test: m check-vintf-all

Change-Id: Ia41575f97d9e81fcc4279d8b274e626a33fc9c60
2020-09-17 12:21:37 -07:00
Yifan Hong
6446c735a6 Add audio V7 to compatility matrix.
All HIDL HALs defined in the source tree must be specified
in some framework compatibility matrix.

Bug: 110261831
Test: builds
Change-Id: I98a0798cc08761e8aa6a9ca920c67aa6f8155de4
2020-09-15 20:46:36 +00:00
Ilya Matyukhin
ed361970c6 Define IFingerprint
Bug: 152416783
Test: m android.hardware.biometrics.fingerprint-update-api
Change-Id: Iba1fae1739366955b6aaed55b59eed0a3fed5a57
2020-09-10 19:38:49 -07:00
Yifan Hong
1da23f2c85 Add fingerprint 2.3 to compatibility matrix.
Test: builds
Bug: 110261831
Change-Id: Ia732a450685ddca53a087e443e121ae47e9e1bf0
2020-09-11 02:30:13 +00:00
Xin Li
36dcf1a404 Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: I6502829205ede2de914b27e6c2c5c42916af2b39
Change-Id: I7cb06511e43bd1fffd5f80a11dbdf5b1314cfe8e
2020-08-28 13:05:04 -07:00
Benjamin Schwartz
ea68502f12 Create Power Stats AIDL interface
Bug: 162472196
Test: m
Change-Id: I225135c24cc713da085ff7238c1b0695e8ab93ed
2020-08-19 12:37:26 -07:00
Les Lee
d4d6796bf5 Merge "wifi: Upgrade hostapd HIDL to 1.3" 2020-08-10 01:29:30 +00:00
Jimmy Chen
1913fdbf3e wifi: uprev supplicant interface to 1.4
Bug: 162901316
Test: atest VtsHalWifiSupplicantV1_0TargetTest \
            VtsHalWifiSupplicantP2pV1_0TargetTest \
            VtsHalWifiSupplicantV1_1TargetTest \
            VtsHalWifiSupplicantV1_2TargetTest \
            VtsHalWifiSupplicantP2pV1_2TargetTest \
            VtsHalWifiSupplicantV1_3TargetTest
Change-Id: Ic6292bb27e234f76013a341e62652dedf55f8490
2020-08-07 15:29:57 +08:00
lesl
df75bc1dfb wifi: Upgrade hostapd HIDL to 1.3
1. Upgrade hostapd HIDL to 1.3
2. Add new callback register in 1.3
3. Update 1.1 vts to ignore register callback test
4. Add Wifi generation define.
sinca 1.3 support the new callback

Test: Manuel Test. Hotspot works normally.
Test: atest VtsHalWifiHostapdV1_0TargetTest
Test: atest VtsHalWifiHostapdV1_1TargetTest
Test: atest VtsHalWifiHostapdV1_2TargetTest
Bug: 151189102
Change-Id: I21b81ce21b8bd22b4ffe70c9b69d36810b1f925f
2020-08-05 11:41:36 +08:00
Amy Zhang
4bf42941ba Merge changes from topic "Tuner_1.1"
* changes:
  Add VTS of Tuner HAL 1.1
  Add default implementation of Tuner HAL 1.1
  Enable Tuner HAL 1.1 interface
2020-07-24 18:59:52 +00:00
Jayachandran Chinnakkannu
57a7b5d484 Merge "Create IRadio 1.6 folder, empty files and VTS framework" am: ea1a77442f am: c7bcb04a04 am: 63b0e0e7d7 am: a8b5bf1f37 am: e717aac795
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1371046

Change-Id: I885c98b60ccd7e0bfef1e9be883604701a02862b
2020-07-24 02:42:54 +00:00
Jayachandran Chinnakkannu
63b0e0e7d7 Merge "Create IRadio 1.6 folder, empty files and VTS framework" am: ea1a77442f am: c7bcb04a04
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1371046

Change-Id: I7c49b37150701134d851732d410af40695adc7bd
2020-07-24 01:55:47 +00:00
Jayachandran C
262b606c1b Create IRadio 1.6 folder, empty files and VTS framework
Bug: 158315614
Test: build
Change-Id: I5d7f7205933ea1b0e4bd70fa6ae006dacb67954f
2020-07-23 11:10:16 -07:00
Amy Zhang
3ab6e1fbbf Enable Tuner HAL 1.1 interface
The first feature to support in this new Tuner HAL is the 64-bit id.
In the current CL, we support Demux and Filter ids in 64-bit format.
More component ids will be suppored in 64-bit in the following CLs.

Test: atest VtsHalTvTunerV1_1TargetTest
Bug: b/159058358
Change-Id: If05eb9f0cd76935064b2e51ff3ff1a3a477e3bd1
2020-07-21 22:42:50 -07:00
Jimmy Chen
d460df3f3b wifi: upgrade wifi interface to 1.5
Only a root interface is added and update relevant code.

Bug: 160834354
Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \
            VtsHalWifiV1_1TargetTest \
            VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \
            VtsHalWifiV1_3TargetTest \
            VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest
Change-Id: Ifdffa3a6996eca1d3c4b499258896cdfe5eb9c87
2020-07-22 13:20:39 +08:00
Yu-Han Yang
3fcb7bf3fe Add GNSS HAL v3.0 (hardware/interfaces)
Bug: 158518085

Test: atest VtsHalGnssV3_0TargetTest
      atest VtsHalGnssV2_1TargetTest
      atest VtsHalGnssV2_0TargetTest
      atest VtsHalGnssV1_1TargetTest
      atest VtsHalGnssV1_0TargetTest

Change-Id: Id4ac1e31207da7cfff3f1885c84748785bec19ba
2020-06-19 12:14:01 -07:00
Ilya Matyukhin
70cf06e1c6 Add biometrics.fingerprint@2.2 to the current matrix
This HIDL was added to compatibility_matrix.5 in
I209db8a74665df98b4923cbfa11b2b2c9d6dabfa

Bug: 153012763
Test: build blueline-userdebug
Change-Id: I360c192992b63967c76227d6c47e9a52662aeae7
2020-04-21 22:53:36 +00:00
Hayden Gomes
0d6bfdc73f Adding IAudioControl@2.0 to current compatibility matrix
- Already added to compatibility_matrix.5.xml in change-id
I9673e35f2f9e667b66e1b9fbfa2fb13b975b7cb1

Bug: 148178269
Test: built target using V2 of IAudioControl
Change-Id: I7a49da8823d2c5f07a1abd3bbb177d9885a65cb0
2020-03-31 00:33:25 +00:00
Steven Moreland
15f9a1bd19 Drop configstore@1.1 from compatibility_matrix. am: b2b01a5793 am: 89b5b2a764
Change-Id: I10ae081ce1cc72e9f373c0bc31aad5297b59e5e9
2020-03-30 21:13:49 +00:00
Steven Moreland
b2b01a5793 Drop configstore@1.1 from compatibility_matrix.
configstore usage was replaced with sysprop usage
e.g. ro.surface_flinger.force_hwc_copy_for_virtual_displays
(and many others)

Bug: 124531214
Test: this is checked against devices at build time
Change-Id: Ifc8c699514ce426e5c61195f0e78f73ad9c7885c
2020-03-30 20:28:35 +00:00
Steven Moreland
46aa366ab2 Add compatibility_matrix.current.xml for S
Bug: 152310927
Test: build only (b/150215458 for enabling this on cf)
Change-Id: Id33494d8433ba58362c592deb2598fe89127561e
(cherry picked from commit 7f431d264a993ad0eda47299a59da4eb37fc2358)
Merged-In: Id33494d8433ba58362c592deb2598fe89127561e
2020-03-27 16:34:32 +00:00
Steven Moreland
3acbd20198 Add compatibility_matrix.current.xml for S
Bug: 152310927
Test: build only (b/150215458 for enabling this on cf)
Change-Id: Id33494d8433ba58362c592deb2598fe89127561e
2020-03-26 16:49:10 +00:00
Steven Moreland
8c583d85b6 Freeze 'current' matrix as '5'.
To signify this as being ready for release.

Bug: 147496715
Test: build & boot cf (which is at target-level 5)
Change-Id: I7bb9d561506849bac2353d9356a6580f6e2393ab
2020-03-26 03:47:30 +00:00
Steven Moreland
951fce0fa5 Freeze 'current' matrix as '5'.
To signify this as being ready for release.

Bug: 147496715
Test: build & boot cf (which is at target-level 5)
Change-Id: I7bb9d561506849bac2353d9356a6580f6e2393ab
(cherry picked from commit 0e0665efec1b61ef329a370b9483937b7ce9ac9f)
Merged-In: I7bb9d561506849bac2353d9356a6580f6e2393ab
2020-03-25 23:53:52 +00:00
Yifan Hong
d32364c7af Merge "Revert^2 "Drop GNSS1.1 and Thermal1.0"" into rvc-dev 2020-03-23 19:49:13 +00:00
Yifan Hong
5687a853a0 Merge "Add tv.tuner to current compatibility matrix." into rvc-dev 2020-03-23 19:49:13 +00:00
Yifan Hong
47def08db8 Revert^2 "Drop GNSS1.1 and Thermal1.0"
593dbfc154

Bug: 131717099

Change-Id: Ie706207523b3b6183933b76b0ab24d9c21938a86
2020-03-23 18:44:20 +00:00
Yifan Hong
3e9540483f Merge "Add EVS 1.1 to current compatibility matrix" into rvc-dev 2020-03-23 16:55:21 +00:00
Yifan Hong
c932298d6d Add tv.tuner to current compatibility matrix.
Fixes build.
Bug: 152161259

Test: builds

Change-Id: I199d88f70505abdceba8a58a7986349b230f6353
2020-03-23 09:31:02 -07:00
Anna Trostanetski
9b0f15d5e1 Merge "Revert "Drop GNSS1.1 and Thermal1.0"" into rvc-dev 2020-03-23 11:58:12 +00:00
Ryanne Cheng
593dbfc154 Revert "Drop GNSS1.1 and Thermal1.0"
Revert "Check unused HALs when system ext matrix exists."

Revert "Use HIDL metadata for deprecation check"

Revert submission 10745362-check_unused

Reason for revert: Droidcop: Potential culprit for Bug 152161259
Reverted Changes:
I92cd7ce1c:Use HIDL metadata for deprecation check
I2b9492eec:Fix check deprecation to use Hidl Metadata.
I6e40a49d5:Add no unused hals test
Ia352a979d:Delete unused GNSS@2.0 Thermal@2.0 checks
I1c0ef715b:checkUnusedHals: use hidl metadata
I44a5240e8:Check unused HALs on device with target FCM versio...
I5c5ec4891:Check unused HALs when system ext matrix exists.
I17894c025:Add libhidlmetadata_headers
I2c7cbf8f5:Drop GNSS1.1 and Thermal1.0

Change-Id: Id1174fec4b5a8dbab2078470d89943935aa1c4be
2020-03-23 01:39:13 +00:00
Changyeon Jo
921e1ec2dc Add EVS 1.1 to current compatibility matrix
Fix: 152099395
Test: m -j
Change-Id: Idd227e110490c68e98b4270cc5c12e04aceb7fbb
2020-03-20 22:19:35 -07:00
Yifan Hong
aa2da24f5f Drop GNSS1.1 and Thermal1.0
These two are added because checkUnusedHals does not check for
inheritance. These two HALs are considered deprecated and are dropped
from the current matrix.

They are dropped from matrix.4.xml too because
GnssHalVersionCompatibility and ThermalHalVersionCompatibility ensures
devices with target FCM version 4 must implement GNSS2.0 and thermal
2.0.

Bug: 131717099
Test: m check-vintf-all

Change-Id: I2c7cbf8f51925e55026a9f85382c8a22897eabaa
Merged-In: I2c7cbf8f51925e55026a9f85382c8a22897eabaa
2020-03-20 17:19:39 -07:00
Yifan Hong
107aff14ff Merge "Drop GNSS1.1 and Thermal1.0" into rvc-dev 2020-03-21 00:17:21 +00:00
Yifan Hong
a561f539fc Merge "Add automotive.can to current matrix." into rvc-dev 2020-03-17 01:24:42 +00:00
Yifan Hong
0e781cf922 Add automotive.can to current matrix.
ICanBus/.*
ICanController/.*

Bug: 131717099
Test: pass
Change-Id: Id9fe289af7e45752eddb45d07deac6352e4710fb
2020-03-16 20:12:02 +00:00
Yifan Hong
43cc37d88f Add identity HAL to current matrix.
Test: m check-vintf-all
Bug: 131717099
Change-Id: I91c68af8c8456105f35ee701ed9f08135e56e6f5
Merged-In: I91c68af8c8456105f35ee701ed9f08135e56e6f5
2020-03-16 17:26:33 +00:00
Yifan Hong
dbadfe396b Drop GNSS1.1 and Thermal1.0
These two are added because checkUnusedHals does not check for
inheritance. These two HALs are considered deprecated and are dropped
from the current matrix.

They are dropped from matrix.4.xml too because
GnssHalVersionCompatibility and ThermalHalVersionCompatibility ensures
devices with target FCM version 4 must implement GNSS2.0 and thermal
2.0.

Bug: 131717099
Test: m check-vintf-all

Change-Id: I2c7cbf8f51925e55026a9f85382c8a22897eabaa
Merged-In: I2c7cbf8f51925e55026a9f85382c8a22897eabaa
2020-03-13 15:31:32 -07:00
Yifan Hong
326e2454d9 Add identity HAL to current matrix.
Test: m check-vintf-all
Bug: 131717099
Change-Id: I91c68af8c8456105f35ee701ed9f08135e56e6f5
2020-03-13 14:50:25 -07:00
Sarah Chin
98c2c53f8c Revert "Set up IRadioConfig 1.3 skeleton"
This reverts commit b071f8ae53.

Reason for revert: Change will not be supported by vendor, so HAL for RadioConfig is no longer necessary.

Change-Id: I33bf652c6aa2f8516ee6ec1c462a1a575d2a5d27
Merged-In: I2eb83fd2356134ef45a782d99174fdd65f8c5a13
2020-02-24 16:55:00 -08:00
Haoxiang Li
6bdb811fa7 [SV HIDL] Adds HAL interfaces for surround view.
Bug: 148618804

Test: Build passed.

Change-Id: Ie5d8540258d456408394e9ac4256db764f6b3cd7
2020-02-21 06:29:13 +00:00
Sarah Chin
3639471c93 Revert "Set up IRadioConfig 1.3 skeleton"
This reverts commit 83e3ca82e6.

Reason for revert: Change will not be supported by modem, so HAL for RadioConfig is no longer necessary.

Change-Id: I2eb83fd2356134ef45a782d99174fdd65f8c5a13
2020-02-19 12:09:40 -08:00
Brian Duddie
b9852ce215 Merge changes from topics "ch_hal_1.1_coral", "contexthub_hal_update"
* changes:
  Add VTS tests for Context Hub HAL 1.1
  Run clang-format on context hub 1.0 VTS
2020-02-19 07:31:31 +00:00