6fb4b2407f2ae6d87b1f026870f66d717a915973 |
|
12-Jan-2016 |
venkata Jagadeesh <vjagad@codeaurora.org> |
Broadcast UUIDS on BT state transition to ON 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
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
bdf33c0f7176de2bee64b6488a8327d837599fc8 |
|
14-Jul-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Require ACCESS_COARSE_LOCATION for ACTION_FOUND broadcast Receivers of ACTION_FOUND intent are now required to have ACCESS_COARSE_LOCATION permission. Bug: 21852542 Change-Id: Ia3bca7e9cd117536a3eb4f4d1fe405604b2ff40f
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
53b1dc1c00aea1aabbdbc6efd7be0cba6bf397a2 |
|
24-Jun-2015 |
Andre Eisenbach <eisenbach@google.com> |
Send ACTION_ALIAS_CHANGED when remote device alias is changed Bug: 20341903 Change-Id: I6e9dbeb1d05bdcce56fab63ccdd701138c99f5a0
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
f19f1ac64a5fefb248ab15b918d009b926c99dde |
|
11-Mar-2015 |
Nitin Arora <niarora@codeaurora.org> |
Bluetooth LE background operation mode (1/2) Changes to BluetoothAdapter state machine for handling new states BLE_STATE_ON and intermediate states BLE_TURNING_ON and BLE_TURNING_OFF. Also includes the actions required while migrating in and out of these states including start and stop of GATT services and other profiles. Change-Id: I08d6ff05c2cefe559d5bb5789a1a488afefbe544
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
5a60e47497f21f64e6d79420dc4c56c1907df22a |
|
17-Mar-2015 |
kschulz <k.schulz@samsung.com> |
Update to Bluetooth MAP 1.2 (server) - Change folder name lookup to a map Replaced the arrays used to convert mailbox ID/msg type to a folder name with a static map. This is to avoid null pointer exception for unknown values, and to catch any changes in the ID/type values at compile time in stead of runtime. Bug-id:16874441 - Added Instance Information support and Extended Event support. Still missing integration wiht SDP MAP feature bit mask support - Adding Abstract implementation to support conversations - added IM account handling, IM type definition, Application paramenters. - addedgetConversactionList functionality - added method to strip encoding in headers - Fixed messagelist showing both email address and name in the name fields. - Fixed Index out of bounds exception was hit when the subject contained invalid chars. - Added functionality to support the getConversationListReq Works for SMS/MMS, Email and IM For Email/IM it depends on the convoContact table in the contract. For SMS/MMS it uses the contact number+ name if available in contact database. - Added new parameters to msgListing also in contract class - Added Test framework for "near system level" tests Currently only includes an entry point for single device tests. - Added support for setOwnerStatus - Added support for vcard type X-BT-UID - Introduced type SignedLongLong to handle 128 bit values which needs to be handled as hex-strings. - Added convocontact notification events for IM - Added support for IM getMessage - Added setEventFilter function. - Added event filtering before enquing an event to be send. - Added selective observers, depending on the active filter. - Fixed timestamp to be from seconds to seconds (not from milisec) - Fixed version number in bMessage if remote featurebit is set for v 1.1 - Added content encoding to QP for text that are not USACII - Corrected the addresses in to/from for IM messages - Added btuid and btuci to vcard - Fixed (some) longlines - Added extendedData support (empty when sending, just logging when receiving) - Fixed Email folderName compairison changed to ignore case - Fixed problem with names containing "null" - BluetoothMapbMessageMms changed to BluetoothMapbMessageMime - Fixrf addOriginator in getMessage request - Add missing subjects in events for SMS - Don't send ReadStatusChanged when pushing a message - Temp way of adding names/uci to IM msg listing - Added messageHandle filtering in msgListing - Convolisting parameter mask support - Added support for using handle when filtering in root folder during msgLising - Added subject to event in sms - Fixed so attribute_mime_type is only sent when parameter is requested - Fixed feature bit check to messageListing version - Fixed leaking cursors - Added support for database identifier - Added folder and conversation version counters Change-Id: I4d2954b795aa7ed2a41dd034384da30f240b518f
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
bbb4110b455b3aa29106d5b4f0a37e1be8e09475 |
|
09-Apr-2015 |
Casper Bonde <c.bonde@samsung.com> |
Obex over L2CAP + SDP search API Each profile had its own implementation of ObexTransport. These implementations were implemented very similar, and could easily be merged into a common implementation. Additionally it will make it easier to adopt the transport to support L2CAP. The SDP functionality is implemented in a way that is scalable, hence adding new record types is easy. Intents are currently used to distribute the SDP search results, as we have observed that the new client side profiles have been located outside the Bluetooth package. We strongly recommend to keep all bluetooth profiles within the Bluetooth package, to acoid the need for exposing all bluetooth interfaces through the Android framework. For instance this new SDP create API is internal to Bluetooth, hence cannot be used by the external profiles - hence they cannot use OBEX over L2CAP. The SDP search currently supports: - MAP both sides - OPP server (only the server needs an SDP record) - PBAP server (only the server needs SDP record) The SDP create record currently supports: - MAP both sides - OPP server - PBAP server The new l2cap sockets introduces a new wrapper class for a rfcomm and an l2cap socket. The wrapper design: - Creates two accept threads running while bluetooth is turned on. - When a connection is accepted the owner is asked wether or not to accept the connection if rejected, the connection will be rejected at obex level, else it will be accepted and the state is changed to busy. - Any further connections will be rejected at Obex level, until the state is changed back to idle. Notes tor executing the test cases: Test OBEX using local pipes(no BT) or two bluetooth enabled devices. Test SDP using two Bluetooth enabled devices Start server testcase first on one device, then start the matching client test on the other device. You cannot run all tests in one go, as they need to run on multiple devices. Edit the test sequesce to add/remove/modify the sequence of OBEX operations to perform. Use the new SDP record create interface. Change-Id: I3941793f9843abf4afa5ffbee40d1d01c118b29b Signed-off-by: Casper Bonde <c.bonde@samsung.com>
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
74277677d2a51d7c8ff60a778889f71e69763c21 |
|
18-Sep-2014 |
Matthew Xie <mattx@google.com> |
Save alias in RemoteDevice property before passing it to native layer bug 17287682 Change-Id: Id7da194f66cf44d41e60f35665dfb1b279cac28f
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
11b41d8123241ba8e693e21c4db308bacff23f57 |
|
29-Jul-2014 |
Mudumba Ananth <ananthm@broadcom.com> |
Pairing failed after 50 attempts -> The issue was caused due to delayed message sent for bond_state_changed_callback in BondStateMachine and RemoteDevices was sending the pairing request(sspRequestcallback) intent to the Settings APP before even the bond state is changed. -> Moved the SSPRequestCallback and PinRequestCallback to BondStateMachine to synchronize the above two callbacks using a single message queue in the BondStateMachine message handler. -> Changed the pending command state to accept the SSP_REQUEST and PIN_REQUEST messages and send the intents. Bug: 16560957 Change-Id: I8372bdd2e96aa09215f2f1e98d6eed4e892637e6
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
3a91ac3eefe23a22aa0abc1a89ac253a2b0dbae9 |
|
05-Jul-2014 |
Nick Kralevich <nnk@google.com> |
Fix "Clone" call The function name is "clone", not "Clone". Also, add @Override so errors like this can be detected at compile time. Change-Id: Iaf5ec35cdfcd49dec786f14a72c1ebe42aa6bf05
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
2c0df0560ad5ae3fd6022b17b17a6a70143e216a |
|
16-Aug-2013 |
Hemant Gupta <hemantg@codeaurora.org> |
Bluetooth: Support MAP Client role on Bluedroid. Implementation changes to support Message Access Profile client role in Bluetooth Apk. Change-Id: I209909a2b18e43c7931571526b983453795f6c6b
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
3636f3319fc403e3bf995b6de71dc5e3f2864661 |
|
18-Jun-2014 |
Andre Eisenbach <eisenbach@google.com> |
LE: Add is_connected() function (3/3) Change-Id: I71f64ff59e4602d2834f1c177310a36320e70ead
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
7aa3a71e508e4f95a0a74f41ab8389979809191b |
|
08-May-2014 |
Jay Civelli <jcivelli@google.com> |
Adding a method BluetoothDevice.isConnected() Adding a new method to BluetoothDevice that lets callers know whether a remote device is connected. Change-Id: Ia8ad2e3189d08b63832634bdf804656b8d013820
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
34409f35db6e9ca74f727e3fe92141388ae5b069 |
|
16-Jul-2013 |
Ganesh Ganapathi Batta <ganeshg@broadcom.com> |
Set profile priorities only after SDP completion Set the profile priorities only after SDP completion. Perform lookup and set profile priorities to ON, only for profiles supported by bonded BT device. CR BLTH02405767 Change-Id: I83fe6e772993b7c41c6a86f504d2b09ea38b2356 Conflicts: src/com/android/bluetooth/btservice/AdapterService.java
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
cc4730be1fcf272355368ca4a2c464d71d3f432d |
|
01-May-2014 |
Matthew Xie <mattx@google.com> |
Add Intent.FLAG_RECEIVER_FOREGROUND for pairing intent broadcast The pairing intents targeting apps for user interaction. The flag should be used. bug 13909361 Change-Id: I13f10df46549773bf416f72ca630ea8ee49fe548
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
810c49b2cfece1c48ced464d6bd2509ec4cac7a3 |
|
22-Oct-2013 |
Matthew Xie <mattx@google.com> |
Change pairing api/intent permission from PRIVILEGED to ADMIN The APIs are createBond, setPin, setPairingConfirmation The intent is ACTION_PAIRING_REQUEST bug 11101076 Change-Id: I3b065ab0348a964bb557e57527491b2f34e68a81
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
c3cbf72f596c2af659905e06e85a5ac1241610a8 |
|
05-Oct-2013 |
Edward Jee <edjee@google.com> |
Allows another GMS core app to handle ACTION_PAIRING_REQUEST . Now we use sendOrderedBroadcast for ACTION_PAIRING_REQUEST , and to receive this intent, BLUETOOTH_PRIVILEGED is required. Bug: 11087521 Change-Id: I6aa2fbc6538df39b24f141e7d75adc3658a7e7ac
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
3cedf3d57aff20e1876a5b450f41b05e975cb8e0 |
|
24-May-2013 |
Matthew Xie <mattx@google.com> |
Fix rssi handling as one of property change event 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
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
d235269f06e99d76a0f63c8fe9e224e0f951f799 |
|
03-Apr-2013 |
Matthew Xie <mattx@google.com> |
Implement getRemoteType of IBluetooth.aidl Bring the device type from hal to app api bug 8529188 Change-Id: Id4a9837afc7234cb50ab6abf73da4bdc010db392
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
ede67c26e7b2564ea35db6d9b3027a269c150e13 |
|
24-Oct-2012 |
Zhihai Xu <zhihaixu@google.com> |
License of files Bluetooth package is not updated to ASL2 bug 7385618 Change-Id: I338fd87083387706f3b5f410c9592219bb8a1acb
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
fd1da115cbf09b7dd9bca3c7d3a4fb816a835dc5 |
|
08-Oct-2012 |
Matthew Xie <mattx@google.com> |
Turn off dbg messages, be prepared for production build bug 7174712 Change-Id: I58747ec6507da8ea8ae27a182b601aaf626ede42
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
6458cffaca286611e898c75ad86e2d98c89008b6 |
|
02-Oct-2012 |
Matthew Xie <mattx@google.com> |
Move socket initialization code out of pbap service's main thread 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
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
15d36984a79d6e35c659edb0efdf929f0b526bd5 |
|
01-Aug-2012 |
Fred <fredc@broadcom.com> |
Fix for BT turn on/off issues: NPE, FD/thread leaks, ANR. 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
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
0322ae1f5e8ea55c391145e7925cb5962a97c11f |
|
02-Aug-2012 |
Ganesh Ganapathi Batta <ganeshg@broadcom.com> |
Proper update of friendly name for a paired device. 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
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
74a598e0a8d50343227e3f96bbe56c6be1c240f9 |
|
28-Jun-2012 |
Ganesh Ganapathi Batta <ganeshg@broadcom.com> |
Ensure mAddr member of DeviceProperties is properly set with device BD Addr Change-Id: I5dafb48fc63dadfc5ad60e5a4e9735cf72d56534
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
caa3723eaa20e57aac086d54a41106108503debc |
|
27-Jun-2012 |
zzy <zhenye@broadcom.com> |
Added code to ignore the empty value of remote device property change Change-Id: I0d6b293c0bf35d9b4a2df00e9b3cd810c4a9b251
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
d807ba48ed4418c1a60549abe1c3a98ced8c428d |
|
14-May-2012 |
Sreenidhi T <nidhit@broadcom.com> |
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
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
74ae04c73312403e89db0f8e9bd9601d403b4783 |
|
07-May-2012 |
fredc <fredc@broadcom.com> |
Fixed memory leak in Binder objects from repeatedly turning on/off Bluetooth Change-Id: Ibee5382816d47b1e9b846461942a9daccc4210a7
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
31ba132491053bc86d419a7d51fc04af3299c076 |
|
26-Apr-2012 |
fredc <fredc@broadcom.com> |
Fixed Bluetooth on/off issues. Removed singleton instances causing issues when services reload. Updated adapter state machine Change-Id: Ie1ff4284f507c7da102569f3c0acfd55612a5f6b
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
01a8cf98f070a6996b2e8974edc229ac402f3f0c |
|
03-Apr-2012 |
Kausik Sinnaswamy <kausik@broadcom.com> |
Added ACL connect/disconnect state callbacks Change-Id: Ibd44de8601521a11b106711ccad9261fb40beca8
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
6de8229571ce56dcb0010c63cbef65e01ecd5c2a |
|
22-Apr-2012 |
Priti Aghera <paghera@broadcom.com> |
Fixed random pin generation for pairing with HID keyboard Change-Id: I7e6fd39289c6c5ebefd94f45e24de86e6aeaa625
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
6654f5c903de510a70f9e72cd5ad7837b615d93f |
|
12-Apr-2012 |
fredc <fredc@broadcom.com> |
Non persistent adapter service Change-Id: I65e1c18e2899cea0a1e5c0102c4d24d39dce0249 Conflicts: jni/com_android_bluetooth_hdp.cpp jni/com_android_bluetooth_hid.cpp Conflicts: jni/com_android_bluetooth_hid.cpp
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
c55ac7d42cf2d78c7edc67abf6c66813245b2c93 |
|
06-Apr-2012 |
fredc <fredc@broadcom.com> |
Added support for BluetoothDevice.fetchUuidsWithSdp() Change-Id: Icd260b0cafd7fee72a7ad0275b62052257c6fc13
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
19da573973557408b1b7398a2c3a167d8da9527d |
|
04-Apr-2012 |
Srikanth Uppala <suppala@broadcom.com> |
Fix discoverability timeout issues. (a) implement timeout logic (b) persist 'never timeout' after reboot (c) code cleanup Change-Id: I9313277c39c69f90d0b0556cf24d9c30a774a0a6
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
8826b161f865350f306e8f287aaca615e2f1e4a3 |
|
04-Apr-2012 |
Matthew Xie <mattx@google.com> |
check device.mAlias null case before copying to it Change-Id: I705126ce11272d9c3a5577c0266982a6478e8a87
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
b01cf4299897d227c7dbcbe4981b63a1ffe4ffca |
|
30-Mar-2012 |
Sreenidhi T <nidhit@broadcom.com> |
Fixed the pairing variant check typo. Change-Id: I1a835531bc35cc6b1a178a0d131a86715df6f3f0
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
1444b5b09d07b1ad5ec2ce89b4267484be25e8bf |
|
07-Mar-2012 |
Jaikumar Ganesh <jaikumar@google.com> |
Incoming pairing issue. Change-Id: Idd77d49a9d6df94e6dc9dfe4f179e93641d48261
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
b7e70fcf8923b9452074b2b4ee685da424cc7d93 |
|
07-Mar-2012 |
Kausik Sinnaswamy <kausik@broadcom.com> |
Merged the Passkey request callback and the passkey reply APIs into the SSP API and callback respectively Change-Id: I2b8fb1665586d32b0ada1b882cbde1d232233803
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
581bb31a8165ff0f9c7d638cfe4a81aaaafa2ded |
|
06-Mar-2012 |
Jaikumar Ganesh <jaikumar@google.com> |
Remove passkey callback. Use ssp callback for all 3 forms of 2.1 pairing. Change-Id: I13af1eecc3469e4db8e656717700a1f9166177e3
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|
ff4f17bf64978d0738c66e1b6dd70be8664efc24 |
|
20-Dec-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Initial commit for new Bluetooth stack interface. 1. Changes to Android.mk file 2. changes to make the process persistent. This is temporary. 3. Addition of new java and jni classes. Change-Id: I2453c7a1a475c66bf52f3a84cd8beb12dd37b87a
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/RemoteDevices.java
|