Treehugger Robot
5f6d8f92df
Merge "Add utils for checking range limits of effect config params" am: a4ccb03efd
am: a24d05e852
am: 2b4c953fae
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2510455
Change-Id: Iee8727075768543788569babffcf0a8158ee4975
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-29 05:05:19 +00:00
Treehugger Robot
a4ccb03efd
Merge "Add utils for checking range limits of effect config params"
2023-03-29 03:38:28 +00:00
Ram Mohan
9c47719bf7
Add utils for checking range limits of effect config params
...
Bug: 272195502
Test: Build
Change-Id: I1ff5af7d25e9410c58f323b6d12dbe6764e40073
2023-03-28 20:28:04 +05:30
Treehugger Robot
e1c6db15dc
Merge "Audio : Fix ASAN crash in VTS test cases" am: 5e311b67f4
am: 5a3a0907ef
am: 6a67f3ab6c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2508735
Change-Id: Ia8795292500e706da3bb61bdb089227909802dff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 07:18:07 +00:00
Shraddha Basantwani
b76f5abdcb
Audio : Fix ASAN crash in VTS test cases
...
Effect Helper should not try to access min/max values of a tag
when it is not defined.
Bug: 271912230
Test: atest VtsHalAECTargetTest.cpp (with ASAN enabled)
Change-Id: Idf47a521fbd594c83ab0fc21f2750673652b3aee
2023-03-27 17:18:18 +05:30
Shunkai Yao
c23af93d56
Merge "AIDL effect: Effect factory add EffectProxy information in proxy" am: ff16dd1f7b
am: a3e89e9f4e
am: 7b7a074c16
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2459230
Change-Id: I5fc72bfd25e0d8b13c8f2c1b4c5f9f91dacc7cf8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-25 01:46:56 +00:00
Shunkai Yao
ff16dd1f7b
Merge "AIDL effect: Effect factory add EffectProxy information in proxy"
2023-03-24 22:54:11 +00:00
Vlad Popa
ba2e505f40
CSD: Add VSR test annotation
...
Test: m
Bug: 248567177
Change-Id: Ie81669e87e8f7c4898d0ed02477d6661bc4676c5
2023-03-24 16:59:01 +00:00
jiabin
29e72cf30c
AHAL: fix StreamUsb crash. am: fdee322c96
am: 1befadd762
am: 99e1788db0
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2504016
Change-Id: Ia2af7dc363ab89f52eb7a25488678e16b8ffd98b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 02:36:53 +00:00
jiabin
fdee322c96
AHAL: fix StreamUsb crash.
...
1. By default, the DriverUsb should be standby. When there is data
transfer request, it will exit standby.
2. Initialize alsa device profile before reading device info.
3. Open the alsa device proxy after the preparation succeed.
Bug: 266216550
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I1f0425036df176c52220320135079e7c98daa2d0
2023-03-22 22:16:13 +00:00
Jiabin Huang
91687e88b5
Merge "AHAL: fix USB HAL issues with reporting device capabilities." am: b3602ca092
am: abf4b3becc
am: ada4a74c2c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2501017
Change-Id: I1bb0ad29b7c221d26115421aad8842cb6a8919ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-22 17:43:05 +00:00
Jiabin Huang
b3602ca092
Merge "AHAL: fix USB HAL issues with reporting device capabilities."
2023-03-22 16:18:49 +00:00
jiabin
118c261010
AHAL: fix USB HAL issues with reporting device capabilities.
...
1. The card and device must be specified before reading device info.
2. Map PcmType::FIXED_Q_8_24 to PCM_FORMAT_S24_LE.
Map PcmType::INT_24_BIT to PCM_FORMAT_S24_3LE.
Bug: 266216550
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ib48538d01bc980524e2c4c5b221f6d7e479beba6
2023-03-21 23:07:40 +00:00
Shunkai Yao
4b3434f96e
Update EffectUUID initialization
...
Avoid dynamic initialization global UUID variables
Bug: 271500140
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I7574c1fe1ba0aaff1d9d29a9eed10de1aef33806
2023-03-20 01:48:10 +00:00
Shunkai Yao
b1b8b68316
Merge "Update EffectUUID initialization"
2023-03-18 23:36:42 +00:00
Vlad Popa
429e51f4e7
Merge "CSD: rename get/setOutputRs2 to include upper bound"
2023-03-17 19:12:45 +00:00
Mikhail Naganov
fd0e4b68d5
Merge "Update visibility of libaudioserviceexampleimpl" am: 1120ee5603
am: f9199100ac
am: 93c8497361
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2490615
Change-Id: Icddae265b5c7e8b634079501bd1e8bc49e0caf91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 18:45:14 +00:00
Shunkai Yao
f8be1acde7
Update EffectUUID initialization
...
Avoid dynamic initialization global UUID variables
Bug: 271500140
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I7574c1fe1ba0aaff1d9d29a9eed10de1aef33806
2023-03-17 18:16:22 +00:00
Mikhail Naganov
1120ee5603
Merge "Update visibility of libaudioserviceexampleimpl"
2023-03-17 16:55:05 +00:00
Vlad Popa
4d7aa9279b
CSD: rename get/setOutputRs2 to include upper bound
...
RS2 represents an interval of power levels. This is why it is clearer to
specify upper bound in the naming to make it clear that we refer to the
upper limit which when exceeded will trigger a momentary exposure.
Test: atest VtsHalAudioCoreTargetTest
Bug: 273961110
Change-Id: If4e065deeedb32c3e5e81caf4cd6924fb5815dc0
Merged-In: If4e065deeedb32c3e5e81caf4cd6924fb5815dc0
2023-03-17 02:57:47 +01:00
Vlad Popa
34f4c1d5d7
CSD: rename get/setOutputRs2 to include upper bound
...
RS2 represents an interval of power levels. This is why it is clearer to
specify upper bound in the naming to make it clear that we refer to the
upper limit which when exceeded will trigger a momentary exposure.
Test: atest VtsHalAudioCoreTargetTest
Bug: 273961110
Change-Id: If4e065deeedb32c3e5e81caf4cd6924fb5815dc0
2023-03-16 19:37:18 +01:00
Mikhail Naganov
776e65e35f
Update visibility of libaudioserviceexampleimpl
...
In order for vendors to be able to use this library
it needs to have public visibility.
Bug: 205884982
Test: m
Change-Id: Idd47c942ee1e97372047ec1b44bcd996d454e3e2
2023-03-15 09:29:16 -07:00
Xin Li
82e0eca1c4
Merge "Merge Android 13 QPR2"
2023-03-14 21:40:25 +00:00
Shunkai Yao
9dcf22d093
Merge "Add some Effect type UUID and offload indicater in common parameter" am: 54cec778ee
am: 7062a4849b
am: 3c7c189ae4
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2485228
Change-Id: I2908c76ca911dbd985f0cbfba7d5116c6c938638
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 21:23:13 +00:00
Shunkai Yao
7062a4849b
Merge "Add some Effect type UUID and offload indicater in common parameter" am: 54cec778ee
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2485228
Change-Id: I830289ce7701f73956dad7f7b66440dcc8974a55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 19:44:10 +00:00
Shunkai Yao
d30ff8fb80
Add some Effect type UUID and offload indicater in common parameter
...
Bug: 271500140
Test: atest --test-mapping hardware/interfaces/audio/aidl/vts:presubmit
Change-Id: I61ebf268600564cb5abddc90979070b675a85541
2023-03-14 16:07:25 +00:00
Treehugger Robot
b003b30bda
Merge "audio: Put audio/aidl/common/include/Utils.h into 'aidl' NS" am: 7260130baf
am: 99e5af4b2f
am: 881ed49811
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2480537
Change-Id: Icdfb08048b1a56772b14d88e090e1e57f2d36a00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 12:31:38 +00:00
Treehugger Robot
99e5af4b2f
Merge "audio: Put audio/aidl/common/include/Utils.h into 'aidl' NS" am: 7260130baf
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2480537
Change-Id: If989453ea55808d193adca90d73b779605376831
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 23:08:37 +00:00
Mikhail Naganov
866765cd38
Merge "audio: Add offload reconfiguration event to IBluetoothLe" am: b708d292d3
am: 104c4286f5
am: 8a4322c223
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2480536
Change-Id: Iedde53678fb2f1652673ff85ad33726b3ad63a0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 22:50:26 +00:00
Treehugger Robot
669161cd04
Merge "audio test service guaranteed log" am: 6b466603c6
am: 0f3597e7d5
am: d12b7385ce
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2472165
Change-Id: I6c283d308071b3b67a3f5bfdd234b92a09289c69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 22:50:08 +00:00
Treehugger Robot
7260130baf
Merge "audio: Put audio/aidl/common/include/Utils.h into 'aidl' NS"
2023-03-10 22:31:37 +00:00
Mikhail Naganov
104c4286f5
Merge "audio: Add offload reconfiguration event to IBluetoothLe" am: b708d292d3
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2480536
Change-Id: I9494995912345c8ad775ecb477a271f254b64d6a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 22:14:47 +00:00
Mikhail Naganov
b708d292d3
Merge "audio: Add offload reconfiguration event to IBluetoothLe"
2023-03-10 22:06:22 +00:00
Treehugger Robot
0f3597e7d5
Merge "audio test service guaranteed log" am: 6b466603c6
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2472165
Change-Id: I841237e0eac97aed4cd05cfac5d5005ea947b27d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 21:41:21 +00:00
Treehugger Robot
6b466603c6
Merge "audio test service guaranteed log"
2023-03-10 21:30:14 +00:00
Mikhail Naganov
b4f8e67e1c
audio: Add offload reconfiguration event to IBluetoothLe
...
Since BT LE can also have offloaded codecs, it might need
a reconfiguration event similar to the one that BT A2DP
receives.
Bug: 272658632
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I04fb7c99f0457f87e1f4aaf7e77165317163387b
2023-03-10 12:44:52 -08:00
Mikhail Naganov
872d4a6518
audio: Put audio/aidl/common/include/Utils.h into 'aidl' NS
...
These utilities are for types generated from AIDL. Since
the types end up in the 'aidl' namespace (NDK backend), it makes
sense to keep the utilities in the same namespace.
While changing the namespace, I've found numerous useless
includes of 'Utils.h' and removing them, also reorganizing
lists of includes along the way to match the style guide.
Bug: 205884982
Test: m
Test: atest --test-mapping hardware/interfaces/audio/aidl/TEST_MAPPING
Change-Id: Ib23b47092364046f632f9503b92b9baff5b902f5
2023-03-10 11:34:31 -08:00
Shunkai Yao
3b05ed321c
Merge "Add sleep in EffectThread to avoid busy wait" am: ac46ddb969
am: 94c87272b2
am: 8252228622
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2478089
Change-Id: I35bee72d9964e5da0ce23e7c7785c2465b756b3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 03:24:55 +00:00
Shunkai Yao
94c87272b2
Merge "Add sleep in EffectThread to avoid busy wait" am: ac46ddb969
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2478089
Change-Id: Ia72d2a551b6875f7f41128432405015857f2fc5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 02:47:03 +00:00
Shunkai Yao
ac46ddb969
Merge "Add sleep in EffectThread to avoid busy wait"
2023-03-10 02:18:30 +00:00
Treehugger Robot
201e28a80b
Merge "audio: Add vendor tags handling for AIDL" am: a3a1c665fb
am: 431c0d4dff
am: 22524f5863
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2479295
Change-Id: I95ecf848c34686c81b766dc9ba6d0e46b60db23f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 20:13:52 +00:00
Treehugger Robot
431c0d4dff
Merge "audio: Add vendor tags handling for AIDL" am: a3a1c665fb
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2479295
Change-Id: Ib4dfa979c57815a0cf203c6362492f5c5b44a4d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 18:54:21 +00:00
Treehugger Robot
a3a1c665fb
Merge "audio: Add vendor tags handling for AIDL"
2023-03-09 18:22:51 +00:00
Shunkai Yao
eae5c56fb4
Add sleep in EffectThread to avoid busy wait
...
Bug: 261129656
Test: Enable AIDL and run YTM on pixel phone
Change-Id: If7ea5324b8a884e8f07b6855b70cb33b4c7868e4
2023-03-09 02:30:15 +00:00
Mikhail Naganov
817da7d0be
audio: Add vendor tags handling for AIDL
...
Vendor tags are used in audio attributes and in
source/sink metadata. The definition for vendor tag
syntax is the same as it used to be in HIDL.
Bug: 205884982
Bug: 272188499
Test: m
Change-Id: Iffab15edaec10f0dfccff2512bbff9dff557725a
2023-03-08 17:40:35 -08:00
Mikhail Naganov
1202d57e63
audio: Add IBluetoothLe am: b5647da1ad
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2477536
Change-Id: I00c7d4d4114acd560ce77f302142aabf9e9ed426
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-08 19:09:25 +00:00
Mikhail Naganov
b5647da1ad
audio: Add IBluetoothLe
...
Similar to IBluetooth and IBluetoothA2dp interfaces,
IBluetoothLe controls the LE profile. This interface
replaces the following string parameter:
"LeAudioSuspended"
Bug: 270731693
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I9df28053cd270fc2d446ba9a8ada4dd6ab761c7b
Merged-In: I9df28053cd270fc2d446ba9a8ada4dd6ab761c7b
2023-03-08 09:28:00 -08:00
Shunkai Yao
4c4f3cd153
AIDL effect: Effect factory add EffectProxy information in proxy
...
Effect factory have the knowledge of all effect configurations, in the
default implementation, this configuration defined in
audio_effects_config.xml.
Bug: 261129656
Test: Enable AIDL, atest
CtsMediaAudioTestCases: android.media.audio.cts.BassBoostTest
Test: atest VtsHalAudioEffectTargetTest
Change-Id: Ie9bd4070acdca53c4236bae533957b8fde6e9183
2023-03-08 01:53:05 +00:00
Mikhail Naganov
4fae319d0a
audio: Add IBluetoothLe
...
Similar to IBluetooth and IBluetoothA2dp interfaces,
IBluetoothLe controls the LE profile. This interface
replaces the following string parameter:
"LeAudioSuspended"
Bug: 270731693
Test: atest VtsHalAudioCoreTargetTest
Change-Id: I9df28053cd270fc2d446ba9a8ada4dd6ab761c7b
2023-03-07 15:17:59 -08:00
Treehugger Robot
1dbc39ea23
Merge "audio: Add IStreamCommon.prepareToClose method" am: 940ca8996a
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2475087
Change-Id: Ie919fad86d8da35b0fa297bcf66e4322d0ae0611
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-07 21:15:55 +00:00