Age | Commit message (Collapse) | Author |
|
Change-Id: Idddb10f4ea515379d9b866aeb43aa2534419301f
|
|
This reverts commit 83382efdec0987d5262c7d3df65f1795b3483254.
Change-Id: I87706777e58e1c027b1df9a52f6275d20435bc7a
|
|
This reverts commit 232eb824d33a0cb1b5d2f83d4238d4dd0b009f69.
Change-Id: I92a4e6fd19435d95698658d4559470096d7a6466
|
|
Change-Id: I5c816006dfe87b4331768426b3d9adc4e254444f
|
|
Change-Id: I466816af5e1258f61401edf3eaf37ed7a862292e
|
|
Bug: 150578172
Test: m
Change-Id: I9714cd4416fe0ce23e57cd7db162bfb45b0f84d5
|
|
Bug: 154338876
Test: build
Change-Id: I93b858a1991b18e281ca488351d2526d5f5dd4d8
|
|
Right now AIDL doesn't provide an API for vendor code to query if the
AIDL HAL declared. This will lead to 1) long blocking call for device
doesn't have the AIDL HAL and also 2) potential problem if the service
starts late after 5s timeout.
This is a workaround for addressing 1) on devices having HIDL, but still
affects device that doesn't have HIDL service.
Bug: 149797408
Test: build
Change-Id: I60aada1ab1a044db965987bca5f6eee5b6262b20
|
|
Bug: 148798433
Test: Build
Change-Id: Ie14d90bf17faad68beb16a9916e2fab9627b1eb4
|
|
LOCAL_COPY_HEADERS is deprecated, so remove all its usages
to avoid build warnings.
Change-Id: I4c52508e9109c5f448653fd5613a8991d28bbb2e
|
|
Change-Id: Ibbcd009333337cd41f2e6bf70391914b75f8a3ba
|
|
* Original legacy HAL commit:
Ib236598a5888b2af19bcfb81e285f644a0e84c0d
* Example: http://review.cyanogenmod.org/38221
(cyanogen: Refactored to be an audio_extn)
Change-Id: Ic944a9f7059c78b79322dae9c787cdd8bb029cff
audio: add amplifier stream start/standby operations
Change-Id: I5de7ad7a0467e7cf822c9c0870a755c03d05e884
hal: Convert libaudioamp to audio_amplifier HAL
Change-Id: I1d0f63a46989d1792d7a5e08d2bdb6344ebafa31
hal: Notify amplifier of device enable/disable
Change-Id: Ice808c9b55a9e3bc8bafe5ca3ff555377d38dd8f
hal: enable amplifier earlier
Change-Id: Id876e8f836e3ce1ee5f8186ca9c0e6ef5f37182c
hal: only open the amplifier once
Change-Id: Ie9bbff74123e90b71e95809a84dcb3bbe9ba82fe
hal: notify amplifier of parameter changes
Change-Id: Iecc020c0347ae7c43d27183186e06dcefef7a0dd
hal: Clean up audio amplifier usage
* Externalize it into an extension file similar to the rest.
Change-Id: I03de7efa9bab8870099028170fa471dfffe1ce84
audio: add amplifier hooks for stream parameter manipulation
hal: Use log/log.h instead of cutils/log.h
Change-Id: I6e52524cc650eea234fbcf64ed17104dd8a3f001
[Pig]: Clang-format
audio_amplifier: Add new hook for setting amp feedback
Change-Id: I6de5e9c9dbbb6214b166f30628734aeb406c8a2a
Change-Id: I16a76475cb58a710d229648d77024379bfc499d5
|
|
* pthread.h include was missing so we add it.
* Fixes compilation with BOARD_VNDK_VERSION.
Change-Id: I297a0fc0cf4763b3550e1a8d37f2653b77b6e3a8
|
|
In case a device uses a prebuilt HAL it is rather likely
that the extensions must match it.
Change-Id: I0cb05030c9c7619513810362960a2e2a3306b3aa
|
|
Change-Id: I23e25aa8e6ae63fcb40a0a1bd3bc68565527d176
|
|
Change-Id: If6d270bd92b42df1cdc9719774da768039054753
|
|
Change-Id: I9ddf9e699f75b61ec39433aae669a91b1396725a
|
|
During voice call, device switch from speaker to bt a2dp
we are seeing crash in audio_hal due to invalid addrress
passed to is_sco_in_device_type which cause voice call failed
in bt a2dp.
All voice call usecase routing request made based on stream
output device, input device does not play any role hence removing
voice call check from sco stream in check.
Change-Id: Icaa71c8e461f26c913c0c637504824b848d87e95
|
|
when BT_SCO=ON arrive we are routing all usecase to SCO device
but sometime SCO device not updated to stream list,so again
device switched to previous device. To avoid that we check
SCO device availability in the stream list then routing to SCO.
Change-Id: I599e07b56527f0e087bb59254b16fcc9ca278520
|
|
Change-Id: I49fe6a129867d3935776ae8398f95f01d9f465da
|
|
CFI check is failing due to difference in
function signature during CVE-2019-10581
POC test. Fix the issue by matching the
function signature in header file and
function pointer type.
Change-Id: I92ccb0871b09f5757195844984519d51367ed35f
|
|
Change-Id: I01622ee2912d5dc611a8854337689aeffcd11466
|
|
Change the pcm id of afe proxy record-2 to match the
same in driver.
Change-Id: I9b21d71b7231405cd04b19d7e8bb66f0ad861a08
|
|
|
|
detection
-> Introducing new attribute to know if second stage detection
supported on given target
-> By default it is supported on all targets
-> Define only on those targets with value false where no support
Change-Id: I1df2bc6bc7cb8e2f26077fbc1905fcc96978fa23
|
|
-> typecasting variable in order to avoid mul overflow leading
to SIGABORT
Change-Id: I58ccdd55908f4844d5228d1723f86bf569cbd4aa
|
|
Start input is failing due to race condition in a2dp suspend
and a2dp connection/disconnection. If a2dp suspend params are
and then a2dp disconnection comes, reseting the suspended
flag can cause a2dp_is_ready function return invalid value
during start input and hence pcm prepare fails.
Avoid setting a2dp suspend state to false if sco is still on.
Change-Id: I83950ddd0d4d3bbe6f30846cba48f6eb88c14690
|
|
Change-Id: I644654fca5ff49cf8cf35e908302df4afdaedd52
|
|
|
|
|
|
adding missed closing tag for mixport to avoid
xml parser error.
Change-Id: I441bb563e7add06c86e85c975c81dc9303046a45
|
|
Sometimes routing to bt-sco failed since of the connection status
when setting force use to SCO, but then BT_SCO ON msg arrived, voice
call can't be rerouted.
Add voice call usecase to re-select device when SCO ON arrived to
avoid voice call can't route to right device when SCO state changed.
Change-Id: I1d090bd339817b5248e5d740d9b2956f0c9553e1
|
|
Change-Id: I06c82384ea6896dbbf21b92ed52edd83585bc52a
|
|
Change-Id: I611b378cf930bc3b5a00d563651b48c8af18bf0d
|
|
Add path entries for VOIP playback and record
usecases for internal and external codec variants.
Change-Id: I2f25bc6b53336398cfa5b23de05f7dba0920d2af
|
|
add incall music profile in audio policy configuration
to provide incall music support from APM
Change-Id: I1e6144eae5e1bb56c61da14eed83015223346e89
|
|
Use usb_surround_sound input profile for usb capture to avoid
scenario of re-using an already opened input session during
concurrent capture. Otherwise for second capture which
does not support hifi-reocrd and use case can fail.
Change-Id: Ic02a25e2643c1d8c008dee4c63cbcd8c4cb8eb4c
|
|
Change-Id: I70b76397a2e2017048a4eaa060bf0a522123460e
|
|
Playback usecase on a2dp path is muting if its enabled
while usecase on bt sco mic is still active.
To fix this, avoid enabling record usecase on SCO device
when A2DP device is in ready state.
Change-Id: Id6d926096fd35a1f0d3b60b3f10dc8c39f2cb225
|
|
|
|
During a2dp+spk combo usecase, a2dp device is assigned with
sampling rate of speaker though requested sampling rate of
a2dp was different.
Fix this by moving assignment of speaker sampling rate after
the condition of a2dp+spk combo was validated.
Change-Id: Iae02657bea51807191d864964865465e558b919d
|
|
When ever BT_SCO=ON arrives, make sure to route
all use cases to SCO device, otherwise due to delay
in BT_SCO=ON and lack of synchronization for create audio patch
request for SCO device, some times use case not routed properly to
SCO device during VOIP call
Change-Id: I360d195858c26ace18e92fc0975ff3108ba866e4
|
|
Enable Voice activation and Voice call over BT sco, Select same TX Device
for both Voice call and VA usecases after switching from BT to other devices.
Change-Id: I839c2ecf8a2b6919b767e00a70db645b9094ef35
|
|
For active usecases on combo device, stream should still be audible
on the non-a2dp device, so don't mute stream if it has combo device.
Change-Id: Ib03dd7761d4e972233c633850bb480119ad6b503
|
|
When SCO profile is disabled, during voice call, device can be
switched to handset first and followed with a2dpsuspended param,
device will be switched to speaker and if it shares backend with
handset, voice call can be eventually switched to speaker which
is unexpected.
Check if there's any other active usecase and switch to the same
one during check_a2dp_restore.
Change-Id: I2cabccffc5d2601362a5da16b9793c218a009822
|
|
Change-Id: I8fa355478963954f1e93ff00985ade00a592b3e7
|
|
It's not really necessary to configure voip call to fast
track though app sets fast flag. As AOSP design, fast track
applies to recoder apps, not voip apps. In general, fast
recorder app can pause and resume by itself, but fast track
will be invalidated continually if the voip app kept IDLE
state(in the background), it goes into an infinite loop
"invalidate->restore->invalidate", if it reaches the maximum
retry time, it will quit the thread permanently.
Raise the priority for configuration of voip usecase to
make apps of voip type select voip path.
Change-Id: I32471aa4adb4e306088930591309618529ced291
|
|
|
|
If VOIP TX path is enabled before RX path when connecting
headset or other device, it will enable echo-reference-voip
with default port, because out device hasn't been enabled
and won't be corrected.
Re-route VOIP TX path for enabling echo-reference-voip
with correct port
Change-Id: Iad1270a98f9b16a60f2a79f3be3651e11c48fa79
|
|
For compress offload playback, during SSR offline
callback will hold out and latch lock and set
offload state to idle and wait on compress
offload thread state to be marked as unblocked.
In the mean time pause is triggered and it acquires
out lock and waits for out_latch lock.
And in another thread compress_wait completes and
wait for out lock causing dead lock.
Fix this by moving latch lock to protect only
offload_state, so that latch lock can be released.
Change-Id: Iec42eaf6c18477b4f87bb5bafe54fb346c7af73b
|