- Apr 21, 2017
-
-
Kamal Negi authored
If volume button pressed while call is ringing, FM receives AUDIOFOCUS. On call termination, FM don't resume, as FM already received AUDIOFOCUS and don't resume FM on call termination. Hence turn on FM when telephony CALL_IDLE_STATE intent received. Change-Id: Ib38e4f622d57ead0c7a97a241280c9c9db57da8d
-
Kamal Negi authored
On call disconnection, AUDIOFOCUS_GAIN received before telephony state intent and telephony state update happens after audio focus gain. Hence FM turn on won't happen. Turn on FM if telephony intent received or rety once after 100ms. Change-Id: I6bdc7f13afd024be8d3428c83f7117277affc45f
-
CNSS_WLAN Service authored
-
Kamal Negi authored
Change-Id: Iac42f8f4f1f90c2c5860d90068e09d01638bff80
-
- Mar 27, 2017
-
-
Kamal Negi authored
After sending enable request, wait for enable event callback to complete. If we configure audio path before enable receiver done, audio path won't configure properly, hence no audio will be heard. Change-Id: Ia5030308c35f41297ff19079f38e735e962770b2
-
Kamal Negi authored
NULL check for callback environment. An event received before jni threads are attached, will lead to NULL pointer exception. Change-Id: Ia3fe9c6fb67d5c94bdd8d3a147ea8776bdc5fa3a
-
- Mar 25, 2017
-
-
Kamal Negi authored
On Audio focus loss, slave device, FM, keeps on sending packets to master device, audio manager, even master is disconnected to slave and slave's buffer overflowed after some time. Due to this, on Audio focus gain, slave don't send packets to master. Hence no audio for FM. Reset slimbus data port to overcome this situation. Change-Id: I4751988149863be0af60fc5cfd268b91afbb685f
-
- Mar 23, 2017
-
-
Service qcabuildsw authored
-
- Mar 20, 2017
-
-
Rupesh Tatiya authored
This workaround is not needed as avoiding reset of underflow/overflow setting in kernel fixes the original issue. Change-Id: Ia5f177f6f6727d837f7422505d196968ea0cd332
-
- Mar 17, 2017
-
-
Kamal Negi authored
On SSR, we receive HW_ERR_EVENT,we set lib_running variable to 0. Because of this, hci tx and monitor thread exits before cleanup or exit happens, causing RX thread to be blocked on cond_wait and failure happens. Hence not setting variable during event read. Change-Id: I82891e12c83fe5d06dbfec060d1ace1231fc25fd
-
- Mar 03, 2017
-
-
Kamal Negi authored
Check if variable is null before making a call to avoid the null pointer exception. Change-Id: I23f271d6c1f32416aa10a9113273dde477b8a0d8
-
Kamal Negi authored
If FM over A2Dp is disabled, we don't need to route FM audio to A2DP. Hence do not register A2DP service listener if FM over A2DP is disabled. Change-Id: Iba88994819fdf1b1489a654777111d7a0b769c7c
-
Kamal Negi authored
FM registers two intent listener for headset removal. Because of the intents recieved from both listeners, race condition happens. Even antenna is connected to device, FM app shows antenna as disconnected. Hence register one listener for headset removal. Change-Id: Ic6811652a2356a80d3ba3517bf7ea11f73328ed3
-
- Feb 17, 2017
-
-
Service qcabuildsw authored
-
Service qcabuildsw authored
-
Mingbo Zhang authored
when fm audio is routed to a2dp, then video is started to play. fm will receive pause cmd, and call fmOperationsOff, then call resetAudioRoute(). audio output will be changed to wired headset. We should keep audio route unchanged. Change-Id: I42a15fea24ed26bfe7460a4611bca1a7620de4e1 CRs-Fixed: 1109351
-
- Feb 15, 2017
-
-
Mingbo Zhang authored
currently background color is same as character color. so character can not be seen. Change-Id: Ieea88675bf2fbe46fe18539033f340a2f8bb4d2f CRs-Fixed: 1112971
-
Mingbo Zhang authored
this patch can fix below two issues. 1) after call ends, telephony will still play call end tone. so we should not resume fm immediately after call ends. 2) if fm has been paused and abandoned audiofocus because other video app starts to play and sends pause cmd to fm, then after call ends, we should not resume fm automatically. we should only resmue fm after fm gains audio focus. Change-Id: I729ac3e92512ff43368494ecde87d3d9f8dfe2c6 CRs-Fixed: 1110621
-
- Feb 14, 2017
-
-
Kamal Negi authored
Make disable fm to be synchronous. On factory reset, disable fm and enable fm called back to back. If enable fm command sent before disable fm completes, fm enable fails. Hence wait for disable fm to complete. Change-Id: Ic3630f7bdd39ca812d9ae81b45a9c496049aef84
-
- Feb 02, 2017
-
-
Kamal Negi authored
CRs-Fixed: 1110660 Change-Id: I47b9f05f52f4b73b3e609b50984bb6ba9da311e1
-
- Jan 23, 2017
-
-
Kamal Negi authored
Fix compilation error for non cherokee devices. Added cherokee soc type flag to remove compilation error for non cherokee devices. Change-Id: I4b69ae76a33fcdeb497239aae9c35362272bcbfc
-
- Jan 12, 2017
-
-
Kamal Negi authored
On Audio focus loss, slave device, FM, keeps on sending packets to master device, audio manager, even master is disconnected to slave and slave's buffer overflowed after some time. Due to this, on Audio focus gain, slave don't send packets to master. Hence no audio for FM. Reset slimbus data port to overcome this situation. CRs-Fixed: 1082673 Change-Id: I8317c6e82fe4844970e84e929e2c6328284c6ca9
-
- Jan 05, 2017
-
-
Satish kumar sugasi authored
This enable signal blend option,stereo mode setting from UI. Change-Id: Ie12eedd1c3bab9650804c6f2bc1037b3c3d0e436
-
- Dec 22, 2016
-
-
mingboz authored
Fix GetFMStatsForFreq error for non-cherokee chip. Change-Id: I294f9d032fa46a3b16248d832e88c1eca5aa1c6c CRs-Fixed: 1069167
-
- Dec 19, 2016
-
-
Satish kumar sugasi authored
call audio config changes and allow some delay for slimbus close before turning off FM chip,adds delay after enable FM chip before calling audio config changes to start FM audio. Change-Id: I563bbad9edee92247b3514612fe7b94838d32525
-
- Nov 30, 2016
-
-
Kamal Negi authored
Checking if string is null before adding to treeset. Adding null string to treeset will lead to a null pointer crash. CRs-Fixed: 1095523 Change-Id: I74e1c6be3381c05c66ab697d82401da8e27badec
-
- Nov 24, 2016
-
-
Service qcabuildsw authored
-
Service qcabuildsw authored
-
- Nov 22, 2016
-
-
Kamal Negi authored
Memset ext_ctl and v4l2_ctls structure values to 0 before processing it. If not set, unassigned values can have garbage values and that can lead to functional/feature failure. CRs-Fixed: 1091284 Change-Id: Ice666cddd8e734d2d91053c30c42493315292841
-
Kamal Negi authored
Check for an event before waiting for an event. If event already signalled and we wait for an event without checking, it can lead to an infinite wait for signal. This results in functional failure. CRs-Fixed: 1091781 Change-Id: I7bb1ef12f4622f9d94621a9c486a771226aba9f4
-
Kamal Negi authored
On activity start, bind service callback can be delayed and is received after activity life cycle i.e after onResume(). Because of the delay, UI update won't happen. Hence update FM user interface, i.e. RDS, frequency etc., if service callback received or retry once after 100ms. CRs-Fixed: 1090643 Change-Id: Icef5922c3e3972f5e44cd1d3f873f864785e26be
-
- Nov 15, 2016
-
-
Service qcabuildsw authored
-
- Nov 10, 2016
-
-
Satish kumar sugasi authored
skip registering listener for BT a2dp connection state changes to avoid FM over A2DP specific to particular SOC type. Change-Id: I748d8432ffdc875e7efd0064018ac9d95b907600
-
- Nov 03, 2016
-
-
Service qcabuildsw authored
-
- Oct 26, 2016
-
-
Satish kumar sugasi authored
This adds logic to call searchlist complete callback in java from jni layer to update FM state to search complete. Change-Id: If6bb49a6c7b10dc32c00b140bd66c3395f594352
-
Service qcabuildsw authored
-
- Oct 25, 2016
-
-
Satish kumar sugasi authored
This adds logic to do Power control operations after SSR event received.invokes fmhal service to do Power OFF chip Change-Id: Ia4e2e720943b02625d22d78757c2f3c748ddec53
-
- Oct 24, 2016
-
-
Kamal Negi authored
On activity restart, check if antenna connected or not. On activity restart we request for audio focus and update the UI with Radio text etc. even if antenna not connected. This enables UI and disable it again even if FM is turned off. CRs-Fixed: 1081388 Change-Id: I0c27f4025322451447423e1f5c07da1f8db790e6
-
- Oct 20, 2016
-
-
Satish kumar sugasi authored
Disable FM audio playback first and then FM recording in case of FM turnoff due to audio focus loss to avoid overlapping of Fmaudio and Music app audio. CRs-Fixed: 1074809 Change-Id: Id498e436dac0e6fe0c9ef823490b1c7588e98ecb
-
- Oct 14, 2016
-
-
Linux Build Service Account authored
-