Commit graph

719 commits

Author SHA1 Message Date
Yifan Hong
f40d4899b4 Revert "Add default implementation for biometrics.face@1.1"
This reverts commit 366cc53714.

Reason for revert: b/179207135.  I1aa682644b9 is not a full revert
of the original CL, so properly revert the rest.

Bug: 179207135
Test: pass

Change-Id: Id81783c9e67e63c8717fcb216e52d0d6da203c60
Merged-In: Id81783c9e67e63c8717fcb216e52d0d6da203c60
2021-02-18 14:29:36 -08:00
Yifan Hong
513ef09a21 Revert "Add default implementation for biometrics.face@1.1"
This reverts commit 366cc53714.

Reason for revert: b/179207135.  I1aa682644b9 is not a full revert
of the original CL, so properly revert the rest.

Bug: 179207135
Test: pass

Change-Id: Id81783c9e67e63c8717fcb216e52d0d6da203c60
2021-02-17 23:59:49 +00:00
TreeHugger Robot
74dab96aa8 Merge changes from topic "cec_hal_11" into sc-dev
* changes:
  Add VTS for tv.cec@1.1
  Add default implementation for tv.cec@1.1
  Add CEC HAL v1.1 to compatibility matrix
  Add TV CEC HAL v1.1
2021-02-17 09:06:39 +00:00
Treehugger Robot
7810998b01 Merge "Add RemotelyProvisionedComponent HAL." am: 0ace84a193 am: 2a325dff91 am: cb8d07c4ae
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1367566

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9c8c926f99792d0d2bbc59f5c165478ae305b152
2021-02-17 01:38:12 +00:00
Shawn Willden
274bb55f10 Add RemotelyProvisionedComponent HAL.
Test: VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I51fb01f4c52949c81f3ad2d694a4afdf0fa67788
2021-02-16 07:40:59 -08:00
Albert Wang
292336884e USB HAL 1.3 interface
Supports to enable/disable USB data signaling

Bug: 142105910
Bug: 161414036

Test: USB HAL V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I55ac262dbcdd89ab039193ed467b94f80664c9ba
Merged-In: I55ac262dbcdd89ab039193ed467b94f80664c9ba
(cherry picked from commit 64bd20e416)
2021-02-16 15:26:19 +00:00
TreeHugger Robot
223dc6579b Merge "Deprecate old Contexthub HAL versions" into sc-dev 2021-02-15 23:19:24 +00:00
Anthony Stange
e5b120f096 Deprecate old Contexthub HAL versions
The latest HAL allows the Contexthub service to enforce and attribute
permissions usage when using nanoapps which must be supported on
devices launching with S+

Fixes: 180100226
Test: compile
Change-Id: Ifff454b0757abe190b22089cb7de37204ee05ce7
2021-02-12 19:25:49 +00:00
Treehugger Robot
543cc64e29 Merge "Remove stale TODOs about audio HALs" am: 1d926594bd am: b03f1398d5 am: 33820212e4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1582549

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5a9000b7430b7dbef633827d7286d7876a313214
2021-02-10 22:24:33 +00:00
Treehugger Robot
1d926594bd Merge "Remove stale TODOs about audio HALs" 2021-02-10 20:56:46 +00:00
Lev Proleev
7bea57b671 Create first version of NNAPI AIDL interface am: bfd12c66e4 am: 6d928349cf am: ed6bd4d0ad
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1556224

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1f8d490b701a1e4fb9a4953fd9664f0e973ed9c4
2021-02-10 18:34:06 +00:00
Mikhail Naganov
7c95c4b535 Remove stale TODOs about audio HALs
Both 6.0 and 7.0 can be used for launching new
devices on S due to large amount of refactorings
in the interfaces. Vendors who don't need
the new features added in V7 are free to continue
using V6.

Bug: 142480271
Test: N/A
Change-Id: I133348b9a0a1a200ba28b2d67cac92f1962a3e09
2021-02-10 10:33:23 -08:00
Lev Proleev
6d928349cf Create first version of NNAPI AIDL interface am: bfd12c66e4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1556224

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iae3e7ff8cfecde9162c981da577e4bb9d0a87464
2021-02-10 17:09:48 +00:00
Lev Proleev
9b2940dbce Merge changes from topic "nnapi_aidl_interface"
* changes:
  Implement VTS tests for NNAPI AIDL interface
  Add utils for AIDL types conversions
  Create first version of NNAPI AIDL interface
  Add dynamic interface casting to NN utility code
2021-02-10 16:45:19 +00:00
Marvin Ramin
001be94c10 Add CEC HAL v1.1 to compatibility matrix
HAL v1.1 introduces new constants in types enums to support the new
version of the HDMI CEC specification. The interfaces remain unchanged.

Bug: 169121290
Test: make -j
Change-Id: I535099c80f56d4c8ab4f5c725b83db33a9666359
2021-02-10 11:36:39 +01:00
Treehugger Robot
a47bf3b8ad Merge changes from topic "ps 2.0 cp"
* changes:
  Add power.stats to compatibility matrix
  power/stats: Rename readEnergyMeters to readEnergyMeter
  power/stats: Add VTS tests for power stats hal
  Specify version for aidl_interface explicitly
  power/stats: Adding subsystem field to Channel
  power/stats: Add EnergyConsumer types
  power/stats: Add EnergyConsumerAttribution interface
  power/stats: Add duration field to EnergyMeasurement
  power/stats: Rename PowerStats HAL
  power/stats: Move PowerStats HAL 2.0 to power/stats
2021-02-09 19:20:10 +00:00
Lev Proleev
bfd12c66e4 Create first version of NNAPI AIDL interface
Bug: 161428342
Test: m android.hardware.neuralnetworks-update-api && m
Change-Id: Icf8123746def6f4c654dc3e413e5169ab020c8b4
Merged-In: Icf8123746def6f4c654dc3e413e5169ab020c8b4
(cherry picked from commit 8090245174)
2021-02-09 15:28:19 +00:00
Treehugger Robot
19d2c9aa9f Merge "ISap has version 1.2." am: 4a0dcd9722 am: 23629b2fdc am: 309f68f4c1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1569324

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I183e34260e4908cfc7b0fb8e43ceaa11aa888189
2021-02-06 02:31:49 +00:00
Treehugger Robot
4a0dcd9722 Merge "ISap has version 1.2." 2021-02-06 01:54:48 +00:00
Treehugger Robot
7a3c40a38c Merge "FCM exclude: update comment for deprecated health 1.0 HAL" am: 9db73647a3 am: a45166f8e2 am: e8d62a234b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1566742

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ife7b1bdd75f3a0f8cd7bd94663da74a93033eb36
2021-02-05 07:32:20 +00:00
Benjamin Schwartz
020ab65095 Add power.stats to compatibility matrix
Bug: 169864180
Test: m
Change-Id: I67d6d1496b663e41ac519621ef71ba957db0154c
Merged-In: I6abacd82d9bcbc5957dcad891ae5c742bc307316
2021-02-04 20:58:27 -08:00
Treehugger Robot
9db73647a3 Merge "FCM exclude: update comment for deprecated health 1.0 HAL" 2021-02-04 22:32:58 +00:00
Ytai Ben-Tsvi
6300039f3e Deprecate old soundtrigger HAL versions
This will give us an eventual path for dropping support for those old
versions, with minimal consequences, since upgrading those HAL
implementations is trivial.

Fixes: 179307730
Test: Compile
Change-Id: I9d8981126ef7be2acb9aca182de595a78630053b
2021-02-04 00:38:28 +00:00
Treehugger Robot
d2079d0fac Merge "Remove TV CEC HAL v2.0 definitions" am: 81eef45d64 am: aa0b6fed40 am: a33b0d41bd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567421

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I282d77d7371fefba7cec48c0f07bf18df6ba2aba
2021-02-03 18:40:56 +00:00
Treehugger Robot
6f5430adcb Merge "Remove TV CEC HAL v2.0 from compatibility matrices" am: 67555a295f am: 1cb74b555c am: 2004520833
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567420

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iad61c57303b9779f69399eb50c94e7addbe0ad55
2021-02-03 17:15:11 +00:00
Treehugger Robot
81eef45d64 Merge "Remove TV CEC HAL v2.0 definitions" 2021-02-03 16:55:28 +00:00
Treehugger Robot
67555a295f Merge "Remove TV CEC HAL v2.0 from compatibility matrices" 2021-02-03 14:39:09 +00:00
Yifan Hong
6e1aecab64 Merge "matrix: Add version 1 to AIDL HALs (AOSP)" am: 4213f692b4 am: cf083dcb55 am: fc54253528
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1568874

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iec55b8cf92418f5b5936031ce97c51a308724075
2021-02-03 03:30:42 +00:00
Yifan Hong
4213f692b4 Merge "matrix: Add version 1 to AIDL HALs (AOSP)" 2021-02-03 02:25:41 +00:00
Marvin Ramin
a106772aea Remove TV CEC HAL v2.0 definitions
This HAL version is not supported by the framework. Remove the code to
avoid confusion.

Bug: 178772241
Test: make
Change-Id: I278415d1945fbf5010539840efdc9e9502957f3f
2021-02-02 21:47:49 +00:00
Marvin Ramin
1e6de22b79 Remove TV CEC HAL v2.0 from compatibility matrices
This HAL is not supported by the framework. It was confirmed that
no devices were using this HAL version and it will be removed
following this change.

Bug: 178772241
Test: make
Change-Id: Ie73e78ffde79345331753eb9ed4616653616ddf3
2021-02-02 07:10:04 +00:00
Yifan Hong
b0b0665f22 matrix: ISurroundView -> ISurroundViewService am: 5061cb62b4 am: 1a165a9eb4 am: 0da71ea7fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1568872

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I55e96503ae14c5f88722d6ee0038ff6452948950
2021-02-02 05:09:58 +00:00
Yifan Hong
20fd7b1d11 ISap has version 1.2.
There's no 1.3 ISap.

Test: m check-vintf-all
Bug: 179099519
Change-Id: I4d495946c6d884f167491be261052613f4533212
2021-02-01 19:44:00 -08:00
Yifan Hong
5061cb62b4 matrix: ISurroundView -> ISurroundViewService
Test: none
Change-Id: I7103917ef8e48cec41d6673d825a3e5d858e9d03
2021-02-02 03:42:22 +00:00
Yifan Hong
fcd565628c matrix: Add version 1 to AIDL HALs (AOSP)
AIDL HALs declare version 1 by default when it is
missing. Make it explicit

Test: TH
Change-Id: Ia5020600eb6ee07cdcdbced16dc80da52d736269
2021-02-01 17:59:20 -08:00
Yifan Hong
01eb407063 FCM exclude: update comment for deprecated health 1.0 HAL
Test: none
Change-Id: Idd652e35cd16ecac80e38a24f076dcf657cc81f3
2021-01-29 17:58:08 -08:00
junyulai
a6f6be0116 [SP14] Add HAL to set warning quota to tehtering offload hardware am: 4011f47ad6 am: d5ae08299a am: 56f2a7b3a5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1212191

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I553929b66d568e08ed9acb0ad2a217d4ae25d876
2021-01-29 22:23:59 +00:00
junyulai
4011f47ad6 [SP14] Add HAL to set warning quota to tehtering offload hardware
With current setDataLimit API, tethering offload hardware will
stop offload and trigger callback when the given limit bytes is
reached.

However, for data usage warning to work, an API that allows
tethering offload hardware to report event without stopping
offload hardware is needed.

Test: hidl-gen -Lformat android.hardware.tetheroffload.control@1.1
Bug: 149467454
Bug: 170699770
Bug: 170179169
Change-Id: I804d15f92251ef902dd2e1ff1c31ba157fa91067
2021-01-28 14:21:42 +08:00
David Zeuthen
0f8e9d1b6e Merge "Identity Credential changes for Android 12" am: ef90842503 am: 409331de91 am: 3b83d41967
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1464242

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib6012072f2682bcb31c5aead9cb8f01e560a3560
2021-01-27 07:54:40 +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
Yu-Han Yang
7deb270e39 Merge "Remove GNSS HAL v3.0 (hardware/interfaces)" 2021-01-22 21:58:31 +00:00
Daniel Bright
64f69904ff Merge "Introduce Radio Hal Device Capabilities" 2021-01-22 19:08:21 +00:00
ChengYou Ho
f7cc6e75b4 Add weaver aidl interface am: 10f8a48b64 am: 40c6d690ce am: 6b0cabe09b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1554019

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie7cf56465f490ff05d039965841645c2ed1e0df4
2021-01-22 07:44:08 +00:00
ChengYou Ho
10f8a48b64 Add weaver aidl interface
Bug: 176107318
Change-Id: I4dd064843e3e630b878ff08f89100e1b4303a02c
2021-01-22 06:34:31 +00:00
Yifan Hong
1447d53a60 Merge "Deprecate HIDL health storage HAL." am: 83a5d54dfc am: 98ff64313e am: f4061df070
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1555465

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9f741d8aa7efea585ccb866f096a5d0ed516513c
2021-01-21 23:23:17 +00:00
Daniel Bright
44653cea41 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
Merged-In: I867f26bc649005e89ebf7a0b74f6fbeb2f44ac93
Change-Id: I837d82592e8ddfef5b1ff5eb0dd983a0d13383ed
2021-01-21 14:28:51 -08:00
Yifan Hong
da86cdbf03 Deprecate HIDL health storage HAL.
If a device launching with S VINTF uses health storage HAL,
it must use AIDL. If HIDL health storage HAL is used,
a build error will occur to complain about deprecated HALs.

Test: manual test that if the HIDL HAL is served on cuttlefish, then
      `m check-vintf-all` shows the following error:

android.hardware.health.storage@1.0::IStorage/default is deprecated
in compatibility matrix at FCM Version 6; it should not be served.

Bug: 177470478
Change-Id: I3c28352f5f8d491ed0e1f9292b80d2083699f829
2021-01-20 20:38:12 -08:00
Yu-Han Yang
0dd4124699 Remove GNSS HAL v3.0 (hardware/interfaces)
Bug: 170506696
Test: on cuttlefish
Change-Id: I4be1755e850ac53315a50f0659f57fe35279d7bf
2021-01-20 15:09:39 -08:00
Yifan Hong
1b3ed5af69 Add health.storage AIDL HAL am: c78079b333 am: 386da77b01 am: 831db18b5b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1548963

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7bfce5f9e9e0988c0afdadcc3c2c087885ab22dc
2021-01-20 20:49:09 +00:00
Yifan Hong
386da77b01 Add health.storage AIDL HAL am: c78079b333
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1548963

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I32bbb760791719f51a4699b5ce889b8cd3ba3d1b
2021-01-20 20:00:45 +00:00
Yifan Hong
2829019089 Merge changes from topic "health_storage_aidl"
* changes:
  health storage AIDL VTS test.
  health storage: refactor common code for test
  Add default impl for health storage AIDL HAL
  Add health.storage AIDL HAL
  Refactor common implementation for health storage HAL.
2021-01-20 19:45:15 +00:00
Robert Shih
f7c88a8386 Merge "Add android.hardware.drm@1.4" 2021-01-20 06:07:12 +00:00
Robert Shih
2194bb4430 Add android.hardware.drm@1.4
Bug: 136119370
Test: GtsMediaTestCases MediaDrmTest#testRequiresSecureDecoder
Change-Id: If7bec99c7a1c98da9f85876722e6da88a425b1e7
2021-01-20 01:56:26 +00:00
Yifan Hong
c78079b333 Add health.storage AIDL HAL
Test: TH
Bug: 177470478

Change-Id: Ib982fb4e98403edcbe23034569373a7777b139f1
2021-01-15 18:36:41 -08:00
Janis Danisevskis
faa5e10469 Merge changes from topic "secclock_sharedkey" am: 600b7775ef am: ec6228e4d5 am: be17331caf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1518673

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3f8d4fcd2fcb7fca2254aca470bd9d84de90c342
2021-01-15 13:55:17 +00:00
Joel Galenson
2570af6b96 Add Shared Secret to the compatibility matrix.
Test: Build
Change-Id: Iadac3b304a9b8eba69f6fb2fe7aec41f7200a613
2021-01-13 15:30:05 -08:00
Joel Galenson
4faf8b63a4 Add Secure Clock to the compatibility matrix.
Test: Build
Change-Id: I570f7535add92d98b4e129ec5478859d648db23a
2021-01-12 13:30:39 -08:00
ChengYou Ho
107755753b Add authsecret AIDL interface am: 112fab25fc am: 916efe6bf4 am: 85316e7e85
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1541184

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0aeda0a0d6748021552c1bb55ec53c495fd66cc2
2021-01-12 09:37:13 +00:00
ChengYou Ho
112fab25fc Add authsecret AIDL interface
Bug: 176107318
Change-Id: Ia430177018344b093fea3314eb54ef2423fbf636
2021-01-12 06:01:29 +00:00
Yifan Hong
70d23e1bc9 Merge changes from topic "vibrator2-vintf"
* changes:
  Reland "Update AIDL IVibrator manifest version to 2."
  Reland "matrix: IVibrator AIDL has version 2."
2021-01-11 17:12:05 +00:00
ChengYou Ho
9e76e5cdb2 Add oemlock AIDL interface am: 109522c0d1 am: 03375181de am: 491a4c5716
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1542664

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I24f26542992b33590103c3ed024eead63bad37ab
2021-01-11 07:43:35 +00:00
Yifan Hong
8eab4f3390 Reland "matrix: IVibrator AIDL has version 2."
This is reverted in AOSP because vibrator 2 has not been published
in AOSP, but relanded in internal because vibrator 2 is in internal.

This reverts commit 6135189a29.

Test: TH
Bug: 150034914

Change-Id: I94a663be8a07a24587127d3ca489647a16c0be7a
2021-01-08 17:05:25 -08:00
Treehugger Robot
a4b2edb947 Merge changes from topic "revert-1540633-DNRXHDZSUB" am: f504e514c4 am: 9727575946 am: 657097c29c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1544644

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I64bdaddf33e63f76ca1a23eb6e4c08a3cf22789e
2021-01-09 00:42:21 +00:00
ChengYou Ho
109522c0d1 Add oemlock AIDL interface
Bug: 176107318
Change-Id: Ibcf0934f7a86379318ef55ad2117c9be3200b629
2021-01-09 08:13:53 +08:00
Yifan Hong
6135189a29 Revert "matrix: IVibrator AIDL has version 2."
Revert submission 1540633

Reason for revert: AOSP not updated yet
Reverted Changes:
I418cd4fc5:Update AIDL IVibrator manifest version to 2.
I08b4b189d:matrix: IVibrator AIDL has version 2.

Change-Id: I429faacf309aa61aa044d72b873e23ba25ed5bca
2021-01-08 21:09:18 +00:00
Yifan Hong
97fc09be73 matrix: IVibrator AIDL has version 2. am: 355f0ceabd am: 954fad1da6 am: 1d67d04f52
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1540632

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ibf1ef6eda6ea9727564c43a28d8996fec590d70a
2021-01-07 22:35:05 +00:00
Yifan Hong
4ba72f1414 matrix: identity AIDL has version 2. am: d86a89c53b am: 8d8f8ba4b7 am: 61549ef2f2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1540630

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2af0c1c1176260244f0b102112db6836aca6b8a4
2021-01-07 20:10:07 +00:00
Yifan Hong
355f0ceabd matrix: IVibrator AIDL has version 2.
Test: builds
Bug: 150034914
Change-Id: I08b4b189dbf811ee866a9fbc3f0f207e19e8f764
2021-01-06 16:31:39 -08:00
Yifan Hong
d86a89c53b matrix: identity AIDL has version 2.
Test: builds
Bug: 150034914
Change-Id: I041cc5c1dfb7b812d38a7a516276630d2f804875
2021-01-06 16:31:39 -08:00
Yifan Hong
b46c41f2fb matrix: IVibratorManager AIDL has version 2.
Test: builds
Bug: 150034914
Change-Id: I62d800cb30f05a77e272d4e67afddfda09accd6e
2021-01-06 16:28:27 -08:00
Sam Saccone
85f7dbd723 Merge "Android S: deprecate android.hardware.vr." am: 55ac62f92d am: 11b20638d1 am: b9beb9889a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1540546

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idbdd8f17336343424cd616dc52d6c05e5a4c0b90
2021-01-06 20:40:40 +00:00
Steven Moreland
7250fba9b4 Android S: deprecate android.hardware.vr.
This HAL is no longer needed/used.

Fixes: 176826409
Test: build (checks manifests)
Change-Id: I1437a40ecce688bf67b3cbca7d3a8b549bf20f69
2021-01-06 02:10:46 +00:00
Kalesh Singh
efbb8ff2bf Reland: Memtrack HAL: Add stable AIDL implementation am: a851f3d711 am: ee88e0d273 am: e635b18109
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1533660

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I24b42f41dbc8f2052bf1f50ca522d3f30ec0e71f
2020-12-23 02:14:38 +00:00
Kalesh Singh
a851f3d711 Reland: Memtrack HAL: Add stable AIDL implementation
Bug: 175021432
Test: adb shell dumpsys -l | grep android.hardware.memtrack.IMemtrack
Test: VtsHalMemtrackTargetTest
Change-Id: I686c0ecc31648dc6e58a6ab5e6ae914454111200
2020-12-22 20:49:35 +00:00
Treehugger Robot
9c70ad02b1 Merge "Add android-5.10 support for S" am: 69c290564a am: d694491190 am: 14172a0744
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1531285

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5b7a414b08abc9a57338af40a387dfbd45f63528
2020-12-17 21:16:43 +00:00
Treehugger Robot
69c290564a Merge "Add android-5.10 support for S" 2020-12-17 20:12:00 +00:00
Kalesh Singh
afab1452c5 Merge "Revert "Memtrack HAL: Add stable AIDL implementation"" am: b2a38b62b5 am: 34277b9a6b am: 23eb82742a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1530887

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1f579545e60f164fed3d80d2216dcdf6b08675ed
2020-12-16 02:22:57 +00:00
Kalesh Singh
b2a38b62b5 Merge "Revert "Memtrack HAL: Add stable AIDL implementation"" 2020-12-16 00:48:06 +00:00
Alistair Delva
b724f36b85 Add android-5.10 support for S
Bug: 175707513
Change-Id: I6799b4ba3dad9b4ae6d8fe2646a2f07d24310537
2020-12-15 16:42:56 -08:00
Kalesh Singh
28641ffb08 Revert "Memtrack HAL: Add stable AIDL implementation"
Revert "libmemtrack: Add support for AIDL memtrack HAL"

Revert "Add stable aidl memtrack HAL to product packages"

Revert "Add stable aidl memtrack hal to vndk list"

Revert "Memtrack HAL stable aidl sepolicy"

Revert "Add android.hardware.memtrack-unstable-ndk_platform"

Revert submission 1518702-memtrack-aidl

Reason for revert: Broken tests and boot time regressions
Reverted Changes:
Ic4dd70e2c:Add android.hardware.memtrack-unstable-ndk_platfor...
Iaf99d0ca4:Add stable aidl memtrack HAL to product packages
Iac54ae2ba:Add stable aidl memtrack hal to vndk list
If310210a3:libmemtrack: Add support for AIDL memtrack HAL
Ib6c634def:Memtrack HAL: Add stable AIDL implementation
I5e1d0e006:Memtrack HAL stable aidl sepolicy

Change-Id: I4a9e3522afe9e9189b7eddc9520d5ef2e2b74520
2020-12-16 00:19:38 +00:00
Treehugger Robot
335317f9a8 Merge "Memtrack HAL: Add stable AIDL implementation" am: e5d68ba29c am: be07fd2de6 am: 8f356a5035
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1518666

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I764c5e2075d271321c5f55589ab9ad6057edc683
2020-12-14 20:09:30 +00:00
Treehugger Robot
e5d68ba29c Merge "Memtrack HAL: Add stable AIDL implementation" 2020-12-14 18:36:10 +00:00
Shawn Willden
3c1c203105 Revert^2 "Move keymint to android.hardware.security." am: 08a7e43e78 am: dbd149504f am: 5b8443fb65
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1525190

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0181729ff6b700b05983d48f10bbe5299426db85
2020-12-12 01:07:06 +00:00
Shawn Willden
08a7e43e78 Revert^2 "Move keymint to android.hardware.security."
1ffcdebadd

Bug: 175345910
Bug: 171429297
Exempt-From-Owner-Approval: re-landing topic with no changes in this CL.
Change-Id: I691cad252f188b54a8076589d9955774d74d4729
2020-12-11 20:36:59 +00:00
Orion Hodson
0dc2d4a695 Merge "Revert "Move keymint to android.hardware.security."" am: 495ceb90fd am: fdc32ed322 am: e0a4966342
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1525806

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icc28b0d25485ada9d78d2732ee742c4e5195ace4
2020-12-11 14:02:27 +00:00
Shawn Willden
78a9a6c37a Merge "Move keymint to android.hardware.security." am: 0a89757936 am: 640d1c8a40 am: 5a1001361d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1519122

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I60faca04b21a15a3a30d1a0f1d1022363e5f9ace
2020-12-11 11:01:04 +00:00
Orion Hodson
1ffcdebadd Revert "Move keymint to android.hardware.security."
Revert "Keystore 2.0 SPI: Move keymint spec to security namespace."

Revert "Keystore 2.0: Move keymint spec to security namespace."

Revert "Keystore 2.0: Move keymint spec to security namespace."

Revert "Move keymint to android.hardware.security."

Revert "Configure CF to start KeyMint service by default."

Revert "Move keymint to android.hardware.security."

Revert "Move keymint to android.hardware.security."

Revert submission 1522123-move_keymint

Reason for revert: Build breakage
Bug: 175345910
Bug: 171429297
Reverted Changes:
Ief0e9884a:Keystore 2.0: Move keymint spec to security namesp...
Idb54e8846:Keystore 2.0: Move keymint spec to security namesp...
I9f70db0e4:Remove references to keymint1
I2b4ce3349:Keystore 2.0 SPI: Move keymint spec to security na...
I2498073aa:Move keymint to android.hardware.security.
I098711e7d:Move keymint to android.hardware.security.
I3ec8d70fe:Configure CF to start KeyMint service by default.
Icbb373c50:Move keymint to android.hardware.security.
I86bccf40e:Move keymint to android.hardware.security.

Change-Id: I160cae568ed6b15698bd0af0b19c6c949528762d
2020-12-11 10:45:43 +00:00
Kalesh Singh
f4ab018143 Memtrack HAL: Add stable AIDL implementation
Bug: 175021432
Test: adb shell dumpsys -l | grep android.hardware.memtrack.IMemtrack
Test: VtsHalMemtrackTargetTest
Change-Id: Ib6c634def4eeca62b0b2615dc7dc273183cda2b1
2020-12-10 10:10:19 -05:00
Shawn Willden
f73e952ea4 Move keymint to android.hardware.security.
Test: VtsAidlKeyMintTargetTest
Change-Id: I2498073aa834584229e9a4955a97f279a94d1dd5
2020-12-09 16:26:41 -07:00
Tianjie Xu
8fd4244c53 Merge "Extend the bootcontrol HAL to get the active slot" am: 5919616361 am: f880de9ab1 am: 31210fe8ee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1513020

Change-Id: I9a2121f2463d466a446651bec4da1923dffb661b
2020-12-04 09:05:57 +00:00
Tianjie
01d460b408 Extend the bootcontrol HAL to get the active slot
The existing HAL has a setter, but no getter for the active slot for
next boot. The information is useful. For example, clients may need
to figure out which build the device will boot into.

In the resume on reboot case, we want to put the vbmeta digest
together with an encrypted key. And the vbmeta digest is associated
with a set of images (depending on which slot to boot into).

Bug: 173808057
Test: run vts test on cuttlefish
Change-Id: Ia8578926c781eb8e006589f45ab35a95dfe4f9a0
2020-12-03 15:18:40 -08:00
Daniel Bright
6d3bda89cf Merge "Introduce Radio Hal Device Capabilities" 2020-11-21 02:27:14 +00:00
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
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
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
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
raychi
434cbe6492 USB Gadget hal v1.2 interface
USB Gadget hal v1.2 include:
1. NCM function support
2. inquiry USB speed
3. inquiry HAL version

Bug: 168282708
Test: build pass and functions works normally
Change-Id: I16927a06cd3e311ac6ab945f490eb0747638e6da
2020-11-09 16:52:33 +08:00
Hayden Gomes
49c845ffa3 Adding AIDL version of AudioControl HAL
- Updated APIs to use strings instead of enum for AudioUsages
- Updated dumpsys commands to take strings for usages instead of
integers

Bug: b/170335834
Test: build and run VTS tests
Change-Id: I1773383812e97e7dee6da2eba250ea842d59b8cb
2020-11-02 12:30:52 -08:00
Yifan Hong
00df90125c 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
Merged-In: I98a0798cc08761e8aa6a9ca920c67aa6f8155de4
2020-10-27 15:24:36 +01:00
Yifan Hong
12f66020d5 Merge "Reland "Remove legacy/O/O-MR1 matrices."" am: a53f69e158 am: c035573845 am: 13c12bc10f am: c698d7f28a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1467927

Change-Id: If97f6f317aadf6b1d5c407aff780c16281c98762
2020-10-22 22:44:15 +00:00
Yifan Hong
f3a8480817 Merge "Revert "Remove legacy/O/O-MR1 matrices."" am: 305fa1d5fe am: d94f245a21 am: a6e96e9a80 am: a114b4bdbc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1467925

Change-Id: I582a5df60ac316dabbde57025cecb021161f1167
2020-10-20 21:13:37 +00:00
Yifan Hong
875494e8b2 Merge "Remove legacy/O/O-MR1 matrices." am: 0d7adccb53 am: 5b08fda3cd am: 5cc135b1f4 am: 56f98ec2fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1465685

Change-Id: I8be932f7b73a363092fcb4984fa3280b11f74847
2020-10-20 21:13:19 +00:00
Yifan Hong
6777f8aede Reland "Remove legacy/O/O-MR1 matrices."
This reverts commit 540dc2771a.

Reason for revert: reland because target-level 2 are fixed

Bug: 163419744
Change-Id: I293852d50de9a4eeaeec6ccf4c0290f1c1b0012d
2020-10-20 19:28:34 +00:00
Yifan Hong
540dc2771a Revert "Remove legacy/O/O-MR1 matrices."
Revert "Remove O/O-MR1 kernel configs."

Revert submission 1465685-remove_o_vintf

Reason for revert: target-level 2 devices aren't properly cleaned up

Bug: 171317032

Reverted Changes:
I5a08d616e:Remove O/O-MR1 kernel configs.
I2a65f5a24:Remove legacy/O/O-MR1 matrices.

Change-Id: I47670918183b3f419c6976ab922b87c97c9644cf
2020-10-20 18:59:13 +00:00
Yifan Hong
0b5c62fd79 Remove legacy/O/O-MR1 matrices.
Devices with legacy/O/O-MR1 VINTF won't be able to
update to Android S. Devices launching with pre-O,
O, or O-MR1 will need to update its VINTF to P and
above to work with Android S.

Test: builds
Bug: 163419744
Bug: 171260360
Bug: 171260613
Bug: 171260670
Bug: 171260715
Change-Id: I2a65f5a24c0731df9c4247bf9dd2616c2279042f
2020-10-19 17:37:11 -07:00
Ilya Matyukhin
8d40eb3a74 Merge changes from topic "IFace.aidl"
* changes:
  Default implementation skeleton for IFace
  Add VTS tests skeleton for IFace
  Define IFace
2020-10-14 22:11:59 +00:00
Devin Moore
1e30fc4ff1 Merge changes from topic "move_fmq" am: 1fa07549e1 am: 1af8658a9b am: f88f876f3d am: c11d5fcc1f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1456140

Change-Id: Ie0e659de876786a0e539f092d7fc349b86d70c14
2020-10-13 16:14:18 +00:00
Ilya Matyukhin
457e9d8530 Define IFace
Bug: 168730443
Test: m android.hardware.biometrics.face-update-api
Change-Id: I6bd1d1240ef91680d8b96cb84849431c25265358
2020-10-12 20:05:29 -07:00
Devin Moore
23a52ecdb9 Add android.hardware.common.fmq to fcm_exclude
There is no top level interface in this package.

Test: m
Bug: 142326204
Change-Id: I895561ba265ea534b2da1f29f1d3056d0a9e452d
2020-10-09 13:37:12 -07:00
Grzegorz Kolodziejczyk
8dff34bce3 Introduce LE Audio software provider for bluetooth audio 2.1 am: b5f2d23e26 am: a1663edb70 am: 9e834165ad am: 8e5eb20aad
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1404810

Change-Id: If8fda8b0ad4ee39ffd7d4a6df048efe758f456bd
2020-10-09 19:16:06 +00:00
Grzegorz Kolodziejczyk
b5f2d23e26 Introduce LE Audio software provider for bluetooth audio 2.1
Patch introduces LE Audio software encoding provider for bluetooth audio 2.1.

Bug: 150670922
Tag: #feature
Test: vts-tradefed run vts -m VtsHalBluetoothAudioV2_1TargetTest
Sponsor: jpawlowski@
Change-Id: If668593be7a46c9abcc45d21c5bdb9b493864cc1
2020-10-09 17:54:44 +00:00
Treehugger Robot
19a81f4f29 Merge "doc: DEVICE_*_MATRIX_FILE specifies absolute paths" am: cc6279316f am: 4e7d50fe01 am: dfb4a153dd am: 7bafc1ab96
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1455056

Change-Id: I8a22058e25999bf6617d50314a1f61f817b656e1
2020-10-08 23:14:15 +00:00
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
Steven Moreland
3aa4754785 doc: DEVICE_*_MATRIX_FILE specifies absolute paths
The fact that these variables are 'FILE' instead of 'FILES' is due to
historical changes, but updating comment to reflect this to avoid
confusion.

Bug: N/A
Test: N/A
Change-Id: I92b685eceaab99c7786384c08076dcf3bd087326
2020-10-08 17:16: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
5a3efa4878 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
Merged-In: I20f5b3665650c86fc0f976c544194f87157e6b90
Change-Id: I20f5b3665650c86fc0f976c544194f87157e6b90
2020-10-05 09:11:13 -07:00
Roshan Pius
fa96d00429 Merge "wifi: Deprecate older versions of wifi HAL" 2020-10-05 16:00:17 +00:00
Joseph Jang
60f0ae4b76 Merge "fastboot: add a new oem command for post wipe userdata" am: 4433d35af9 am: a174737057 am: 41eca45f7d am: d4f5010d14 am: 6fa34c3cb3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1435112

Change-Id: I8eadbef947f342925dd8a1d89644983135e5346d
2020-10-05 08:31:05 +00: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
josephjang
72c410d261 fastboot: add a new oem command for post wipe userdata
When user input 'fastboot erase userdata' in fastbootd, may need an
oem specific API doOemSpecificErase() to wipe other userdata in device.
If oem doesn't need this specific API, oem could return NOT_SUPPORTED
to fastbootd.

Bug: 169173873
Change-Id: Ie12ede31ef071a3c15265777b55746536a861292
2020-09-30 02:55:06 +00: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
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
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
2b3810aa3a Merge "remove 4.14 kernels for Android S" 2020-09-21 22:33:56 +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
f16ca91f85 Merge "Reorder/cleanup FCM exempt list #4 (media bufferpool)" am: e2ed8135cd am: 6bbaf817cc am: a1fade51b7 am: 54b5003b09 am: 2a327c8409
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427725

Change-Id: I4fecbd8178f252ecde598bb892addd3c94fcb3e3
2020-09-18 04:07:24 +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
e680e3e09a Merge changes I267b3ae9,Ic14d2257 am: a2f5b0bc51 am: d0fd20654c am: 7a3eedb0dd am: a40a55aa3e am: 5e71ed7b5a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427726

Change-Id: I8dda6f775e995b9f79a1f49cb2747004bf9dc29b
2020-09-17 08:51:07 +00:00
Kevin Chyn
7d3fdf5ef6 Add android.hardware.biometrics.common
Bug: 168541000

Test: make -j56 android.hardware.biometrics.common-update-api
Test: make -j56 android.hardware.biometrics.fingerprint-update-api
Test: make -j56 android.hardware.biometrics.fingerprint-service.example

Change-Id: Icaa1c2a0363a7fa446747ef89b5e50ca44dcd42e
2020-09-16 13:59:33 -07:00
Yifan Hong
4fd960f90a Merge "Reorder/cleanup FCM exempt list #1" am: ef85febe6a am: 7380d36ae3 am: 7a07e92303 am: 5ea7bf3c6b am: 8f7f56ff3c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427724

Change-Id: I1a636204c61a7ae4f87dee140964a39cd534a4a4
2020-09-16 19:42:41 +00:00
Yifan Hong
b7d29eeae3 Reorder/cleanup FCM exempt list #4 (media bufferpool)
Test: m check-vintf-all
Bug: 110261831
Change-Id: Id9b3369070ca24cc344ea15099e9a0e159be2c29
2020-09-16 09:22:15 -07:00
Yifan Hong
cd3d7cce0f Reorder/cleanup FCM exempt list #3 (fastboot)
Test: m check-vintf-all
Bug: 110261831
Change-Id: I267b3ae9980d72e63187058a5bef8e4b44a2314c
2020-09-16 09:22:15 -07:00
Yifan Hong
1cfd94a8cf Reorder/cleanup FCM exempt list #2 (audio)
Test: m check-vintf-all
Bug: 110261831
Change-Id: Ic14d22572a28b1e483d3c907657f22393be37132
2020-09-16 09:22:14 -07:00
Yifan Hong
c1eff122d1 Merge "Add audio V7 to compatility matrix." 2020-09-16 16:15:12 +00:00
Yifan Hong
ef85febe6a Merge "Reorder/cleanup FCM exempt list #1" 2020-09-16 16:09:33 +00:00
Yifan Hong
7ace3b3c5c Merge "Add libvintf_fcm_exclude" am: a35d1c374b am: 1d782f0e45 am: 2dab8b824b am: 2bf11d501c am: 59236470dc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1424937

Change-Id: Ibcdcd8de43941bd35d780a8e47774bd0f1b1b136
2020-09-16 04:58:06 +00:00
Yifan Hong
a35d1c374b Merge "Add libvintf_fcm_exclude" 2020-09-16 01:28:38 +00:00
Yifan Hong
113c60b1c3 Reorder/cleanup FCM exempt list #1
Test: m check-vintf-all
Bug: 110261831
Change-Id: I710d5e72279cafa6c680d13a10ffffb520418d69
2020-09-15 16:56:26 -07:00
Yifan Hong
4c00d8eaec Add libvintf_fcm_exclude
Move exclude list from check_vintf to hardware/interfaces.
This is closer to the HALs. A HAL must either be declared
in hardware/interfaces/compatibility_matrices or be exempted
in hardware/interfaces/compatibility_matrices/exclude.

Test: builds
Bug: 110261831
Change-Id: I2437d92a97505ab66e47425ac17aa58319702685
2020-09-15 14:31:00 -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
Hall Liu
f6efb4296e Merge "Allow android.hardware.radio 1.4 for R" into rvc-dev am: 6fa742d6c5 am: c74c21eacc
Change-Id: Ibba3e8afcab7e659ccbdc882907c45835928a956
2020-04-27 21:32:42 +00:00
Hall Liu
519bb589f5 Merge "Allow android.hardware.radio 1.4 for R" into rvc-dev am: 6fa742d6c5
Change-Id: I413b54271d874fe348a6eea519e333cc23fa005a
2020-04-27 21:10:35 +00:00
Hall Liu
5db41c8698 Allow android.hardware.radio 1.4 for R
SOC manufacturers have requested that devices be allowed to ship with R
without using the IRadio 1.5 API.

Fixes: 153495340
Test: build flame
Change-Id: Iba2ac5902e69fc0af0c5f4d7cae4fed77204acd1
2020-04-27 18:18:22 +00: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
Yifan Hong
ee49d2d8ce Merge "Check against xsd for building all matrices" am: 967399407c am: 00ec76ad22
Change-Id: I5edde2a7fa21007154d650ba352318434817708d
2020-04-14 22:45:30 +00:00
Yifan Hong
51d789e8dd Check against xsd for building all matrices
Test: builds
Fixes: 149929588

Change-Id: Id08cfe41af59bb336889f9edeaf35dc484892997
(cherry picked from commit fca5d95ce6)
Merged-In: Id08cfe41af59bb336889f9edeaf35dc484892997
2020-04-14 15:08:08 -07:00
Yifan Hong
fca5d95ce6 Check against xsd for building all matrices
Test: builds
Fixes: 149929588

Change-Id: Id08cfe41af59bb336889f9edeaf35dc484892997
2020-04-13 15:29:52 -07:00
Haoxiang Li
09272538dc Merge "Revert^2 "Modify the name of the SV interface to match VTS"" into rvc-dev am: 798c9340c1
Change-Id: I2ba2d533d4a9625efc69bb2dc83b5e573822d8e2
2020-04-13 17:44:53 +00:00
Haoxiang Li
798c9340c1 Merge "Revert^2 "Modify the name of the SV interface to match VTS"" into rvc-dev 2020-04-13 17:12:51 +00:00
TreeHugger Robot
6512ceb3d2 Merge "Add biometrics.fingerprint@2.2 to the compatibility matrix" into rvc-dev am: 2501542e30
Change-Id: I7c24e878cf44c20eaea7ba800ab9ea29f68aec1b
2020-04-11 01:20:26 +00:00
Haoxiang Li
fe7701e227 Revert^2 "Modify the name of the SV interface to match VTS"
Modify the name of the Surround View interface to match the one in VTS
and the one in the default implementation.

fc614a63fa

Bug: 150412555
Test: m -j
Change-Id: Ie274e0501ce807bafe0211b6a8a9ba694e979341
2020-04-09 19:14:43 -07:00
Ilya Matyukhin
20746053a5 Add biometrics.fingerprint@2.2 to the compatibility matrix
Bug: 153012763
Test: build blueline-userdebug
Change-Id: I209db8a74665df98b4923cbfa11b2b2c9d6dabfa
2020-04-09 23:44:38 +00:00
Ivan Chiang
6e2768e8d6 Merge "Revert "Modify the name of the SV interface to match VTS"" into rvc-dev am: 3f146d74cd
Change-Id: I465454555bd6f8ed64f13471ed5d0b66e8773f98
2020-04-09 10:23:00 +00:00
Ivan Chiang
3f146d74cd Merge "Revert "Modify the name of the SV interface to match VTS"" into rvc-dev 2020-04-09 10:11:00 +00:00
Ivan Chiang
fc614a63fa Revert "Modify the name of the SV interface to match VTS"
Revert submission 10975707-revert-10941635-revert-10611042-surround-view-service-IWFFCKAOZD-LNGXTQTNXI

Reason for revert: bb in git_master-without-vendor aosp_x86-eng
Reverted Changes:
I36c2a9187:Modify the name of the SV interface to match VTS
I2732f1b25:Fix the build failure for aosp_x86-eng
I0e737d7fb:Revert^2 "Setup Surround View for Osprey"
I27def392d:Revert^2 "Selinux policy for SV service and app."
I20a2ecfcc:Revert^2 "Surround View Sample App"
Ifb91b6eeb:Revert^2 "Surround View Service implementation"

Change-Id: I24a09d5e0a69224e30f22595bb99b8e1e23cdafe
2020-04-09 06:07:33 +00:00
Haoxiang Li
033153b286 Merge "Modify the name of the SV interface to match VTS" into rvc-dev am: f6e0036c05
Change-Id: I8320264d299379bbfa00584f138c6d1457f7be76
2020-04-09 03:41:44 +00:00
Haoxiang Li
f6e0036c05 Merge "Modify the name of the SV interface to match VTS" into rvc-dev 2020-04-09 03:39:27 +00:00
Haoxiang Li
49af02ff9d Modify the name of the SV interface to match VTS
Modify the name of the Surround View interface to match the one in VTS
and the one in the default implementation.

Bug: 150412555
Test: m -j
Change-Id: I36c2a9187ae0973444ce441bda09c31d9b73809d
2020-04-08 00:22:28 -07:00
Steven Moreland
30544e0246 Merge "Remove configstore from compatibility_matrix.5.xml" into rvc-dev am: 2ef951ca10
Change-Id: I99c5553b053ff463dbf91f6fa150d6b5487616c0
2020-04-08 01:07:21 +00:00
Steven Moreland
0304199379 Remove configstore from compatibility_matrix.5.xml
To reflect GMS core requirements, which have already been updated.

This HAL is replaced with system properties.

Bug: 124531214
Bug: 149806433
Test: checked by cuttlefish build
Change-Id: Ib710bf39b871365ebced845e3ccec6d333bee630
2020-04-06 14:12:18 -07: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
Hayden Gomes
32cb353c58 Merge "Adding IAudioControl@2.0 to compatibility matrix" into rvc-dev am: 2b6950c40b
Change-Id: I8c11dfc43fd3d86b1dc77fc546e50a0f60c72e9b
2020-03-30 20:33:32 +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
Hayden Gomes
31f0c96c26 Adding IAudioControl@2.0 to compatibility matrix
Bug: 148178269
Test: built target using V2 of IAudioControl
Change-Id: I9673e35f2f9e667b66e1b9fbfa2fb13b975b7cb1
2020-03-30 10:40:11 -07: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
Steven Moreland
8a8f0d77fe bpfmt compat matrix Android.bp
Bug: 147496715
Test: n/A
Change-Id: I2748d4a74f0bfc668f6ff0f8bce22c94dd90f61f
(cherry picked from commit a37ed88ebb)
Merged-In: I2748d4a74f0bfc668f6ff0f8bce22c94dd90f61f
2020-03-25 15:36:05 -07:00
Steven Moreland
a37ed88ebb bpfmt compat matrix Android.bp
Bug: 147496715
Test: n/A
Change-Id: I2748d4a74f0bfc668f6ff0f8bce22c94dd90f61f
2020-03-25 15:14:47 -07:00
Yifan Hong
dc0e2f69ea Merge "Drop GNSS1.1 and Thermal1.0" 2020-03-24 16:31:09 +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
e0386a9f7c Merge "Freeze kernel configs for r." into rvc-dev 2020-03-23 16:45:27 +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
98b9495782 Freeze kernel configs for r.
Bug: 151966896
Test: builds
Change-Id: Iefad197353738410dc066531a6e14e3df96449d4
2020-03-19 16:00:22 -07:00
Yifan Hong
6ea14b48d8 Freeze kernel configs for r.
Bug: 151966896
Test: builds
Change-Id: Iefad197353738410dc066531a6e14e3df96449d4
2020-03-19 15:54:25 -07: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
Treehugger Robot
9a260cdbb6 Merge "Configstore is optional on updating devices." 2020-03-07 03:56:33 +00:00
Yifan Hong
e344d05818 Configstore is optional on updating devices.
Dropping requirement of configstore on devices
launching before or at P.

Test: pass
Bug: 150981985
Change-Id: I1c08bd7b18fe6006ee1555c39072e75ec4fb3210
Merged-In: I1c08bd7b18fe6006ee1555c39072e75ec4fb3210
2020-03-06 17:48:31 -08:00
Yifan Hong
eaa9a5d157 Configstore is optional on updating devices.
Dropping requirement of configstore on devices
launching before or at P.

Test: pass
Bug: 150981985
Change-Id: I1c08bd7b18fe6006ee1555c39072e75ec4fb3210
2020-03-06 17:47:27 -08: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
TreeHugger Robot
88468c17b8 Merge changes from topic "update_sensors_hal"
* changes:
  Add VTS tests for Sensors HAL 2.1
  Add Hinge Angle Sensor to default impl for HAL 2.1
  Add default impl of Sensors HAL 2.1
  Create wrapper for 2.0/2.1 sensor HALs
  Add Sensors HAL 2.1
2020-02-19 04:13:50 +00:00
TreeHugger Robot
e0e455f282 Merge "AIDL light required for launching devices." 2020-02-19 00:25:36 +00:00
Anthony Stange
a9a5eb411e Add VTS tests for Sensors HAL 2.1
Bug: 144139857
Test: atest VtsHalSensorsV2_0TargetTest VtsHalSensorsV2_1TargetTest
Change-Id: If2b751929b8d89c9d381032f5e8424a24719b6bd
2020-02-18 17:45:02 -05:00
Brian Duddie
01eb01a230 Add VTS tests for Context Hub HAL 1.1
Extract some common functionality and add a new test for the newly-added
method in HAL v1.1.

Bug: 135951924
Test: atest VtsHalContexthubV1_0TargetTest \
            VtsHalContexthubV1_1TargetTest
Change-Id: I1cd335d4972bc3242245b2379a7cfa42d1c683a6
2020-02-18 10:20:24 -08:00
Treehugger Robot
72e761e800 Merge "power: Make AIDL HAL mandatory for new devices" am: a36ef09893 am: f7e2840952 am: 9a07084f02
Change-Id: Id32b674faa2a647efa0973966fd2372697321bac
2020-02-15 19:18:45 +00:00
Dan Stoza
8fa535c78e power: Make AIDL HAL mandatory for new devices
Makes the AIDL Power HAL mandatory for new devices. As almost all of
the power hints are already optional, this is effectively just
requiring FIXED_PERFORMANCE mode, which is necessary for game tuning
and performance profiling.

Bug: 136285293
Test: N/A
Change-Id: Ie4c01f13661b2388d8c905159d957f9996c41ee6
2020-02-13 14:50:34 -08:00
Steven Moreland
84dd3b7496 Add AIDL Lights HAL to support multiple lights per type
This is a revision of the previous 2.0 HIDL-based light HAL.
It accomplishes 2 goals:
 1) Support more than 1 light for a given type. This allows Assistant to
    use the HAL on TV platforms that have usually 4 indicator lights.
 2) Use AIDL, which is the more modern way of writing HALs.
The previous HAL is in hardware/interfaces/light/2.0 and the new one is
in versioned as aidl, as that supports forward compatibility.

Test: atest VtsHalLightTargetTest
Bug: 142715294, 142230898
Change-Id: I6d8c12b3df88e02f2a0fff8b6aa8543372b510c8
Merged-In: I08d831ca0380d8bb187e43f6d5c214810ff72f50
2020-02-07 01:50:36 +01:00
Robert Shih
d884ff25bc compatibility_matrix: deprecate pre-1.3 drm
Bug: 139313724
Change-Id: Ie120bc46746489618c6b846c037da1336950930a
2020-02-05 01:02:42 +00:00
Treehugger Robot
99ad09b7e7 Merge "Make IDumpstateDevice 1.1" 2020-01-31 01:06:20 +00:00
TreeHugger Robot
230a2eb1d6 Merge "Use regex names for EVS HAL implementations" 2020-01-30 23:08:21 +00:00
Changyeon Jo
8bcb492309 Use regex names for EVS HAL implementations
This change deprecates EvsEnumeratorHw, which has been a name for
EVS HAL Enumerator implementations, and uses regex names for them.

New method, isHardware(), is added to IEvsEnumerator and the clients
should use this method to tell whether current service is EVS manager
or driver.

Bug: 147010694
Test: m -j
Test: atest VtsHalEvsV1_1TargetTest
Change-Id: I89441936734fde0f0cc2f0151ee9b6622f61814d
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-01-29 19:59:48 -08:00
Automerger Merge Worker
11a4753077 Merge "AIDL vibrator required for launching devices." am: fe720b1bf3 am: f33436fdaf am: ea30d94f7d
Change-Id: I012c4d2b53675a48a9b84aefdf24f829ec2172e0
2020-01-28 19:11:42 +00:00
Treehugger Robot
fe720b1bf3 Merge "AIDL vibrator required for launching devices." 2020-01-28 18:37:26 +00:00
Automerger Merge Worker
296c6f1745 Merge "audio: Require Audio HAL V6 for level 5" am: b3149c34fc am: 71e883282e am: f266698695
Change-Id: I461f1ba8c8295383d197a6ec62210b766f4cf60b
2020-01-25 03:33:05 +00:00
Treehugger Robot
b3149c34fc Merge "audio: Require Audio HAL V6 for level 5" 2020-01-25 01:05:43 +00:00
Automerger Merge Worker
9ce359d8c7 Merge "Delete BUILT_SYSTEM_MATRIX." am: c08c4d873f am: e4156656aa am: ee49617ab0
Change-Id: Ib24379428b41eb1ba34179facafd9b75b99434c5
2020-01-24 21:02:48 +00:00
Ilya Matyukhin
24178e0996 Merge changes from topic "biometrics.face@1.1"
* changes:
  Add biometrics.face@1.1 to current.txt
  Add enroll_1_1 with preview window id
  Add default implementation for biometrics.face@1.1
2020-01-24 19:08:53 +00:00
Automerger Merge Worker
6a25ade3f6 Merge "Add android.hardware.secure_element@1.2" am: 5b7f7d0b67 am: 6ee646adc4 am: 98b2c4dfbb
Change-Id: Ifff63066fd68c4641b77e546a776cead0c18ec04
2020-01-24 07:57:27 +00:00
Ilya Matyukhin
366cc53714 Add default implementation for biometrics.face@1.1
Bug: 145027036
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_0Target
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_1Target
Change-Id: I1aa682644b9b60705a1a8bf40867414b9fc99cd6
2020-01-23 23:15:25 -08:00
Yifan Hong
c08c4d873f Merge "Delete BUILT_SYSTEM_MATRIX." 2020-01-24 01:12:40 +00:00
Mikhail Naganov
6b6325ef09 audio: Require Audio HAL V6 for level 5
Match GMS requirements.

Bug: 143257085
Test: N/A
Change-Id: I514ec4756b3d24d12c9156a04a45d01cbf2227c3
2020-01-23 16:11:33 -08:00
Steven Moreland
15cc8fffe8 AIDL light required for launching devices.
Deprecating light HIDL for launching devices so that we can remove
HIDL support after ~3+ years.

Bug: 142715294
Test: passes on cuttlefish (TH check)
Change-Id: I61c9c89c8c53050a959f4a1c432d880c7989d6b2
2020-01-23 15:12:56 -08:00
Steven Moreland
a65d2972f9 AIDL vibrator required for launching devices.
Deprecating vibrator HIDL for launching devices so that we can remove
HIDL support after ~3+ years.

Bug: 141828236
Test: passes on cuttlefish (TH check)
Change-Id: I2c8b35882a51af0defe8466b28272cff9b3cd151
2020-01-23 15:11:06 -08:00
Shuzhen Wang
05066109ff Camera: Add ICameraProviderCallback version 2.6
The new version adds callback for physical sub-camera status callback.

Test: VtsHalCameraProviderV2_4TargetTest --hal_service_instance=android.hardware.camera.provider@2.6::ICameraProvider/internal/1
Bug: 119325027
Change-Id: I8148f6c55f80d7f4092d2fe5ccf92509bb8c069d
2020-01-23 10:47:54 -08:00
Ivailo Karamanolev
c9827471c8 Merge "Add AIDL Lights HAL to support multiple lights per type" 2020-01-23 16:05:07 +00:00
Hunter Knepshield
1b92d26c08 Make IDumpstateDevice 1.1
Add dumpstateBoard_1_1 to accept a mode parameter (e.g. for limiting
vendor logs to the right bug reports).

Add setDeviceLoggingEnabled for the user to toggle vendor logging on and
off.

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: I5420e5e4ce88619c7e40cf967382f98babc3c3d5
Merged-In: I5420e5e4ce88619c7e40cf967382f98babc3c3d5
(cherry picked from commit c9e2c6d319)
2020-01-22 17:25:24 -08:00
Hunter Knepshield
c9e2c6d319 Make IDumpstateDevice 1.1
Add dumpstateBoard_1_1 to accept a mode parameter (e.g. for limiting
vendor logs to the right bug reports).

Add setDeviceLoggingEnabled for the user to toggle vendor logging on and
off.

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: I5420e5e4ce88619c7e40cf967382f98babc3c3d5
2020-01-22 15:36:17 -08:00
Steven Moreland
bb89a958e5 Add AIDL Lights HAL to support multiple lights per type
This is a revision of the previous 2.0 HIDL-based light HAL.
It accomplishes 2 goals:
 1) Support more than 1 light for a given type. This allows Assistant to
    use the HAL on TV platforms that have usually 4 indicator lights.
 2) Use AIDL, which is the more modern way of writing HALs.
The previous HAL is in hardware/interfaces/light/2.0 and the new one is
in versioned as aidl, as that supports forward compatibility.

Test: atest VtsHalLightTargetTest
Bug: 142715294, 142230898
Change-Id: I08d831ca0380d8bb187e43f6d5c214810ff72f50
2020-01-22 23:28:07 +01:00
Howard Yen
9ae790985a Merge changes from topic "usb_gadget_reset"
* changes:
  Add USB Gadget Hal v1.1 default implementation
  Add USB Gadget V1.1 with hash code
  USB Gadget V1.1 interface
2020-01-22 20:56:44 +00:00
Steven Moreland
758b8941c3 Merge "graphics: allow IAllocator 2.0 and IMapper to 2.1" 2020-01-22 17:13:42 +00:00
Jason Macnak
32cc5ae339 graphics: allow IAllocator 2.0 and IMapper to 2.1
Allows IAllocator 2.0 and IMapper 2.1 so that Cuttlefish can advertise
API level 30 for R before 4.0 is implemented.

Bug: b/136016160
Test: Compiles and boots
Change-Id: I6d8ebc7013a2887521358b1ba73a2def14c20b9a
2020-01-21 23:12:17 +00:00
Howard Yen
ff8a112203 USB Gadget V1.1 interface
Support USB Gadget reset from framework.

Bug: 138702846
Test: build pass, function works
Change-Id: I833b65943a4504b69472fb33d89eb06558aa5fb2
2020-01-20 17:27:40 +08:00
Jack Yu
0d914d8c2a Add android.hardware.secure_element@1.2
Test: None
Bug: 142495673
Change-Id: Ie0f3e87d58047b76ea47990a49d3eac745967255
2020-01-17 14:06:27 +00:00
Automerger Merge Worker
234830afc2 Merge "Power: PowerHAL AIDL interface" am: 384eb8a2bb am: fd7e72f323 am: 18b0839d06
Change-Id: I73d6a5d0772d7a57ddf123c16b5e022da6f498e3
2020-01-16 23:09:09 +00:00
Wei Wang
61c2a337a9 Power: PowerHAL AIDL interface
Bug: 146453294
Test: build and run VtsHalPowerTargetTest pass
Change-Id: Id2a0194173325015933b0db72067f03a375566ee
2020-01-15 16:51:14 -08:00
Yifan Hong
4c23d3b4dd Delete BUILT_SYSTEM_MATRIX.
This was used in VINTF OTA metadata in update package, but VINTF metadata
is deleted in update package now.

Test: builds
Change-Id: I831d7547d7aee2ab1d344304e13fb0e1aeeb6bd6
2020-01-07 16:44:11 -08:00
Kenny Root
4fba44c159 HAL for Resume on Reboot
This adds a HAL interface for escrowing a key over reboot during an OTA
that will unlock the Synthetic Password when the OTA has completed
successfully.

Bug: 63928581
Test: make
Test: atest VtsHalRebootEscrowTargetTest
Change-Id: I8485f3821157e67b6651f4fe425e46cb4499c710
2019-12-16 18:55:29 -08:00