a0b91d77d62020652b7f003326ffe11c7e4d87c2 |
|
16-Jun-2016 |
Calvin On <con@google.com> |
Fix race with BT disable in BLE_ON_STATE This will restart the BT stack when it detects a transition into OFF state while the user enable flag (mEnable) is set. Bug: 29363429 Change-Id: I9839119b34c4694ad92e96240c6989008b2f8d52
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
e957a8a0b4100d001f79c866e7904d2426ac8da0 |
|
25-May-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Add missing "try ... finally" safeguards Safeguards for code protected by ReentrantReadWriteLock. Bug: 28734075 Bug: 28799467 Change-Id: Ib7f598a92e8df6bd855ca48cdd094c1c73a935f2
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
eb50a39e98acb78d16465041bb5c172aa1637e97 |
|
23-May-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Reduced the impact of "synchronized" statements * Removed "synchronized" statements that are not needed * Replaced "synchronized" statements with Read/Write lock as appropriate. The lock protects the access to and the setting of BluetoothAdapter.mService and BluetoothManagerService.mBluetooth and associated state. Bug: 28734075 Bug: 28799467 Change-Id: I8f8281c505f0a1ae0add1e14a3caba1f5b2a98e4
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
991357fe25b3addabf85b871df3f4098fc4b833b |
|
10-May-2016 |
Adam Lesinski <adamlesinski@google.com> |
BluetoothManager: Make requestControllerActivityInfo one call Instead of making multiple calls into the Bluetooth service, make one call that can timeout. This helps prevent cases when the Bluetooth process hangs and the system_server is calling into it and causes a WATCHDOG restart. Bug:28658141 Change-Id: I37778b7b6e508be420a21bdf23593ae89b38f5b8
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
010bf374d8145528f8733dfa6ef101b15de23a8d |
|
11-Apr-2016 |
Adam Lesinski <adamlesinski@google.com> |
BatteryStats: Introduce Async external stats requests Instead of calling out to external processes with a blocking IPC, pass along a Binder on which the external process can pass back the response. The calling process can then wait for the reply with a timeout. This eliminates watchdog restarts of the system_server when an external process like telephony or bluetooth hangs. Bug:26842468 Change-Id: I1b242e4ed22a63f1a4a0be8c78de8ac4d7bf56c5
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
b6e1dafe78b2875ebe1837508e28c8dce2693b19 |
|
01-Mar-2016 |
Ajay Panicker <apanicke@google.com> |
Allow factory reset when bluetooth is off (1/2) Bug: 27348444 Change-Id: I6c2709371b86581709649d7faf09391230449b9b
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
cfa8a6469463ace9c3336e3686d950792a2c7ad4 |
|
04-Mar-2016 |
Joseph Pirozzo <pirozzoj@google.com> |
Add BluetoothProfile for PBAP PCE role. Create a new Bluetooth profile for Pbap Client. Bug: 27490041 Change-Id: I77d2c7eeeb8e955ea61386d784b02b14f415b318
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
e6748ce31f18782b7a47a5b2eb251efd83e7b609 |
|
12-Dec-2015 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Use Arrays.toString Fix a couple of cases where Arrays.toString should be used. Bug: 19797138 Change-Id: I905fc79e63face9b26975320a92086c732bf6316
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
bf0dc0fba790cf95f76870c37469703f8f20a57c |
|
24-Nov-2015 |
Neil Fuller <nfuller@google.com> |
Add thread safety documentation An upcoming change will remove "synchronized" from the API docs. This change documents those cases where the guarantees can be determined from code inspection. Bug: 25767152 Change-Id: I75083ce01513ed315222304fe3f34190d40748cb
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
30c3c09071b23e9d15e8508bf9c312ea05ea1be1 |
|
20-Aug-2015 |
Florian Salbrechter <fsalbrechter@google.com> |
Merge "Fix wrong javadoc in BluetoothAdapter."
|
cda6e878cd1b11e10c0b9b4b903b14e11586a963 |
|
29-Jul-2015 |
Ajay Panicker <apanicke@google.com> |
Implement Bluetooth settings factory reset (2/5) Implemented the factory reset function to be used to reset all bluetooth settings on device to factory default Bug: 16161518
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
05416af2ae83f3ce1e50de40ea192f7ea822f55d |
|
31-Jul-2015 |
Florian Salbrechter <fsalbrechter@google.com> |
Fix wrong javadoc in BluetoothAdapter. Calling getSystemService(BLUETOOTH_SERVICE) returns a BluetoothManager. See ag/661924. Change-Id: I589837b9db3b7e0bc0639c85f4acf23a8f9fb7d1
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
3b3d1fea94318a4892fbd4353269749af417a81a |
|
08-May-2015 |
Casper Bonde <c.bonde@samsung.com> |
SAP: Make it possible to enforce a 16-digit pin code (4/5) This change enable the posibility to enforce using a 16-digit pin or MITM for a RFCOMM or L2CAP connection. This is needed for the SIM access profile. Change-Id: I3205013f9e758c353381442a86845dab467780f8 Signed-off-by: Casper Bonde <c.bonde@samsung.com>
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
2328423d19416da0c1068883c33e612d5729fc47 |
|
21-Apr-2015 |
Casper Bonde <c.bonde@samsung.com> |
Add support for MITM for BluetoothSockets (1/4) This change adds an option to enforce Man-in-the-middle protection for the authentication process. This feature is needed for the Sim Access Profile. Change-Id: Ia3ef0caeb750f88608c9fa6bf6367d1c77de4cf3 Signed-off-by: Casper Bonde <c.bonde@samsung.com>
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
f9e3e9e3dd3250d0a97a75a743f2941f13b87fcd |
|
01-Jun-2015 |
Wei Wang <weiwa@google.com> |
Expose a few system APIs for BLE scan only mode. Bug: 21562349 Change-Id: Ifc58efcf01edac5b4f9e5266adb966e7bc492209
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
408abf7f1bec3253675d0225300d7ee39481d286 |
|
13-May-2015 |
Svet Ganov <svetoslavganov@google.com> |
Do not report WiFi and Bluetooth MAC addresses - framework. As a part of the new runtime permissions work we are limiting the PII apps can access. BT and WiFi MAC addresses are PII and based on our research there is no valid use case for app dev to get these addresses aside of user tracking which we are trying to limit. bug:21078858 Change-Id: Ib48223b272c0fd4f5c36acc889d4f44df204b309
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
2d49752ee050ab7f1cd848933f6c62a73707e2d9 |
|
24-Apr-2015 |
Tor Norbye <tnorbye@google.com> |
Add bluetooth permission annotations Change-Id: I5bc86f8ec6ea5c873f1e14dab0e0c47c5c9df7f7
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
46ab723d554e5b3b252c5fe5b0bc2f6bcb7941cf |
|
08-May-2015 |
Wei Wang <weiwa@google.com> |
Allow obtaining BLE capabilities in BLE scan only mode. Bug:20923734 Change-Id: I7f3e5fd4410da39922be4512e4ba6ccdeb32887d
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
ab2581398c812917145088590bd18eb83f3a2ea6 |
|
04-May-2015 |
Andre Eisenbach <eisenbach@google.com> |
BluetoothSap class should not be public Bug: 20823932 Change-Id: I87dfa10b994f7a14c123bb384925c08b34bfbe67
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
c90c760431bce5ce3f7f86b0e7e5e939c2db6a38 |
|
01-May-2015 |
Wei Wang <weiwa@google.com> |
Merge "Honor Ble scanning settings from Settings UI." into mnc-dev
|
67d8416b8eb092dbf960c92cd6a2b2564d212d79 |
|
27-Apr-2015 |
Wei Wang <weiwa@google.com> |
Honor Ble scanning settings from Settings UI. Bug:20643039 Change-Id: Ib1465108e26b8537c9da1bfbb31a99d2e33da910
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
1b43e43cb190314da780bfa11b37d1e4230accdb |
|
29-Apr-2015 |
tturney <tturney@google.com> |
Fix typo. bug: b/20610710 Change-Id: I7b8e0331daddadcb31f45650f5cd937b1f4f90ff
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
237a59767d4c38b4b69fcc2a9b9d88cad5c5e97e |
|
25-Apr-2015 |
Etan Cohen <etancohen@google.com> |
Fix documentation - non-public API. Change-Id: I418bf47b197936b2f50b231425312d5b6d272df8
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
fd840dd60328d2ad6e30dd438c7429670ce82ec3 |
|
24-Apr-2015 |
Etan Cohen <etancohen@google.com> |
Bluetooth document fix: remove reference from open API to hidden entities Change-Id: I183ae1083727d2e2b96aa503d0e90d81ce3b1a82
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
b271d27dbc0c1cec0c2bb0dff9390dc91842e3ee |
|
24-Apr-2015 |
Etan Cohen <etancohen@google.com> |
Merge commit 'db1dbb8' into merge2
|
5c0d6f61ab8d75bf55a33aa65c36fde1b3b4469d |
|
24-Apr-2015 |
Etan Cohen <etancohen@google.com> |
Merge commit '6ddbb5e' into merge2
|
571bb54c73411af108fc0e1ec5305726303c835e |
|
23-Apr-2015 |
Prerepa Viswanadham <dham@google.com> |
Reduce log spam in BluetoothAdapter for getState. Change-Id: I38995fc55f12b000d58a769ed67aff623865169b
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
db1dbb889588505cd340e954acbde7ebf7c086d6 |
|
10-Apr-2015 |
Prerepa Viswanadham <dham@google.com> |
Manage onfound/lost resources (1/2) Provide error callback to app if advertisement tracking resources can't be reserved Change-Id: Ie66b2ec7a64b24bbdf3bb22003a4a7eb46623792
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
6a3083555153bff7a65f86c16248cf0a063919aa |
|
15-Apr-2015 |
Yorke Lee <yorkelee@google.com> |
Fix make update-api Change-Id: Iaee002c64096fbd6ba05d6484cc50840146a4af0
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
2a5f608e7a5765db3b91165dac5b6280b26da26c |
|
19-Mar-2015 |
Casper Bonde <c.bonde@samsung.com> |
Add support for Bluetooth Sim Access Profile (2/4) Change-Id: I6c634aa38d31a7b5a98c9089840557257fd58209
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
d055adbe2c1c65d9346e65209fa8790190bc239e |
|
03-Mar-2015 |
Nitin Arora <niarora@codeaurora.org> |
Bluetooth LE background operation mode (2/2) Changes include new framework APIs to enable and disable Bluetooth LE separately from Bluetooth Classic. Along with handling the new states in the Bluetooth manager service. Change-Id: Idf667981f48fcbcb6dfda1aa77ea8bab1b2361f0
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
b67927126f793dabf0b61acf4aa0ac4c2470ddd6 |
|
15-Apr-2015 |
Yorke Lee <yorkelee@google.com> |
Fix make update-api Change-Id: Iaee002c64096fbd6ba05d6484cc50840146a4af0
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
d05bd467ba191833522e5b78da54bc5eab7bab2c |
|
19-Mar-2015 |
Casper Bonde <c.bonde@samsung.com> |
Add support for Bluetooth Sim Access Profile (2/4) Change-Id: I6c634aa38d31a7b5a98c9089840557257fd58209
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
6ddbb5e55f72e870899731ff12af9945fa970e6e |
|
03-Mar-2015 |
Nitin Arora <niarora@codeaurora.org> |
Bluetooth LE background operation mode (2/2) Changes include new framework APIs to enable and disable Bluetooth LE separately from Bluetooth Classic. Along with handling the new states in the Bluetooth manager service. Change-Id: Idf667981f48fcbcb6dfda1aa77ea8bab1b2361f0
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
80047faad914c9b9b4966d6b58fc22800c3fcebc |
|
15-Apr-2015 |
Vinit Deshpande <vinitd@google.com> |
am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release 557d2f5 Merge "Add ConnectivityManager.reportNetworkConnectivity() API" into m-wireless-dev ab5267a Fix onLost/onFound logic in isSettingsAndFilterComboAllowed bfd17b7 Add ConnectivityManager.reportNetworkConnectivity() API 238e0f9 OBEX Over L2CAP + SDP search API for BT profiles 31a94f4 Add ConnectivityManager.getActiveNetwork(). Rework NetID allocation in ConnectivityService so registerNetworkAgent() can return the allocated NetID. bf18bed Merge "Non-functional code cleanup of ConnectivityService." into m-wireless-dev db8784e Merge "Cleanup of Video Call pause functionality." into m-wireless-dev e75b9e3 Non-functional code cleanup of ConnectivityService. e593d0a Onfound onlost feature. 0326f58 Merge "API for config app." into m-wireless-dev e9b056f API for config app. d5351e7 RTT framework interface update 582b868 Unhide Network.openConnection(URL, Proxy). 0d719ca Fix typos in ConnectivityManager documentation. Change-Id: Ib4c88f6d7ad1b24227b032555c62a5804194384b
|
238e0f934f1f47263b384bc745ae0678c777130d |
|
09-Apr-2015 |
Casper Bonde <c.bonde@samsung.com> |
OBEX Over L2CAP + SDP search API for BT profiles - Updated OBEX to support SRM - Added support for OBEX over l2cap and SRM. - Minor bugfixes, and reduce CPU load ALOT - Added support to send responses without body data. - Extend BluetoothSocket to support L2CAP - Added functionality to get the channel number needed to be able to create an SDP record with the channel number. - Added interface to get socket type and max packet sizes. - Added interface to perform SDP search and get the resulting SDP record data. Change-Id: I9d37a00ce73dfffc0e3ce03eab5511ba3a86e5b8
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
57bf2a8a38e929f00f3323cf97a8ea7a9af900ce |
|
11-Apr-2015 |
Prerepa Viswanadham <dham@google.com> |
Merge commit 'e593d0a' into merge_work Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
|
e593d0aec6430d98731d9751facd0414a1c9c6a2 |
|
07-Apr-2015 |
Prerepa Viswanadham <dham@google.com> |
Onfound onlost feature. Change-Id: I5475cb21183abab8cf04af486ff7692396801b92 Signed-off-by: Prerepa Viswanadham <dham@google.com>
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
eb864d4000dacad94d5135a10ed7bdeb29f31881 |
|
01-Apr-2015 |
Etan Cohen <etancohen@google.com> |
Merge commit 'd91f193' into merge2
|
d91f19354d628e48577128f670afb0f5587e15e8 |
|
19-Mar-2015 |
Wei Wang <weiwa@google.com> |
Add API for BLE_SCAN_ALWAYS_AVAILABLE feature. Change-Id: I83e966d4db076db367ded71bfb50c39e57568156
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
60675b227354ab158e11fc5df2bbe654608d43dc |
|
06-Feb-2015 |
Matthew Xie <mattx@google.com> |
Separate the protection of mProxyServiceStateCallbacks from that of mService The overuse of mManagerCallback caused a deaklock. Bug: 19264190 Change-Id: Iff20019ff0c99bb5f36435feb15e43e280a8e102
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
178d3b54cd50558be789c5dfd8dad80ffdc65021 |
|
29-Oct-2014 |
Andre Eisenbach <eisenbach@google.com> |
Fix crash during Bluetooth on/off stress test Bug: 18106938 Change-Id: Icdeb736d89d5926264f2043455ccbc3760fd5d29
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
56302744c4b22342798e3a08c03b34322a8a9dd3 |
|
16-Oct-2014 |
Prerepa Viswanadham <dham@google.com> |
am 248edc3e: Update javadoc comments for getBluetoothLeAdvertiser() * commit '248edc3e969217aec1fcce7f324cbae6c46da0a3': Update javadoc comments for getBluetoothLeAdvertiser()
|
248edc3e969217aec1fcce7f324cbae6c46da0a3 |
|
16-Oct-2014 |
Prerepa Viswanadham <dham@google.com> |
Update javadoc comments for getBluetoothLeAdvertiser() To clarify that BluetoothLeAdvertiser object will return null when BT is off OR if the hw doesn't support these capabilities bug: 18006072 Change-Id: I635d7971711a3cae7c58f7a0636faf9a03f19970
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
35cd4c853f748e295352bda708b26ee39544d06d |
|
26-Sep-2014 |
Wei Wang <weiwa@google.com> |
Add support of advertising through standard instance.(1/4) Use config overlay to check whether peripheral mode is supported. Bug: 17552672 Change-Id: I1081bc84da9fe033426f82ece2ec74c2d663e3aa
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
ee80922c6a1228886589dcd4598a1cadf0bd1ff8 |
|
13-Aug-2014 |
Wei Wang <weiwa@google.com> |
Clean up advertise and scan clients upon bluetooth down. Fixes b/16528460 This allows Advertiser and Scanner to be reused after bluetooth recycle, which follows same behavior for BluetoothAdapter. Also prints manufacturer data array for ScanRecord. Change-Id: I78bca40ac294433782a054bf2a00a775dac02d96
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
c3059ccfb07837d7760b24f552ec8ff6098d4350 |
|
24-Jul-2014 |
Wei Wang <weiwa@google.com> |
Use Scanner for legacy LE scans(1/2). Also removed different scan methods from IBluetoothGatt and make BluetoothLeScanner and BluetoothLEAdvertiser singleton. Change-Id: Ifa2e950b50f100f5507a6dace3bd70db18d7f9ca
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
5bec5af97122592fa7006d7709f44018e0cd96f7 |
|
24-Jul-2014 |
Prerepa Viswanadham <dham@google.com> |
cleanup : delete BLE advertising related hidden state references in Bluetooth Adapter Change-Id: Ia58a46392157e274f8fc4696e8e25af480eb2d2a
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
8caac741a011ef245066f327e54cc6a0b77e6617 |
|
23-Jul-2014 |
Prerepa Viswanadham <dham@google.com> |
Bug 15564216: Report Bluetooth tx/rx/idle activity info and energy reporting Change-Id: I66fd83d8d59fbd93dec8886dfd313a81575e38a5
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
890b46a0d5c220bffedcf27520befb34bf8830ea |
|
11-Jul-2014 |
Wei Wang <weiwa@google.com> |
Remove MR2 BLE Advertising hidden API from L codebase (1/2). Change-Id: I78bb8b89de56bddb7422da1d1d4468c88a68ea11
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
af74e66e29a518157cb78fcef4b4fc532b7f60b0 |
|
09-Jul-2014 |
Wei Wang <weiwa@google.com> |
Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2) Change-Id: Ib0c4ea6c8372a15473269660355fb5ccf4284457
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
b108a6fef183cc856eab4fe03d2840d97f80dcde |
|
09-Jul-2014 |
Prerepa Viswanadham <dham@google.com> |
Unhide the Bluetooth(BLE) offload capability apis Change-Id: Ice3f4f5ff4b8318bf6afe7021b253fe9ea4661d3
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
8f2e74cac282afa0bcf98f5d7131268147d12efe |
|
09-Jul-2014 |
Prerepa Viswanadham <dham@google.com> |
OnFound and Onlost callback integration Change-Id: I23473b18484f041c4dd808c85bb92545a77e20c2
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
9fb1791e1a6859bfb14006a6d101cdecc88f3f95 |
|
02-Jul-2014 |
Wei Wang <weiwa@google.com> |
Implement batch scan API Change-Id: Ibb527280a221fbdd0fc6b805a7527c29079294b4
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
0c116e1573184f33883bc3722277ecc6560ebca9 |
|
02-Jul-2014 |
Prerepa Viswanadham <dham@google.com> |
Obtain capabilities from chipset for it's support of various features Change-Id: I01bdb31136be63e4e46fb4e054c902eddc5647ab
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
dadefdad8ef424991feb45f02f923a2f8224285b |
|
28-Mar-2014 |
Andre Eisenbach <andre@broadcom.com> |
LE: Add notification sent and congestion callbacks (3/4) This change introduces two new callbacks for applications to better handle LE notification flow control and transport congestion. The notification callback is invoked when the remote platform confirms an indication or when a local notification has been passed to the controller. No new notifications should be sent until a callback is received. Congestion callbacks are triggered when a GATT operation cannot be sent to the local Bluetooth controller. Repeatedly calling writeCharacteristic() for example will eventually trigger a congestion callback. Applications cannot send additional data until a further callback is received, indicating that the congestion has cleared up. Also made server callbacks "oneway" in the AIDL definition file. Change-Id: I7fa3324712205c79efce58e5e3df8b80a265a442
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
94b59de852df7b6ce16aef73a9b2c11be8f3102d |
|
03-Jun-2014 |
Mike Lockwood <lockwood@google.com> |
BluetoothAvrcpController: Move AVRCP controller support to new BluetoothProfile subclass Change-Id: Id988040a7ce623ed68e0349920301ff48db1fbce
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
2263dd1ddd1a8ac828c25d34000c85165cad21ef |
|
14-May-2014 |
Mike Lockwood <lockwood@google.com> |
BluetoothA2dpSink: Add new BluetoothProfile subclass for A2DP sink Change-Id: I09d5cb8fdaea4c4828f333949b7c18deffd22722
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
cf916d34671f0ab6aad8de24c18e4dc96fb21941 |
|
12-Jun-2014 |
Mike Lockwood <lockwood@google.com> |
Rename BluetoothHandsfreeClient to BluetoothHeadsetClient This makes our terminology consistent with the existing BluetoothHeadset profile Also updated arguments to Context.bindService() Change-Id: I27cc5a6fde256b1f5dccca53a7a15ec8f58691c2
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
7aca90fcc0175ab44613bb3e4f3f13fc4a688fa5 |
|
19-Aug-2013 |
Hemant Gupta <hemantg@codeaurora.org> |
Bluetooth: Add support for HFP Client role. Implementation changes in frameworks to support HFP Client role. Change-Id: Ifb10527cd6c1301297cae4f923b20734af672034
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
6d81118032b92caa0f5cfebe11af02a98f819d5e |
|
22-May-2014 |
Wei Wang <weiwa@google.com> |
Address API review comments. 1. Moved le stuff to it's subpackage. Remove BluetoothLe for all classes except *Scanner, *ScanSetting, *Advertiser and *AdvertiseSettings. 2. Make all callbacks abstract classes instead of interfaces. 3. Moved AdvertisementData and ScanRecord out and removed AdvertiseBaseData 4. Removed newBuild and use new Builder for all builders. 5. Using setxxx in builders. 6. Misc other changes. Fixes b/15140940 Change-Id: I32ae3d24a9491baf96048040b5ac78f6f731e468 NO_SQ: multi-project submit
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
adf6aff5b03b1e3ca4636f9887225a7f906d1238 |
|
20-May-2014 |
Wei Wang <weiwa@google.com> |
Revert "Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple advertising."" This reverts commit b1d9fbc0f8dea0c77ed810190b325bfdaaf21789. Change-Id: Ic8dec9385a7c763170ebeb1bcddd221c72f46e88
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
319b40c9cf0b77d68c5925baa44b81f024f5705a |
|
20-May-2014 |
Wei Wang <weiwa@google.com> |
Revert "APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple advertising." This reverts commit 2c4e68a86b7a9b9f760a8907b93ff40ccad56c80. Change-Id: I98c91343d886ebe22d0bf75a710fa0b0abf738b6
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
62d5bc745a4fd7f305a47b628b1fe902ee9d29f8 |
|
17-Apr-2014 |
Wei Wang <weiwa@google.com> |
APIs for BLE scan, scan filter, batch scan, onFound/onLost and multiple advertising. Change-Id: I1655eb9cffa890b6fe38108bf51078662e90bc03
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
6b96c1b2ea5d28fc2501226bda14327f1963ba0c |
|
31-Mar-2014 |
Zhihai Xu <zhihaixu@google.com> |
am 7d394df2: am ae1b763c: Merge "LE: Add API to configure MTU for a given connection (3/4)" into klp-modular-dev * commit '7d394df2ab8f951215a775df8d2bd9e6518e746a': LE: Add API to configure MTU for a given connection (3/4)
|
ae1b763cded7e2cb3eec3cbec0680c25e55c109c |
|
31-Mar-2014 |
Zhihai Xu <zhihaixu@google.com> |
Merge "LE: Add API to configure MTU for a given connection (3/4)" into klp-modular-dev
|
ab4fc115e953831d22d76163685b2a8f479efda5 |
|
29-Mar-2014 |
Wei Wang <weiwa@google.com> |
am 1b09c97d: am 4447405d: Merge "Callback on correct method when status is unsuccessful." into klp-modular-dev * commit '1b09c97d8a7156a9f35ebab3c98db7b103852a58': Callback on correct method when status is unsuccessful.
|
c07a5dd7097175b05656d483f2040d410f402fb6 |
|
29-Mar-2014 |
Wei Wang <weiwa@google.com> |
Callback on correct method when status is unsuccessful. Change-Id: I63c07bbae559765af1aecb492379ab18268336d8
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
45e1bcdac3741bda1104e78de6ed6937f6c3b152 |
|
28-Mar-2014 |
Wei Wang <weiwa@google.com> |
am 0d68a52a: am 9d3e0996: Merge "Add comment of using same callback for start/stop advertising." into klp-modular-dev * commit '0d68a52ad32bb2c07314721b19e7973df6045d34': Add comment of using same callback for start/stop advertising.
|
f3f52b1b4cd92a7bef4dbf8235f3e67006407543 |
|
28-Mar-2014 |
Wei Wang <weiwa@google.com> |
Add comment of using same callback for start/stop advertising. Change-Id: Ice268e83e4f2ceb5053a0e03f73b877f548bd13b
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
580b0a13028ed2187964735a5515d87900d241ce |
|
25-Mar-2014 |
Andre Eisenbach <andre@broadcom.com> |
LE: Add API to configure MTU for a given connection (3/4) bug:13571470 Change-Id: I3619617eaf864701a35f7802bc71805784d768d0
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
c0384b6b18617cc395814c5b20077955a185e392 |
|
19-Mar-2014 |
Wei Wang <weiwa@google.com> |
DO NOT MERGE: Move advetise clean up to callback code. fixes b/13289050 Cherrypick from master to fix b/13289050 Change-Id: Ibf3c772561125821817c947730cf21defafd4cb2
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
4b4eebb9a5185a8ea5593a797400960e5258a57e |
|
12-Mar-2014 |
Wei Wang <weiwa@google.com> |
DO NOT MERGE: Add status callback for start/stop advertising. Cherrypick from master to fix b/13289050 Change-Id: I231ba51aaa67b1f917e476ef0f2c8f82c762df77 Conflicts: core/java/android/bluetooth/BluetoothAdapter.java core/java/android/bluetooth/BluetoothGatt.java
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
809476525f5b9449b5b7fc9b0986a815fb7aff22 |
|
19-Mar-2014 |
Wei Wang <weiwa@google.com> |
Move advetise clean up to callback code. fixes b/13289050 Change-Id: Ibf3c772561125821817c947730cf21defafd4cb2
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
f305589f22f3fa1d73f2e29009d382c9a4f5c293 |
|
12-Mar-2014 |
Wei Wang <weiwa@google.com> |
Add status callback for start/stop advertising. Fixes b/13289050, b/13418851, also fixes 13418671. Change-Id: I231ba51aaa67b1f917e476ef0f2c8f82c762df77
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
ee0b3e9f824a85eebbabe307310d844a15956ae8 |
|
30-Oct-2013 |
Wei Wang <weiwa@google.com> |
DO NOT MERGE BLE peripheral mode (3/4): Add peripheral mode API. Add bluetooth adv data, APIs in BluetoothAdpater etc. Cherry picking ble advertising changes from master to KLP MR2. b/13137996 Change-Id: Id9d2f566b6d9ed0fffe73b67efad2e3d045360b4 Conflicts: core/java/android/bluetooth/BluetoothAdapter.java core/java/android/bluetooth/BluetoothGatt.java Conflicts: core/java/android/bluetooth/BluetoothAdapter.java
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
18c76934f62410d1499e2eb63635b5dd8da5013a |
|
30-Oct-2013 |
Wei Wang <weiwa@google.com> |
BLE peripheral mode (3/4): Add peripheral mode API. Change-Id: Id9d2f566b6d9ed0fffe73b67efad2e3d045360b4 Conflicts: core/java/android/bluetooth/BluetoothAdapter.java core/java/android/bluetooth/BluetoothGatt.java
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
6090995951c6e2e4dcf38102f01793f8a94166e1 |
|
19-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Remove unused imports from frameworks/base. Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
68c692df5f667dcee42506d3c6459d3dc2e1cdd6 |
|
02-Oct-2013 |
Mike Lockwood <lockwood@google.com> |
Revert "Allow L2CAP sockets" This reverts commit 34b0f926135b4697f091b3b39bfca8c70512af6c.
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
0d376053747615ac7c4b45ab7810329ffbdf80d1 |
|
22-Aug-2013 |
Kim Schulz <k.schulz@samsung.com> |
Fixed review comments - fixed review comments (internal+google) - corrected tabs/spaces - Add connection id header for obex client operations - added support for implementing ProfileService class Change-Id: Idab8b4fa54a0f31bec4ffa263a69a9850a07f858 Bug:10692365
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
34b0f926135b4697f091b3b39bfca8c70512af6c |
|
10-Aug-2013 |
Dmitry Grinberg <dmitrygr@google.com> |
Allow L2CAP sockets Change-Id: Icb498e6c0430789b6168bec3beb1d4650e4f1238
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
f46b21aa99fb3bbe4c8b446ff1d362c38f972099 |
|
07-Aug-2013 |
Andre Eisenbach <andre@broadcom.com> |
LE: Add peripheral role support (1/4) Initial stack support for the LE peripheral role. Change-Id: I6222493488822b4289b90888ccc97ad9306f54d1
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
25b9cf953bd3e97f726f8c27d7a752b27c9a2373 |
|
09-Jul-2013 |
Andre Eisenbach <andre@broadcom.com> |
LE: Add instance ID to descriptors (1/4) If a remote devices offers multiple descriptors with the same UUID, the instance ID is used to differentiate between them. Change-Id: I0c36494c980c86abd23f9647196af8d59ef663e9
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
876d100f0234dd111d84abdec8187e6834ee7573 |
|
26-Jul-2013 |
Zhihai Xu <zhihaixu@google.com> |
Merge "Add debug menu to enable btsnoop"
|
af5971ef27557f02f93b399c92d7e67106d825fe |
|
11-Jun-2013 |
Zhihai Xu <zhihaixu@google.com> |
Add debug menu to enable btsnoop bug: 8059358 Change-Id: I2d5f13e68defefb92e0b11b749fe77ad67215f36
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
fea17de7aaa5729d3111102b2734b158403d2780 |
|
11-Jun-2013 |
Jeff Sharkey <jsharkey@android.com> |
Explicit locale when formatting machine strings. Bug: 9390451 Change-Id: I3581c53407554a1dffd541fb42b06d68f20a7be0
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
b30f91e38c19f6728d836293446d4b9c76705e7f |
|
29-May-2013 |
Matthew Xie <mattx@google.com> |
Update javadoc to give app write better guidence Update javadoc of close methods of GATT cliet and server Update javadoc of BluetoothAdapter bug 8963528 Change-Id: I45ec618fd495225ed11a6171f33bfdc218397d4c
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
32ab77b4c52db78aea22cb32824c7fd68d6f8c21 |
|
09-May-2013 |
Matthew Xie <mattx@google.com> |
Donot bind to GATT service when BLE is not supported bug 8664724 Change-Id: I9b9222cd5877babcded73798a5d1ff13fd10e791
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
d575233c53d46d55db79c269e716d1d1115fd368 |
|
25-Apr-2013 |
Matthew Xie <mattx@google.com> |
Change permission of LE scan APIs from BLUETOOTH to BLUETOOTH_ADMIN bug 8667898 Change-Id: Iaff19fe72b16a96a6cf2f5b9140e369098567d2b
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
cdd94e3647e921acc23f166ebb4f95ca6575a5bd |
|
12-Apr-2013 |
Matthew Xie <mattx@google.com> |
Remove BluetoothAdapterCallback. Simplify leScan Api App does not need to explicitly register/unregister callback bug 8599881 Change-Id: I18cfef14d7ddb344722945e657dcb959823b412b
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
ddf7e4756c31d0ed90802f98abeaa79df6d16b2a |
|
02-Mar-2013 |
Matthew Xie <mattx@google.com> |
Unhide Bluetooth Low Energy public APIs Updated API headers. Add BluetoothManager to be retrieved by context.getSystemService(Context.BLUETOOTH_SERVICE). LE scan functions are placed in BluetoothAdapter The GATT API are device driven instead of a profile-driver. bug 8450158 Change-Id: I424a4cedaac3ef8120a05996500008dd210d2553
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
41cf8f354fbc6beefb11cc54d8c8801b58fa1056 |
|
28-Feb-2013 |
Stephen Hines <srhines@google.com> |
Fix docs bug. Change-Id: I8c69963b339d703757bf1cd8f43161175783566d
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
9908112fd085d8b0d91e0562d32eebd1884f09a5 |
|
06-Feb-2013 |
Ganesh Ganapathi Batta <ganeshg@broadcom.com> |
Initial version of BLE support for Bluedroid The API classes are hidden for now. Will unhide after API console approval. Change-Id: I8283dd562fd6189fdd15c866ef2efb8bbdbc4109
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
d77982ef29b2d3b5de42846ba308fc9f880938a2 |
|
30-Nov-2012 |
Matthew Xie <mattx@google.com> |
Clean up debug messages bug 7626174 Change-Id: I65cdcaf2c48a78468b6cef0b8591289435068b24
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
3b6214f373b693323a474325662242415090f7f7 |
|
29-Aug-2012 |
Matthew Xie <mattx@google.com> |
Turn off verbose debug message in BluetoothAdapter Change-Id: I30245ab911b5428f7af38f195b941db02d36b18f
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
fffa86ba834d37684238c83c0dd081133324984d |
|
09-Aug-2012 |
Ganesh Ganapathi Batta <ganeshg@broadcom.com> |
Implement enableNoAutoconnect() Adding enableNoAutoconnect() API support in Bluetooth service to let BT enable in quiet mode Change-Id: I546f3ceb298082a9c9a698f406379470e3cc0d4f
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
10d7e8afb2297b24ad3bbccd0f5f3ded5e79fe12 |
|
03-Aug-2012 |
Martijn Coenen <maco@google.com> |
Bluetooth: fix enableNoAutoConnect() call. For now, just do a regular connect. Change-Id: Ibc43098d45c82177298cb17d72a32c7904924021
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
bf072a712f584ae1c01022835b0de21c40513d06 |
|
10-May-2012 |
fredc <fredc@broadcom.com> |
Moved BluetoothAdapter.ACTION_STATE_CHANGED broadcast from AdapterService to BluetoothManagerService Change-Id: I88e5f3fe050cf11eae9c5cf1b7c393a178b8f9b1
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
d6883533e4ac3f73d2fde1db9a1dddf06dac6709 |
|
26-Apr-2012 |
fredc <fredc@broadcom.com> |
Fixed socket not closing on BT off. Used RemoteCallbackList to monitor binder deaths in BluetoothManagerService. Change-Id: I524964bd2836d8c5a4bae095b93ac9481337941d
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
903ac6f399dcd4f574bf388daa7b5f5907d448d3 |
|
24-Apr-2012 |
fredc <fredc@broadcom.com> |
Fixed issue with Settings app crashing after during on/off and unpair. Fixed issue with BluetoothAdapter.getRemoteDevice() returning null. Change-Id: Ie86813532530a6b57bde1c430c7b4875ecc7354c
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
116d1d4696ac8e300c83dd8a95e20e67717ef520 |
|
20-Apr-2012 |
fredc <fredc@broadcom.com> |
Fixed issue with getting Bluetooth adapter's name and airplane mode Change-Id: I18b632223574aa41b09ba30de8e35417fad86cbe
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
4bedba49fe6989387fd04499b175af56e068da28 |
|
18-Apr-2012 |
Sreenidhi T <nidhit@broadcom.com> |
Change done in BluetoothAdapter to use the same API for interacting with the Bluetooth Service. setName was being done using mService while getName was using mManagerService. As a result, the device name was not being updated in Localadapter getname call. Modified to use mService in both cases. Change-Id: I2e900a782df11fd511319fbb42d94324e50ae89b
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
a097f51e5fde9d00ebe99f4e1915cc6d4cd078ad |
|
16-Apr-2012 |
Kausik Sinnaswamy <kausik@broadcom.com> |
BT enable adapter API should return TRUE or FALSE. Change-Id: Iaef14c51d3407b69505c55a0bbdaf902213402cf
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
0f42037eb7b5118015c2caca635538324ccf0ccf |
|
12-Apr-2012 |
fredc <fredc@broadcom.com> |
Non persistent adapter service Change-Id: Ib13d5c77416e58161df0e04d7a15ec0dddbde8b5 Conflicts: core/java/android/bluetooth/BluetoothInputDevice.java Conflicts: core/java/com/android/internal/app/ShutdownThread.java services/java/com/android/server/SystemServer.java Conflicts: services/java/com/android/server/SystemServer.java services/java/com/android/server/pm/ShutdownThread.java
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
827de2d73e9f07e1545839889eaf035aea64ea12 |
|
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: Iacaec4a48a45935a49576c140ea11ea3d0da6361
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
3b147b770269173d5d711d6c33f142dc5e723824 |
|
04-Apr-2012 |
zzy <zhenye@broadcom.com> |
Added new rfcomm multi accept code
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
e21a4ac09d2473becaea43a73d19e9e836e7732a |
|
07-Mar-2012 |
Jaikumar Ganesh <jaikumar@google.com> |
Add a new version of the disable API. This allows for the setting to be persisted or not. Also turn on Bluetooth in System Server if needed. It won't work currently because the service wouldn't have started. Change-Id: I15fa2bff93aa32134c1b565fcbe90ba68614b6a1
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
e4caddbb7a3b39fd6a1ccf107c7dbf09bc8978e8 |
|
26-Jan-2012 |
Jaikumar Ganesh <jaikumar@google.com> |
Changes for new Bluetooth APIs. Changes to Bluetooth Adapter, Device and IBluetooth interfaces for new Bluetooth APIs. Delete AudioGateway. Change-Id: Ib51b31187eafde261441b9311b5e7e13c8bff82f
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
6c614b7e596d2c7c410adec727bf787834cb258b |
|
18-Apr-2012 |
Martijn Coenen <maco@google.com> |
Allow enabling Bluetooth without auto-connecting. This is a feature used for NFC-to-Bluetooth handover: we want to enable BT for file transfer, and disconnect it when we're done. During this period we don't want to auto-connect other devices - it should be transparent to the user that Bluetooth is used. Also, don't allow A2DP/HSP incoming connections. Change-Id: I0a03e8084c439b1271b6a80f4d9da5aacfe19c45
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
2b072677538de979961b5bf527109fdab1713731 |
|
23-Dec-2011 |
Joe Fernandez <joefernandez@google.com> |
am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1 * commit '201469f54522436be79d4d6665721049bfc74320': docs: Add developer guide cross-references, Project ACRE, round 4
|
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/BluetoothAdapter.java
|
75596b4545da36fa7592bd4a2ae680e5b336ee47 |
|
08-Dec-2011 |
Nick Pelly <npelly@google.com> |
Add BluetoothAdapter.getRemoteDevice(byte[]) This is useful for NFC->BT hand-over, where we are already working with bytes. Change-Id: I2fff0b4fa0cefe9bfdf9a13f7ec6f557776a8a03
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
9bb275197df8eb999eab4cdd0a2aff83c2bb2ef6 |
|
28-Nov-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Cleanup references when turning BT off. Bug: 5572649 Change-Id: I62f9e0620832b69995d5c6e1c24634c9a3895a4b
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
44b58ab89e59b3d8241901232c8f7dc9617b206e |
|
16-Nov-2011 |
Matthew Xie <mattx@google.com> |
Check the bluetooth state for getUuid call Donnot make the bluetoothservice.getUuids call if the bluetooth is not on. Also get rid of all the necessary locks on BluetoothService for get property call. It had a lock on BluetoothAdapterProperty. bug5472114 Change-Id: I383472ae6006fc1f0129c960c8a44ed0df027a43
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
2d68a6ba3c1354f363e5ee77448f163664bf47d9 |
|
27-Sep-2011 |
Scott Main <smain@google.com> |
docs: mix of BT and NFC javadoc updates Add Health profile to various discussions about profiles Add descriptions to NFC interfaces, tweak some desciptions, and fix some broken links Change-Id: Ib89434c78a4ad60b4358dca9a6c335451d1c4125
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
484867a8ed3d46fbb8df493c77f2e2d46a0db654 |
|
26-Aug-2011 |
Matthew Xie <mattx@google.com> |
Move Bluetooth remove service record handler to the app main thread Move Bluetooth remove service record handler to the app main thread. This removes the dependency of caller thread that constructs the BluetoothAdapter singleton instance. The caller thread could stop while BluetoothAdapter singleton exists but lose the handler context. Make the BluetoothService.removeServiceRecord return quickly without blocking on native call. bug 4999443 Change-Id: I302534baa381f4aca8192e1e4a9ea21793b07ba6
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
9354790fa199a316eba1a2e52b789a3ebe28726b |
|
23-Aug-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Make profile connection state API public. Change-Id: I1f2810d4e820142435f7bbda051c98ec3e3cf3eb
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
cb1d354c1e9b458a0426cd08520d938012e32b34 |
|
19-Aug-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Add Api to get profile connection state. This gets the current connection state of the profile with respect to the local Bluetooth adapter. Change-Id: I7cff6c9201d29a8b45413cff7384b7483f21bd5c
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
f5fb6c8ce36a98da47f32f4142d372bd5f650bfa |
|
03-Aug-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Enforce permission for changeApplicationState function. The ADMIN permission is for use cases where we want to manage BT connection at a deeper level. So just the Bluetooth permission is good enough here. Change-Id: Iddd038fe9f9a26f155b4edc9484ba1fe27b178ba
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
ef2cb7c93a99096799d415e721dda46d1bf7a005 |
|
22-Jul-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Add ability to turn BT on / off on a per application basis. This changes adds an API for system applications to enable bluetooth without all the side effects like auto connection to headsets etc. Also some tweaks to the adapter state machine Change-Id: Ib9f22d548a26d72334b300101c8eb0d80f08a4bb
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
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/java/android/bluetooth/BluetoothAdapter.java
|
830d8c5fb397f11d7dd2be31b20a8889797eb4b1 |
|
06-Jun-2011 |
Jaikumar Ganesh <jaikumarg@android.com> |
am 5aaed097: am 58ada2f3: am 94062517: Merge "Require bonding and encryption for PBAP server" * commit '5aaed0970be451479a07b2423e709026dec6611b': Require bonding and encryption for PBAP server
|
5aaed0970be451479a07b2423e709026dec6611b |
|
06-Jun-2011 |
Jaikumar Ganesh <jaikumarg@android.com> |
am 58ada2f3: am 94062517: Merge "Require bonding and encryption for PBAP server" * commit '58ada2f3bbab749fb5a813fb8f82eee347080405': Require bonding and encryption for PBAP server
|
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/java/android/bluetooth/BluetoothAdapter.java
|
e3b9dc107ea10645e064581460829d262c911f1c |
|
21-Mar-2011 |
Mathias Jeppsson <mathias.jeppsson@sonyericsson.com> |
Require bonding and encryption for PBAP server The Phonebook Access Profile specification requires bonding and encryption. For devices not supporting SSP (Secure Simple Pairing), InsecureRfcomm will require neither. Adding EncryptedRfcomm to force bonding and encryption but not requiring authenticated link key. Change-Id: If47cca9c5ffd89358bcd61d64f7785d17e0ca7cc
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
74ef1199459629c5dd9f272f8cd706d82cdfeeb1 |
|
23-Feb-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Make BluetoothPan inherit from BluetoothProfile. Change-Id: Ibd3e24e391be93ebe2cf975bd075efb68e10c1ff
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
4ab0e7746fe74a9e4d75d374f73b7af87420b2f6 |
|
18-Feb-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Make BluetoothInputDevice inherit from BluetoothProfile. This makes it in sync with BluetoothHeadset and BluetoothA2dp profiles. Change-Id: I3ddb1d18b04aacb173b7bc376bca21c277a6afe4
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
0b5b35f8a12e9f7e85df6b9b86597ebc84584d97 |
|
02-Feb-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Fix BluetoothAdapter Connection change intent doc. Bug: 3414206 Change-Id: Icf87e28e11b0b5072fe546225bbfb1dc68487ef0
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
299ae67d031ac5b540324433c365b9f4f3811880 |
|
20-Jan-2011 |
Scott Main <smain@google.com> |
docs: small javadoc, but also make the existing getProfileProxy docs visible... had wrong comment tag Change-Id: Ia4b2178057c0263ec8f835342815082de87b3af1
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
a3363ef2cdf27e8d652297e9b916d085c5550a28 |
|
14-Jan-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Do Not Merge: 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. Bug: 3352266 Change-Id: I633fd0372e5e23288d6fec950dd1abc2896031f1
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.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/BluetoothAdapter.java
|
58b93c36409c7fb91a644605f004b6d247d9b540 |
|
24-Nov-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Update BT code for voice capability cases. 1. Disable PBAP and Headset / Handsfree records. 2. Add API to query for local adapter UUIDs. Change-Id: Ic84ba6a49738adc89a8695d3a4890f08562e0621
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
c53cab20b225ba69057441ecb06db6478ab8ff9b |
|
27-Oct-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Add an API call to get the ConnectionState of the Bluetooth Adapter. Change-Id: Icd87d7720189034946aaa98e1a6c5d03ef4219e5
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
980d40b568bf976eed8de7c035c2e30ddc67fa89 |
|
01-Oct-2010 |
Jake Hamby <jhamby@google.com> |
resolved conflicts for merge of 738aadd7 to master Change-Id: I8810cc6dbd532de002d6a623ad93e86afb48c0b4
|
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/BluetoothAdapter.java
|
62c37efc9e894809b29a004c142a8e0a6b374db7 |
|
25-Aug-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
New public APIs for BluetoothA2dp and BluetoothHeadset profiles. Change-Id: I1cc4b109542dfd62473cb95797c8c3d0d15725f4
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
0f5843069bd419fba4fb253986645dfbca0784b7 |
|
17-Sep-2010 |
Jake Hamby <jhamby@google.com> |
Fix Bluetooth Javadoc to clarify the maximum device name length. The maximum length of a Bluetooth device name is 248 bytes using UTF-8 encoding. Updated the Javadoc to clarify that the length is limited by the number of UTF-8 bytes and not the number of characters. Change-Id: I135671f5ee6c5eb6372f3fbbc5fccb02de65e6c4
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.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/BluetoothAdapter.java
|
fec86f4aa2de9c89d6c0aea6128be77eb67417d1 |
|
10-Aug-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Update javadoc for the API and change return of getBondedDevices(). getBondedDevices() *might* work if called before the Bluetooth State intent is broadcasted. However, this can cause ANRs and problems. This API was updated to return null, if called before the intent is received. However, this might cause existing apps to crash. Return an empty set instead. Change-Id: Ibc484d3394aa0bbebd651221efde6a7015ce7110
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
f5ff170be1f6b28758f125e50524f43f9d6ec684 |
|
07-Aug-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Check whether Bluetooth is enabled before making any API calls. For example, Settings app makes calls to get Bonded Devices before Bluetooth is on. This leads to ANRs and will prevent autoconnection. Change-Id: I56748a9bd1d603b5782c17775c6b20b831bf6572
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
af21fa61c2158fa2a693d98bb281abd56e658b40 |
|
18-May-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Removing STOPSHIP logs. Bug: 2694602 Change-Id: Id56e1ddcf5ea76de32238cd6761f2caf053f1fa1
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
7b0463a949b57620680b95e45c66a05f67426b74 |
|
11-Dec-2009 |
Scott Main <smain@google.com> |
am ed2a70d6: docs: add the Bluetooth developer guide, and make some revisions to the BT javadocs Merge commit 'ed2a70d6495b3f1928e36ad2b00ee4d33b2c0379' into eclair-mr2 * commit 'ed2a70d6495b3f1928e36ad2b00ee4d33b2c0379': docs: add the Bluetooth developer guide,
|
ed2a70d6495b3f1928e36ad2b00ee4d33b2c0379 |
|
10-Dec-2009 |
Scott Main <smain@google.com> |
docs: add the Bluetooth developer guide, and make some revisions to the BT javadocs
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
cb5966426a51aeb7d02e7f859512d20e084e03ed |
|
20-Nov-2009 |
Scott Main <smain@google.com> |
am e1611399: am 6d95fc0a: docs for ESR: add docs to bluetooth explainin that discovery should be cancelled before connecting to a device Merge commit 'e16113998bb10f39ee1384bfc497aceeeb193440' into eclair-mr2 * commit 'e16113998bb10f39ee1384bfc497aceeeb193440': docs for ESR: add docs to bluetooth explainin that discovery should
|
e16113998bb10f39ee1384bfc497aceeeb193440 |
|
20-Nov-2009 |
Scott Main <smain@google.com> |
am 6d95fc0a: docs for ESR: add docs to bluetooth explainin that discovery should be cancelled before connecting to a device Merge commit '6d95fc0a2ca910212a43c4547c0ef000659b72dc' into eclair * commit '6d95fc0a2ca910212a43c4547c0ef000659b72dc': docs for ESR: add docs to bluetooth explainin that discovery should
|
6d95fc0a2ca910212a43c4547c0ef000659b72dc |
|
20-Nov-2009 |
Scott Main <smain@google.com> |
docs for ESR: add docs to bluetooth explainin that discovery should be cancelled before connecting to a device bug: 2160782,2198463
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
b262f50af9ad22837af9e88e6c8f71b44cdefd56 |
|
10-Nov-2009 |
Scott Main <smain@google.com> |
am 13ce56bd: am 88427cff: Merge change Ibcfb7d10 into eclair-sdk Merge commit '13ce56bdbc4872c0b12caff501e063f5a75073db' into eclair-mr2 * commit '13ce56bdbc4872c0b12caff501e063f5a75073db': docs: add more documentation for the bluetooth apis.
|
13ce56bdbc4872c0b12caff501e063f5a75073db |
|
10-Nov-2009 |
Scott Main <smain@google.com> |
am 88427cff: Merge change Ibcfb7d10 into eclair-sdk Merge commit '88427cff609e668185010af2244500be5823595e' into eclair * commit '88427cff609e668185010af2244500be5823595e': docs: add more documentation for the bluetooth apis.
|
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/BluetoothAdapter.java
|
811f655366461d0f21f970bcac07dd2084fd54fa |
|
06-Nov-2009 |
Michael Chan <mchan@android.com> |
am 8d51f710: Merge change Icdd2864e into eclair Merge commit '8d51f7101d2427953dbff9b4b8f8c9fdc0dc4a91' into eclair-mr2 * commit '8d51f7101d2427953dbff9b4b8f8c9fdc0dc4a91': b/2234854 Fixed Bluetooth API return codes for requesting permission to enable bluetooth
|
cdd2864eb340fe46a97f4991f3949db1196bdde8 |
|
06-Nov-2009 |
Michael Chan <mchan@android.com> |
b/2234854 Fixed Bluetooth API return codes for requesting permission to enable bluetooth
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
bf2efbc0642d07acee1a83c17987abb380e5243a |
|
30-Oct-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
am 3cf254d2: Merge change I4b3db907 into eclair Merge commit '3cf254d2ba303da3354ed65fd7f3136e87a56b9f' into eclair-mr2 * commit '3cf254d2ba303da3354ed65fd7f3136e87a56b9f': Revert the channge where channels were not selected randomly.
|
4b3db907f04d85cd20e0a0e35056ba44a10e8867 |
|
30-Oct-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Revert the channge where channels were not selected randomly. The Bluez SDP bug has been fixed. Reverting parts of the commit: 16fb88a673c41b93c5d57ccb28c2697e7d87701a Bug: 2173752 Dr No: Eastham
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
db7ae10d6b8e86ff5311512de45afa65a1b0a738 |
|
09-Oct-2009 |
Nick Pelly <npelly@google.com> |
Remove STOPSHIP BT logging. Do not merge. Change-Id: I428bc0fc67030f24112f2e9c865824dfaea4897d DrNo: eastham Bug: 2089423 Joke: Why was Tigger looking in the toilet? To find Pooh
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.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/BluetoothAdapter.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/BluetoothAdapter.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/BluetoothAdapter.java
|
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/java/android/bluetooth/BluetoothAdapter.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/BluetoothAdapter.java
|
1acdcc1a508c00dc31751a2a2eef539a59cb21ce |
|
28-Sep-2009 |
Nick Pelly <npelly@google.com> |
Add an API to request a system activity to turn on Bluetooth. Change-Id: I2fca33ad27017ea4e2ecba37854b749682d07672
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
12835478ee687a493d1b5882e67b6725bd539c26 |
|
26-Sep-2009 |
Nick Pelly <npelly@google.com> |
Handle expiration of discovery mode in system server. Change-Id: I58fd199b40ffdf8168a5489be8eedb5d25d56722
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.java
|
3219ab4de27cd40b2149b0dd13edd412efe40244 |
|
25-Sep-2009 |
Brad Fitzpatrick <bradfitz@google.com> |
Fix typo in Bluetooth docs.
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.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/BluetoothAdapter.java
|
55e66f1b739097095f6b3c47f88de258898fc1c9 |
|
18-Sep-2009 |
Nick Pelly <npelly@google.com> |
Reject lowercase characters in checkBluetoothAddress(). This keeps consistency with Bluez which uses upper case string address. It's important to keep the case the same so that .equals() in BluetoothService.java work. Change-Id: I6404ca137d0aec3cc2e6e7cb79763d5305a03547
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.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/BluetoothAdapter.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/BluetoothAdapter.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/BluetoothAdapter.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/BluetoothAdapter.java
|
71c3c7806acb2b2b7b8441817c26a2101d447bbe |
|
02-Sep-2009 |
Nick Pelly <npelly@google.com> |
Immediately destroy BluetoothSocket's on close(). Unfortunatley, shutdown() on the underlying fd does not actually stop a listening socket from listening. You need to call close() on the fd to do this. There is no way around it. So this means the Java BluetoothSocket code has to call destroyNative() during BluetoothSocket.close(). Since native methods cannot be called after destroyNative(), add a ReadWrite lock and mClosed field to protect access to native methods. This fixes the "resource busy" error when Bluetooth OPP and Bluetooth PBAP tried to resume listening after turning BT off and then on.
/frameworks/base/core/java/android/bluetooth/BluetoothAdapter.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/BluetoothAdapter.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/BluetoothAdapter.java
|