1. 27 Sep, 2013 1 commit
  2. 13 Sep, 2013 1 commit
    • Kim Schulz's avatar
      Fixes to the google review comments + spec 1.1 · 70be005a
      Kim Schulz authored
      - updated code to comply with MAP spec 1.1
      - removed activity + strings.xml
      - removed unused notification code
      - fixed TODOs
      - added more string validation and case insensitivity
      - fixed internal+google review comments
      - Added dump of incoming bMessages to /sdcard/bluetooth/log when verbose debug in enabled. Only the latest received message will be stored
      - Fix functions msgListingSize and msgListingHasUnread to also consider mms filter message type
      - Fix wrong tag length define for notification status parameter
      - Re-added shutdown code to interupt the MNS
      - removed map activity
      - Added initial bluetooth map unit tests
      - Fix map event report xml start tag to uppercase 'MAP'
      - added support for using ProfileService class
      - changed the way the Broadcast Receiver was implemented
      - Fixed minor bugs found during Automotive Test Event
        - FilterPeriod application parameters can be present, but with zero length
        - For MMS the end-boundary were added too early
        - The FOLDER entry in bMessage can be empty for a message push
        - Wrong error value returned for a set status operation with a wrong handle
      - In getMessage() exclude all binary content and smil.xml if the appParam attachment is set to "no".
      - Set correct content id and content location for mms. Fix mms mime parser bug.
      - moved disconnect to Handler thread
      - fixed multipart-message split bug.
      - added a few Unit tests for multi-part messages
      - MMS parser optimized
      - fixed exception in MNS obex Client
      - fixed problem with Native PDUs not getting correct timestamp
      - corrected mixup in ordinator/recipient for MMS
      
      Change-Id: I3875762822a7f8ce0132065e0da5d0257e3850a1
      Bug:10692365
      70be005a
  3. 11 Jun, 2013 1 commit
  4. 30 May, 2013 1 commit
  5. 24 May, 2013 1 commit
    • Matthew Xie's avatar
      Fix rssi handling as one of property change event · 3cedf3d5
      Matthew Xie authored
      The rssi is encoded in one byte as int8_t in the stack.
      JNI code copied in high byte without proper masking.
      The converting is not needed. I am removing the uncessary converting.
      bug 9110215
      
      Change-Id: I50628b3a3c0bcf4a33775c6b62e9febd35bdc78d
      3cedf3d5
  6. 21 May, 2013 1 commit
  7. 10 May, 2013 1 commit
    • YK Jeffrey Chao's avatar
      Preload timeout and retry mechanism (2/3) · ad9fff21
      YK Jeffrey Chao authored
      If the Preload process was stuck due to unknown hardware init failure,
      a 8-second ENABLE_TIMEOUT timeout would be eventually expired in Java layer
      at AdapterState and attempted to set BT state back to STATE_OFF.
      However BluetoothManagerService did not handle this case accordingly and led
      to state mis-matching between Java layer and BTIF at the end.
      
      Add the processing logic in AdapterState to handle the case when an explicit
      STATE_OFF notification from BTIF was received in the TurningOn Pending state.
      
      bug  7566317
      
      Change-Id: I29c379cd453d05297ed382a5e8f862fa7d0f8881
      ad9fff21
  8. 03 Apr, 2013 1 commit
  9. 28 Feb, 2013 1 commit
  10. 14 Feb, 2013 2 commits
  11. 30 Nov, 2012 1 commit
  12. 12 Nov, 2012 1 commit
    • Zhihai Xu's avatar
      need to send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED intent to all users · 31be0d28
      Zhihai Xu authored
      We need to send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED intent to all users
      because bluetooth manager service use this intent to change name.
      Bluetooth manager service is always running as User 0. but it is always binding
      to bluetooth service running at foreground user, So the bluetooth service
      need send BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED broadcast intent
      to all users to let bluetooth manager service to receive it at any cases.
      
      bug 7476965
      
      Change-Id: I816786d0828d4a7d414077b1ccbe12d2e273fc75
      31be0d28
  13. 24 Oct, 2012 1 commit
  14. 17 Oct, 2012 1 commit
    • Zhihai Xu's avatar
      BT connection notification in not updated in status bar for second user · bd704c74
      Zhihai Xu authored
      It is due to the system UI is always running as the first user. It can't receive
      broadcast intent ACTION_CONNECTION_STATE_CHANGED and ACTION_BOND_STATE_CHANGED
      from bluetooth service when We switch to second user. Also the system UI also
      is running as uid 10055, which will also call function isEnabled, getState,
      getBondedDevices, getAdapterConnectionState and getBondState in bluetooth service.
      I allow these functions to be called by all the users.
      I forget remove check for getBondState in my first patch set
      
      bug 7333382
      
      Change-Id: I57f39a722e78d6d2453ebfecaab043637fef4d9c
      bd704c74
  15. 09 Oct, 2012 1 commit
  16. 08 Oct, 2012 1 commit
  17. 02 Oct, 2012 1 commit
  18. 15 Sep, 2012 1 commit
    • Wink Saville's avatar
      Add StateMachine make methods. · 6893668d
      Wink Saville authored
      StateMachines must be started before any messages are sent to them
      otherwise an exception is thrown.
      
      Bug: 7091976
      Change-Id: I05315d45d4d6db42843442b7feb37c665cfabcab
      6893668d
  19. 11 Sep, 2012 1 commit
    • zzy's avatar
      fixed bt on off stress test issue · 1c03c84f
      zzy authored
      root cause: cleanup stack process overlapped with bt turning
      on process sometime. The cleanup() call in adapterservice.java
      need to be call from onUnbind() to synchronize the
      BluetoothSererviceManager unbindandFinish() call.
      bug 7083069
      
      Change-Id: Ib4c64d7e5fc996277278471969f187bb5e915a76
      1c03c84f
  20. 29 Aug, 2012 1 commit
    • Ravi Nagarajan's avatar
      Adjust profile priorities when setting auto-connect · 9eb4a849
      Ravi Nagarajan authored
      At a given point only one device should be set to have
      PRIORITY_AUTO_CONNECT per profile. When setting a device priority
      adjust the other devices' priority to make sure auto-connect
      is attempted with only one device
      bug 7076087
      
      Change-Id: I1e03945a06e7acc901b53f34429194b3c3e76cd7
      9eb4a849
  21. 14 Aug, 2012 1 commit
  22. 10 Aug, 2012 1 commit
    • Ravi Nagarajan's avatar
      Add unbond reason to bond state change intent · ef39cada
      Ravi Nagarajan authored
      HAL sends the status to indicate the reason for bonding failure, if any.
      Add this to bond state change intent, so that the Settings app can
      display the error dialong, if necessary.
      bug 6936335
      
      Change-Id: Ide7c9e497bbfc6428b60c7a6de6e01ca538edfb8
      ef39cada
  23. 08 Aug, 2012 1 commit
    • Fred's avatar
      Fix for BT turn on/off issues: NPE, FD/thread leaks, ANR. · 15d36984
      Fred authored
      This fix addresses numerous BT on/off issues found from the CTS test.
      Fixed fD/pipe leak in various state machine Looper objects by calling quit() function.
      Fixed cursor leak in AtPhonebook.
      Change Pbap to stop the RFCOMM listener on the STATE_TURNING_OFF instead of STATE_OFF.
      Removed several cleanup() methods causing NPE.
      Reduced RFCOMM listener timeout from 3 seconds to 300ms between retry.
      bug 6834336
      
      Change-Id: I52423343d8f52f65294af0143f373871a9874d77
      15d36984
  24. 07 Aug, 2012 2 commits
    • Ganesh Ganapathi Batta's avatar
      Implement Profile Auto connection logic · 4f5430ba
      Ganesh Ganapathi Batta authored
      Implement  Profile Auto connection logic  (moved from Settings App )in  Bluetooth APK
       to avoid Auto connection not happening if the Settings App is not running
      As part of this implementation following features are implemented
      1.	 Auto connection initiation during BT on OFF
      2.	Profile Auto connection priority management
      3.	Connecting Missing profile logic
      4.	Initialize Profile Priorities on Bond State Change
      
      Change-Id: I12b7c190e28f043b4b008c9b48ac7e13aaf178e6
      4f5430ba
    • Ganesh Ganapathi Batta's avatar
      Proper update of friendly name for a paired device. · 0322ae1f
      Ganesh Ganapathi Batta authored
      Update friendly name for a paired device  by  properly initializing mAlias
      member of DeviceProperties  in Property Changed Callback() for remote device.
      bug 6884149
      
      Change-Id: I01d0679af4facfe6e92527f7618f4ff791928d0e
      0322ae1f
  25. 27 Jul, 2012 1 commit
  26. 25 Jul, 2012 1 commit
  27. 17 Jul, 2012 12 commits