Commit Graph

56097 Commits

Author SHA1 Message Date
Sungtak Lee
e12f4b7664 Merge "media.c2 aidl: handle the case of fence being invalid" into main am: cf5c2cf45a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2845122

Change-Id: I9d226bdfc6570f3799b3e640eaffa05387feba1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-27 18:44:53 +00:00
Sungtak Lee
cf5c2cf45a Merge "media.c2 aidl: handle the case of fence being invalid" into main 2023-11-27 17:52:47 +00:00
David Drysdale
4ea954c721 AuthGraph: drop now-unused StdClock am: 20c6549f34
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2845875

Change-Id: I8cf0b7c2383ec799602a47acb568a02d48b9c658
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-27 06:44:03 +00:00
Sungtak Lee
80345e908e media.c2 aidl: handle the case of fence being invalid
Bug: 254050314
Test: m
Change-Id: I6eed49119de96326324f901fd99d20ab605b92a0
2023-11-26 22:55:09 +00:00
David Drysdale
20c6549f34 AuthGraph: drop now-unused StdClock
Test: build
Bug: 291228560
Change-Id: Ie4bd2c7ebca1ceae07012f406c2dcbb5efbd915d
2023-11-23 15:50:42 +00:00
Jooyung Han
709142dd27 Merge "Add authgraph HAL APEX" into main am: 28b3387f4c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2840435

Change-Id: I77d25b88846ac865b52348d7a6fd7bee25520dca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-23 02:23:32 +00:00
Jooyung Han
28b3387f4c Merge "Add authgraph HAL APEX" into main 2023-11-23 02:03:18 +00:00
Treehugger Robot
48b1beb63e Merge "Sandbox VehicleServerProtoStub_cc/h@default-grpc" into main am: 73c04536b0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2838463

Change-Id: I9d1fce774f527235d7663d71622035c970bcf774
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-22 20:37:12 +00:00
Treehugger Robot
73c04536b0 Merge "Sandbox VehicleServerProtoStub_cc/h@default-grpc" into main 2023-11-22 20:04:07 +00:00
Alice Wang
57a8f53895 Merge "Revert^4 "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"" into main am: c9655da294
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2828233

Change-Id: I86afe41da38aa823ba2d219893c38d608701c05c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-22 10:02:49 +00:00
Alice Wang
c9655da294 Merge "Revert^4 "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"" into main 2023-11-22 09:49:19 +00:00
David Drysdale
853507e554 Merge "AuthGraph VTS: detect additional errors" into main am: f4cb6de19c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2838658

Change-Id: I7c2bc33984ec60f6864461de36cae3ed885640d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-22 06:32:13 +00:00
David Drysdale
f4cb6de19c Merge "AuthGraph VTS: detect additional errors" into main 2023-11-22 06:23:38 +00:00
Treehugger Robot
33da1770e1 Merge "remove the com.android.threadnetwork from apex_available list" into main am: 1cc9795ba8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2842753

Change-Id: Ifd603a3be72ce5fdf177daffde45b1d743b8f76f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-22 03:21:36 +00:00
Treehugger Robot
1cc9795ba8 Merge "remove the com.android.threadnetwork from apex_available list" into main 2023-11-22 02:58:44 +00:00
Zhanglong Xia
7760812a21 remove the com.android.threadnetwork from apex_available list
The ot-daemon has been moved from the com.android.threadnetwork to
com.android.tethering. No need to add the com.android.threadnetwork
to the apex_available list.

Bug: b/312573093
Test: Build
Change-Id: I2216e0d2a1d30738c405a174909d174cbc1f0bc7
2023-11-22 09:45:37 +08:00
Shikha Panwar
0b79d5ef6a Merge changes from topic "sk_hal" into main am: 0da7c09716
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2797757

Change-Id: I79ad9d903e002ef239590b8a6eb3c0c8cacb1aa3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 18:05:52 +00:00
Shikha Panwar
76e967125d Secretkeeper implementation: in-HAL/nonsecure impl am: eb223ba883
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2797756

Change-Id: I7150b06fd6ade851f50722efaf1fa53630d3c00e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 18:05:49 +00:00
Shikha Panwar
691cff2628 Introduce Secretkeeper HAL interface am: 18cafa0a11
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2695089

Change-Id: Ia59d78475411fab5ef74bc3a5d8116944e020c32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 18:05:41 +00:00
Shikha Panwar
0da7c09716 Merge changes from topic "sk_hal" into main
* changes:
  VTS test for ISecretkeeper
  Secretkeeper implementation: in-HAL/nonsecure impl
  Introduce Secretkeeper HAL interface
2023-11-21 17:56:46 +00:00
Alice Wang
895f4b33e8 Revert^4 "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"
Revert submission 2829351-revert-2812456-revert-2812435-revert-2778549-expose-avf-rkp-hal-GTFGLMUUKQ-PAWNEHUQBT-WYENGHRTXK

Reason for revert: Relands the original topic:
https://r.android.com/q/topic:%22expose-avf-rkp-hal%22
PS2 is the same as the original cl: aosp/2796032

Reverted changes: /q/submissionid:2829351-revert-2812456-revert-2812435-revert-2778549-expose-avf-rkp-hal-GTFGLMUUKQ-PAWNEHUQBT-WYENGHRTXK

Test: atest MicrodroidHostTests librkp_support_test
Change-Id: I7200599131c01908db7fa3bb4a6f989418a89288
2023-11-21 12:26:53 +00:00
Shikha Panwar
a6eaf55d7d VTS test for ISecretkeeper
Add VTS for testing ISecretkeeper implementation. At present, VTS is
limited to testing GetVersion operation of SecretManagement.

Test: atest VtsSecretkeeperTargetTest
Bug: 291224769
Change-Id: I6084af2fa6cb578e27996e26a0505b267a10b4ef
2023-11-21 12:00:49 +00:00
David Drysdale
087ead1608 AuthGraph VTS: detect additional errors
A failure to get the IAuthGraphKeyExchange/nonsecure instance might
be because it's not registered (likely on most non-Cuttlefish devices)
or it might be for some other reason, such as SELinux denial.

So detect other kinds of failure to get the service, and also change
the VTS to require root so SELinux denials don't happen.

Also tweak the expected return code when a source is given a corrupt
key; now that replay protection is implemented, the reference
implementation rejects this earlier (and with a different error)
because the session lookup fails.

Test: VtsAidlAuthGraphRoleTest
Bug: 291228560
Change-Id: I032600ac809f43a3642fa9ef9aae788d3ca2378f
2023-11-21 11:09:42 +00:00
David Drysdale
5f845fe2f7 Merge "KeyMint: tweak spec to allow for no v4 in V" into main am: 3fb1cddadc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2838075

Change-Id: I424a83ebedd5f382a66bdf8e7c77de8a8a1713b6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 10:04:33 +00:00
David Drysdale
3fb1cddadc Merge "KeyMint: tweak spec to allow for no v4 in V" into main 2023-11-21 09:38:53 +00:00
Jooyung Han
9f3f37f288 Add authgraph HAL APEX
Bug: 309463258
Test: VtsAidlAuthGraphSessionTest
Change-Id: I5ac32a6e5d70321f31321b613a982020bf51db68
2023-11-21 17:14:33 +09:00
Cole Faust
52d7446074 Sandbox VehicleServerProtoStub_cc/h@default-grpc
go/roboleaf-busy-beavers-sandboxing

Bug: 307824623
Test: ./build/soong/tests/genrule_sandbox_test.py VehicleServerProtoStub_cc@default-grpc VehicleServerProtoStub_h@default-grpc
Change-Id: I35d56c909e5eda8bc337f7f994e669fb8e3c9cb0
2023-11-20 14:36:58 -08:00
Hasini Gunasinghe
6e9c879a2a Merge "Documentation updates as per the API council review and proof reading." into main am: d411e0aa8f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2835300

Change-Id: Id2184d8d1d0f90befacb299f7c539fde81c225e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-20 18:26:54 +00:00
Hasini Gunasinghe
d411e0aa8f Merge "Documentation updates as per the API council review and proof reading." into main 2023-11-20 17:55:48 +00:00
David Drysdale
1405dbc7a4 KeyMint: tweak spec to allow for no v4 in V
Given that we are not expecting to release a v4 of the KeyMint HAL for
Android V, tweak some spec and test details so that existing v3
implementations do not need to change.

- Soften the requirement to use (1970-01-01, 9999-12-31) as cert dates
  when secure-importing an asymmetric to be a suggestion instead.
- Change the version gate for the test of importing an EC key with no
  specified `EC_CURVE` to be VSR-gated rather than gated on a putative
  future version of the HAL.

Test: VtsAidlKeyMintTargetTest
Bug: 292318194
Bug: 292534977
Change-Id: Ib8d6e79ea948ee77eeb2528d698205179f026fd3
2023-11-20 12:13:42 +00:00
Alice Kuo
80389ef4cc Minor handle refine for setLowLatencyModeAllowed am: 42b85abe9c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2837536

Change-Id: Id615f5a6c41f242f5ce6965f6187e15ff0c754ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-20 10:13:17 +00:00
Limon Mia
0a52a92084 BTAudio HAL: implement changes for DSA Over LEA am: 7c48034d32
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2835456

Change-Id: I9f31f9c9c74b27018e43a73e1be8dbbb91cb714b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-20 10:13:13 +00:00
Alice Kuo
42b85abe9c Minor handle refine for setLowLatencyModeAllowed
setLowLatencyModeAllowed API is only used for A2DP offload session. For
this case, we shouldn't report ReportLowLatencyModeAllowedChanged
callback for the other session

Bug: 270987427
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I1991ee93b3523717c6ca26b1638e34a196253a5b
2023-11-20 08:24:51 +00:00
Limon Mia
7c48034d32 BTAudio HAL: implement changes for DSA Over LEA
Test: atest VtsHalBluetoothAudioTargetTest
Bug: 270987427
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f6a9577ac7585a5c284896736ba3508f7ed7528a)
Merged-In: I341e3af726da7870e23f5bb0943066ebcdd34e35
Change-Id: I341e3af726da7870e23f5bb0943066ebcdd34e35
2023-11-20 07:56:19 +00:00
Shunkai Yao
fbc941c636 Merge "Add Headtracking connection mode for Spatializer AIDL" into main am: 17017a2aa4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2835087

Change-Id: Ic678642aef149eebe7cabdc93ba43ba73b52ccf0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-18 01:34:45 +00:00
Shunkai Yao
17017a2aa4 Merge "Add Headtracking connection mode for Spatializer AIDL" into main 2023-11-18 01:01:28 +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
Shikha Panwar
18cafa0a11 Introduce Secretkeeper HAL interface
Secretkeeper is a privileged component which seals the secrets of pVM
instances & releases them on successful authentication of the pVM.

The HAL should be backed by a secure TA of higher privilege than a pVM.

This patch introduces a subset of HAL spec - the SecretManagement api. The
protocol is cbor based (specified in SecretManagement.cddl).

Test: atest VtsSecretkeeperTargetTest
Bug: 293429085
Change-Id: I8e650f27d506d378a94bbc8834c68a005fb12253
2023-11-17 18:17:24 +00:00
Treehugger Robot
1a6a1468e8 Merge "Refactored vehicleManager_fuzzer" into main am: 3db45f8509
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2769161

Change-Id: I1b2e923169a0e002e729eecb7bdcb3b4463c413d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 09:45:12 +00:00
Treehugger Robot
3db45f8509 Merge "Refactored vehicleManager_fuzzer" into main 2023-11-17 09:15:07 +00:00
Shunkai Yao
d5b19ea384 Add Headtracking connection mode for Spatializer AIDL
Bug: 311474218
Test: m android.hardware.audio.effect-update-api
Test: m
Change-Id: I2578cc37f55000d881211048a10256e67aa26532
2023-11-17 04:27:23 +00:00
Hasini Gunasinghe
7a32f3e555 Documentation updates as per the API council review and proof reading.
This CL updates description of the `Nonce` used in key exchange as per
API council review.

Additionally, this includes updates to the documentation that are found
to be suitable as per further proof reading.

Test: N/A
Change-Id: Ie59e3a10eb8844fcfac9dad60c9d431ae499ee40
2023-11-17 02:18:23 +00:00
Treehugger Robot
981368d0a7 [automerger skipped] Merge "audio: Add a missing include to ModuleConfig.cpp" into main am: 035672eb61 -s ours
am skip reason: Merged-In I1b3b5d8c5118b4f56cb0fe0c2bafd1ff30a6ca41 with SHA-1 c74fe57c00 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2825166

Change-Id: Idc2f722a45adb0a83fbc7983b592a467f437134f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 20:27:56 +00:00
Mikhail Naganov
96b41941a8 [automerger skipped] audio: Add a missing include to ModuleConfig.cpp am: 6198ad3883 -s ours
am skip reason: Merged-In I1b3b5d8c5118b4f56cb0fe0c2bafd1ff30a6ca41 with SHA-1 c74fe57c00 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2825166

Change-Id: Ia48076885d3586bef5836cd1ec0f52001c10ba98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 20:27:51 +00:00
Treehugger Robot
035672eb61 Merge "audio: Add a missing include to ModuleConfig.cpp" into main 2023-11-16 19:47:54 +00:00
Hasini Gunasinghe
cefe7ae2f7 Merge "Update the VTS module according to the refactoring in aosp/2826571" into main am: 69efe8e753
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2827370

Change-Id: I2caf7f422161556fa4b351383d9ded0b350ab59d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16 18:09:57 +00:00
Hasini Gunasinghe
69efe8e753 Merge "Update the VTS module according to the refactoring in aosp/2826571" into main 2023-11-16 17:11:38 +00:00
Hasini Gunasinghe
5df6ed5e66 Update the VTS module according to the refactoring in aosp/2826571
Test: atest VtsAidlAuthGraphRoleTest, atest VtsAidlAuthGraphSessionTest
Change-Id: I6cc3bd17952f602b58668d35e09c6a5385c7de61
2023-11-16 06:49:05 +00:00
Avichal Rakesh
58071a4166 Merge "ExternalCameraHAL: Fix memory leak when copying buffer fence" into main am: 634ecd5da0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2817883

Change-Id: Ic9237e2adc2bc384b0ef8d9f9c3bbee690d143aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 22:44:38 +00:00
Avichal Rakesh
634ecd5da0 Merge "ExternalCameraHAL: Fix memory leak when copying buffer fence" into main 2023-11-15 22:18:24 +00:00