Commit Graph

1228 Commits

Author SHA1 Message Date
Shikha Panwar
afca7e50dc Secretkeeper implementation: in-HAL/nonsecure impl am: eb223ba883
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2797756

Change-Id: I874cf08c7331fbb91653f54be29f831e109e4c6d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 18:05:44 +00:00
Shikha Panwar
eb223ba883 Secretkeeper implementation: in-HAL/nonsecure impl
Create the default/reference implementation of Secretkeeper HAL. Status
quo, this is non-secure implementation. In reality, the HAL should be
backed by a privileged component such a trusted app.

Bug: 291224769
Test: Topic includes VTS
Change-Id: I6a4ad50482d537f5438de6201275f4020cd827df
2023-11-17 18:21:35 +00:00
Devin Moore
bafcb977b5 Merge changes from topic "upstream_next_vintf_v1" into main
* changes:
  Remove compatibility_matrix.9.xml from 'next' builds
  Mark some HALs as updatable-via-apex retroactively
2023-11-10 21:13:06 +00:00
Devin Moore
f45d423af2 Remove compatibility_matrix.9.xml from 'next' builds
This compatibility matrix has not be finalized or released yet, so it's
very important that releasing devices in the 'next' configuration don't
use its contents.

Test: m
Bug: 296930312
Change-Id: I843a24308a1653bff0b4842ff71e657304bea2c8
Merged-In: I843a24308a1653bff0b4842ff71e657304bea2c8
2023-11-09 21:39:32 +00:00
Devin Moore
2f0b6a3aea Mark some HALs as updatable-via-apex retroactively
These are all marked updatable-via-apex in compatibility_matrix.9.xml.
Adding them to compatibility_matrix.8.xml to allow Cuttlefish to build
with the apexes on 'next'

Test: m
Bug: 296930312
Change-Id: I2910695dbb7a79ca7164f7ed69437f9636d4135b
Merged-In: I2910695dbb7a79ca7164f7ed69437f9636d4135b
2023-11-09 21:39:15 +00:00
Shunkai Yao
95732c6cb9 Add defaults for audio AIDL interfaces
- with defaults user don't have to change their Android.bp when there is
  a update
- update AIDL audio interfaces with android.media.audio.common.types
- update Spatialization and HeadTracking AIDL usage

Bug: 273373363
Bug: 293370815
Test: m
Test: lunch panther-trunk_staging-userdebug; m; test Bluetooth Audio
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1977a4a664cc71e1d9841a01573b63793f88ae59)
Merged-In: Ic9d8afc1d4e19e4243c66065b0a5d29156632851
Change-Id: Ic9d8afc1d4e19e4243c66065b0a5d29156632851
2023-11-07 18:18:24 +00:00
Shunkai Yao
195d3d6915 Add defaults for audio AIDL interfaces
- with defaults user don't have to change their Android.bp when there is
  a update
- update AIDL audio interfaces with android.media.audio.common.types
- update Spatialization and HeadTracking AIDL usage

Bug: 273373363
Bug: 293370815
Test: m
Test: lunch panther-trunk_staging-userdebug; m; test Bluetooth Audio
Change-Id: Ic9d8afc1d4e19e4243c66065b0a5d29156632851
Merged-In: Ic9d8afc1d4e19e4243c66065b0a5d29156632851
2023-11-06 19:14:32 +00:00
Hasini Gunasinghe
ab608a60ec Merge changes from topic "authgraph-hal" into main am: 93439a212b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2786800

Change-Id: I1dd6ab8030654352f455838bb12b7a99b2336b5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-01 17:10:56 +00:00
Hasini Gunasinghe
5c44262ee7 Define the AIDL interface for AuthGraph key exchange. am: 0e2495f107
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2606133

Change-Id: I5f4c2a1bd1a021d77e891285587b50308d35021f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-01 17:10:38 +00:00
Hasini Gunasinghe
0e2495f107 Define the AIDL interface for AuthGraph key exchange.
Introduce the AIDL methods for key exchange and the CDDLs for
the relevant input/output types that are CBOR encoded.

Use a standard comment format in CDDL files to indicate where additional
structure definitions can be found, in the hope that one day tooling
will be available to automatically check schema syntax.

Add authgraph to compatibility matrix

This CL merges the CLs: aosp/2750484, aosp/2750485, aosp/2750486 by
drysdale@google.com

Co-authored-by: David Drysdale <drysdale@google.com>

Bug: 284470121
Test: validate schemas with https://cddl.anweiss.tech/
Test: VtsAidlAuthGraphSessionTest (with nonsecure default impl)
Change-Id: I2793666ede028f8abe91569587c09dcac21c67e0
2023-10-31 23:18:56 +00:00
David Drysdale
7fd838c0fe Add (nonsecure) default AuthGraph impl
Add an implementation for the AuthGraph key exchange HAL, to allow
testing and policy compliance.

In real use, IAuthGraphKeyExchange instances are expected to be
retrieved from some other HAL, allowing the AuthGraph instance to be
specifically correlated with the component that uses it.

Bug: 284470121
Bug: 291228560
Test: hal_implementation_test
Test: VtsAidlAuthGraphSessionTest
Change-Id: Ib064292d60bead663af7721fd1406f2a9b5d8ecd
2023-10-31 23:18:56 +00:00
Devin Moore
433563d323 Merge "Revert "Remove Q matrices"" into main am: 2908f7ba6a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2810369

Change-Id: I3d83da7b91df6c6a6b4b2f2a79471214faaeb8fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 00:11:08 +00:00
Devin Moore
5f679f3deb Revert "Remove Q matrices"
Revert submission 2808255-deprecate_android_q

Reason for revert: Broke a device build that is targeting Q b/308482858

Reverted changes: /q/submissionid:2808255-deprecate_android_q

Change-Id: Icc5250b219b8500bbd98eba0d20c637c76b734e6
2023-10-30 22:38:29 +00:00
Treehugger Robot
f52d4417e7 Merge "Remove Q matrices" into main am: 80c14fb148
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2808315

Change-Id: I2f31efa2feaede87c819c49827c5001d4368460f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 19:45:31 +00:00
Devin Moore
9313926939 Remove Q matrices
Devices with Q VINTF won't be able to update to Android V. Devices
launching Q or earlier will need to update their VINTF to R or above to
be able to work with Android V.

Test: m check-vintf-all
Bug: 279809679
Change-Id: Ib861160b3d38315084b35965229098285b1e2f8b
2023-10-27 18:23:32 +00:00
Xin Li
84fe582d6e Merge 10952656
Merged-In: I27fe6f65f491db9d88710cf163eba12079499a09
Change-Id: I0c62786a40dd3c2d042929c7cb2e4334169bef84
2023-10-17 10:08:42 -07:00
Steven Moreland
47b0223eaa OMX: allow in 8
Bug: 293538526
Change-Id: Ieda8e14d23c367c18537d79c28aeea8a9efbec53
Test: N/A
(cherry picked from commit ab586ba7d3)
2023-10-13 22:16:25 +00:00
Devin Moore
a8e7d2aad5 Add the "virtual" instance for face HAL retroactively am: f426201991 am: 331cdf4127
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2751164

Change-Id: I2c29015aaffd08b404a716915df73b9ed41d0f09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 02:28:32 +00:00
Devin Moore
331cdf4127 Add the "virtual" instance for face HAL retroactively am: f426201991
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2751164

Change-Id: I0b9ddad3b8c1e53c947d6f2fbd9add87879b66a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 01:32:54 +00:00
Devin Moore
f426201991 Add the "virtual" instance for face HAL retroactively
Test: m
Bug: 300320120
Change-Id: I395865e9af3679d8cb6cd888dfc3438fa3389f95
2023-09-13 22:19:54 +00:00
Treehugger Robot
b416ef1239 Merge "Add OWNERS files to support dirs" into main am: ab20a682ca am: ba3c28f471
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2747142

Change-Id: Iaaad26ec1c55551e5fc5bc7e9d79f10a1c028a49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-13 20:33:23 +00:00
Treehugger Robot
ba3c28f471 Merge "Add OWNERS files to support dirs" into main am: ab20a682ca
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2747142

Change-Id: Icafea03bdb30c02fcc90f44d24fe29dd04c7e0ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-13 19:39:24 +00:00
Treehugger Robot
ab20a682ca Merge "Add OWNERS files to support dirs" into main 2023-09-13 18:35:37 +00:00
Jeongik Cha
9f82ee355f Merge "Define POLICYVERS" into main am: 761e419f0e am: c6c7ad81e9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2747394

Change-Id: Iba88690ec56c7e2f45f46f49e436043b400ff6c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 23:46:43 +00:00
Jeongik Cha
c6c7ad81e9 Merge "Define POLICYVERS" into main am: 761e419f0e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2747394

Change-Id: Ibe04ae51bf90c5ba1e7670835e424771bd5d37a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 23:40:16 +00:00
Jeongik Cha
761e419f0e Merge "Define POLICYVERS" into main 2023-09-12 23:04:34 +00:00
Jeongik Cha
05f5dc325c Define POLICYVERS
Bug: 296875906
Bug: 289368466
Test: check kernel-sepolicy-version field in
  system/etc/vintf/compatibility_matrix.device.xml
Change-Id: I9b769db3649885a7b602c8ce9351b86472c84936
2023-09-12 22:10:00 +09:00
Devin Moore
a13506d7cf Add OWNERS files to support dirs
These aren't HALs and don't really have owners, but adding the OWNERS
files here to be explicit and stick to the pattern used in all the other
subdirectories.

Test: none
Bug: 296950573
Change-Id: I7cd157c79965ca40eec9bfe80d3c8dfa4c460d58
2023-09-11 17:03:06 +00:00
Yifan Hong
6b1cc5dbf1 Merge "compatibility_matrices: T launching devices allow to use light V1 AIDL." into main am: 8b7b91080c am: 38aa4e9234
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2746178

Change-Id: I189ec22e37545c8578031e3beeca060118f5680a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 21:22:53 +00:00
Yifan Hong
38aa4e9234 Merge "compatibility_matrices: T launching devices allow to use light V1 AIDL." into main am: 8b7b91080c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2746178

Change-Id: I37f3f44a93a67749053374356894b3ffbcbb9409
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 20:30:33 +00:00
Yifan Hong
8b7b91080c Merge "compatibility_matrices: T launching devices allow to use light V1 AIDL." into main 2023-09-08 20:08:25 +00:00
Yifan Hong
a06efe1543 compatibility_matrices: T launching devices allow to use light V1 AIDL.
AIDL deprecation checks are only implemented in U,
so the existing V2 requirement on the T matrix
did not take effect on T branches. Hence, we
shouldn't add requirements retroactively.

Test: TH
Bug: 298318354
Change-Id: Iaf38c6d6270f4aa9c7163540a396045be9d7865a
2023-09-08 18:37:45 +00:00
Devin Moore
6ea114dcd0 Remove compatibility_matrix.9.xml from 'next' builds
This compatibility matrix has not be finalized or released yet, so it's
very important that releasing devices in the 'next' configuration don't
use its contents.

Test: m
Bug: 296930312
Change-Id: I843a24308a1653bff0b4842ff71e657304bea2c8
Merged-In: I843a24308a1653bff0b4842ff71e657304bea2c8
2023-09-02 00:04:29 +00:00
Devin Moore
9c8fc4b81d Mark some HALs as updatable-via-apex retroactively
These are all marked updatable-via-apex in compatibility_matrix.9.xml.
Adding them to compatibility_matrix.8.xml to allow Cuttlefish to build
with the apexes on 'next'

Test: m
Bug: 296930312
Change-Id: I2910695dbb7a79ca7164f7ed69437f9636d4135b
Merged-In: I2910695dbb7a79ca7164f7ed69437f9636d4135b
2023-09-02 00:04:14 +00:00
Jooyung Han
bb1e84f27f Merge "Mark neuralnetworks HAL as updatable-via-apex" into main 2023-09-01 08:47:22 +00:00
Jooyung Han
b0b30b84c1 Mark neuralnetworks HAL as updatable-via-apex
Bug: 297786849
Test: m
Merged-In: I80eb731040d23371886213941138bc73c033bb1f
Change-Id: I80eb731040d23371886213941138bc73c033bb1f
2023-08-30 03:43:40 +00:00
Jooyung Han
41b170f736 Mark neuralnetworks HAL as updatable-via-apex
Bug: 297786849
Test: m
Merged-In: I80eb731040d23371886213941138bc73c033bb1f
Change-Id: I80eb731040d23371886213941138bc73c033bb1f
2023-08-29 18:16:18 +09:00
Jooyung Han
43da94db87 Merge "Mark neuralnetworks HAL as updatable-via-apex" into udc-dev-plus-aosp 2023-08-29 09:13:08 +00:00
Zhanglong Xia
38f2181dd0 Merge "order the instance android.hardware.threadnetwork in the matrix XML" into main am: bdf2b0e9ec am: 0fb67b5250
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2721514

Change-Id: I4dc09d04b09c133962a380c8e31599b9a525a4fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 03:32:36 +00:00
Zhanglong Xia
0fb67b5250 Merge "order the instance android.hardware.threadnetwork in the matrix XML" into main am: bdf2b0e9ec
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2721514

Change-Id: Ib5f4d1936a7a09cd1779ce6948b186484aa923cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 02:41:50 +00:00
Jooyung Han
f3db7ced80 Mark neuralnetworks HAL as updatable-via-apex
Bug: 297786849
Test: m
Change-Id: I80eb731040d23371886213941138bc73c033bb1f
2023-08-28 06:41:43 +00:00
Zhanglong Xia
f52d91b132 order the instance android.hardware.threadnetwork in the matrix XML
Bug: 296965759
Test: m
Change-Id: I1cec104ba851d4ed8684e4c805ac71959eac8b4a
2023-08-28 10:47:56 +08:00
Xin Li
879960bdce Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: I7b6fffac2ada0e039f79bad8cc9b4d954e9c3460
Change-Id: I9466127d8d0fa38df36ca99f704853b2db871e67
2023-08-25 13:29:30 -07:00
Jooyung Han
b099d4c546 Mark threadnetwork HAL as updatable-via-apex am: 868b8968bf am: 3d9a2543f4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725096

Change-Id: If3c9aceee3ef7c16a3517dfcfb8bf3d378844e87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 08:49:39 +00:00
Jooyung Han
3d9a2543f4 Mark threadnetwork HAL as updatable-via-apex am: 868b8968bf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725096

Change-Id: Ia6abf433be42e602b77c42c5e67eaea6cb9bd883
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 08:06:57 +00:00
Jooyung Han
de60dd2ae5 Merge changes from topic "threadnetwork-apex" into main
* changes:
  Move threadnetwork HAL to VAPEX
  Mark threadnetwork HAL as updatable-via-apex
  Add apexkey "com.android.hardware"
2023-08-25 07:17:09 +00:00
Jooyung Han
8e86a39426 Merge "Mark nfc HAL as updatable-via-apex" into main am: a9c0dda341 am: aa32086a7e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2724974

Change-Id: I004130915e93b8eefde6d00b06f795a34c84855e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 00:08:56 +00:00
Jooyung Han
868b8968bf Mark threadnetwork HAL as updatable-via-apex
Since it's not available in U, we don't have to mark it in 8.xml

Bug: 296966113
Test: m
Change-Id: I5ba313208c4c43c270fd4507f3e92cea6a62dc5e
2023-08-24 16:49:25 +09:00
Jooyung Han
b5cae6c04a Mark nfc HAL as updatable-via-apex
Mark it in both 8.xml and 9.xml. 8.xml for -next configuration.

Bug: 296529752
Test: n/a
Change-Id: Ie96c38e30618cc343586f429a5d48e7108f90614
2023-08-24 14:18:57 +09:00
Jooyung Han
c589bee5ff Merge "Put authsecret example in VAPEX" into main 2023-08-23 01:16:06 +00:00