Skip to content
Snippets Groups Projects
  1. Dec 22, 2016
  2. Dec 19, 2016
    • Satish kumar sugasi's avatar
      FM audio config sequence during FM radio ON/OFF · 3b47fd19
      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
      3b47fd19
  3. Nov 30, 2016
  4. Nov 24, 2016
  5. Nov 22, 2016
    • Kamal Negi's avatar
      Memset structure values to 0 before sending an IOCTL · 7bb0f627
      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
      7bb0f627
    • Kamal Negi's avatar
      Check for TX event before waiting for an event · ca34f87e
      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
      ca34f87e
    • Kamal Negi's avatar
      Update FM UI after service bind complete · 833970d0
      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
      833970d0
  6. Nov 15, 2016
  7. Nov 10, 2016
  8. Nov 03, 2016
  9. Oct 26, 2016
  10. Oct 25, 2016
    • Satish kumar sugasi's avatar
      Call FM power off api after SSR · 38c637e5
      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
      38c637e5
  11. Oct 24, 2016
    • Kamal Negi's avatar
      Check for antenna connected on activity restart · 637aa08f
      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
      637aa08f
  12. Oct 20, 2016
  13. Oct 14, 2016
  14. Oct 06, 2016
    • Kamal Negi's avatar
      fm: Return frequency value in getFrequency · 31bed2c7
      Kamal Negi authored
      Return frequency value in getFrequency if call to function is successful
      instead of error value.
      
      Change-Id: I07d62aecbfc396ec94f4b1efb8fd096499a7e3bb
      31bed2c7
    • Satish kumar sugasi's avatar
      Add logic to check dynamic property to enable/disable LPF · 16f0f005
      Satish kumar sugasi authored
      This adds check for system property defined whether to enable or
      disable LPF in soc based on WIFI state or BT State during FM turn ON.
      Also checks system property flag while DATA state is CONNECTED or
      Disconnected  to decide whether to enable or disable LPF in SOC.
      
      Change-Id: I566fc6439c7bbee7326548d92706d0c74b3ff97f
      16f0f005
  15. Sep 30, 2016
    • Kamal Negi's avatar
      fm: synchronize dequeue_fm_tx_cmd function · a9e487b7
      Kamal Negi authored
      In dequeue_fm_tx_cmd function, there is race condition happened between
      command credits decrement and event received for command sent. After
      sending command to SoC, event received immediately and processed before
      it decrement the command credits, hence command credits become zero and
      it stuck in condition wait for command credits and FM failure happens.
      
      Change-Id: Ibb2cf98ade08bbc9b25946d2368b1b7e428397bc
      a9e487b7
  16. Sep 22, 2016
    • Mingbo Zhang's avatar
      Fix: Can't control Alarm/Ring volume after plugout headset and a2dp · 67f115c0
      Mingbo Zhang authored
      1) wired headset is plugin, a2dp is connected, fm is on =>
      2) plugout wired headset, then disconnect a2dp =>
      3) will not control alarm/ring volume via +/- button
      reason: after plugout wired headset, then disconnect a2dp at last,
      configureAudioDataPath(true) will be called and AudioSystem.DEVICE_OUT_FM
      will be set to DEVICE_STATE_AVAILABLE. Then we can only control
      media volume via +/- button.
      
      Change-Id: Ic9b0bad141a8d5d88e6b9b93350a5b02961b91db
      CRs-Fixed: 1047328
      67f115c0
  17. Sep 16, 2016
  18. Sep 15, 2016
  19. Sep 13, 2016
  20. Sep 12, 2016
    • Smriti Gupta's avatar
      FM: FMRadio will wait for the focus from telecom repeatedly · 9a2f2372
      Smriti Gupta authored
      Whenever call is getting ended, FM requests Audio Focus
      before Telecom abandons it, There is delay for about 50ms.
      Now, with this change FMRadio will wait for 300 ms to get the
      focus back from the telecom.
      
      Generally, both FM and Playing Tone for call end are dependent on
      call state changed, so the progress of receiving is in parallel.
      But due FM gets callback via remote calling, it is always slower
      than Telecom. Currently for N, the audio_focus_release had been
      moved into state machine (in work thread), so the issue becomes
      easy to see.
      
      We cannot serial the call_status_change and the audio_focus_release.
      Because Telecom also need to wait DISCONNECTED to paly tone, after
      completed to abandon it.
      So need FM needs to handle it by waiting for some more time.
      
      CRs-fixed: 1061550
      Change-Id: I7676b6816d5c89934bf2360811ea0b1bb2fb850b
      9a2f2372
  21. Sep 05, 2016
  22. Sep 02, 2016
  23. Aug 25, 2016
  24. Aug 20, 2016
  25. Aug 11, 2016
    • Kamal Negi's avatar
      fm: stop recording on transient audio focus loss · b35787e7
      Kamal Negi authored
      When another media session starts, we receive the
      AUDIOFOCUS_LOSS_TRANSIENT. We need to stop fm and fm recording as
      another media session starts.
      
      Change-Id: Iab1ffb1f75b9704c77c408f335ec959ec11e767e
      b35787e7
  26. Aug 05, 2016
  27. Aug 03, 2016
  28. Aug 02, 2016
  29. Jul 30, 2016
  30. Jul 21, 2016
  31. Jul 14, 2016
    • Kamal Negi's avatar
      Toggle FM on receiving AVRCP play command · 8377ec47
      Kamal Negi authored
      While FM is playing over BT and press the play/pause button from BT
      headset, receiving the AVRCP play command from BT headset. On receving AVRCP
      play command from BT headset, if FM is already on, we don't turn off the FM and
      FM keeps playing.
      Toggle the FM to on/off on receving the play command.
      
      Change-Id: Iee34ca9d40929a0f5fd04fcfba0c42f29a0dd388
      8377ec47
  32. Jul 13, 2016
    • Smriti Gupta's avatar
      FM: Fix KW issues. · c4750ada
      Smriti Gupta authored
      Fix KW issues in FM.
      
      CRs-Fixed: 1040552
      Change-Id: I57fec241ecc98735e3ec6cf75837859a4db4ad97
      c4750ada
  33. Jul 08, 2016
  34. Jul 06, 2016
  35. Jun 30, 2016
    • Kamal Negi's avatar
      wait for disable event callback to complete · 3d3cdeae
      Kamal Negi authored
      After sending the disable request, wait for disable event callback
      to complete.
      If we enable fm before disable callback has been completed,
      state of FM is TURNING OFF, hence enable FM gets failed.
      
      Change-Id: I49fa255d2c8dcec2d5f60df350a40e69fa3cee9c
      3d3cdeae
Loading