No description
Find a file
Mikhail Naganov 84bcc049e6 audio: Allow "dynamic" profiles for device ports
Some device ports are connected via ADSP which takes care
of the actual audio configuration (format, channels, SR),
for example the built-in speaker and mic ports, as well
as some external devices like analog headsets.

In the legacy implementation, such device ports did not have
any profiles specified. Allow the same behavior in the AIDL
implementation. To ensure correctness, device ports with no
profiles must be routable to mix ports that have profiles
specified. This requirement is fulfilled in legacy configs.

Bug: 266124463
Test: atest VtsHalAudioCoreTargetTest
Test: atest audiosystem_tests audiorouting_tests
Test: atest CtsMediaAudioTestCases
Change-Id: Iaccd1e8ef2a5af9a5f8bae453905d01c6b7fdc28
2023-10-10 15:15:50 -07:00
apexkey Add OWNERS file for apexkey 2023-09-13 21:18:46 +00:00
atrace Merge OWNERS files for atrace 2023-09-08 20:25:29 +00:00
audio audio: Allow "dynamic" profiles for device ports 2023-10-10 15:15:50 -07:00
authsecret Merge OWNERS files for authsecret 2023-09-08 20:31:20 +00:00
automotive Merge "Refactored automotiveSvV1.0_fuzzer" into main 2023-09-28 06:14:27 +00:00
biometrics Add faceauth HAL APEX 2023-05-25 17:35:23 +09:00
bluetooth Use the PDL library for HCI packets 2023-09-01 18:02:53 +00:00
boot Revert "Add bootcontrol HAL APEX" 2023-09-28 07:26:41 +00:00
broadcastradio Merge OWNERS files for broadcastradio 2023-09-08 22:53:01 +00:00
camera Camera VTS: Verify high speed video configurations 2023-09-15 14:10:09 +09:00
cas Revert^2 "Add CAS HAL APEX" 2023-09-15 00:17:30 +09:00
common Support Rust builds of some AIDL interfaces. 2023-09-14 16:46:00 +01:00
compatibility_matrices Add the "virtual" instance for face HAL retroactively 2023-09-13 22:19:54 +00:00
configstore Merge OWNERS files for configstore 2023-09-08 20:56:04 +00:00
confirmationui Merge "Link static version of KeyMint lib in VTS tests" 2023-03-07 10:41:15 +00:00
contexthub Add contexthub HAL APEX 2023-09-19 15:43:37 +09:00
drm Work around fix for "libvtswidevine32.so" not found am: 720b897783 2023-09-26 22:18:17 +00:00
dumpstate Add dumpstate HAL APEX 2023-09-19 23:48:35 +09:00
fastboot Change fastboot default impl to 'recovery: true' 2023-01-28 00:09:35 +00:00
gatekeeper Test that the password isn't truncated (again) 2023-08-05 02:47:59 +00:00
gnss Merge OWNERS files for gnss 2023-09-08 21:18:52 +00:00
graphics Fix a DimmingStage documentation typo by rewording the doc. 2023-07-20 23:07:17 +00:00
health Don't depend on String8 cast to C string [health] 2023-09-13 04:25:40 +00:00
identity Merge "identity: Set testMode to false for RKP." 2023-05-24 22:59:30 +00:00
input specify import version (I) 2022-12-23 03:49:06 +00:00
ir ir impl point fixes 2022-10-31 20:43:43 +00:00
keymaster Fix nonce uniqueness tests 2023-09-20 16:11:35 -07:00
light Merge OWNERS files for light 2023-09-11 16:21:52 +00:00
media Merge "media.c2 : Change waitable object to be based on single fd" into main 2023-09-28 02:58:22 +00:00
memtrack Add memtrack HAL APEX 2023-09-15 13:16:28 +09:00
neuralnetworks Make apex_available of nn hidl interfaces explicit in Android.bp 2023-05-05 23:52:38 +00:00
nfc Enable Rust backend for NFC AIDL HAL 2023-07-17 04:17:08 +00:00
oemlock Merge OWNERS files for oemlock 2023-09-08 21:06:03 +00:00
power Freeze android.hardware.power.stats 2023-07-31 23:48:01 +00:00
radio Merge "Update VTS tests with EUTRAN instead of GERAN" into main 2023-09-15 21:59:58 +00:00
rebootescrow Merge OWNERS files for rebootescrow 2023-09-08 23:27:43 +00:00
renderscript Merge OWNERS files for renderscript 2023-09-08 22:50:08 +00:00
scripts Add OWNERS files to support dirs 2023-09-11 17:03:06 +00:00
secure_element Temporary disable one of the transmit checks 2023-09-20 15:15:38 -07:00
security Merge "Skip known VTS failures on vendor code till U" into main 2023-09-25 19:24:14 +00:00
sensors Initialize mStopThread in Sensor constructor 2023-08-24 18:41:36 +00:00
soundtrigger Merge OWNERS files for soundtrigger 2023-09-08 21:20:53 +00:00
staging Add OWNERS files to support dirs 2023-09-11 17:03:06 +00:00
tests Add OWNERS files to support dirs 2023-09-11 17:03:06 +00:00
tetheroffload Add tetheroffload HAL APEX 2023-09-13 13:11:37 +09:00
thermal Add thermal HAL APEX 2023-09-13 13:12:53 +09:00
threadnetwork Merge "Rename threadnetwork-service-sim.rc to threadnetwork-service.rc" into main 2023-09-13 14:20:36 +00:00
tv Merge OWNERS files for tv 2023-09-08 23:09:37 +00:00
usb Merge "Test: Don't check results when no type-c ports" 2023-06-21 04:56:08 +00:00
uwb [UWB HAL] Use AsyncFd to read the buffer only when it's readable. 2023-10-03 00:58:04 +00:00
vibrator Revert "Revert "vib example client on product"" 2023-03-13 22:29:13 +00:00
vr Merge OWNERS files for vr 2023-09-11 16:32:19 +00:00
weaver IWeaver.aidl: document that throttling must be per-slot 2023-09-13 22:12:23 +00:00
wifi Disable Wi-Fi framework during VTS 2023-09-14 01:19:47 +00:00
.clang-format
.gitignore Add .gitignore 2021-10-28 22:04:46 +00:00
Android.bp Stop using group_static_libs property 2021-08-30 23:20:08 +00:00
CleanSpec.mk
current.txt Expose COLOR_MODE_DISPLAY_BT2020. 2022-12-01 22:07:33 -08:00
METADATA
NOTICE
OWNERS remove guangzhu from OWNERS 2022-08-01 16:19:14 +00:00
PREUPLOAD.cfg Turn aidl_format on 2021-01-21 15:06:51 +09:00
TEST_MAPPING Add hal_implementation_test on automotive cf to test_mapping 2023-04-03 17:08:37 +00:00
update-base-files.sh Generate constants from the audio HAL V7.1 enums 2022-02-14 19:08:09 +00:00
update-makefiles.sh