- 27 Sep, 2013 1 commit
-
-
Matthew Xie authored
bug 9987787 Change-Id: I2fe88f4c284d8403d79e08194bf7a720b305d029
-
- 13 Sep, 2013 1 commit
-
-
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
-
- 11 Jun, 2013 1 commit
-
-
Zhihai Xu authored
bug: 8059358 Change-Id: I2947b2b77955238410e2620489c2e0407ad8ae7b
-
- 30 May, 2013 1 commit
-
-
Matthew Xie authored
So that the settings app would not stuck at turning-off state User can retry turning off. bug 9164641 Change-Id: I6ae6d80c97673b4e548b7b5ab47c51f968342060
-
- 24 May, 2013 1 commit
-
-
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
-
- 21 May, 2013 1 commit
-
-
Zhihai Xu authored
issue 9066070 Change-Id: Ie206eab374c6a8c255f1a6302249f81ac16fc333
-
- 10 May, 2013 1 commit
-
-
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
-
- 03 Apr, 2013 1 commit
-
-
Matthew Xie authored
Bring the device type from hal to app api bug 8529188 Change-Id: Id4a9837afc7234cb50ab6abf73da4bdc010db392
-
- 28 Feb, 2013 1 commit
-
-
Ganesh Ganapathi Batta authored
Change-Id: I9579b3074bc4bc59dd45f71c0937e8879196555e
-
- 14 Feb, 2013 2 commits
-
-
Matthew Xie authored
We had turned off too much debug messages. It is getting hard to make out useful information from bugreports. Now, selectively turn on some messages. Change-Id: Ia62bc9d5967a10690709abaa0e20a15dd01c258d
-
Matthew Xie authored
Change-Id: I258cb35f3166ac8a6a4c4ee7965db527cf17c2e2
-
- 30 Nov, 2012 1 commit
-
-
Matthew Xie authored
bug 7626174 Change-Id: I0161d54dd325a7a1afcf8926ef54cd483e7503fb
-
- 12 Nov, 2012 1 commit
-
-
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
-
- 24 Oct, 2012 1 commit
-
-
Zhihai Xu authored
bug 7385618 Change-Id: I338fd87083387706f3b5f410c9592219bb8a1acb
-
- 17 Oct, 2012 1 commit
-
-
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
-
- 09 Oct, 2012 1 commit
-
-
Zhihai Xu authored
to reject background user access. bug 6925422 Change-Id: I11d5ebf007c2843a72a9870055fc96672daf8409
-
- 08 Oct, 2012 1 commit
-
-
Matthew Xie authored
bug 7174712 Change-Id: I58747ec6507da8ea8ae27a182b601aaf626ede42
-
- 02 Oct, 2012 1 commit
-
-
Matthew Xie authored
Socket initialization need the preparation from stack and a domain socket connection. All this takes time and not proper to be run in the main thread. bug 7258324 Change-Id: Ic46601602556c2949f18d446016188d874099874
-
- 15 Sep, 2012 1 commit
-
-
Wink Saville authored
StateMachines must be started before any messages are sent to them otherwise an exception is thrown. Bug: 7091976 Change-Id: I05315d45d4d6db42843442b7feb37c665cfabcab
-
- 11 Sep, 2012 1 commit
-
-
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
-
- 29 Aug, 2012 1 commit
-
-
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
-
- 14 Aug, 2012 1 commit
-
-
Ganesh Ganapathi Batta authored
Implementation of BT enable in Quiet mode without initiating auto connect and not allowing Incoming HFP, A2DP and HID connections. Change-Id: I857aea8d95677f8287df4641ec0aeae58a9f7a99
-
- 10 Aug, 2012 1 commit
-
-
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
-
- 08 Aug, 2012 1 commit
-
-
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
-
- 07 Aug, 2012 2 commits
-
-
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
-
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
-
- 27 Jul, 2012 1 commit
-
-
Ganesh Ganapathi Batta authored
Change-Id: I5dafb48fc63dadfc5ad60e5a4e9735cf72d56534
-
- 25 Jul, 2012 1 commit
-
-
zzy authored
Change-Id: I0d6b293c0bf35d9b4a2df00e9b3cd810c4a9b251
-
- 17 Jul, 2012 12 commits
-
-
Matthew Xie authored
BT ON/OFF now done via enable() and disable() binder API call. Also fixed bug with BT OFF if set scan mode times out Change-Id: Ib88dfc148bb5a24cda1e84a86f044ae85a5a6514
-
Matthew Xie authored
Change-Id: I0d4f72d50cd981a3c334583948dc0563f0662662
-
Matthew Xie authored
Change-Id: I0b361ad6ba9a5f6ac4db9203a389ee309b04019a
-
Kausik Sinnaswamy authored
Change-Id: Ia7d99075b196414b3ded117b323ca5295c2c0b73
-
Ravi Nagarajan authored
Sending bond_state_changed and adapter_properties_cb concurrently was causing a race condition, which resulted in the BOND_STATE_CHANGED intent not being sent. This caused the Settings to not show the newly bonded device. This has been resolved by letting BondStateMachine manage the mBondedDevices Change-Id: Ieba39602436370fd9a87c3aa938ff3bd724c68cf
-
fredc authored
Change-Id: I819ca7920d9d866bd3aca88d4365a18e2369ee81
-
Kausik Sinnaswamy authored
Fix to ensure that we are able to pair with a device that was just unpaired. The fix was to clear a boolean variable which was causing some stale data to be maintained Change-Id: Iaad0e21794b0b6e47d12c837ef36e026b6ece655
-
Sreenidhi T authored
Change done to clear mUuid - local copy of Uuid. If not cleared, the cachedBluetoothDevice issued a connect using the local cached copy of uuids, without waiting for the ACTION_UUID intent. This was resulting in multiple calls to connect(). Change-Id: Ida6fd2e805dee8c19b4d7d656b4102891f51fd00
-
fredc authored
Moved BluetoothAdapter.ACTION_STATE_CHANGED broadcast from AdapterService to BluetoothManagerService Change-Id: Ic9911359c1d9e04a5d803807ea7cf4ad39616960
-
fredc authored
Change-Id: Ibee5382816d47b1e9b846461942a9daccc4210a7
-
fredc authored
Fixed Bluetooth on/off issues. Removed singleton instances causing issues when services reload. Updated adapter state machine Change-Id: Ie1ff4284f507c7da102569f3c0acfd55612a5f6b
-
fredc authored
Fixed exception in BondStateMachine when quit message occurs. Fixed exception in OPP when remote does not accept incoming request. Change-Id: Ibb43a26ee0ac62967518468d243880a0af987ba0
-