1. 22 Nov, 2014 1 commit
  2. 21 Nov, 2014 1 commit
    • Simon Wilson's avatar
      DO NOT MERGE Reduce TIMER_INTERVAL_FOR_WAKELOCK_IN_MS to 100ms · 654c376f
      Simon Wilson authored
      The bluedroid wakelock locked time has increased 2.5x since K.
      Reduce the 3s interval to reduce the time that the wakelock is
      held, allowing the kernel to suspend more frequently. By
      reducing this, wakelock usage returns to roughly K levels.
      
      This in turn reduces BT process power usage.
      
      Bug: 18357273
      Change-Id: I7c3bddffafb0fa59468b8dd5718220be8ac85506
      654c376f
  3. 19 Nov, 2014 1 commit
  4. 18 Nov, 2014 4 commits
    • Andre Eisenbach's avatar
      LE: Use LE specific I/O capabilities · 26fa02b5
      Andre Eisenbach authored
      In an attempt to make the I/O capability configuration more reasable and
      overwritable per platform, the BR/EDR specific I/O capabilities were
      used for LE. In SMP, the I/O capabilities flag is mapped differently,
      thus a separate flag is required to configure the LE I/O capabilities.
      
      Bug: 18245986
      Change-Id: I6b4ba8f8a1d60ea25729e49d305e3653e94928c6
      26fa02b5
    • Andre Eisenbach's avatar
      am a59f47f2: DO NOT MERGE Remove overflow rate limiting when reading A2DP frames · 6cdf40af
      Andre Eisenbach authored
      * commit 'a59f47f2':
        DO NOT MERGE Remove overflow rate limiting when reading A2DP frames
      6cdf40af
    • Matthew Xie's avatar
      Use the device type from saved properties instead of assuming default · 86f97eda
      Matthew Xie authored
      DUMO device can do both BLE and BREDR operations. It was wrong
      to assign BLE or BREDR type to it.
      Bug: 18275230
      
      Change-Id: I8d6c17e5157ba29a1af459629de9e2d6f6dc5e99
      86f97eda
    • Andre Eisenbach's avatar
      DO NOT MERGE Remove overflow rate limiting when reading A2DP frames · a59f47f2
      Andre Eisenbach authored
      A2DP now supports adjusting the number of A2DP frames sent per timer
      tick to adjust for timer drift and missed media task ticks. When the
      signal to the headset/speakers becomes interrupted, the number of
      packets to be read can queue up and rate limiting will not allow for the
      queue to be cleared.
      
      The overflow mechanism introduced in commit 4aebca46 will cause the media
      task to stop sending packets completely, which can underflow the jutter
      buffer on the remote device and lead to audio drop-outs.
      
      This patch removes the overflow mechanism and also adds code do discard
      audio frames that could not be sent to the remote device (weak signal
      etc) to allow the device to stay in sync and not build up audio delays.
      
      Also added additional debug logging and changed the UIPC flush mechanism
      to address an issue where reading byte by byte causes an endless flush
      loop if remote UIPC producer writes data faster than the flush loop
      consumes it.
      
      Bug: 18244205
      Change-Id: I9a424984806bb2a464877399804b3355b2c439c3
      (cherry picked from commit c5916e97)
      a59f47f2
  5. 17 Nov, 2014 1 commit
    • Andre Eisenbach's avatar
      Remove overflow rate limiting when reading A2DP frames · c5916e97
      Andre Eisenbach authored
      A2DP now supports adjusting the number of A2DP frames sent per timer
      tick to adjust for timer drift and missed media task ticks. When the
      signal to the headset/speakers becomes interrupted, the number of
      packets to be read can queue up and rate limiting will not allow for the
      queue to be cleared.
      
      The overflow mechanism introduced in commit 4aebca46 will cause the media
      task to stop sending packets completely, which can underflow the jutter
      buffer on the remote device and lead to audio drop-outs.
      
      This patch removes the overflow mechanism and also adds code do discard
      audio frames that could not be sent to the remote device (weak signal
      etc) to allow the device to stay in sync and not build up audio delays.
      
      Also added additional debug logging and changed the UIPC flush mechanism
      to address an issue where reading byte by byte causes an endless flush
      loop if remote UIPC producer writes data faster than the flush loop
      consumes it.
      
      Bug: 18326405
      Change-Id: I9a424984806bb2a464877399804b3355b2c439c3
      c5916e97
  6. 08 Nov, 2014 1 commit
    • Chaojing Sun's avatar
      Bluetooth fails to turn off with keyboard and headset connected · c5cda819
      Chaojing Sun authored
      When HOGP keyboard is connecting and BT off is requested, if there
      is any HOGP data that was received during this state, it causes the
      following side-effects:
      - LE data was not thrown away in disconnecting state, instead it is
      now being used as indication of link establishement
      -The above triggers the link open callback for fix channel and
      causes the BT off failure.
      
      Check L2CAP link state and always discard the fixed channel data
      received in disconnecting state solves the problem.
      
      Bug: 17793437
      Change-Id: I633d5e6346e952daa2abd642effad2f260954fdf
      c5cda819
  7. 06 Nov, 2014 1 commit
  8. 05 Nov, 2014 1 commit
  9. 04 Nov, 2014 5 commits
  10. 03 Nov, 2014 13 commits
  11. 30 Oct, 2014 2 commits
  12. 29 Oct, 2014 1 commit
  13. 28 Oct, 2014 5 commits
  14. 24 Oct, 2014 1 commit
  15. 23 Oct, 2014 1 commit
    • Prerepa Viswanadham's avatar
      Don't starve a BT ACL link with 0 xmit quota · 472c2a7b
      Prerepa Viswanadham authored
      With new link management of controller buffers between
      different ACL connections, it is possible that a ACL
      conn would get 0 buffers - thus no profile can run.
      This affects classic and LE ACL connections.
      
      This work around allows a floor of 1 buffer as the
      floor for all connection, irrespective of controller
      capability.
      
      Bug: 17976311
      Change-Id: I7cd0d34af47c441c5ea7f2b836b591a4fec62ad1
      472c2a7b
  16. 22 Oct, 2014 1 commit