1. 13 Oct, 2016 2 commits
  2. 22 Aug, 2016 1 commit
  3. 16 Aug, 2016 1 commit
  4. 15 Aug, 2016 17 commits
  5. 14 Aug, 2016 1 commit
  6. 12 Aug, 2016 1 commit
    • Myles Watson's avatar
      RemoteDevices: Optimize adding new remote devices · 619e48d1
      Myles Watson authored
      
      RemoteDevices keeps track of the Bluetooth devices which have been
      seen since the Bluetooth stack was initialized.  Each time a remote
      device is discovered, it is added to a hash map.  When the size of the
      hash map grows beyond a few hundred devices, the performance degrades.
      
      This patch:
       - creates the address string once per search
        reducing the average search time with 300 devices from ~20ms to ~1ms
       - uses the hash of the address string to search
        further reducing the time with 1200 devices from ~2ms to ~1ms
      
      HashMap<BluetoothDevice, DeviceProperties> became
       HashMap<String, DeviceProperties>
      
      mDevice now stores the BluetoothDevice in each instance of
      DeviceProperties.
      
      TEST: Used System.nanoTime() to measure the elapsed time of
            getDeviceProperties()
      Bug: 30828758
      
      Change-Id: Id44886143fb2910955294341d4938d638c72f7f9
      Signed-off-by: default avatarMyles Watson <mylesgw@google.com>
      (cherry picked from commit 1fb90c4f)
      619e48d1
  7. 10 Aug, 2016 1 commit
  8. 09 Aug, 2016 2 commits
  9. 08 Aug, 2016 2 commits
  10. 06 Aug, 2016 1 commit
  11. 04 Aug, 2016 1 commit
  12. 03 Aug, 2016 1 commit
  13. 02 Aug, 2016 2 commits
  14. 01 Aug, 2016 1 commit
    • Marie Janssen's avatar
      Fix bugs in play status and play pos notifications · 7d4aa832
      Marie Janssen authored
      Fix multiple issues with status notificatios:
        * Playback state was not being sent when state wasn't sent
          accompanying a metadata change
        * Play state was being sent without an update
        * Position was being sent without a change and with the wrong
          indicator
        * Position was not being scheduled for update when playing.
        * Position was being scheduled for update when paused / stopped.
      
      Bug: 30459664
      Bug: 29400658
      Bug: 28639383
      Change-Id: Ic550dcab0430be45187b0267cc77875740388a2a
      (cherry picked from commit fa81085f)
      7d4aa832
  15. 30 Jul, 2016 1 commit
  16. 28 Jul, 2016 2 commits
  17. 27 Jul, 2016 3 commits