mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
29fc7492779de1b8ac69b9ef71ebe0d95d42e750
Since in the C and HIDL APIs the method for opening a stream
receives the device to connect to, some legacy HAL implementations
took an advantage of that. In AIDL APIs device port connection
process is more dynamic and independent of the stream creation.
To simplify porting of legacy implementations to AIDL, a helper
class StreamSwitcher is added. It emulates the legacy behavior
by allowing to postpone the stream implementation creation until
the connected device is known. Until that moment, it exposes
to the client a stub implementation of the stream interface.
Bug: 264712385
Bug: 286914845
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ie8ae0338fd22f705e00a34e56a7fa235eda5ed9e
(cherry picked from commit 43a85cfb2b)
Merged-In: Ie8ae0338fd22f705e00a34e56a7fa235eda5ed9e
Merge "BluetoothAudio: Statically link HAL dependencies" into stage-aosp-udc-ts-dev am:
e6da8fb752 am: 99e5913e0a am: d8e7fa4e03
Merge "Update common.fmq aidl_interface with versions_with_info" am:
35d4efc9e9 am: d4d38f8116 am: 3d96c8e4de
Merge "Fix VTS generated test with reusable execution." am:
c2f025e250 am: c6d9dfa6df am: 3917606102
Merge "Skip ATTEST_KEY using variant on waivered devices" into stage-aosp-udc-ts-dev am:
bc88f61afb am: 8cae7cb490 am: 3e20b3b749
Merge "Revert "Revert "uwb(hal): Implement UCI over serial in the defau..."" am:
29567e796b am: 57cccf0cd7 am: 33fc82390c
Description
No description provided
Languages
C++
56.3%
AIDL
41.2%
C
1.5%
Rust
0.4%
Java
0.4%
Other
0.1%