Commit graph

65918 commits

Author SHA1 Message Date
Weilin Xu
6d71e46f31 Create a skeleton Rust broadcast radio HAL
This is to prove that rust broadcast radio HAL can be built and can
run. The skeleton Rust broadcast radio HAL will return UNKNOWN_ERROR
for all APIs.

Bug: 335514024
Test: m android.hardware.broadcastradio-rust-service
Change-Id: I763175b984c130d75cdc9506ba92c8c1b44338b5
2024-04-26 14:14:31 -07:00
Treehugger Robot
31fdd9bb30 [automerger skipped] Merge "Remove the SIM card status condition check and add accepted possible errors" into android14-tests-dev am: fd06d0a042 am: ad8252ded8 am: 5746b4d219 am: 680744fe74 -s ours
am skip reason: Merged-In I75414ba18be93707310cace21b52508edfc33a20 with SHA-1 4b7f0175f1 is already in history

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

Change-Id: I567c3b8bb2702658a3917688242369150cb2e606
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 05:02:08 +00:00
Treehugger Robot
f486b10bcb [automerger skipped] Merge "Remove the SIM card status condition check and add accepted possible errors" into android14-tests-dev am: fd06d0a042 am: ad8252ded8 am: dc98a7691a -s ours
am skip reason: Merged-In I75414ba18be93707310cace21b52508edfc33a20 with SHA-1 4b7f0175f1 is already in history

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

Change-Id: I469968497d167462d3dc0a8abe837dcdfe291996
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 04:47:04 +00:00
Treehugger Robot
680744fe74 Merge "Remove the SIM card status condition check and add accepted possible errors" into android14-tests-dev am: fd06d0a042 am: ad8252ded8 am: 5746b4d219
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2884867

Change-Id: I7d6d0966f6b1caa33ba729494ba62638a3ff4df4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 04:47:00 +00:00
Treehugger Robot
85aedea54b [automerger skipped] Merge "Remove the SIM card status condition check and add accepted possible errors" into android14-tests-dev am: fd06d0a042 -s ours am: 43cc0ce670 -s ours am: 48186d8c6b -s ours
am skip reason: Merged-In I75414ba18be93707310cace21b52508edfc33a20 with SHA-1 8877018da4 is already in history

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

Change-Id: If61863e1a7f0b90a18a30a62c51ef75384a64bce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 04:36:35 +00:00
liuxiangjun
57dabfddad [automerger skipped] Remove the SIM card status condition check and add accepted possible errors am: 4b7f0175f1 -s ours am: 7cf31fb471 -s ours am: dbb3329081 -s ours
am skip reason: Merged-In I75414ba18be93707310cace21b52508edfc33a20 with SHA-1 8877018da4 is already in history

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

Change-Id: Ib24954fa1b5df82b249c82d8050f7f87b8c2aef6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 04:36:31 +00:00
Treehugger Robot
dc98a7691a Merge "Remove the SIM card status condition check and add accepted possible errors" into android14-tests-dev am: fd06d0a042 am: ad8252ded8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2884867

Change-Id: I56793fc9f331f9eb9eb394551d4f052412e41ded
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 04:32:10 +00:00
Treehugger Robot
5746b4d219 Merge "Remove the SIM card status condition check and add accepted possible errors" into android14-tests-dev am: fd06d0a042 am: ad8252ded8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2884867

Change-Id: I29eddad7bfbcd3bb9591ce8c6d0930246ecacc39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 04:31:51 +00:00
Treehugger Robot
48186d8c6b [automerger skipped] Merge "Remove the SIM card status condition check and add accepted possible errors" into android14-tests-dev am: fd06d0a042 -s ours am: 43cc0ce670 -s ours
am skip reason: Merged-In I75414ba18be93707310cace21b52508edfc33a20 with SHA-1 8877018da4 is already in history

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

Change-Id: I98b0dba4842d4fbac6597d18c439e63f8aaff342
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 04:21:39 +00:00
liuxiangjun
dbb3329081 [automerger skipped] Remove the SIM card status condition check and add accepted possible errors am: 4b7f0175f1 -s ours am: 7cf31fb471 -s ours
am skip reason: Merged-In I75414ba18be93707310cace21b52508edfc33a20 with SHA-1 8877018da4 is already in history

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

Change-Id: I4142d76670725c2a75f5863cbadd2d403f08fe34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 04:21:35 +00:00
Treehugger Robot
ad8252ded8 Merge "Remove the SIM card status condition check and add accepted possible errors" into android14-tests-dev am: fd06d0a042
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2884867

Change-Id: I0cad16a813fc21bee0b09bd52cdc32ac04cb4857
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 04:16:37 +00:00
Treehugger Robot
43cc0ce670 [automerger skipped] Merge "Remove the SIM card status condition check and add accepted possible errors" into android14-tests-dev am: fd06d0a042 -s ours
am skip reason: Merged-In I75414ba18be93707310cace21b52508edfc33a20 with SHA-1 8877018da4 is already in history

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

Change-Id: I0db01ce7eb446bdf07f1e80e07ef8381236ca220
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 04:05:18 +00:00
liuxiangjun
7cf31fb471 [automerger skipped] Remove the SIM card status condition check and add accepted possible errors am: 4b7f0175f1 -s ours
am skip reason: Merged-In I75414ba18be93707310cace21b52508edfc33a20 with SHA-1 8877018da4 is already in history

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

Change-Id: I22ca2323fb6943e0910b344fc38070d64c1f9c74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-24 04:05:15 +00:00
Treehugger Robot
fd06d0a042 Merge "Remove the SIM card status condition check and add accepted possible errors" into android14-tests-dev 2024-04-24 03:55:47 +00:00
Treehugger Robot
49ec4bf913 Merge "Update owners." into main 2024-04-24 00:40:40 +00:00
Treehugger Robot
7c8322666e Merge changes Id705d625,Id924fdd2 into main
* changes:
  Fix flaky TestWakeupClientServiceImplUnitTest.
  Fix Vts VUR test case.
2024-04-23 20:47:18 +00:00
Joe Bolinger
53ece58051 Update owners.
Change-Id: Ib3bc7197161de63e8b202f0935d66826104fb3ed
Fix: 335274653
Test: N/A
2024-04-23 20:21:33 +00:00
Treehugger Robot
ce828705ac Merge "Fix component ID for dumpstate OWNERS" into main am: ceb60ff408 am: 362f19b1c4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3051331

Change-Id: If356d36754c76d57a583fca0e84453b592406eb4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 19:55:06 +00:00
Treehugger Robot
362f19b1c4 Merge "Fix component ID for dumpstate OWNERS" into main am: ceb60ff408
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3051331

Change-Id: I216f7c6d209f4c3df0a1a20f11453114871d90ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 19:38:53 +00:00
Treehugger Robot
ceb60ff408 Merge "Fix component ID for dumpstate OWNERS" into main 2024-04-23 19:23:24 +00:00
Yu Shan
27068fb383 Fix flaky TestWakeupClientServiceImplUnitTest.
This CL fixed two possible issues: 1. mServerStarted is not reset
to false for each test case. 2. pollOnce should be used instead of
pollAll since pollAll might swallow wake.

Test: atest --host TestWakeupClientServerHostUnitTest
Bug: 333673876
Change-Id: Id705d6257c54a2e2711aff6018abf2ea65b0f691
2024-04-23 10:59:25 -07:00
Yu Shan
bb7e7ae36c Fix Vts VUR test case.
It is not guaranteed that VHAL will send the initial value event
if VUR is on. In fact, car property service explicitly calls getValue
to generate the initial value event. Hence, if VUR is on, our test
case should allow situation where no event is generated.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 334803613
Change-Id: Id924fdd2a407b1a076102c4dd57efc6043cde359
2024-04-23 10:59:23 -07:00
Shunkai Yao
09c71e424c [automerger skipped] Merge "Effect AIDL VTS: relax dynamics processing effect parameter validations" into main am: f7391d5ac4 am: c3a0eb5e94 -s ours
am skip reason: Merged-In If12d978ee69ee7f087a7e8758513a9c6bacf817f with SHA-1 53238b1afd is already in history

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

Change-Id: I637b46dd54d997203822548b5ac7aa2aa0d17dfd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 00:29:37 +00:00
Shunkai Yao
c3a0eb5e94 Merge "Effect AIDL VTS: relax dynamics processing effect parameter validations" into main am: f7391d5ac4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3053702

Change-Id: Ia0f829dc48f591519bd0096d12e19d0764a8f5b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-23 00:17:48 +00:00
Shunkai Yao
f7391d5ac4 Merge "Effect AIDL VTS: relax dynamics processing effect parameter validations" into main 2024-04-22 23:52:06 +00:00
Shunkai Yao
972b465a0e Effect AIDL VTS: relax dynamics processing effect parameter validations
relaxing several parameter checking to align with HIDL
 - no need to have stage in use to set bands/channels
 - band settings no need to be sorted by frequency

Bug: 328012516
Test: atest VtsHalDynamicsProcessingTargetTest
Change-Id: If12d978ee69ee7f087a7e8758513a9c6bacf817f
Merged-In: If12d978ee69ee7f087a7e8758513a9c6bacf817f
2024-04-22 22:44:57 +00:00
Matt Buckley
74d3ac25fb Update PowerHAL documentation to clarify Session ID size restriction
Test: n/a
Bug: 315894228
Change-Id: I69ee157bc79e26578bd13a907662ac8756d7ce47
2024-04-22 21:37:00 +00:00
Devin Moore
952bb4ad1f Fix component ID for dumpstate OWNERS
Test: none
Bug: 335336565
Change-Id: I5c8c4ca0c5bff4ff27d298e1ff869e8a9a87f64c
2024-04-22 17:51:47 +00:00
Julie Pan
1eaced668e Merge "Remove chenhaosjtuacm@google.com from automotive/vehicle/OWNERS" into main am: 30da02f704 am: 8669d93929
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3045072

Change-Id: Iac764ae6dfa090fe61820f53cf4b852b8a36d434
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-22 17:41:16 +00:00
Julie Pan
8669d93929 Merge "Remove chenhaosjtuacm@google.com from automotive/vehicle/OWNERS" into main am: 30da02f704
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3045072

Change-Id: I26f1f6fe66961dfdac08770baf487f54160846c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-22 16:46:59 +00:00
Julie Pan
30da02f704 Merge "Remove chenhaosjtuacm@google.com from automotive/vehicle/OWNERS" into main 2024-04-22 16:19:11 +00:00
Ronish Kalia
7dbbfcd17a Merge "Migrate Test Targets to New Android Ownership Model" into main am: 98ef872235 am: 8d119d3d0c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2946535

Change-Id: I1349263068518c882bb0944c9bf7709534819033
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-22 15:41:18 +00:00
Treehugger Robot
cf8f5a5c6e Merge "Add examples to area access documentation" into main 2024-04-22 15:26:50 +00:00
Ronish Kalia
8d119d3d0c Merge "Migrate Test Targets to New Android Ownership Model" into main am: 98ef872235
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2946535

Change-Id: I57a4e6ed6ab02e1a5ed96441591606433c0a6eba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-22 15:19:28 +00:00
Ronish Kalia
98ef872235 Merge "Migrate Test Targets to New Android Ownership Model" into main 2024-04-22 15:01:56 +00:00
shrikar
cce1a0ae74 Add examples to area access documentation
Also add VTS checks to ensure WRITE_ONLY configs don't exist along with
READ_ONLY and READ_WRITE configs

Bug: 332598311
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ie3d38fc2fd582d8949736739e83d277d75d69e62
2024-04-22 14:07:40 +00:00
Treehugger Robot
1fdefd8d92 Merge "audio: Use more bursts in audio I/O VTS tests" into main am: 53eb12245b am: 35fdd00c34
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3047956

Change-Id: I73ae68a26c70ecde5ca4a8e7088f664ecdc37e98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-20 00:02:39 +00:00
Treehugger Robot
35fdd00c34 Merge "audio: Use more bursts in audio I/O VTS tests" into main am: 53eb12245b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3047956

Change-Id: I335575c6d8f2fa227f3900d9877583b12f91a178
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-19 23:43:37 +00:00
Treehugger Robot
53eb12245b Merge "audio: Use more bursts in audio I/O VTS tests" into main 2024-04-19 23:25:33 +00:00
Mikhail Naganov
a2a9fa5003 audio: Use more bursts in audio I/O VTS tests
Some audio outputs use A/V sync and requre mode bursts
in order to start reporting the presentation position.

Bug: 300735639
Bug: 328010709
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Icad0942f2ba1dcd6f030a7dc4f37e22fdbd6dd71
2024-04-19 21:56:00 +00:00
Treehugger Robot
b5ff39fb6a Merge changes Icd33f3cb,I737479d8 into main am: 0dccb6e265 am: 7f01390b34
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3047703

Change-Id: I7192de767108802468a267a5b4e25f2fdc656bf3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-19 02:27:44 +00:00
Treehugger Robot
7f01390b34 Merge changes Icd33f3cb,I737479d8 into main am: 0dccb6e265
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3047703

Change-Id: Ieeaa40bc1909142cfdac6ac193704f93cc024da7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-19 02:08:02 +00:00
Treehugger Robot
0dccb6e265 Merge changes Icd33f3cb,I737479d8 into main
* changes:
  audio: Fix AudioPatchTest/AudioModulePatch#UpdateInvalidPatchId VTS test
  audio: Skip stream I/O test for "echo reference" input device
2024-04-19 01:44:52 +00:00
Mikhail Naganov
ab64305031 Merge "audio: Update 'PauseSync' scenario in AudioStreamIoOutTest" into main am: 5e6d99b424 am: f453736f0d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3047078

Change-Id: I0ae1ee7ce46ab75e5ec46471ef2500bf3cd99133
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-18 23:57:42 +00:00
Mikhail Naganov
f453736f0d Merge "audio: Update 'PauseSync' scenario in AudioStreamIoOutTest" into main am: 5e6d99b424
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3047078

Change-Id: I22b6ec53a90a95e56a62fe7a9e1c7d4ddfa75cde
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-18 23:39:28 +00:00
Mikhail Naganov
5e6d99b424 Merge "audio: Update 'PauseSync' scenario in AudioStreamIoOutTest" into main 2024-04-18 23:19:40 +00:00
Mikhail Naganov
22e17d43bd audio: Update 'PauseSync' scenario in AudioStreamIoOutTest
According to the definition of the 'PAUSED' state
in StreamDescriptor.aidl, s/w (the client) stops
writing once the buffer is filled up. That means, it is
allowed for an output stream not to consume data
from the MQ while in the paused state, so allow that
in the test.

Also, update the state transition sequence in the test
to flush any data after making a burst while in the 'PAUSED'
state.

Bug: 328010709
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Icb5fd02ca4ede63d7ae33613ab66cb96f3e6df29
2024-04-18 14:36:50 -07:00
Mikhail Naganov
8dd96d4c41 audio: Fix AudioPatchTest/AudioModulePatch#UpdateInvalidPatchId VTS test
The test was using '0' as an "invalid" patch ID value, however
this value is valid in the context of 'IModule.setAudioPatch'
method and means "create a new patch and allocate and ID for it".

Bug: 328010709
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Icd33f3cbd1602ec5aa162fa72fc3ddd59ccffbef
2024-04-18 13:23:05 -07:00
Mikhail Naganov
a62c5df181 audio: Skip stream I/O test for "echo reference" input device
This is aligned with the HIDL implementation VTS. The echo reference
device can't provide any input until certain preconditions are met,
and modeling these preconditions in the test is not trivial.

Also, add the information into the mix port into the trace scope
for easier identification on test failure.

Bug: 328010709
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I737479d8ef1961791ac3bd82aeb779453d2e49f4
2024-04-18 13:22:32 -07:00
Bruno Carneiro
c741692547 [automerger skipped] Improve OpenAfterOpen VTS test am: 8d3cb52ead am: f9a0c1cf56 am: 09b530ad16 am: 8592c30fcc -s ours
am skip reason: Merged-In Idd78c0dae944e3d39a6828b43db5a608adbaf1d9 with SHA-1 8d3cb52ead is already in history

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

Change-Id: I97cc51a011baa86b02bd0fe96481e5ca6479b5c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-18 19:33:32 +00:00