Commit Graph

56128 Commits

Author SHA1 Message Date
Treehugger Robot
077c76f85b Merge "Add new CertificateType for the RKP VM" into main am: 3cf2309b7b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2850345

Change-Id: Ic5093b17efedf100c4443e22058fc0491b538ef3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 18:33:33 +00:00
Treehugger Robot
3cf2309b7b Merge "Add new CertificateType for the RKP VM" into main 2023-11-30 17:00:20 +00:00
Seth Moore
690571283b Add new CertificateType for the RKP VM
The RKP VM is part of the Android Virtualization Framework. It will be
uniquely authenticated by the RKP server, and therefore needs its own
certificate type.

Bug: 300624493
Change-Id: Ice586ad85ae43235dd80a5d220603e7394c1c49b
2023-11-30 15:55:54 +00:00
Treehugger Robot
c92314a03b Merge "Remove symlink to audio_effects_conf.xsd" into main am: f75750965f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2853029

Change-Id: I70e3ecd7b6b0088d7adaf566e406f977baebe8e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-30 02:51:12 +00:00
Treehugger Robot
f75750965f Merge "Remove symlink to audio_effects_conf.xsd" into main 2023-11-30 02:15:49 +00:00
Cole Faust
36efc06267 Remove symlink to audio_effects_conf.xsd
A change is being made so that sandboxed genrules need to add a
dependency on the targets of the symlinks they use.

In this case, the symlink isn't necessary, and we can just depend
on the audio_effects_conf_V2_0 genrule instead.

Bug: 307824623
Test: m audio_effects_conf_V4_0
Change-Id: I6ddaa81e08d7c4a9c29412b11a08f1d6b88689b5
2023-11-29 13:49:21 -08:00
Devin Moore
506464d703 Merge "Register bluetooth.audio in the audioservice AIDL example" into main am: 6504238fd7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2850408

Change-Id: If75c1fba3e0f8237213f4e132e8fc017382c610f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 18:44:46 +00:00
Devin Moore
6504238fd7 Merge "Register bluetooth.audio in the audioservice AIDL example" into main 2023-11-29 18:15:31 +00:00
David Drysdale
b415119cad Merge "KeyMint: check length of verified boot key" into main am: 2ae2061864
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2786465

Change-Id: I0c7ab3c6a0c5d01328466f54e5acc4991b2ab71a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 11:46:32 +00:00
David Drysdale
2ae2061864 Merge "KeyMint: check length of verified boot key" into main 2023-11-29 10:41:13 +00:00
Mikhail Naganov
bac3fc05df Merge "audio: Fix parsing of I/O flags from XML config" into main am: 1a7cdeef2b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2850161

Change-Id: Iee1503da181f831393f2cdc1cec992341385e3f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 03:57:02 +00:00
Mikhail Naganov
1a7cdeef2b Merge "audio: Fix parsing of I/O flags from XML config" into main 2023-11-29 03:12:06 +00:00
Mikhail Naganov
37fe9e84b5 audio: Fix parsing of I/O flags from XML config
The XML parser was missing a step to convert a value
from legacy domain into AIDL.

Bug: 293384960
Test: parse config with AUDIO_OUTPUT_FLAG_VOIP_RX
Change-Id: I1e7778cbf093c2a393e9b2431c9a72b6020cf7be
2023-11-28 17:12:25 -08:00
Yifan Hong
912853c1fa Merge changes from topic "revert-2652627-vintf_compatibility_matrix_core_hals-DWOQPAPLXM" into main am: 15d61f73d2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2835493

Change-Id: I88a5cadfc6401180e76dfef5e7fc9b8cb58a3749
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 00:42:55 +00:00
Yifan Hong
ce0de3f27d Revert "compatibility_matrices: Only allow core HALs for system FCMs." am: ddfa614de3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2836443

Change-Id: I4d75b58b01a01d169c2a1a01941c0f5850db888a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 00:42:50 +00:00
Devin Moore
0b2b93dccd Register bluetooth.audio in the audioservice AIDL example
android.hardware.bluetooth.audio should really be registered in its own
process, but this is a temporariy solution that is similar to the
old HIDL example.

Test: launch_cvd
Bug: 312265159
Change-Id: Ib60e2654d3b751bedf256d90de72921210174fe4
2023-11-29 00:13:18 +00:00
Yifan Hong
15d61f73d2 Merge changes from topic "revert-2652627-vintf_compatibility_matrix_core_hals-DWOQPAPLXM" into main
* changes:
  Revert "compatibility_matrices: add vintf_compatibility_matrix.c..."
  Revert "compatibility_matrices: Only allow core HALs for system FCMs."
2023-11-28 23:51:37 +00:00
Treehugger Robot
2ee009ff12 Merge "Add clear dependency on libRS_internal" into main am: f7d2441005
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2849234

Change-Id: I53f910d1b287bd78550e8be44e3fde7e4f18df05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 23:13:20 +00:00
Treehugger Robot
f7d2441005 Merge "Add clear dependency on libRS_internal" into main 2023-11-28 22:47:16 +00:00
Kiyoung Kim
4018960aed Add clear dependency on libRS_internal
android.hardware.renderscript@1.0-impl opens libRS_internal at runtime,
but it is not described in Android.bp. This change updates dependency on
libRS_internal so it can be installed together.

Bug: 313531351
Test: AOSP CF build succeeded
Change-Id: Iba9d80fb0ec0c3ff2d50b34b30679f8ed2c0e2f7
2023-11-28 16:28:20 +09:00
Mikhail Naganov
4b152c3bf9 Fix after aosp/2836447 am: d664a63cf4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2848064

Change-Id: I93299925d3e4b23039833e6937ef9b267325e7c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-28 03:04:45 +00:00
Mikhail Naganov
d664a63cf4 Fix after aosp/2836447
Update 'memset' in StreamPrimary to fill the entire buffer.

Bug: 302132812
Bug: 302587331
Test: atest CtsMediaAudioTestCases
Change-Id: I6c2e0fc9ab49b35a9484ac3a900aefa9aa98315c
2023-11-27 17:31:04 -08:00
Shunkai Yao
46398af1dc Merge "Effect AIDL: skip volume checking" into main am: a1d092a818
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2848053

Change-Id: I3c47827c379d63ad1209779e0d83dfff57b43558
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-27 20:46:16 +00:00
Shunkai Yao
a1d092a818 Merge "Effect AIDL: skip volume checking" into main 2023-11-27 20:03:49 +00:00
Mikhail Naganov
c63a7f8119 Merge "audio: Adjust default impl for non-RT audio behavior of AVD" into main am: 8062a77307
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2836447

Change-Id: I74a392759fcd636c1c1a30ea292e61d193753e7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-27 19:20:04 +00:00
Mikhail Naganov
8062a77307 Merge "audio: Adjust default impl for non-RT audio behavior of AVD" into main 2023-11-27 18:50:48 +00:00
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 Li
1a56fdda2d Effect AIDL: skip volume checking
Bug: 310751043
Test: atest VtsHalAudioEffectTargetTest
Change-Id: I1b8b32ba7cd33ac3c00637ca86e041f1f58c69f3
Merged-In: I1b8b32ba7cd33ac3c00637ca86e041f1f58c69f3
2023-11-27 16:52:54 +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