1. 03 Dec, 2016 1 commit
  2. 02 Dec, 2016 1 commit
  3. 27 Sep, 2016 1 commit
    • Ajay Panicker's avatar
      Fix setPairingConfirmation permissions issue (1/2) · e1b6db10
      Ajay Panicker authored
      setPairingConfirmation was set to only require BLUETOOTH_ADMIN
      permission which shouldn't be able to set the confirmation itself.
      
      This is restricted to BLUETOOTH_PRIVILEGED permission.
      
      Bug: 29043989
      Change-Id: Iae8e31b25795989446265fdcc5eb27e6ffaf29aa
      (cherry picked from commit df3304a3)
      e1b6db10
  4. 16 Jul, 2016 2 commits
    • Marie Janssen's avatar
      Fix AVRCP crash, position and state tracking · fb798085
      Marie Janssen authored
      When the MediaController goes away (media stops) a NPE would cause a
      crash.
      
      Initialize the position so that an initial notification gets sent
      when position is requested, send it when the music is paused, and
      send play state whenever the app sends us a play state update.
      
      Bug: 30039744
      Bug: 29416450
      Change-Id: I44397b3dc40d328fa75a2c15875fad298a5090dd
      (cherry picked from commit 84d3f084)
      fb798085
    • Marie Janssen's avatar
      Refactor playback position tracking · bd91e1f2
      Marie Janssen authored
      Use PlaybackState directly to track the position through time.  Update
      the state when necessary (track changes, etc.)
      
      Remove complex logic and centralize sending of Play Position
      Notificaiton response and scheduling.
      
      Update dumpsys and add current package session.
      
      Bug: 29416450
      Bug: 29606822
      
      Change-Id: Ie82b48d6d7f9e1a05b64835731433d05a3a3a41a
      (cherry picked from commit eb9e6ef0)
      bd91e1f2
  5. 24 Jun, 2016 1 commit
  6. 23 Jun, 2016 3 commits
  7. 22 Jun, 2016 2 commits
  8. 21 Jun, 2016 2 commits
    • Ajay Panicker's avatar
      Fix how file size is calculated if not provided · 120ba1db
      Ajay Panicker authored
      Currently if there is no file size provided, InputStream.available()
      is used to guess how many bytes are available. According to the
      java documentation, available() should not be used to calculate
      file sizes, as it isn't guarenteed to return the total number of
      bytes in the stream. This is fixed by reading the stream to
      calculate the length, then resetting the stream.
      
      Bug: 29334784
      Change-Id: Ic851c46d053157e4d5404352d76f9ff87a509607
      120ba1db
    • Adam Lesinski's avatar
      Prevent energy data overflow · cca335e2
      Adam Lesinski authored
      - Stores energy data as longs
      - Monitors for overflow and logs + discards sample
      
      Bug:27598905
      Change-Id: I442c0f63adb5197a45e7982e68f1260c856ed351
      cca335e2
  9. 06 Jun, 2016 1 commit
  10. 05 Jun, 2016 1 commit
  11. 03 Jun, 2016 1 commit
  12. 31 May, 2016 1 commit
  13. 25 May, 2016 1 commit
  14. 24 May, 2016 15 commits
  15. 23 May, 2016 5 commits
    • venkata Jagadeesh's avatar
      Broadcast UUIDS on BT state transition to ON · 6fb4b240
      venkata Jagadeesh authored
      Use case: Phone and media connection is not happening
      after BT reset during swapping between the HeadSet.
      
      Precondition:
      1. WIFI should be on and connected with AP.
      
      Steps:
      1. Pair and connect from DUT to PLT legend device.
      2. Make an Mobile originated (MO) call.
      3. Pair and connect from DUT to sony carkit.
      4. Swap connection between PLT legend and sony carkit.
      5. During swapping turn OFF BT from DUT.
      6. Turn ON DUT and wait for auto connection from DUT.
      7. Repeat step from 4-6 10 times.
      
      Failure: Failed to connect with HS.
      
      Root cause:
      Broadcarst UUIDS on receiving the on event
      from lower layers even though the state is not
      transitioned to ON.
      
      Fix:
      Broadcast UUIDS on BT state is transitioned to ON
      to avoid timing issues related UUIDS.
      
      Bug: 27665220
      Change-Id: Ibdbaecd60cf36c599700b1ca353481b8149efa90
      6fb4b240
    • Jakub Pawlowski's avatar
      Fix LocalRef leakage in get_gatt_db · 4cfba240
      Jakub Pawlowski authored
      Bug: 28878699
      Change-Id: I81929d9f802d4f50eb7eb60d54ceca6ff19bb651
      4cfba240
    • Jakub Pawlowski's avatar
      Fix LocalRef leakage in get_gatt_db · c949f686
      Jakub Pawlowski authored
      Bug: 28878699
      Change-Id: I81929d9f802d4f50eb7eb60d54ceca6ff19bb651
      c949f686
    • Ajay Panicker's avatar
      Add guest mode functionality (3/3) · e1ca5ccc
      Ajay Panicker authored
      Add a flag to enable() to start Bluetooth in restricted
      mode. In restricted mode, all devices that are paired during
      restricted mode are deleted upon leaving restricted mode.
      Right now restricted mode is only entered while a guest
      user is active.
      
      Bug: 27410683
      Change-Id: If4a8855faf362d7f6de509d7ddc7197d1ac75cee
      e1ca5ccc
    • The Android Automerger's avatar
  16. 22 May, 2016 1 commit
  17. 21 May, 2016 1 commit