Commit graph

62181 commits

Author SHA1 Message Date
Alice Wang
1f6899722b Merge "Revert "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"" into main am: 4020b2bd42 am: 458f7a89e2 am: df684054fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2812435

Change-Id: Id4ccca270f9844c8f8860da423a92e6db528b7df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 16:48:14 +00:00
Alice Wang
c40cc6c19f Merge "Revert "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"" into main am: 4020b2bd42 am: 1946bf76cc am: 0eb5ea2ae4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2812435

Change-Id: I960eace8a259cdf4ea6abd352a4999d0d45c6712
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 16:47:51 +00:00
Alice Wang
df684054fe Merge "Revert "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"" into main am: 4020b2bd42 am: 458f7a89e2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2812435

Change-Id: I0c76cee2e43c66d6b4bb2a5d8b3fb4e69a57ea1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 16:11:15 +00:00
Alice Wang
0eb5ea2ae4 Merge "Revert "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"" into main am: 4020b2bd42 am: 1946bf76cc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2812435

Change-Id: If816027a99c7f39bcbde12a4fea86fccedef3a58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 16:09:15 +00:00
Alice Wang
458f7a89e2 Merge "Revert "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"" into main am: 4020b2bd42
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2812435

Change-Id: I7cba79df87cde85560a2f2fbbdec866eb3e82642
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 15:43:42 +00:00
Alice Wang
1946bf76cc Merge "Revert "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"" into main am: 4020b2bd42
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2812435

Change-Id: I7bbd65c0ea6a1505a4ccc7b0400fb5dbdbefc68d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 15:41:43 +00:00
Devin Moore
6fa97c4f8b Merge "Revert^4 "Remove HIDL graphics.mapper service from V+"" into main 2023-10-31 15:20:19 +00:00
Alice Wang
4020b2bd42 Merge "Revert "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"" into main 2023-10-31 15:13:01 +00:00
Alice Wang
cdf9d2c936 Revert "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env"
Revert submission 2778549-expose-avf-rkp-hal

Reason for revert: SELinux denial
avc:  denied  { find } for pid=3400 uid=10085 name=android.hardware.security.keymint.IRemotelyProvisionedComponent/avf scontext=u:r:rkpdapp:s0:c85,c256,c512,c768 tcontext=u:object_r:avf_remotelyprovisionedcomponent_service:s0 tclass=service_manager permissive=0


Reverted changes: /q/submissionid:2778549-expose-avf-rkp-hal

Bug: 308596709
Change-Id: Id6a930d16949389048713cef20dfa06cdbb9ac95
2023-10-31 15:01:15 +00:00
Alice Wang
bbc3c48da6 Merge "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env" into main am: 561454a0b3 am: ef445d1439 am: 2ed5180381
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2796032

Change-Id: I1130cb77bc3a8b247c2b5dd003b890c97b8020d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 14:03:43 +00:00
Alice Wang
096ead78cf Merge "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env" into main am: 561454a0b3 am: 44340adf58 am: 9005cc1242
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2796032

Change-Id: I206d7a23bb60f92a1dfd971db4346562a64996e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 14:03:19 +00:00
Alice Wang
2ed5180381 Merge "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env" into main am: 561454a0b3 am: ef445d1439
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2796032

Change-Id: Idfdbaba9ad217b8d24e4271d83a0ebfce0d45fa6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 13:26:20 +00:00
Alice Wang
9005cc1242 Merge "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env" into main am: 561454a0b3 am: 44340adf58
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2796032

Change-Id: Ia9fe1ad2df9e85f7368415d677d641ac4a742f5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 13:24:13 +00:00
Alice Wang
ef445d1439 Merge "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env" into main am: 561454a0b3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2796032

Change-Id: I083f030177d8310340938b3402dca2c91a6a87c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 12:59:02 +00:00
Alice Wang
44340adf58 Merge "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env" into main am: 561454a0b3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2796032

Change-Id: I004183dc1e8c61faf7e314e744ae6b976b7fcde0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 12:56:49 +00:00
Alice Wang
561454a0b3 Merge "[avf] Adjust IRPC VTS tests to handle AVF in unsupported env" into main 2023-10-31 12:21:41 +00:00
David Drysdale
63ef77cebe Merge "gatekeeper: generate Rust bindings" into main am: c281ef40a5 am: 0ac3b2f085 am: cb77588c7d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2809393

Change-Id: Ibe6df062d344d9a567b12bbcb34730e6b9d9088b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 10:18:50 +00:00
David Drysdale
71939e70b8 Merge "gatekeeper: generate Rust bindings" into main am: c281ef40a5 am: 853b1e71fc am: 9d6e6ab569
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2809393

Change-Id: I4582a2d3649b8b24a7967ce2661316aaa1c2801b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 10:17:59 +00:00
David Drysdale
cb77588c7d Merge "gatekeeper: generate Rust bindings" into main am: c281ef40a5 am: 0ac3b2f085
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2809393

Change-Id: I9b1fa479329460ad2973d641216435da9b4057eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 10:11:56 +00:00
David Drysdale
0ac3b2f085 Merge "gatekeeper: generate Rust bindings" into main am: c281ef40a5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2809393

Change-Id: Ic0798a5d163471ede54c4ad2b583c68aeccc8306
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 09:44:21 +00:00
David Drysdale
9d6e6ab569 Merge "gatekeeper: generate Rust bindings" into main am: c281ef40a5 am: 853b1e71fc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2809393

Change-Id: I067c62ae1983e424a624111aa48db458bcd4bc42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 09:41:14 +00:00
David Drysdale
853b1e71fc Merge "gatekeeper: generate Rust bindings" into main am: c281ef40a5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2809393

Change-Id: I39bffa8bed9018eacf83961f6ae99bdb6a4c1463
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 09:15:23 +00:00
David Drysdale
c281ef40a5 Merge "gatekeeper: generate Rust bindings" into main 2023-10-31 09:01:16 +00:00
Devin Moore
52ae8d07cd Merge "Revert "Remove Q matrices"" into main am: 2908f7ba6a am: c50db2ee51 am: 9fd88b864b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2810369

Change-Id: I1d2a918bd0a7f3865f0cb6e250bc56b79bf9a7d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 01:19:34 +00:00
Devin Moore
5f2303a3c8 Merge "Revert "Remove Q matrices"" into main am: 2908f7ba6a am: 433563d323 am: e8bd643f9f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2810369

Change-Id: Ie959c0d5f80ac48c0344448b512638d0ccce6a11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 01:19:17 +00:00
Weilin Xu
0194729913 Merge changes from topics "radio-v-hal", "radio_aidl_impl_v" into main
* changes:
  Upgrade default bcRadio AIDL HAL impl to version 2
  Refactor utils and VTS for HD radio HAL support
  Improved HD radio support in broadcast radio HAL
2023-10-31 00:58:25 +00:00
Devin Moore
9fd88b864b Merge "Revert "Remove Q matrices"" into main am: 2908f7ba6a am: c50db2ee51
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2810369

Change-Id: I080cca4b022b492e8522ab3761170044462d18eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 00:45:52 +00:00
Devin Moore
e8bd643f9f Merge "Revert "Remove Q matrices"" into main am: 2908f7ba6a am: 433563d323
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2810369

Change-Id: I05776db930c8e504f78795d71c6411294af6eea1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 00:38:38 +00:00
Devin Moore
c50db2ee51 Merge "Revert "Remove Q matrices"" into main am: 2908f7ba6a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2810369

Change-Id: I1176ac67d7b101e0c36896df58e01649873de9f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 00:13:25 +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
2908f7ba6a Merge "Revert "Remove Q matrices"" into main 2023-10-30 23:41:11 +00:00
Weilin Xu
31c541c228 Upgrade default bcRadio AIDL HAL impl to version 2
Bug: 280300929
Test: atest VtsHalBroadcastradioAidlTargetTest
Change-Id: I4bc9b24bf421bad8d980de2c82434abdf7cae74c
2023-10-30 16:02:24 -07:00
Weilin Xu
25409e5b6b Refactor utils and VTS for HD radio HAL support
Refactored AIDL broadcast radio HAL utils library to both support
version 2 HAL and guarantee backward compatibility for version 1 HAL
implementation using version 1 utils lib. Updated VTS to support HAL
of both AIDL versions.

Bug: 280300929
Test: atest VtsHalBroadcastradioAidlTargetTest
Change-Id: I31e631c794f51c8df230b984837dfb4299864e5c
2023-10-30 16:02:13 -07:00
Treehugger Robot
c8e6c2e201 Merge changes I52651729,Ice39f059,I5e29e971,I8d32d1eb into main
* changes:
  Support VUR in FakeVehicleHardware.
  Override subscribe/unsubscribe.
  Avoid holding lock while calling callback.
  Add subscribe/unsubscribe to IVehicleHardware.
2023-10-30 22:40:28 +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
4e0fbcd8b3 Merge "Remove Q matrices" into main am: 80c14fb148 am: f52d4417e7 am: e428a86906
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2808315

Change-Id: Ibb0794c90b61da06648ce80b02c07e3713f7852f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 20:50:31 +00:00
Shunkai Yao
8bf4f282d8 Merge "audio: Add VTS execution tracer" into main am: 4a0e25ba6f am: f112fca139 am: be9c6c1c65
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2749888

Change-Id: I20419ff4f44112f4f3bc7348c2ab83c61f635551
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 20:49:15 +00:00
Yu Shan
605faf6854 Support VUR in FakeVehicleHardware.
Support VUR in reference VHAL FakeVehicleHardware layer. Unless
specified in config, all continuous properties in reference VHAL
supports VUR.

Test: atest FakeVehicleHardwareTest
Bug: 306748801
Change-Id: I5265172996418a5d405392570673355e7860b50c
2023-10-30 13:47:56 -07:00
Yu Shan
db4f577dc5 Override subscribe/unsubscribe.
Override subscribe/unsubscribe in FakeVehicleHardware, now it will only
generate property change events for subscribed properties.

Test: atest DefaultVehicleHalTest android.car.cts.CarPropertyManagerTest
Bug: 306262618
Change-Id: Ice39f059820d4ec6039acb4daf9975514f2eb22b
2023-10-30 13:47:56 -07:00
Yu Shan
f4647e03f4 Avoid holding lock while calling callback.
Avoid holding lock while calling property store
OnValueChangeCallback. This might cause dead lock if
VehiclePropertyStore is accessed within the callback.

Test: atest VehiclePropertyStoreTest
Bug: 306511577
Change-Id: I5e29e9715d4429ccde5145af385a363bac548af7
2023-10-30 13:47:56 -07:00
Yu Shan
052608fe33 Add subscribe/unsubscribe to IVehicleHardware.
These two functions replaces updateSampleRate. Previously
updateSampleRate will be called when a continuous property is
subscribed/unsubscribed. However, IVehicleHardware layer does not
know when an on-change property is subscribed/unsubscribed. This CL
introduces two new functions to notify IVehicleHardware when any
properties are subscribed/unsubscribed.

Test: atest DefaultVehicleHalTest
Bug: 306262618
Change-Id: I8d32d1eb919036015b5082f74e259bcd4b1bd29e
2023-10-30 13:47:55 -07:00
Sadaf Ebrahimi
958fcf1e25 Merge "Edit tests to adjust with changes in libxml2 upgrade" into main am: 0fd834c749 am: 25e56b8a22 am: c4da8d4d78
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2794127

Change-Id: I329f5eb5902cca109f8f63100ea595cdfa011ce8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 20:46:35 +00:00
Sadaf Ebrahimi
bc4febf2bf Adjust with changes in libxml2 upgrade am: 8029a0567c am: 84d132ecc7 am: 686b10ab11
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2772704

Change-Id: Ia579b41d2853801d21c4a0d50f4eebe5c4673044
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 20:46:25 +00:00
Treehugger Robot
e428a86906 Merge "Remove Q matrices" into main am: 80c14fb148 am: f52d4417e7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2808315

Change-Id: Ie1d8fa3c3a49b231e3686225b9f89e7a11aab70c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 20:27:03 +00:00
Shunkai Yao
be9c6c1c65 Merge "audio: Add VTS execution tracer" into main am: 4a0e25ba6f am: f112fca139
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2749888

Change-Id: Ib107d328a179bdf466f02650c643f533886ff4e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 20:26:03 +00:00
Sadaf Ebrahimi
c4da8d4d78 Merge "Edit tests to adjust with changes in libxml2 upgrade" into main am: 0fd834c749 am: 25e56b8a22
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2794127

Change-Id: I3f6edd3cc7bb7be6c8c2a7aee05e4ba3109f2d18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 20:03:08 +00:00
Sadaf Ebrahimi
686b10ab11 Adjust with changes in libxml2 upgrade am: 8029a0567c am: 84d132ecc7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2772704

Change-Id: Iddc1f1bab3c2287472b7c4965b93c70aa3ab4d2b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 20:02:58 +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
Shunkai Yao
f112fca139 Merge "audio: Add VTS execution tracer" into main am: 4a0e25ba6f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2749888

Change-Id: Ibf0ab39eb56832e64f71a7a022bdc889cf5229f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 19:44:57 +00:00
Sadaf Ebrahimi
25e56b8a22 Merge "Edit tests to adjust with changes in libxml2 upgrade" into main am: 0fd834c749
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2794127

Change-Id: I02d3e35caf50271fa7d1f19e7501e55904299948
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 19:42:04 +00:00