Commit graph

541 commits

Author SHA1 Message Date
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