5bbd4b4f5fc19302fa017ad6afee6eb2d489d91a |
|
21-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Get alias for Bluetooth devices. Bluetooth devices can be renamed by the user. Make the input system aware of the user-specified name and transparently pass it down to applications. This enables the keyboard layout picker Settings UI to use device names that are consistent with what the user set in the Bluetooth UI. Bug: 6363157 Change-Id: I8eea26ce2c69c2a3f09c8de02e9e847610e0419c
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 |
|
09-Mar-2012 |
Ken Wakasa <kwakasa@google.com> |
Fix obvious typos under frameworks/base/core Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
3aef8e1d1b2f0b87d470bcccf37ba4ebb6560c45 |
|
20-Dec-2011 |
Joe Fernandez <joefernandez@google.com> |
docs: Add developer guide cross-references, Project ACRE, round 4 Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
ad2321027e9731711544b43378bd7b2f01890774 |
|
08-Nov-2011 |
Matthew Xie <mattx@google.com> |
Make public APIs of ACTION_UUID, EXTRA_UUID, getUuids, and fetchUuidsWithSdp Give APP a way to find out if a service is supported by a remote device bug 5487202 Change-Id: I5a2d050cf24d945e1c9875963c34177ed1ce773a
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
9d6a51623fdabbe993d7b8848794607394ef7cc2 |
|
08-Nov-2011 |
Ed Heyl <ed@google.com> |
Fix build break; Revert "Make public APIs of ACTION_UUID, getUuids, and fetchUuidsWithSdp" This reverts commit ae5839dcad76625313e6736d69eeaf37af435a3f.
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
ae5839dcad76625313e6736d69eeaf37af435a3f |
|
27-Oct-2011 |
Matthew Xie <mattx@google.com> |
Make public APIs of ACTION_UUID, getUuids, and fetchUuidsWithSdp Give APP a way to find out if a service is supported by a remote device bug 5487202 Change-Id: Ie778b3227f29a24cdf61fa0365b82f9a45d439dc
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
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/java/android/bluetooth/BluetoothDevice.java
|
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/java/android/bluetooth/BluetoothDevice.java
|
c8fa4ff838a0c3d2c67db65540fa751e5abe27ed |
|
26-Jan-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Improve readability of java docs for the public APIs. Change-Id: I0a0f1be04ed2ea2c14498a1a2ed4b050191ec95b
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
c88b0c62c52ab76f1277f3c999d795d8ba527028 |
|
05-Jan-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Follow the spec recommendation for keyboard pairing. Generate a variable pin and show it to the user. Change-Id: Id4aae7a16f25c67d6c6ead6fd936cb14087f3c7a
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
6eef14a7fcf6b6338f21f760830abf369ca0137d |
|
23-Dec-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Expose insecure rfcomm Bluetooth API. This complements the secure rfcomm API. The link key is unauthenticated and is subject to MITM attacks. The link key may be encrypted depending on the type of Bluetooth device. This helps apps which don't need the extra security or have their own security layer built on top of the rfcomm link. Change-Id: I71b2fa8de469ef98faa204b4dafac18a8e21d0d9
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
f51eadaf1f83abfe16a609a4ded6d789494689b2 |
|
21-Sep-2010 |
Jake Hamby <jhamby@google.com> |
Typo fixes in comments and minor code cleanups. * Fix some typos in Javadoc and log messages. * Remove redundant initializer in BluetoothAdapter.readOutOfBandData() * Use canonical "UTF-8" charset name instead of "UTF8" in BluetoothDevice.convertPinToBytes() Change-Id: I58cd5dc48a7ad0053d204c5f590b4b3d438d8672
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
cc5494c9996f809e36539b24e8b6b67683383d29 |
|
10-Sep-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Out Of Band API for Secure Simple Pairing. Change-Id: I54ded27ab85d46eef3d2cca84f2394b1ffe88ced
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
ea5056e5a705048f8495131ab0dcf087a2633fed |
|
24-Feb-2010 |
Nick Pelly <npelly@google.com> |
Add documentation to help developers make an RFCOMM conection to a Bluetooth serial board. They all use a well-known UUID that is not really explained anywhere official, and this always trips developers up. Change-Id: I53bda44b580f472b1ff1ad196b25485b68f4b5d5
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
3fbf7b62bb48b10316353087d09cc3720af00642 |
|
03-Dec-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Add support for Car Dock. Dr No: Eastham Bug: 2133530
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
9fab0aef19a4633d2e4670564e5d7ae9e52fe11f |
|
04-Nov-2009 |
Scott Main <smain@google.com> |
docs: add more documentation for the bluetooth apis. more descriptions for some of the classes and a new overview and pseudo-code example for using BT APIs in the package summary.
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
e6ee3be1c254404dad842298f6f56c11cc6c7ac8 |
|
08-Oct-2009 |
Nick Pelly <npelly@google.com> |
BT API security audit: fix a couple of permission mistakes. Make functions that are meant to be BLUETOOTH_ADMIN really BLUETOOTH_ADMIN. Add some missing javadoc for permissions. The only functional change here is the BLUETOOTH->BLUETOOTH_ADMIN changes. This is super safe because every system app that uses BT has both permissions. Change-Id: Iddc61f9fd5d81fe0171358665a0fa52f2fa02871 DrNo: eastham Joke: How do you catch a rabbit? Hide behind a tree and make carrott noises.
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
e5d93b7ed983f98855555d560faf060836f1a52f |
|
08-Oct-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Set the Bond State to NONE when we receive a Agent Cancel. Sometimes during OPP, we can get stuck in Pairing state when the remote end, cancels the Pairing process - we will just get onAgentCancel and thus not set the Pairing state properly. DrNo: Eastham Bug:2174874
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
f242b7b931898856bcbcb7ec36cacf43098ba544 |
|
08-Oct-2009 |
Nick Pelly <npelly@google.com> |
Introduce BluetoothAdapter.getDefaultAdapter(). This is the main entry point to the Bluetooth APIs, and returns the default local Bluetooth adapter. It replaces context.getSystemService(Context.BLUETOOTH_SERVICE). This was never in a public SDK release. DrNo: eastham Bug: 2158765 Joke: Why can't you play cards in the jungle? Because there's too many cheetas! Change-Id: Ieed8be009ee5aba621cb69090ee8c8a9c19c840d
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
16fb88a673c41b93c5d57ccb28c2697e7d87701a |
|
07-Oct-2009 |
Nick Pelly <npelly@google.com> |
Encourage developers to connect RFCOMM by UUID instead of Channel. Hide createRfcommSocket(int channel) Add createRfcommSocketWithServiceRecord(UUID uuid) Rename listenUsingRfcomm(String,UUID) -> listenUsingRfcommWithServiceRecord(..) Now we have a complete API for developers to make peer-peer RFCOMM connections with hard-coding the limited (30) RFCOMM channels, instead using SDP lookup of an UUID. This commit addresses two serious bugs: - Do not throw IOException on accepting an incoming RFCOMM connection with BluetoothSocket. This was a regression from commit 24bb9b8af4ff6915 - Workaround failure of bluez to update SDP cache when channel changes by trying to use the same RFCOMM channel on the server every time, instead of picking server channels randomly. This is a pretty ugly workaround, and we are still trying to fix the caching issue - but with this workaround we are at least shippable and apps will work at least until they start colliding on the 30 RFCOMM channels. DrNo: eastham Bug: 2158900 Joke: What did the digital watch say to his mom? "Look mom no hands." Change-Id: Ia4879943b83afac06b6f1a3f2391cf1628afce7d
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
aef439e6f825c0cb99a2ac08c8207f48b7a9fe10 |
|
28-Sep-2009 |
Nick Pelly <npelly@google.com> |
Move android.bluetooth.ParcelUuid to android.os.ParcelUuid Change-Id: I564429d5c5b6a5372b6ff26a53b0d7e518b53631
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
18b1e79a123b979d25bfa5d0b0ee5d0382dbd64b |
|
24-Sep-2009 |
Nick Pelly <npelly@google.com> |
Bluetooth API: Do not allow apps to programmatically make BT discoverable. Instead add ACTION_REQUEST_DISCOVERABLE for the system to show a dialog to adjust discoverable mode. Also remove createBond(), removeBond() and cancelBondProcess(). The Settings App already handles these automatically when connections require bonding. Change-Id: I216154cd1b6de410de64ba91b07d7263ac03e8df
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
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/java/android/bluetooth/BluetoothDevice.java
|
074c11c1649a097ba1beae719069f8d4a2dd43e3 |
|
17-Sep-2009 |
Nick Pelly <npelly@google.com> |
Do not @hide Parcelable implementations in BluetoothClass and BluetoothDevice. Change-Id: I92389c53a9b99c9507f78898329ff87b631c7aa3
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
dd0463aef18d251c741bfc9dc7a2787443ef36f1 |
|
16-Sep-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Change handling of remoteUuids. Use the ParcelUuid instead of UUID Change-Id:Ie05d65a62e8a4df8182a4c737d46c14142bfec43
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
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/java/android/bluetooth/BluetoothDevice.java
|
005b228cdfb369d9b3b325884c0337ba5968bf8c |
|
10-Sep-2009 |
Nick Pelly <npelly@google.com> |
API_CHANGE: Cleanup, javadoc and unhide more Bluetooth API. This is a large batch, and covers: -- Bluetooth Device Discovery -- BluetoothAdapter.ACTION_DISCOVERY_STARTED BluetoothAdapter.ACTION_DISCOVERY_FINISHED BluetoothAdapter.startDiscovery() BluetoothAdapter.cancelDiscovery() BluetoothAdapter.isDiscovering() -- Bluetooth bonding (pairing) -- BluetoothAdapter.getBondedDevices() BluetoothDevice.ACTION_BOND_STATE_CHANGED BluetoothDevice.EXTRA_BOND_STATE BluetoothDevice.EXTRA_PREVIOUS_BOND_STATE BluetoothDevice.BOND_NONE BluetoothDevice.BOND_BONDING BluetoothDevice.BOND_BONDED BluetoothDevice.getBondState() BluetoothDevice.createBond() BluetoothDevice.cancelBondProcess() BluetoothDevice.removeBond() -- BluetoothClass -- BluetoothDevice.ACTION_CLASS_CHANGED BluetoothDevice.EXTRA_CLASS BluetoothDevice.getBluetoothClass() BluetoothClass.Service.* BluetoothClass.Device.Major.* BluetoothClass.Device.* BluetoothClass.getDeviceClass() BluetoothClass.getMajorDeviceClass() BluetoothClass.hasService() -- Misc BluetoothDevice -- BluetoothDevice.ACTION_ACL_CONNECTED BluetoothDevice.ACTION_ACL_DISCONNECTED_REQUESTED BluetoothDevice.ACTION_ACL_DISCONNECTED BluetoothDevice.ACTION_DISCOVERED BluetoothDevice.ACTION_NAME_CHANGED BluetoothDevice.EXTRA_DEVICE BluetoothDevice.EXTRA_NAME BluetoothDevice.EXTRA_RSSI -- Misc BluetoothAdapter -- BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED BluetoothAdapter.EXTRA_LOCAL_NAME BluetoothAdapter.checkBluetoothAddress() I deprecated BluetoothIntent and moved each intent into the class it relates to. Change-Id: I877b1280428ab46278b2bc25668bb44cda22dc36
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
b24e11baac589fe16426f2d243b460ab84991c7b |
|
09-Sep-2009 |
Nick Pelly <npelly@google.com> |
API_CHANGE Deprecate BluetoothError.java. I spent a lot of time experimenting with a class BluetoothError to enumerate the many error codes returned by the Bluetooth API. But at the end of the day they were never used. The vast majority of method calls only really need a true/false error value, and often not even that. Methods which do need more detailed error enumeration (for example, bonding failures) can have there own enumerated error codes. But there is no need for a common set of error codes. Also change the IPC failed warnings in BluetoothA2dp to Log.e. These indicate a very serious error. Introduce BluetoothAdapter.ERROR and BluetoothDevice.ERROR as helper sentinel values.
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
de893f550301a60274e87aa8168225e7a7a42184 |
|
08-Sep-2009 |
Nick Pelly <npelly@google.com> |
API_CHANGE Another round of Bluetooth API clean up, javadoc'ing and unhide'ing. -- Symbols for getting/setting bluetooth state -- BluetoothAdapter.ACTION_STATE_CHANGED BluetoothAdapter.EXTRA_STATE BluetoothAdapter.EXTRA_PREVIOUS_STATE BluetoothAdapter.STATE_OFF BluetoothAdapter.STATE_TURNING_ON BluetoothAdapter.STATE_ON BluetoothAdapter.STATE_TURNING_OFF BluetoothAdapter.isEnabled() BluetoothAdapter.getState() BluetoothAdapter.enable() BluetoothAdapter.disable() -- Symbols for getting/setting scan mode -- BluetoothAdapter.ACTION_SCAN_MODE_CHANGED BluetoothAdapter.EXTRA_SCAN_MODE BluetoothAdapter.EXTRA_PREVIOUS_SCAN_MODE BluetoothAdapter.SCAN_MODE_NONE BluetoothAdapter.SCAN_MODE_CONNECTABLE BluetoothAdapter.SCAN_MODE_DISCOVERABLE BluetoothAdapter.getScanMode() BluetoothAdapter.setScanMode() -- Symbols for getting address/names -- BluetoothAdapter.getAddress() BluetoothAdapter.getName() BluetoothAdapter.setName()
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
cf44059813539bf7f36dabd278cef93ba3122c56 |
|
08-Sep-2009 |
Nick Pelly <npelly@google.com> |
Add javadoc to explain which permissions are required for Public BT API's.
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
efa1dd716da3372cc74a201d11de5e0ef1a9fe9a |
|
31-Aug-2009 |
Lixin Yue <L.X.YUE@motorola.com> |
Add Bluetooth Device trust
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
a4433af5ac677be7c1f63447c0cd78829bdee159 |
|
09-Jul-2009 |
Yue Lixin <a5206c@motorola.com> |
Add Bluetooth device picker support - add Intent and Extra definition - move profile filter into BluetoothClass
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
45e2704ff512d41e22af2801d76e96955469ce8d |
|
19-Aug-2009 |
Nick Pelly <npelly@google.com> |
API CHANGE Javadoc, and unhide the first pieces of the Bluetooth API. With this commit there is enough public API to connect and use an RFCOMM connection between Bluetooth devices.
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
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/java/android/bluetooth/BluetoothDevice.java
|
b0eca41de0bb6747d8648b134912782e45e4cbef |
|
17-Jul-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Initial support of 2.1 pairing. Note: Some cases have not been tested yet, as we would need to get proper UI support.
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
12cae39747c49e2886bcfbac9ec42094bdb32209 |
|
17-Jul-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Revert "Initial support of 2.1 pairing." This reverts commit 228b2f3a813e93413a0f9e2f29dfbfc54590a356.
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
228b2f3a813e93413a0f9e2f29dfbfc54590a356 |
|
17-Jul-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Initial support of 2.1 pairing. Note: Some cases have not been tested yet, as we would need to get proper UI support.
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
d5ac1ae36b4e096eb97984334f86d0c68abea2f7 |
|
06-May-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Framework changes for bluez4. Changes in the Bluetooth JNI calls and framework functions for Bluez4.
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
2b5be0748d160c6df1a9197272a776dc35879081 |
|
31-Mar-2009 |
Nick Pelly <> |
AI 143812: am: CL 143788 am: CL 143740 Don't clear supported profiles in settings app if getRemoteClass returns error. Also clean up the error codes returned by the framework, so that the settings app can properly detect an error. Original author: npelly Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 143812
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
105925376f8d0f6b318c9938c7b83ef7fef094da |
|
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@140373
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
f1e484acb594a726fb57ad0ae4cfe902c7f35858 |
|
22-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127436
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/bluetooth/BluetoothDevice.java
|