Commit graph

410 commits

Author SHA1 Message Date
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
Daniel Bright
64f69904ff Merge "Introduce Radio Hal Device Capabilities" 2021-01-22 19:08:21 +00:00
ChengYou Ho
10f8a48b64 Add weaver aidl interface
Bug: 176107318
Change-Id: I4dd064843e3e630b878ff08f89100e1b4303a02c
2021-01-22 06:34:31 +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
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
Yifan Hong
c78079b333 Add health.storage AIDL HAL
Test: TH
Bug: 177470478

Change-Id: Ib982fb4e98403edcbe23034569373a7777b139f1
2021-01-15 18:36:41 -08: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
112fab25fc Add authsecret AIDL interface
Bug: 176107318
Change-Id: Ia430177018344b093fea3314eb54ef2423fbf636
2021-01-12 06:01:29 +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
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
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
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
69c290564a Merge "Add android-5.10 support for S" 2020-12-17 20:12:00 +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
e5d68ba29c Merge "Memtrack HAL: Add stable AIDL implementation" 2020-12-14 18:36:10 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
ef85febe6a Merge "Reorder/cleanup FCM exempt list #1" 2020-09-16 16:09:33 +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
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
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
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