Commit graph

63705 commits

Author SHA1 Message Date
David Drysdale
956ed99cde Merge "secretkeeper: add fuzzer" into main am: a662feeee4 am: 5cb989cb52 am: dd4979d3ce
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2880767

Change-Id: Id1dcb065a35d684b727f21c3759c02948f10f314
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 10:57:08 +00:00
David Drysdale
520df5c804 Merge "authgraph: cope with LocalTa being dropped" into main am: 05758a581f am: 56d9e0c889 am: 4277602a47
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2880768

Change-Id: I63e2a76add92da896f6c8c8c49328c59986660d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 10:56:32 +00:00
David Drysdale
dd4979d3ce Merge "secretkeeper: add fuzzer" into main am: a662feeee4 am: 5cb989cb52
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2880767

Change-Id: I0dd07bc39968f591a2160ff64fcc19ac68875574
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 10:24:07 +00:00
David Drysdale
4277602a47 Merge "authgraph: cope with LocalTa being dropped" into main am: 05758a581f am: 56d9e0c889
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2880768

Change-Id: If4901df55f9a02e89f6c16cdd466580751a86a56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 10:23:39 +00:00
David Drysdale
5cb989cb52 Merge "secretkeeper: add fuzzer" into main am: a662feeee4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2880767

Change-Id: Ia36fedeaa4891f0475b631f3744b0499cdc8f933
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 09:52:27 +00:00
David Drysdale
56d9e0c889 Merge "authgraph: cope with LocalTa being dropped" into main am: 05758a581f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2880768

Change-Id: If2cfe8c926f13599a41da55cd31474d02eae0b7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 09:52:16 +00:00
David Drysdale
a662feeee4 Merge "secretkeeper: add fuzzer" into main 2023-12-19 09:45:14 +00:00
David Drysdale
05758a581f Merge "authgraph: cope with LocalTa being dropped" into main 2023-12-19 09:19:23 +00:00
Hang Shi
1cc6b1c9c2 Merge "Bluetooth LMP Events: Interface for LMP events" into main am: 549fc869ef am: 8ae7769df3 am: e7599d6bb5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2587847

Change-Id: I3084397dbc9ba829abb23e5c6920bec05e0d99a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 04:24:42 +00:00
Hang Shi
e7599d6bb5 Merge "Bluetooth LMP Events: Interface for LMP events" into main am: 549fc869ef am: 8ae7769df3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2587847

Change-Id: Iafbc09512158ef1bf33e3a0ca5f62f48970b6dbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 03:52:05 +00:00
Hang Shi
8ae7769df3 Merge "Bluetooth LMP Events: Interface for LMP events" into main am: 549fc869ef
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2587847

Change-Id: I1b3c624b497e016392c46e3786b7268b147aa838
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 03:19:46 +00:00
Hang Shi
549fc869ef Merge "Bluetooth LMP Events: Interface for LMP events" into main 2023-12-19 02:34:53 +00:00
Shunkai Yao
341962478f Merge "Spatializer default implementatoin with VTS" into main am: 6eea2ff346 am: a0d4f148a8 am: 255e0fc7b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871083

Change-Id: I50f209b185870826fb88c59ac5d013edbd7f95f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 02:13:24 +00:00
Shunkai Yao
255e0fc7b5 Merge "Spatializer default implementatoin with VTS" into main am: 6eea2ff346 am: a0d4f148a8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871083

Change-Id: Ice4a5a02093601ab748806fae2ef6837b2262298
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 01:41:25 +00:00
Treehugger Robot
7107992809 Merge "Disable the rust backend of android.hardware.media.c2" into main am: 12e8aba235 am: 9cbc36cb4a am: 842b48f0cf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2880987

Change-Id: I4cd2afd4d792592bc6b79f2edb36f760489d0719
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 01:09:39 +00:00
Shunkai Yao
a0d4f148a8 Merge "Spatializer default implementatoin with VTS" into main am: 6eea2ff346
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871083

Change-Id: Icb5e2b5786057a0292470bc323e85364dfab71fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 00:57:22 +00:00
Shunkai Yao
52da94e290 Effect AIDL: cleanup dependencies
Bug: 316236907
Test: Enable AIDL and build
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts
Change-Id: Id1e28b5852a1a8c154f31f4918326de7df8bfc54
2023-12-19 00:37:36 +00:00
Treehugger Robot
842b48f0cf Merge "Disable the rust backend of android.hardware.media.c2" into main am: 12e8aba235 am: 9cbc36cb4a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2880987

Change-Id: I9ec4f32de7e59a6bfc890f98189aae05c56bc692
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 00:37:31 +00:00
Shunkai Yao
1283685b4f Update VTS header includes
Bug: 273373363
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts
Change-Id: I2ad63f91b013db1ce2d3891216f1bd74606139c8
2023-12-19 00:36:49 +00:00
Yu Shan
83baf0e378 Filter unsupported propIds for current version.
Do not return properties that are not supported by the current
VHAL version. Note that even though compile time we are implementing
VHAL V3, but V2 might be used at runtime.

Test: atest DefaultVehicleHalTest
Bug: 115764870
Change-Id: If830d93f93fff7d4370798342aa0d047d413674c
2023-12-18 16:24:25 -08:00
Shunkai Yao
6eea2ff346 Merge "Spatializer default implementatoin with VTS" into main 2023-12-19 00:19:55 +00:00
Treehugger Robot
9cbc36cb4a Merge "Disable the rust backend of android.hardware.media.c2" into main am: 12e8aba235
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2880987

Change-Id: I40737cf3422f98ebe69bdd48d20c7ff81468818b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-19 00:06:09 +00:00
Treehugger Robot
12e8aba235 Merge "Disable the rust backend of android.hardware.media.c2" into main 2023-12-18 23:27:15 +00:00
Treehugger Robot
756017d6da Merge "sensors: Do not limit aidl-multihal visibility" into main am: a9860a2192 am: 33790283ef am: 73c2e944f6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2868836

Change-Id: Ie8b1a7ec008ba60ad57256b9a4264855a9008fc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-18 22:39:32 +00:00
Treehugger Robot
73c2e944f6 Merge "sensors: Do not limit aidl-multihal visibility" into main am: a9860a2192 am: 33790283ef
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2868836

Change-Id: If654a8bd8ba19d079845910073389f286f8b21a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-18 21:51:26 +00:00
Treehugger Robot
33790283ef Merge "sensors: Do not limit aidl-multihal visibility" into main am: a9860a2192
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2868836

Change-Id: Ic5fa43862e4732b3bc37ae290095bfc996b9d6b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-18 21:17:51 +00:00
Treehugger Robot
a9860a2192 Merge "sensors: Do not limit aidl-multihal visibility" into main 2023-12-18 20:37:09 +00:00
Devin Moore
763909c378 Disable the rust backend of android.hardware.media.c2
There are currently no users of it. Enabling it will require adding rust
support for the android.os.Surface type that uses ANativeWindow
underneath.

Test: m
Bug: 315556623
Change-Id: Ib9954b1bf476b391919db994bc2dc1483d972670
2023-12-18 19:28:10 +00:00
Gil Cukierman
e3339a65bb Merge "Fix case on SIP HMAC enums" into main 2023-12-18 19:20:36 +00:00
David Drysdale
b108e8cd87 authgraph: cope with LocalTa being dropped
When a LocalTa instance is used in a fuzzer, it gets dropped at the end
of processing each fuzz input.  This makes the `mpsc::channel`s fail,
so update to cope with this.

Bug: 316075932
Test: run fuzzer on Cuttlefish
Change-Id: I069f441013e269f652cbe1ff3053606f9bcb2dfd
2023-12-18 17:33:33 +00:00
David Drysdale
c3aa44207f secretkeeper: add fuzzer
Move nonsecure implementation code out of main.rs and into a new
secretkeeper_nonsecure library, to allow re-use in both the nonsecure
service and the new fuzzer.

The fuzzer drops the `LocalTa` instance on each input, so adjust the
error path to cope with this happening (the channels will fail).

Test: build, fuzz
Bug: 291228655
Change-Id: Ibe2ca5db9a9c8eed129ac5a90de85b933ab256a0
2023-12-18 17:31:58 +00:00
Shunkai Yao
f60fc373d9 Spatializer default implementatoin with VTS
Bug: 273373363
Test: atest VtsHalSpatializerTargetTest
Test: atest VtsHalAudioEffectTargetTest

Change-Id: I41218661ac7265723258303438dd01f704838188
2023-12-18 16:36:59 +00:00
Gil Cukierman
d9657be6d9 Fix case on SIP HMAC enums
null -> NULL

Change-Id: I283bae1e8820db1e862f03372041796db5daa204
Test: m
Bug: 283336425
2023-12-18 14:56:18 +00:00
David Drysdale
56402008b2 Add ISecretkeeper/default
On Cuttlefish, the implementation of the ISecretkeeper HAL runs
in-process in the HAL service, and so is deliberately marked as being
the /nonsecure instance to make that clear.

A real device that's running Secretkeeper inside a secure environment
should report that instance as being the /default instance.

So allow either in the compatibility matrix.

Bug: 306364873
Test: build, VtsAidlAuthGraphRoleTest, VtsSecretkeeperTargetTest
Change-Id: Ifb58d8bb9318707b714a345adc1b1b4198054f81
2023-12-18 07:01:38 +00:00
Yu Shan
7881e82bf0 Generate VersionForVehicleProperty.h.
This will be used in VHAL implementation to filter out properties
that are not supported by the client version.

Test: presubmit
Bug: 115764870
Change-Id: I89d8421debde15677b0fbd6da69335f43b681eff
2023-12-15 16:42:53 -08:00
Yu Shan
10d37ef3aa Add version annotation.
Add aidl_property interface version annotation. This prepares us
for adding VTS test to make sure newly introduced properties are
not supported in older versions.

Test: None
Bug: 316614617
Change-Id: Id16ebc4888160e9a48999bc91e02884805a5189b
2023-12-15 15:20:16 -08:00
Yu Shan
bd65531e3b Fix empty array object obtain.
Test: atest VehicleHalVehicleUtilsTest
Bug: 316432606
Change-Id: I6b2009cf3e96be33cc4abdfaa4c781b46a0f49f8
2023-12-15 15:20:16 -08:00
Treehugger Robot
bdea4eaf7f Merge "Check interface version when running the VTS test for disableEht." into main 2023-12-15 23:14:27 +00:00
Gabriel Biren
54382a1f72 Check interface version when running the
VTS test for disableEht.

New AIDL methods are not available on
the next configuration.

Bug: 314851431
Test: atest VtsHalWifiSupplicantStaNetworkTargetTest
      # Test runs on the trunk configuration, but
      # gets skipped on the next configuration.
Change-Id: I13bcfa51146e14932a8f377b1590719a683cea4f
2023-12-15 22:28:31 +00:00
Grant Menke
d7de77d03c Merge "Added Telephony DSDA Support to the HAL." into main 2023-12-15 22:15:35 +00:00
Yu Shan
3fcc5f2edf Merge "Make sure the VehiclePropValue object is initialized" into main am: c61a19bc28 am: eb9c7af3e3 am: 7dda5ff288
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871786

Change-Id: I709cb2ebd6f4223cf660c13a93ff214156e91b0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 21:16:16 +00:00
Antoine Soulier
1b2cf82989 Merge "Improve A2DP Bits handling" into main am: 105eddfc75 am: 94c2c067bb am: c926bd973f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2877314

Change-Id: I5514f8f085ade3c969f07916404ac549e9376aae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 21:16:00 +00:00
Yu Shan
7dda5ff288 Merge "Make sure the VehiclePropValue object is initialized" into main am: c61a19bc28 am: eb9c7af3e3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871786

Change-Id: I6fb844efc1aa8598178da7fa725467526664ee02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 20:44:14 +00:00
Antoine Soulier
c926bd973f Merge "Improve A2DP Bits handling" into main am: 105eddfc75 am: 94c2c067bb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2877314

Change-Id: I1f4c7b5ed0616b0ef6af29342f6679455f584e77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 20:43:46 +00:00
Yu Shan
eb9c7af3e3 Merge "Make sure the VehiclePropValue object is initialized" into main am: c61a19bc28
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871786

Change-Id: I8ee9ab3fe6151bdbd73a9a16926b528d6bb3924a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 20:14:00 +00:00
Antoine Soulier
94c2c067bb Merge "Improve A2DP Bits handling" into main am: 105eddfc75
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2877314

Change-Id: I4ff2cec9d34ad8a02f722bcb40025bf47992415a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 20:13:38 +00:00
Yu Shan
9ecf50386f Merge changes Iddbd2a14,I2556e784 into main
* changes:
  Add TaskType to ScheduleInfo.
  Add enter garage mode bootup reason.
2023-12-15 20:08:16 +00:00
Yu Shan
c61a19bc28 Merge "Make sure the VehiclePropValue object is initialized" into main 2023-12-15 19:57:50 +00:00
Antoine Soulier
105eddfc75 Merge "Improve A2DP Bits handling" into main 2023-12-15 19:37:24 +00:00
Treehugger Robot
36d829388b Merge "rename TRIGGER_CLEAR_RAT_BLOCK to _BLOCKS" into main 2023-12-15 19:05:24 +00:00