Commit Graph

449 Commits

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