b5d2d4526cd2c0117b7a33b1297ac683c37ac5c7 |
|
07-Sep-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Add error codes for channel disconnection / connection. Channel connection / disconnection was handled as boolean, doesn't capture all the values. Also make it asynchronous instead of the dbus call being synchronous. Change-Id: If30177b9f93b7c83f162fbbc1233edf3e46dbfea
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
eb9d34630f74d0260690287f2df57c0cd3d7ba1d |
|
01-Sep-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Make Bluetooth Health APIs public. Fix a few bugs: a) Pass a integer token to identify the channel. b) Close fds in case of errors. Change-Id: I2046787be5008769435f2f72a5bd67c19b749da0
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
3fd36737b3bdf0100045cf46fe98534431c3fd5c |
|
29-Jul-2011 |
Matthew Xie <mattx@google.com> |
Change setDevicePropertyNative to no block. Change setDevicePropertyNative to use async dbus call to bluez instead of blocking call. The old call was dbus_connection_send_with_reply_and_block. It is replaced by dbus_connection_send_with_reply. Change-Id: I1a772b33b54c8aad71a6f4d86dcd289354d8155b
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
269e81a563cfe080d7f241d0d46411d3c946c111 |
|
27-Jul-2011 |
Matthew Xie <mattx@google.com> |
Provide an API to set the friendly name of a remote device. BluetoothDevice setName overwrite the locally cached remote name. The changed name is saved in the local storage so that the change is preserved over power cycle. bug 5081605 Change-Id: I486966033828d153bfb1076a99e274c8a7f41636
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
5623b074977d55a61f29099f44670916c6282e51 |
|
11-Jul-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Merge "Bluetooth Health APIs"
|
fb658c72a3a76dac334c39070d1501a2575c1069 |
|
07-Jul-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Bluetooth Health APIs 1. Remove the check of configs in BluetoothHealth. This check is useless since BluetoothHealth is a proxy. 2. Add a wrapper and a callback class. We shouldn't expose Binder interfaces as public APIs. Change-Id: If62620b4251cf93f3f97d2fe63099e40fae7da4d
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
a0c680393f2dd03a937c598b2cb9abf98a58152c |
|
26-Jun-2011 |
Matthew Xie <mattx@google.com> |
Incoming Bluetooth Connection requests - dialog. This sends the intents to the Settings app to show the dialogs for the incoming connection requests. Includes down merged contributions from Jaikumar Ganesh. Change-Id: Ic8b857aad3554315aae39a0e871eb94d0ac98a91
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
2ea1e85dcb57d17f5782dbafa1d25eb51c630e4b |
|
02-Apr-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Implement APIs for Bluetooth Health profile. This first patch implements all the APIs. The APIs wil be made public soon. The data specification API will be submited in another patchset. Change-Id: I2462683b7e07380e2c42474b0036b34d03b4bed1
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
efc1d16374955f04d713c770ab47d90d190afe83 |
|
21-Mar-2011 |
Albert Mojir <albert.mojir@sonyericsson.com> |
Bluetooth: correcting return value from cancelDiscovery BluetoothAdapter.cancelDiscovery was previously always returning false. Change-Id: Ic1fd134d4b710438d95c5b8ca009104529dd1bf5
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
b32b1ddf722a94962321f78c8cd87c6924e1e9a9 |
|
06-Apr-2011 |
Brian Carlstrom <bdc@google.com> |
Fix usages of PopLocalFrame to include returned local reference Change-Id: Ibd7a37b4035862718cb625110cfbba741537c17a
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
2653a1e7ca55b03f5230dffa85dfe2705757e2b7 |
|
22-Feb-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Fix compiler errors when compiled with debug option. The Logv statement was missing the format specifier. Change-Id: Ibf986d28dabfdbb3fbfd75381cb349448c6e57e7
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
a44a1e77ef435942b2ff60e9e60d3a64b43d775b |
|
11-Feb-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Distinguish between NAP and PAN role disconnections Distinguish between NAP and PANU disconnect in BT tethering and call appropriate functions. We were never disconnecting NAP role devices. ToDo: BluetoothService needs to be refactored, its become too big 1) BluetoothAdapter and BluetoothDevice properties need to be moved to separate classes. 2) BluetoothPanProfile and BluetoothInputDeviceProfile which are handled by BluetoothService need to be moved to a separate file. 3) Integrate PAN to the profile state machine. Change-Id: I32a8d274f38c78931434bd9738c8f6570ba89fcf
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
b7ec3e10194084e2a198602e20589c5bdecbda37 |
|
17-Dec-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Fix PANU - Bluetooth tethering - JNI calls. Change-Id: Ia0b37a03e65be6632cc0bb8f1a98f268d42c9d87
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
aecb2c5f709d38a46cf448f986b60f590651d3fa |
|
13-Dec-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Remove function when Bluetooth is not present in the hardware. Change-Id: I3892044723402597b7db1f7df683c08804c1fb96
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
84690c88f37f395094147d27ace8319a2803a522 |
|
10-Dec-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Add direct calls to Bluez to add SDP records. This helps Settings app to enable just the Headset service. Change-Id: Ia9c39467df1e83d665e377313e16e6c54991f6d6
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
ff7db40be166844000749de17382e424617e11b2 |
|
26-Oct-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Make setting the adapter properties asynchronous. 1. These involve disk operations and multiple processes. 2. onPropertyChange already informs us asychronously. 3. Settings app is the only user, will have to revisit the function if we make them public. Change-Id: If019a83c05a0c9e625f27faf99063d33f369f0d8
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
20c8f47330e7d4f5f191264f0d7ca67f6532adc2 |
|
13-Sep-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
resolved conflicts for merge of 0522f5e9 to master Change-Id: Ie0a7ece33dced1042948087053e49665f6235fc2
|
cc5494c9996f809e36539b24e8b6b67683383d29 |
|
10-Sep-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Out Of Band API for Secure Simple Pairing. Change-Id: I54ded27ab85d46eef3d2cca84f2394b1ffe88ced
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
6fdd0c6274c81b337ad35b70480f881daf7354c3 |
|
11-Aug-2010 |
Danica Chang <danicachang@google.com> |
bluetooth tethering Change-Id: Id6d5fb1922facc7013abc29214d3e1141995b767
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
de07503a382e81ba82f4cd4dee81ff2fbf3295bc |
|
20-Jul-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Add HID to the state machine and add native call backs. Change-Id: Ib9f3e476d4176bc04e23e7674dc54aa5a6417308
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
545e6708adda6859932b55fd824794b1401f5318 |
|
04-Jun-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
HID profile. Change-Id: I52e965a6537bce02c751ba26fe7b44dd03832510
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
b7e029d03c115ed65cdea9b2bba307e882c308e2 |
|
10-Mar-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Add an API to set the link timeout. This fixes the problem where the car dock is powered on and off pretty quickly. Change-Id: I8724641b8c337019f089b005cb236fc90549cf6f
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
24bb9b8af4ff691538fe9e517e8156016b0da6cd |
|
03-Oct-2009 |
Nick Pelly <npelly@google.com> |
Provide an API for apps to use a dynamic RFCOMM channel and SDP record. Hide listenUsingRfcommOn(int channel) Add listenUsingRfcomm(String name, ParcelUuid uuid) The new API automatically finds a free RFCOMM channel and registers an SDP record with the given uuid and name. The SDP record is automatically removed when the socket is closed, or if the application dies. Apps are prevented from registering SDP records with the uuid of system Bluetooth profiles, such as A2DP, HFP and OPP. Apps are prevented from removing SDP records that they did not create. This is tracked by pid. TODO: Provide an API for the connecting app to look up an SDP record. Bug: 2158900 DrNo: eastham Joke: "What did the dog say to the tree? bark." Change-Id: Ia92f51c34615a7270a403255ad2b8faa98c4a3f5
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
995ae82f38d93050a5f1b80433e8ae844a05953d |
|
20-Sep-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Make removeBond() call async. This call has been synchronus since Bluez3.36. However, since the semantics for all Bluetooth API calls are asynchronous make this so too. It does fix an occasional ANR seen while unpairing. Change-Id: If81f8ec262ea1f6f62775282ab33855a8669c41a
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
1caa6d111eff6814760ec156b14adc29aa3aae6c |
|
18-Sep-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Add new API for fetching UUIDs using SDP. Add new API which clients can use to force an SDP query. The result is broadcast using an intent having the UUIDs. The intent is broadcast after a timeout, in case of an error. This timeout is greater than the page timeout. Change-Id: I61e6db4c05b34c42f679a66987e37e2063a793b6
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
32d8571f509c392dca732c243e9b2138c15daecf |
|
11-Sep-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Changes for BT 2.1 1) Handle incoming 2.1 pairing requests 2) Modify displaying error messages on bond failures. 3) Add delay while accepting incoming pairing for certain 2.1 devices. When MITM is on, the link key request might come more than once. Auto accept with a delay. 4) Handle DisplayPasskey callback for pairing a 2.1 keyboard with a 2.1 device
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
efa1dd716da3372cc74a201d11de5e0ef1a9fe9a |
|
31-Aug-2009 |
Lixin Yue <L.X.YUE@motorola.com> |
Add Bluetooth Device trust
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
6d56b530e189d7213ec77d43d3d8af97fee04179 |
|
25-Aug-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Add local frames for parsing properties and processing events. We were running out of local refs when there are lots of devices. Instead of deleting every single local ref, create a local stack frame. This operation is inexpensive so doesn't add a high overload and keeps the code clean instead of deleting every single local ref.
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|
bd022f423a33f0794bb53e5b0720da2d67e4631c |
|
15-Aug-2009 |
Nick Pelly <npelly@google.com> |
Bluetooth: API change. Split BluetoothDevice into BluetoothDevice and BluetoothAdapter. BluetoothAdapter: Represents the local BT adapter. Operations on the local adapter (start a scan, etc). BluetoothDevice: Represents a remote BT device. Operations on remote devices (pair, connect, etc). IBluetoothDevice.aidl -> Bluetooth.aidl BluetoothDeviceService.java -> BluetoothDeviceService.java TODO: Javadoc
/frameworks/base/core/jni/android_server_BluetoothService.cpp
|