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
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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
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
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
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
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
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
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>