• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/android/bluetooth/
History log of /frameworks/base/core/java/android/bluetooth/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
455502b7501bdbc55a739083878431c3ba7ef81a 10-Feb-2015 Andre Eisenbach <eisenbach@google.com> Merge "Add API to check if a Bluetooth connection is encrypted (1/2)" into lmp-mr1-dev
2b8696e3a91194db0bfd876b8cc68843a7ccd080 06-Feb-2015 Andre Eisenbach <eisenbach@google.com> Add API to check if a Bluetooth connection is encrypted (1/2)

Bug: 19186961
Change-Id: I24656a07ee23ebfe067a9dfb9c1bc4041c782d8c
luetoothDevice.java
Bluetooth.aidl
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
luetoothAdapter.java
e77adabeafa16f9b401a6ad67405205bd96f2219 16-Jan-2015 Prerepa Viswanadham <dham@google.com> Don't compute flags length for scan response

Bug 19041626

Change-Id: I7d8aa12e133477fc60d12b474f57313961021975
e/BluetoothLeAdvertiser.java
c88b6bdcfada95447269b41d388fd7028dba574b 16-Dec-2014 Benjamin Franz <bfranz@google.com> Don't send the onServiceDisconnected callback after close.

Bug: 18667402
Change-Id: Ia029fd861d643f6646fb124d76ca2a1d2a1a695a
luetoothHeadset.java
0fd06a19bdc56fec8eb736d248abb56fe5a2727d 10-Dec-2014 Andre Eisenbach <eisenbach@google.com> Prevent NullPointerException in getStringValue if no value is set

Bug: 18686365
Change-Id: I5f5d07ef49500e0d8118ba04aaf373ae4514f034
luetoothGattCharacteristic.java
4a9cecb1f0bb6f5f949f33c5f07be6d995f4cf24 05-Dec-2014 Justin Harrison <astyrrian@google.com> Merge "Add UUID for Pbap client" into lmp-mr1-dev
fb967585cc43937a88b0ed9a5e434a50b0a498b9 05-Dec-2014 Benjamin Franz <bfranz@google.com> Merge "Change the routing path of bluetooth headset connections." into lmp-mr1-dev
ff5e5db319785d23d672af95ac2dff3f37827cfd 04-Dec-2014 Prerepa Viswanadham <dham@google.com> Fix BT crash due to unset value for BluetoothGattDescriptor from API user

Validate writeDescriptor and writeCharacteristic methods at API invocation
for non null initialisation.

Bug 18395071

Change-Id: I411a57b77981310d8db1f98c67e03b4327c93339
luetoothGatt.java
e8b98925d08f720c4d22b626d0650de536840a9a 12-Nov-2014 Benjamin Franz <bfranz@google.com> Change the routing path of bluetooth headset connections.

The HeadsetService is now bound directly by the BluetoothManagerService.
The IBinder object related to the HeadsetService is then given back to
the BluetoothHeadset and to the client app. This change makes the
HeadsetService available for managed profile clients.

Bug: 16968338
Change-Id: I016d1837e4f987c0fab1fc2c64cb06eb91b24d87
luetoothHeadset.java
BluetoothManager.aidl
BluetoothProfileServiceConnection.aidl
16bf846990293e1f19f042eed8e2ce5e7348ac5a 18-Nov-2014 Andre Eisenbach <eisenbach@google.com> Add server-side callback for change in MTU (4/4)

When a client requests to update the LE transport MTU, the server
currently does not get notified and can therefor not properly size
notifications appropriate to the current MTU.

Bug: 18388114
Change-Id: I515bfc2cc9846490d57de71860f41ea9a61fa243
luetoothGattServer.java
luetoothGattServerCallback.java
BluetoothGattServerCallback.aidl
6862361b506aa2301a0049067447199631b50410 21-Nov-2014 Matthew Xie <mattx@google.com> Add UUID for Pbap client

Bug: 18140961
Change-Id: I9cbeb7129b1d30aa7a195ed83821d4a5634283ed
luetoothUuid.java
29230ceab9ea7b6913f0a898411b213f199e18c2 13-Nov-2014 Tom Turney <tturney@google.com> Feature request: Increasing advertise data size on
non-connectable adv.
When the advertisement is non-connectable, give back the
bytes to the advertiser where the adv flags would have been.
This increases the non-connectable advertisement's advertise
data from 24 to 27 bytes.

Bug:18359570
Change-Id: Ia3cc48dca50cc3c51095ee92a489f143f6d350b1
e/BluetoothLeAdvertiser.java
95c05a590f97d81a5d4e5d86540833cc1637ffdc 08-Nov-2014 Mike Lockwood <lockwood@google.com> Merge "Add dumpsys support for bluetooth" into lmp-mr1-dev
178d3b54cd50558be789c5dfd8dad80ffdc65021 29-Oct-2014 Andre Eisenbach <eisenbach@google.com> Fix crash during Bluetooth on/off stress test

Bug: 18106938
Change-Id: Icdeb736d89d5926264f2043455ccbc3760fd5d29
luetoothAdapter.java
726d4de780dea9afded2e44a010b793f7ac29c23 28-Oct-2014 Mike Lockwood <lockwood@google.com> Add dumpsys support for bluetooth

Bug: 18159457
Change-Id: I8d3f7084a7b089c111fd622ff526630bfdfa7300
Bluetooth.aidl
020bd7b861dfd560fad9f761f2778ebbac8be20e 17-Oct-2014 Wei Wang <weiwa@google.com> Remove spammy log information for BLE scan.

Bug:17574681
Change-Id: Ic5761ad7262200f38f2b67659c37f8a3f01d80d5
e/BluetoothLeScanner.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
luetoothAdapter.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
luetoothAdapter.java
Bluetooth.aidl
e/BluetoothLeAdvertiser.java
f0b56a5a7f9cff4b4ed120188be65a7bc08e2256 19-Sep-2014 Prerepa Viswanadham <dham@google.com> Remove remanents of onConnectionCongested in framwork

Bug:17289507
Change-Id: Ia28c39822141edd0e4dc3f623b8c2f280fc5f943
luetoothGatt.java
luetoothGattCallbackWrapper.java
luetoothGattServer.java
BluetoothGattCallback.aidl
BluetoothGattServerCallback.aidl
1bbfcc2fdcbe72a69477b0395ea92f777efb7c9d 16-Sep-2014 Edward Jee <edjee@google.com> Merge "Adds APIs for Bluetooth PBAP and MAP access permission." into lmp-dev
ba4f57a1c6979676d20ff29a614deb64171230e6 11-Sep-2014 Prerepa Viswanadham <dham@google.com> Remove onConnectionCongested callback

Bug:17289507

Change-Id: I49fd99d320084c618dcec756b832fb3b6a6aec51
luetoothGatt.java
luetoothGattCallback.java
luetoothGattServer.java
luetoothGattServerCallback.java
8dd30aadaf133fe1b8974847efdd5b8cf285136d 05-Sep-2014 Edward Jee <edjee@google.com> Adds APIs for Bluetooth PBAP and MAP access permission.

Currently, users' preference in phonebook and call history or message
access per each Bluetooth-paired device is stored in Settings application's
shared preferences.

However, some privileged applications other than Settings need to access
such data. So we decided to migrate the data from Settings application's
shared preferences to Bluetooth application's.

Bug: 17158953
Change-Id: I3771f03eaea3f57cf60d93ab9fd41c9eb3e1e99c
luetoothDevice.java
Bluetooth.aidl
6550557f9939b85c574021c08c5c7d5823f43379 05-Sep-2014 Wei Wang <weiwa@google.com> Merge "Unregister app when advertise failed after registration." into lmp-dev
726652e9d3f1adf6b68dedfa4618b490b7f1b4a3 03-Sep-2014 Matthew Xie <mattx@google.com> Close the base socket when bindListen fails

Bug: 10773872
Change-Id: I0a72b2eb65055fa1959070d2dc32d40a573bd6f2
luetoothSocket.java
833559d9f3f0bd6ddb1cf9c1571975751830e045 29-Aug-2014 Wei Wang <weiwa@google.com> Unregister app when advertise failed after registration.

Also moved bluetooth state check to common utils class.

Bug:17364837
Change-Id: I25ff7afae723d47f701236d5a68eab8015de9bbb
e/AdvertiseData.java
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
e/BluetoothLeUtils.java
e/ScanRecord.java
e/Utils.java
b1e066bc27dc3ab7a619855336490c67994cb8a2 25-Aug-2014 Wei Wang <weiwa@google.com> Merge "Fix API council review comments. Also hide certain APIs(1/3)." into lmp-dev
491cb3f578a23555c807e68f8a536a892959a73f 21-Aug-2014 Andre Eisenbach <eisenbach@google.com> Merge "LE: Rename new MTU and connection paramter update APIs" into lmp-dev
7cb10ac3928c1c298768f9a0dbeb2e5906527b68 21-Aug-2014 Wei Wang <weiwa@google.com> Merge "Fix threading issue for advertising." into lmp-dev
4072da041da2911dd56635b530b276671ce0199d 20-Aug-2014 Andre Eisenbach <eisenbach@google.com> LE: Rename new MTU and connection paramter update APIs

bug 17005342

Change-Id: I23151e1e92fe86896fc2883f81aef82084bb4215
luetoothGatt.java
luetoothGattCallback.java
luetoothGattServerCallback.java
9a974be631a3ff2e7e754f79167eb024ee55925e 19-Aug-2014 Wei Wang <weiwa@google.com> Fix threading issue for advertising.

Post callback to main thread to execute. In general we should avoid
running app's callback method from binder thread as the callback method
may block.
Also removed callback from advertisers on stop advertising callback.
This fixes the issue of not being able to restart adv for limited
advertising.

Bug: 17045567

Change-Id: I56cd2bdf4b1ad120a0358fa4065ad77be4bff144
e/BluetoothLeAdvertiser.java
b661bb79584f83ae95713e502fc14363c80c0278 19-Aug-2014 Wei Wang <weiwa@google.com> Fix race condition for BluetoothLeScanner.

Root cause of the issue:
Client registeration was done on caller's thread, while
onClientRegistered was called from binder thread. There is a slight
chance that onClientRegistered was called before registerClient
returned, causing a premature notifyAll before wait was called.

By forcing acquiring the same lock now it's guaranteed wait would
happen before onClientRegistered callback was executed.

Bug: 16707401
Change-Id: Ic60adec475085741d14ecd2d2bb462246f88da58
e/BluetoothLeScanner.java
9960b576533041d07b141008c5925dcecb8c9224 15-Aug-2014 Wei Wang <weiwa@google.com> Fix API council review comments. Also hide certain APIs(1/3).

b/17006825.

Change-Id: Iee64b11920152e0ab3da54decf37fa4a83be5dc7
e/AdvertiseData.java
e/AdvertiseSettings.java
e/ScanCallback.java
e/ScanFilter.java
e/ScanResult.java
e/ScanSettings.java
621085e50f59647d745d12488b88c41077d70ee9 14-Aug-2014 Prerepa Viswanadham <dham@google.com> Protect from malformed advt with invalid manf_id/data combo

Bug: 16979645
Change-Id: Ie7ea00ed20cbad1120c7582bb2bafd44b4295052
e/ScanRecord.java
ee3cc8bf177c03ea571a87a73d9ada83201afa63 13-Aug-2014 Prerepa Viswanadham <dham@google.com> Prevent crash in Gatt service due to null pointer in
BluetoothGattCharacteristic from framework

Bug 16899517

Change-Id: Ib30ddefee07c2953f9a7faeb4eaa823feeebdc8f
luetoothGattServer.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
luetoothAdapter.java
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
e/Utils.java
0d0df3ce258f569c76dc7c4b5250c4e50029d6e6 31-Jul-2014 Wei Wang <weiwa@google.com> Add a TLV to support different result storage

Change-Id: Ic20a1720b783508cf85b234950b7fd0c79e9e7c3
BluetoothGatt.aidl
e/BluetoothLeScanner.java
e/ResultStorageDescriptor.aidl
e/ResultStorageDescriptor.java
e/TruncatedFilter.java
d5324e4183c97ae7271b6eda4204d9f0dc003023 07-Aug-2014 Prerepa Viswanadham <dham@google.com> OnLost/OnFound integration - onfound match is done in framework,
whereas hw signal is used to report onlost.

Bug 16733710

Change-Id: I7b177b7afd730341c336818857436c095735b53b
luetoothGattCallbackWrapper.java
BluetoothGattCallback.aidl
e/BluetoothLeScanner.java
57210c7a1aebb86d091dee0af49b45649ca47f87 05-Aug-2014 Andre Eisenbach <eisenbach@google.com> Add transport parameter to createBond() function (4/4)

Bug: 14063256
Change-Id: I096248b60752992aa23ce5bfbfc47fda95773db2
luetoothDevice.java
Bluetooth.aidl
e0d4afb2d4caecb264852a35f6e3cfc1248e08c4 30-Jul-2014 Wei Wang <weiwa@google.com> Add a default impelementation of IBluetoothGattCallback(1/2).

Also cleaned up a few TODOs and fixed bug.
b/16410260 AdvertiseCallback null onSuccess callback

Change-Id: I75a582c03be1e2ef6964c2cbeba42aaaf9f9e17c
luetoothGatt.java
luetoothGattCallbackWrapper.java
BluetoothGattCallback.aidl
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
6bf513d32db7fbc157681bd642e12a201cf20a89 01-Aug-2014 Wei Wang <weiwa@google.com> Revert "Revert "Service data and manufacturer data can be repeated fields.""

This reverts commit 14c797702543bb5ced989565d90abcfa55c7db46.
e/AdvertiseData.java
e/BluetoothLeAdvertiser.java
e/ScanFilter.java
e/ScanRecord.java
e/Utils.java
67c01a4b6d890212fb4647973a627e25a3a9788b 01-Aug-2014 Sungsoo Lim <sungsoo@google.com> Revert "Service data and manufacturer data can be repeated fields."

This reverts commit 26dc9b99b17ca9d8ce3632c48e8b6c1450ee53e9.

Change-Id: I1846d0a6491c5b2ba5905411bd98f5d17909b705
e/AdvertiseData.java
e/BluetoothLeAdvertiser.java
e/ScanFilter.java
e/ScanRecord.java
e/Utils.java
3f7a39063ab7b3d7a38b773449ba2b37674e3458 29-Jul-2014 Wei Wang <weiwa@google.com> Service data and manufacturer data can be repeated fields.

b/16635899

Change-Id: I73f1f4effd3f0e38cd427297eb9d22f3ba285d61
e/AdvertiseData.java
e/BluetoothLeAdvertiser.java
e/ScanFilter.java
e/ScanRecord.java
e/Utils.java
64d2b567c38d626b0f2da470e3451d7a957e8961 30-Jul-2014 Wei Wang <weiwa@google.com> Merge "Make scan filter accepts prefix. Add tests." into lmp-dev
0462468aaff1089f08d0859e4920f90e4378b66b 29-Jul-2014 Wei Wang <weiwa@google.com> Make scan filter accepts prefix. Add tests.

Change-Id: I714dd6d95ad2bc874dce1106b325762b19159119
e/ScanFilter.java
f6b3d8ca364f3008730741258ceb07c7039a5528 29-Jul-2014 Prerepa Viswanadham <dham@google.com> Fix crash in Stopping/Starting BLE advertising after
BluetoothAdapter cycling

Bug 16528460
Change-Id: Iad852bc93d307c5ca5f7e42f24248aa02c105e8a
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
d65e8f4b6b37b274fcd5b7701a73eaef7c4ba8b4 26-Jul-2014 Andre Eisenbach <eisenbach@google.com> LE: Do not invoke callback if retrying read/write operation

When a descriptor read/write operation fails with insufficient
authentication/encryption, it will automatically be tried again with
elevated security requirements. The first (failed) attempt should not be
reported to the application requesting the read/write, since it will get
the 2nd callback once the retry succeeds/fails.

Change-Id: Ia27b91afa63b6f9ffdc597d59c24d29f3d8a1008
luetoothGatt.java
ab2ed62f15d0dac0f8ef825ff2d3677c9ae18f44 26-Jul-2014 Wei Wang <weiwa@google.com> Split manu id and manu data.

b/16407380

Change-Id: I39f6ce0ab4cccadec809f0a4f518f5d2c77a90b7
e/ScanFilter.java
e/ScanRecord.java
e/ScanResult.java
ec64dbfbc0c7ecf41e17f3872c2d0109096f1c7a 25-Jul-2014 Wei Wang <weiwa@google.com> Fix bug of ScanSettings. Add unit test.

b/16318637.

Change-Id: I3fbc1212c1712faa0c29132f3dc9cfc1d58af26b
e/ScanSettings.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
luetoothAdapter.java
BluetoothGatt.aidl
e/BluetoothLeScanner.java
5bec5af97122592fa7006d7709f44018e0cd96f7 24-Jul-2014 Prerepa Viswanadham <dham@google.com> cleanup : delete BLE advertising related hidden state references in Bluetooth Adapter

Change-Id: Ia58a46392157e274f8fc4696e8e25af480eb2d2a
luetoothAdapter.java
0e81ca25432b3606eba841206b7a4a6ed74bd54b 24-Jul-2014 Wei Wang <weiwa@google.com> Move AdvertiseData length check to BluetoothAdvertiser.

This will keep AdvertiseData simple and avoid coupling with
BluetoothAdapter.

Change-Id: I3609652bdea1c6e757bac7d2dada7f8ddf20a5e3
e/AdvertiseData.java
e/BluetoothLeAdvertiser.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
luetoothActivityEnergyInfo.aidl
luetoothActivityEnergyInfo.java
luetoothAdapter.java
Bluetooth.aidl
03259472b19fef586f5eec5d4e7d61c34a6cd298 23-Jul-2014 Wei Wang <weiwa@google.com> Fix parcel issues with empty service uuid. Added tests.

b/16490816

Change-Id: If26a4731f22e83df4f5ded2ad76901de6c49a010
e/AdvertiseData.java
685c1758902a42a7beb030d8bbaed3f7ce6f6135 17-Jul-2014 Wei Wang <weiwa@google.com> More API modification of BLE APIs (1/2).

Changed include:

1) Add serviceDataUuid to filter so it matches sanRecord and
AdvertiseData.
2) Add raw bytes to ScanRecord and make ScanResult take a ScanRecord
instead of raw bytes.
3) Change from setServiceUuid(List) to addServiceUuid(ParcelUuid).
4) Added include device name
5) Removed service not registered and added ADVERTISE_DATA_TOO_LARGE.
6) Fixed a few comments.

Change-Id: Ibbe07183b1293835c4a84728d1cd2d61e5d627d3
e/AdvertiseCallback.java
e/AdvertiseData.java
e/AdvertiseSettings.java
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
e/ScanCallback.java
e/ScanFilter.java
e/ScanRecord.java
e/ScanResult.java
e/ScanSettings.java
55d19e495e2b3cd744724f2d12c399217e3c565c 18-Jul-2014 Andre Eisenbach <eisenbach@google.com> Reduce GATT logging output

Change-Id: Iefdf101ac849e45bf50c55ce5999364f5fbd24a4
luetoothGatt.java
luetoothGattServer.java
6ce4db0acf9dea297d96424e526092e799f6da84 17-Jul-2014 Andre Eisenbach <eisenbach@google.com> LE: Add connection parameter update request API (4/4)

Change-Id: Ifb531a1b7ab05888817b96fcc89f85e17df7ffe2
luetoothGatt.java
BluetoothGatt.aidl
890b46a0d5c220bffedcf27520befb34bf8830ea 11-Jul-2014 Wei Wang <weiwa@google.com> Remove MR2 BLE Advertising hidden API from L codebase (1/2).

Change-Id: I78bb8b89de56bddb7422da1d1d4468c88a68ea11
luetoothAdapter.java
luetoothAdvScanData.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
af74e66e29a518157cb78fcef4b4fc532b7f60b0 09-Jul-2014 Wei Wang <weiwa@google.com> Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)

Change-Id: Ib0c4ea6c8372a15473269660355fb5ccf4284457
luetoothAdapter.java
BluetoothGatt.aidl
e/AdvertiseCallback.java
e/AdvertiseData.aidl
e/AdvertiseData.java
e/AdvertiseSettings.java
e/AdvertisementData.aidl
e/AdvertisementData.java
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
e/ScanCallback.java
e/ScanFilter.java
e/ScanRecord.java
e/ScanSettings.java
b108a6fef183cc856eab4fe03d2840d97f80dcde 09-Jul-2014 Prerepa Viswanadham <dham@google.com> Unhide the Bluetooth(BLE) offload capability apis

Change-Id: Ice3f4f5ff4b8318bf6afe7021b253fe9ea4661d3
luetoothAdapter.java
8f2e74cac282afa0bcf98f5d7131268147d12efe 09-Jul-2014 Prerepa Viswanadham <dham@google.com> OnFound and Onlost callback integration

Change-Id: I23473b18484f041c4dd808c85bb92545a77e20c2
luetoothAdapter.java
luetoothGatt.java
BluetoothGattCallback.aidl
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
e/ScanCallback.java
e/ScanSettings.java
45a0a1a689518df7e2c904b902e28f6d68b76e2a 30-Jun-2014 Andre Eisenbach <eisenbach@google.com> LE: Un-hide new congestion control and MTU APIs

Change-Id: I5ce395481620dd7ab611b1ab0eaeb5e29c4f13fa
luetoothGatt.java
luetoothGattCallback.java
luetoothGattServerCallback.java
8e5270fdf5639461d67e9a898a85520abac6053d 09-Jul-2014 Prerepa Viswanadham <dham@google.com> Tie in BLE hw capabilities with api invocation and support.

Change-Id: Ic1f0b3f156cf2fdde8f04b5c4384e4fd3d79623a
e/AdvertiseCallback.java
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
e/ScanCallback.java
9fb1791e1a6859bfb14006a6d101cdecc88f3f95 02-Jul-2014 Wei Wang <weiwa@google.com> Implement batch scan API

Change-Id: Ibb527280a221fbdd0fc6b805a7527c29079294b4
luetoothAdapter.java
luetoothGatt.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
e/AdvertiseCallback.java
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
e/ScanSettings.java
0c116e1573184f33883bc3722277ecc6560ebca9 02-Jul-2014 Prerepa Viswanadham <dham@google.com> Obtain capabilities from chipset for it's support of various features

Change-Id: I01bdb31136be63e4e46fb4e054c902eddc5647ab
luetoothAdapter.java
Bluetooth.aidl
8949bfb90c415629dbd0e30d25003fb3e0375fb5 16-Aug-2013 Hemant Gupta <hemantg@codeaurora.org> Bluetooth: Support MAP Client role on Bluedroid.

Implementation changes to support MAP client and PBAP client
role on Bluedroid stack.

Change-Id: I1733a67bf5256bd7b181bd5e68e40b476994ebfd
luetoothDevice.java
luetoothMasInstance.java
Bluetooth.aidl
061cfd0049b1f44af9469a3e6db71b6cbc049413 27-Jun-2014 Andre Eisenbach <eisenbach@google.com> LE: Fix GATT server documentation to reflect API updates

Change-Id: I21100dd55a7bf9e85a07742f571d5743bad5ece1
luetoothGattServer.java
177d078d90f9659cfc7f091d1fdeb5712b357123 27-Apr-2014 Mudumba Ananth <ananthm@broadcom.com> Add WBS support on Bluedroid (6/6)

Bug 13764086

Change-Id: I7afbddb02fc247d7799ab0fb264a467c7853cb32
luetoothHeadset.java
BluetoothHeadset.aidl
fad672672429e27de3c487a428264c2a2d48dd0f 27-Jun-2014 Andre Eisenbach <eisenbach@google.com> LE: Hide new congestion constant for now

Change-Id: I86455be16bc3356a1ad24db6d6e6835cb299eb5f
luetoothGatt.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
luetoothAdapter.java
luetoothGatt.java
luetoothGattCallback.java
luetoothGattServer.java
luetoothGattServerCallback.java
BluetoothGattCallback.aidl
BluetoothGattServerCallback.aidl
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
b5f6bf7ad100a38234026187879074903d1eda0c 26-Jun-2014 Paul Jensen <pauljensen@google.com> Merge "Convert BluetoothTetheringDataTracker into a NetworkFactory."
81c884ee525408d07ddf737f0c303d3475a7c44f 20-May-2014 Paul Jensen <pauljensen@google.com> Convert BluetoothTetheringDataTracker into a NetworkFactory.

bug:15407087

Change-Id: I0437ca52dedf73e8ec69ac82e46353f6fafc4a42
luetoothTetheringDataTracker.java
39e7a5456836b9e54bd15965edad725448544fbe 26-Jun-2014 Ang Li <angli@google.com> Merge "Fix comment for sendData."
707fd39f8bac49e216de3bd6f4248ee61d207aec 25-Jun-2014 Ang Li <angli@google.com> Fix comment for sendData.

Merging kwd commit dfb40d5c51411b0d10ec22a9af283f349d8904d7
Change-Id: I5f3c16f3e99dce8bbb0011af3322ce3e6487d6d9
luetoothInputDevice.java
2975c683bc43582a7dcf4e25501649ad3e566707 24-Jun-2014 Mike J. Chen <mjchen@google.com> Fix bug where GATT descriptors weren't being added to right characteristic

When there's more than one characteristic with the same UUID in
a service, the descriptors for the non-zero instanceID characteristics
were being assigned to the zero instanceID one, so descriptor
fetching wouldn't work. This is particularly bad for HID devices
since separate reports would show up as multiple characteristics
with the same UUID but there'd be no way to identify them
without their descriptor attributes.

Change-Id: I92bb4be34aa941dd3c6750874bef2e8a261ded92
Signed-off-by: Mike J. Chen <mjchen@google.com>
luetoothGatt.java
94b59de852df7b6ce16aef73a9b2c11be8f3102d 03-Jun-2014 Mike Lockwood <lockwood@google.com> BluetoothAvrcpController: Move AVRCP controller support to new BluetoothProfile subclass

Change-Id: Id988040a7ce623ed68e0349920301ff48db1fbce
luetoothA2dp.java
luetoothAdapter.java
luetoothAvrcp.java
luetoothAvrcpController.java
luetoothProfile.java
BluetoothA2dp.aidl
BluetoothAvrcpController.aidl
3b76a4b2b62e9539e2629dc569d7e9a934e65dfb 14-Feb-2014 Hemant Gupta <hemantg@codeaurora.org> Add Support for AVRCP Controller Feature

- Provide support for AVRCP Controller CAT 1 and CAT 2
passthrough commands.

Change-Id: Iefbb7fcd6273c49dc8a305b7a25ec6e94c60a5a9
luetoothA2dp.java
BluetoothA2dp.aidl
2263dd1ddd1a8ac828c25d34000c85165cad21ef 14-May-2014 Mike Lockwood <lockwood@google.com> BluetoothA2dpSink: Add new BluetoothProfile subclass for A2DP sink

Change-Id: I09d5cb8fdaea4c4828f333949b7c18deffd22722
luetoothA2dpSink.java
luetoothAdapter.java
luetoothAudioConfig.aidl
luetoothAudioConfig.java
BluetoothA2dpSink.aidl
0b611b5f3bcbe29fd63102f6924b43eb7c6533f5 12-Jun-2014 Mike Lockwood <lockwood@google.com> Add BluetoothHeadsetClientCall.toString method

Change-Id: I8a95fda4f67daa09dfefedffec804c06af53ebe0
luetoothHeadsetClientCall.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
luetoothAdapter.java
luetoothHandsfreeClient.java
luetoothHandsfreeClientCall.aidl
luetoothHandsfreeClientCall.java
luetoothHeadsetClient.java
luetoothHeadsetClientCall.aidl
luetoothHeadsetClientCall.java
luetoothProfile.java
BluetoothHandsfreeClient.aidl
BluetoothHeadsetClient.aidl
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
luetoothAdapter.java
luetoothHandsfreeClient.java
luetoothHandsfreeClientCall.aidl
luetoothHandsfreeClientCall.java
luetoothProfile.java
BluetoothHandsfreeClient.aidl
53fe28b7b64da4452b3c49310ac9a7aec5b44763 12-Jun-2014 Wei Wang <weiwa@google.com> LE: Add oneway attribute to Gatt callbacks

Adding the 'oneway' attribute to the GattService interface definition
prevents applications from blocking callbacks.

Bug: 15489651
Change-Id: Id7fcf7f95539092f03e5773ca318b5472b55cb4d
BluetoothGattCallback.aidl
58a01d6ab12ae3eff8447848d9c0bf19925a896d 06-Jun-2014 Prerepa Viswanadham <dham@google.com> Take out startScanWithUuidScanParam as part of refactoring

Change-Id: Icfb9083571e22c0853fc64ad4d09a20cbf754257
BluetoothGatt.aidl
174928c0aaf020de4514a5c02799299c6e56e4c0 08-May-2014 Jay Civelli <jcivelli@google.com> Adding a method to know if there is a connection to a BluetoothDevice.

Adding a new method to BluetoothDevice that lets callers know whether a remote device is
connected.

Change-Id: I6f7cb99147f3cdad1d676a93183856dbb4083a06
luetoothDevice.java
Bluetooth.aidl
75f5b3a8dd9ecc6aa5caae1f32f085bac79fde8c 30-May-2014 Wei Wang <weiwa@google.com> am 19bdd64c: Merge "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 Advertis

* commit '19bdd64c3b9dd16778575164c13c8af798832f01':
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.
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
luetoothAdapter.java
luetoothLeAdvertiseScanData.aidl
luetoothLeAdvertiseScanData.java
luetoothLeAdvertiser.aidl
luetoothLeAdvertiser.java
luetoothLeScanFilter.aidl
luetoothLeScanFilter.java
luetoothLeScanner.aidl
luetoothLeScanner.java
BluetoothGatt.aidl
e/AdvertiseCallback.java
e/AdvertiseSettings.aidl
e/AdvertiseSettings.java
e/AdvertisementData.aidl
e/AdvertisementData.java
e/BluetoothLeAdvertiser.java
e/BluetoothLeScanner.java
e/ScanCallback.java
e/ScanFilter.aidl
e/ScanFilter.java
e/ScanRecord.java
e/ScanResult.aidl
e/ScanResult.java
e/ScanSettings.aidl
e/ScanSettings.java
0a40ec2192e4836b2fcb6ba51a7688aa6bd4ee98 21-May-2014 Mike Lockwood <lockwood@google.com> Add Audio Manager support for Bluetooth A2DP Sink profile

Change-Id: Iff6035e85faf52647cc41a59f98ba2924300eb8d
luetoothProfile.java
ab39cb7f6ac520d150e7f56c89072d229bd26793 21-May-2014 Wei Wang <weiwa@google.com> Add scan response as an advertising parameter(1/2).

Change-Id: I75c500dd7b5f2609d3092f50ba284a5ec4a41987
luetoothLeAdvertiseScanData.java
luetoothLeAdvertiser.java
BluetoothGatt.aidl
05ee041453618bc42b4faa232eab39da13b058c8 20-May-2014 Wei Wang <weiwa@google.com> Remove a hide tag link.

Change-Id: I6781dcfcaf89c6b00e0641549f946b90e4543218
luetoothLeAdvertiseScanData.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
luetoothAdapter.java
luetoothGatt.java
luetoothLeAdvertiseScanData.aidl
luetoothLeAdvertiseScanData.java
luetoothLeAdvertiser.aidl
luetoothLeAdvertiser.java
luetoothLeScanFilter.aidl
luetoothLeScanFilter.java
luetoothLeScanner.aidl
luetoothLeScanner.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
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
luetoothAdapter.java
luetoothGatt.java
luetoothLeAdvertiseScanData.aidl
luetoothLeAdvertiseScanData.java
luetoothLeAdvertiser.aidl
luetoothLeAdvertiser.java
luetoothLeScanFilter.aidl
luetoothLeScanFilter.java
luetoothLeScanner.aidl
luetoothLeScanner.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
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
luetoothAdapter.java
luetoothGatt.java
luetoothLeAdvertiseScanData.aidl
luetoothLeAdvertiseScanData.java
luetoothLeAdvertiser.aidl
luetoothLeAdvertiser.java
luetoothLeScanFilter.aidl
luetoothLeScanFilter.java
luetoothLeScanner.aidl
luetoothLeScanner.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
51800847d9a9965a5d00a7960abb50983651d4a2 07-May-2014 Wei Wang <weiwa@google.com> Add a method to check whether a UUID is 32bit.

Change-Id: I92e8bab560b2083e9f4855d28b3f54f2120ef628
luetoothUuid.java
a0fc1b37302a82119ebc30262d881c2673b63868 17-May-2014 Joe LaPenna <jlapenna@google.com> am 3e1bbaf7: am 45734b4a: Merge "Log accept and close debug statements in BluetoothSocket." into klp-modular-dev

* commit '3e1bbaf786c12e66624c42c13a58095bc8133117':
Log accept and close debug statements in BluetoothSocket.
63da5bf55e475d61d2005b467404f3b4babeec76 13-May-2014 Prerepa Viswanadham <dham@google.com> Improve name of api.

Change-Id: I4db24db621ab746f5e5efcbaf87b8856cf234e3e
BluetoothGatt.aidl
01c92da4c938b1a37b263d7c452a6f4f2bb4fe76 21-Apr-2014 Prerepa Viswanadham <dham@google.com> set scan parameters in BT stack. Apply the most demanding request
in terms of duty cycle for all outstanding requests.Add api to set scan parameters.

Change-Id: Iee460003d210455ab180367f3518bfb10a6c2539
BluetoothGatt.aidl
f3de98a2d09e2e84c0ca0eb55ab7cf7d943135d1 14-May-2014 Joe LaPenna <jlapenna@google.com> Log accept and close debug statements in BluetoothSocket.

Bug: 14902781
Bug: 14784262

Change-Id: Id0c2cd216244e05c218568427bda863a538b1041
luetoothSocket.java
f9cb86aebe9647e0fe0137fc198ba16c017445c6 09-Apr-2014 Robert Greenwalt <rgreenwalt@google.com> Replace LinkCapabilities with NetworkCapabilities

Also remove unused LinkSocket and LinkSocketNotifier.
bug:13885501

Change-Id: Id426e31b201fa4f29109b5fea485d8efb34519d3
luetoothTetheringDataTracker.java
b88fa824ab6337684de9aa8437c4952df4f1a75e 18-Apr-2014 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Add transport param to Connect APIs

Support for passing preferred transport for GATT connections as part of
Connect APIs

Change-Id: I93938dce519b8fa12de41d7e8690dc9355ce2dc5
luetoothDevice.java
luetoothGatt.java
luetoothGattServer.java
luetoothManager.java
BluetoothGatt.aidl
37fce07bea8cd4a0b6b591d634cd09e225a8d672 03-Apr-2014 Sharvil Nanavati <sharvil@google.com> Tear down PAN if we can't successfully complete a DHCP request
after establishing a PANU connection.

http://b/13731957

Change-Id: I0c808d5196c66783b52942ba7b7212bdce9f1c07
luetoothTetheringDataTracker.java
82500dd86631a08d290929f64824c4fd22f0aa75 15-Apr-2014 Wei Wang <weiwa@google.com> Add parse method to parse UUID from bytes for 16 bit, 32 bit and 128 bit
Bluetooth UUIDs. Added unit tests.

Change-Id: I4ecf0ede02561a5e9815acf8a5a1309d5756b887
luetoothUuid.java
3e8eb40950f4d02322ded64503314b7db2bf9825 08-Apr-2014 Sharvil Nanavati <sharvil@google.com> Make sure BluetoothSocket#connect throws on error.

It sometimes fails silently, resulting in callers using the socket
even though it hasn't been initialized.

http://b/13909270

Change-Id: Ied08982b51d44c3d2dec72785888ea6c6497a664
luetoothSocket.java
a2d8706ca8b277c0a253ec0bd2fc5c7b58efbf89 03-Apr-2014 Ariel Gertzenstein <agertzen@google.com> DO NOT MERGE Tear down PAN if we can't successfully complete a DHCP request
after establishing a PANU connection.

http://b/13731957

Change-Id: I0c808d5196c66783b52942ba7b7212bdce9f1c07
luetoothTetheringDataTracker.java
7e6fe14f0264cef4fa2e0e3bbe5ea26c9a211ec6 10-Apr-2014 Zhihai Xu <zhihaixu@google.com> am 54499194: am 2e8a2d20: Merge "LE: Return false if an attribute read/write is in progress" into klp-modular-dev

* commit '544991946287bdd3a9e6a71855642e378594bf73':
LE: Return false if an attribute read/write is in progress
cc68cc962d1c90aaa0cdf2fffa68810998717517 18-Mar-2014 Andre Eisenbach <andre@broadcom.com> LE: Return false if an attribute read/write is in progress

bug:12109128
Change-Id: I0155fcddc850aba47a1bf3e174d4ee582d50b187
luetoothGatt.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
luetoothAdapter.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
luetoothAdapter.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
luetoothAdapter.java
luetoothGatt.java
luetoothGattCallback.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
466ce96da8ca7ea8c97e716b02a7d55007179aa1 20-Mar-2014 Dianne Hackborn <hackbod@google.com> Get rid of not specifying a user errors in bluetooth.

W/ContextImpl( 1772): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1559 android.content.ContextWrapper.bindService:513 android.bluetooth.BluetoothInputDevice.doBind:262 android.bluetooth.BluetoothInputDevice.<init>:255 android.bluetooth.BluetoothAdapter.getProfileProxy:1365
W/ContextImpl( 1772): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1559 android.content.ContextWrapper.bindService:513 android.bluetooth.BluetoothPan.doBind:148 android.bluetooth.BluetoothPan.<init>:140 android.bluetooth.BluetoothAdapter.getProfileProxy:1368
W/ContextImpl( 1772): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1559 android.content.ContextWrapper.bindService:513 android.bluetooth.BluetoothMap.doBind:108 android.bluetooth.BluetoothMap.<init>:101 android.bluetooth.BluetoothAdapter.getProfileProxy:1374
W/ContextImpl( 1772): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1559 android.content.ContextWrapper.bindService:513 android.bluetooth.BluetoothPbap.doBind:163 android.bluetooth.BluetoothPbap.<init>:156 com.android.settings.bluetooth.PbapServerProfile.<init>:68

Change-Id: I0a1e24ee71aef7d796fcee5692b9d19462a93637
luetoothA2dp.java
luetoothHeadset.java
luetoothHealth.java
luetoothInputDevice.java
luetoothMap.java
luetoothPan.java
luetoothPbap.java
32779536bcd66d45019f4ab80dd0d844e618e16b 20-Mar-2014 Wei Wang <weiwa@google.com> am 13bd8577: am c0384b6b: DO NOT MERGE: Move advetise clean up to callback code. fixes b/13289050 Cherrypick from master to fix b/13289050

* commit '13bd85772f6279d14303ec3a18615613c3722844':
DO NOT MERGE: Move advetise clean up to callback code. fixes b/13289050 Cherrypick from master to fix b/13289050
13bd85772f6279d14303ec3a18615613c3722844 20-Mar-2014 Wei Wang <weiwa@google.com> am c0384b6b: DO NOT MERGE: Move advetise clean up to callback code. fixes b/13289050 Cherrypick from master to fix b/13289050

* commit 'c0384b6b18617cc395814c5b20077955a185e392':
DO NOT MERGE: Move advetise clean up to callback code. fixes b/13289050 Cherrypick from master to fix b/13289050
d10bc171a5abb8ddecd8a4888fa8833986f8d8ee 20-Mar-2014 Wei Wang <weiwa@google.com> am 15a18d07: am da084104: Merge "DO NOT MERGE: Add status callback for start/stop advertising." into klp-dev

* commit '15a18d07acc57d465e9d67bb28010912bb9ad15f':
DO NOT MERGE: Add status callback for start/stop advertising.
15a18d07acc57d465e9d67bb28010912bb9ad15f 20-Mar-2014 Wei Wang <weiwa@google.com> am da084104: Merge "DO NOT MERGE: Add status callback for start/stop advertising." into klp-dev

* commit 'da084104eb768f4472b7988b77a4f2b7e3f170d8':
DO NOT MERGE: Add status callback for start/stop advertising.
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
luetoothAdapter.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
luetoothAdapter.java
luetoothAdvScanData.java
luetoothGatt.java
BluetoothGattCallback.aidl
809476525f5b9449b5b7fc9b0986a815fb7aff22 19-Mar-2014 Wei Wang <weiwa@google.com> Move advetise clean up to callback code. fixes b/13289050

Change-Id: Ibf3c772561125821817c947730cf21defafd4cb2
luetoothAdapter.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
luetoothAdapter.java
luetoothAdvScanData.java
luetoothGatt.java
BluetoothGattCallback.aidl
0ea81eed882d288c9473e377639b0b88280fd044 08-Mar-2014 Wei Wang <weiwa@google.com> am 1327e59f: Merge "DO NOT MERGE BLE peripheral mode (3/4): Add peripheral mode API." into klp-dev

* commit '1327e59f36ceea5a1ee7dc66b311206345353de5':
DO NOT MERGE BLE peripheral mode (3/4): Add peripheral mode API.
8169bc78a1222ff0797ca53fe5fa19c8cf6fc70a 07-Mar-2014 Mike J. Chen <mjchen@google.com> am 5adbea2e: am 784224d2: am b8a7dd63: Merge "Add handshake broadcast support" into klp-modular-dev

* commit '5adbea2e2da3a0af1357de05a04534c65a7c9f76':
Add handshake broadcast support
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
luetoothAdapter.java
luetoothAdvScanData.java
luetoothGatt.java
luetoothGattServer.java
luetoothGattService.java
luetoothUuid.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
8faffa400b6dea9134f9d419196bf18994f3363d 05-Mar-2014 Mike J. Chen <mjchen@google.com> Add handshake broadcast support

Also make a log message verbose only.

Change-Id: I805ca376c0c0c37ec67897e5473a78fc943fdc63
Signed-off-by: Mike J. Chen <mjchen@google.com>
luetoothInputDevice.java
5dadeba229a9e844ef9064b1b0d67756deb7e91e 28-Jan-2014 Mike J. Chen <mjchen@google.com> am 1ece04f3: Merge "BluetoothInputJava: Add broadcast action REPORT" into klp-modular-dev

* commit '1ece04f37fc93983ee058916e9913b6341e6de83':
BluetoothInputJava: Add broadcast action REPORT
d96d5cfffcfb4975c462c0b9feff753fba4f8709 28-Jan-2014 Mike J. Chen <mjchen@google.com> BluetoothInputJava: Add broadcast action REPORT

It's returned by getReport() when callback data is ready.

Change-Id: I751c9e31de3d82a454a62cb8485a230e722b740d
Signed-off-by: Mike J. Chen <mjchen@google.com>
luetoothInputDevice.java
729b12c7a91f9caa65af77197cf6a8814a5a2051 28-Jan-2014 Mike J. Chen <mjchen@google.com> am bfa3f4fd: Merge "BluetoothInputDevice: make REPORT_TYPE values match hal" into klp-modular-dev

* commit 'bfa3f4fd5c30b0d53addc071ecf8e099529f2c77':
BluetoothInputDevice: make REPORT_TYPE values match hal
1b47f7cc1af63b3ae8ec79808dbf6147b73db605 28-Jan-2014 Mike J. Chen <mjchen@google.com> BluetoothInputDevice: make REPORT_TYPE values match hal

So we don't have to do conversion when using getReport/setReport
and can pass the value to the BT HAL directly.

Change-Id: I8d4af72d2e040d43cc9ff8a8cddfbe6cc8cfdb9a
Signed-off-by: Mike J. Chen <mjchen@google.com>
luetoothInputDevice.java
01771021e38f9dedce7910c81fea26a9bf837d9d 20-Jan-2014 Zhihai Xu <zhihaixu@google.com> bluetoothsocket fd leak, need close the file descriptor after detachFd.

Perform ParcelFileDescriptor close after detach to avoid bluetooth
socket leaks in strict mode.

bug:12647433
Change-Id: I22f422547b2fb33b9bf12065dc689ed7785a7269
luetoothSocket.java
9efa3b6c6349c1eede54f7a0af77eb450ae78c76 14-Jan-2014 Zhihai Xu <zhihaixu@google.com> Merge "NPE in BluetoothDevice.fetchUuidsWithSdp"
86b3fa6090e78ff795a9ceaed531f8f549114deb 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

Conflicts:
core/java/android/bluetooth/BluetoothAdapter.java
luetoothAdapter.java
luetoothAdvScanData.java
luetoothGatt.java
luetoothGattServer.java
luetoothGattService.java
luetoothUuid.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
82e95573c7348e3c5f7946b8c8d727f14047ca12 17-Dec-2013 Zhihai Xu <zhihaixu@google.com> NPE in BluetoothSocket.write()

If calling connect succeed, we should not see this NPE.
An IOException may happen after call BluetoothSocket.connect.
If you still call write after the IOException,
you will get this NPE.
add NPE protection for possible wrong calling sequence from application,
To make bluetoothSocket more error-tolerant.

bug:12104154
Change-Id: I7fa4e847b500ca9b9d2a43df432f31a1bb016c0a
luetoothSocket.java
5d04f1c9d9390579c9205d2faf09b954cbcc1aea 14-Jan-2014 Zhihai Xu <zhihaixu@google.com> NPE in BluetoothDevice.fetchUuidsWithSdp

This is caused by access fetchUuidsWithSdp after bluetooth is turned off.
We can add check null pointer for sService,
before call sService.fetchRemoteUuids(this) to fix this problem;

bug:12533948
Change-Id: Id2cab92a56185073fabcabcfb21a243e99a60cee
luetoothDevice.java
2208e652d6881bb8747cb50d87d98a679d7c0e07 04-Jan-2014 Zhihai Xu <zhihaixu@google.com> Merge "NPE in BluetoothSocket.write()"
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
luetoothAdapter.java
luetoothAdvScanData.java
luetoothGatt.java
luetoothGattServer.java
luetoothGattService.java
luetoothUuid.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
610770d7129a33fdca5c23939f9ee0a80d0322f9 17-Dec-2013 Zhihai Xu <zhihaixu@google.com> NPE in BluetoothSocket.write()

If calling connect succeed, we should not see this NPE.
An IOException may happen after call BluetoothSocket.connect.
If you still call write after the IOException,
you will get this NPE.
add NPE protection for possible wrong calling sequence from application,
To make bluetoothSocket more error-tolerant.

bug:12104154
Change-Id: I7fa4e847b500ca9b9d2a43df432f31a1bb016c0a
luetoothSocket.java
e21734755666775deafcf26e8eb9c4388c9e1ed0 13-Dec-2013 Katie McCormick <kmccormick@google.com> am 9c514b8f: am 4561f199: am 08e0142f: am f85470e6: am fbbc1b79: Merge "Doc update: Update package summary for BT." into klp-docs

* commit '9c514b8fe98603072e66cd44744cd1b42e28e678':
Doc update: Update package summary for BT.
f2041ac56e4e7290bf0bb789edb9ddc301e243a1 27-Nov-2013 Katie McCormick <kmccormick@google.com> Doc update: Update package summary for BT.

Fixes:

b/8584860

Change-Id: Ic85436f90b46508e6a182e3fc51365f5bfb8da14
ackage.html
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
luetoothAdapter.java
luetoothDevice.java
luetoothGatt.java
luetoothGattCharacteristic.java
luetoothGattServer.java
luetoothGattServerCallback.java
luetoothHealth.java
luetoothInputDevice.java
luetoothMap.java
luetoothPan.java
luetoothPbap.java
luetoothServerSocket.java
luetoothSocket.java
luetoothTetheringDataTracker.java
3f96fdd861b110c9147df2f930116fbc6b2fc30d 22-Oct-2013 Matthew Xie <mattx@google.com> am 46cfa691: am 9a53fbe4: am ce39e8ce: Merge "Change pairing api/intent permission from PRIVILEGED to ADMIN" into klp-dev

* commit '46cfa691379af957cabecac83ae909ba83f93a8f':
Change pairing api/intent permission from PRIVILEGED to ADMIN
ac2c6c3a16a69053596b350e94fee52ce85eeacf 21-Oct-2013 Matthew Xie <mattx@google.com> Change pairing api/intent permission from PRIVILEGED to ADMIN

The APIs are createBond, setPin, setPairingConfirmation
The intent is ACTION_PAIRING_REQUEST
bug 11101076

Change-Id: I3a314efd973b3ce078ab5347159c336f222d9f15
luetoothDevice.java
98e1797367ca8cd8b8476f6befdb55f81cd13e19 29-Aug-2013 Narayan Kamath <narayan@google.com> Remove captive portal code that has no effect.

Note that this CL does not change any behaviour.

At the center of this change is
CaptivePortalTracker#detectCaptivePortal(), which does nothing
except call back into ConnectivityService. Removing it allows us to
simplify code in ConnectivityService. It also allows us to remove
ConnectivityService#captivePortalCheckComplete which was only ever
called in response to this method.

While this does not change any behaviour, it preserves existing
bad behaviour, i.e, that the CAPTIVE_PORTAL_CHECK NetworkInfo
state does not correspond to actual captive portal detection.
We transition into that state and immediately (and unconditionally)
out of it and into CONNECTED.

Change-Id: Ib3797f956d2db5e3cacaaa53e899d81aa8e958af
luetoothTetheringDataTracker.java
64be26fad743ae1d8b5f8e5c61b2e7db18379f8b 10-Oct-2013 Matthew Xie <mattx@google.com> Merge "Check callback null condition for register/unregsiter state change callback" into klp-dev
9b6939939901cb82bc6fca93aad3810a4936dfc6 10-Oct-2013 Matthew Xie <mattx@google.com> Check callback null condition for register/unregsiter state change callback

Fix BluetoothPan closing sequence for unregsiter state change callback
bug 11160007

Change-Id: I405ec91a938289fe9541de2ebd9abc1fb938f44a
luetoothA2dp.java
luetoothHeadset.java
luetoothHealth.java
luetoothInputDevice.java
luetoothMap.java
luetoothPan.java
luetoothPbap.java
430e361b202ecff8a10a9258948ade99689fe6b1 08-Oct-2013 Edward Jee <edjee@google.com> Makes ACTION_PAIRING_REQUEST require BLUETOOTH_PRIVILEGED.

Bug: 11087521
Change-Id: I99cc584987bf12fe0648b048398b4eb9836e6172
luetoothDevice.java
68c692df5f667dcee42506d3c6459d3dc2e1cdd6 02-Oct-2013 Mike Lockwood <lockwood@google.com> Revert "Allow L2CAP sockets"

This reverts commit 34b0f926135b4697f091b3b39bfca8c70512af6c.
luetoothAdapter.java
luetoothDevice.java
luetoothSocket.java
091fc2ba7a4441b9985dfd9ebe25cb7c99a7324b 24-Sep-2013 Matthew Xie <mattx@google.com> Unhide setPin, setPin, setPairingConfirmation, and relevant intent fields

bug 9987787

Change-Id: Id1c149964137e35703310e2f2893c8830aacddea
luetoothDevice.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
luetoothAdapter.java
luetoothMap.java
luetoothUuid.java
BluetoothMap.aidl
34b0f926135b4697f091b3b39bfca8c70512af6c 10-Aug-2013 Dmitry Grinberg <dmitrygr@google.com> Allow L2CAP sockets

Change-Id: Icb498e6c0430789b6168bec3beb1d4650e4f1238
luetoothAdapter.java
luetoothDevice.java
luetoothSocket.java
02a25a97a24e06768159ddc2b680c253a2ce71c7 04-Sep-2013 Matthew Xie <mattx@google.com> Merge "Block ble adv api based on resource config" into klp-dev
c5470778a4fa8cc22e234fdcfe93fca39de63d36 28-Aug-2013 Matthew Xie <mattx@google.com> Block ble adv api based on resource config

bug 10516911

Change-Id: I7a62103a1116ffbf7c3c934c1794384c0e6fbdd3
luetoothGatt.java
b240578f0333f5b35472cb11d6d7b5bb1da431cc 27-Aug-2013 Ying Wang <wangying@google.com> Fix docs build.

Change-Id: I7bfcfea052de6959230bb361400e760eab35b78c
luetoothHeadset.java
922d41b6ef202eac65991d27c43d74c828256f0d 16-Aug-2013 Edward Jee <edjee@google.com> Enables AT+ANDROID command in Bluetooth HFP.

Adds another vendor-specific command AT+ANDROID in Bluetooth Hands-Free
Profile. And creates an API function that sends an unsolicited result
code +ANDROID .

Bug: 8736189
Change-Id: I4757c410d31b97511c92f66d71035eb929f9fd29
luetoothAssignedNumbers.java
luetoothHeadset.java
BluetoothHeadset.aidl
e2a6d3df1257c1c04b1a14777bb7ee65f634bdc3 22-Aug-2013 Vinit Deshapnde <vinitd@google.com> Merge "Introduce network link quality statistics" into klp-dev
1f12cb52a494a3eaefc62d03a8d2fdf47a5535e9 21-Aug-2013 Vinit Deshapnde <vinitd@google.com> Introduce network link quality statistics

This change starts tracking traffic quality data for WiFi and mobile
networks. The quality is tracked based on incidental traffic, and not
on specific measurements. Theoretical bandwidths are hard-coded, as
well as sampling interval; although sampling interval can be changed
by setting a system policy.

Bugs filed to remove shortcomings of this change -

10342372 Change LinkInfo name to something better
10342318 Move hardcoded values of MobileLinkInfo to resources
so they can be updated without changing code

Bug: 10006249

Change-Id: I83d8c7594da20fe53abbd5e1f909b1f606b035bb
luetoothTetheringDataTracker.java
b7b7d7a05c164a56dd4155de4e84fc25ba706728 20-Aug-2013 John Du <johnldu@google.com> Update comments

bug 10152994

Change-Id: I05bbd917ebd0d140e0894f8bf7e43d0fc77378c8
luetoothGatt.java
48f8b5dbf6d387002abee1ec0da73446d2aab0df 19-Aug-2013 John Du <johnldu@google.com> Change abortReliableWrite(BluetoothDevice) to abortReliableWrite()

BluetoothGatt.abortReliableWrite() should not take a BluetoothDevice
parameter. Instead, it should use mDevice instance variable.
bug 10152994

Change-Id: I7fc79b9011cf878414128cc9f1696e5ccc597056
luetoothGatt.java
5a0cf7a27f3953a1266af48543ccd9024f4cd89f 19-Jul-2013 John Du <johnldu@google.com> Adding support for Absolute Volume

Change-Id: I7bbc6f9296221ca219a50a5e377ebac9dcf5a407
luetoothA2dp.java
BluetoothA2dp.aidl
c60bed487e8bfa98702104cfb8d1287dbc2e82f3 08-Mar-2013 Andre Eisenbach <andre@broadcom.com> LE: Add support for the HID-over-GATT profile (2/3)

bug:8330048
Change-Id: I600563d81dec1638dc35e31e19f61d6c04f09ae8
luetoothUuid.java
a5c81e8636c4b7bc68713f1b2988026b275ae329 14-Aug-2013 Matthew Xie <mattx@google.com> Merge "LE: Add peripheral role support (1/4)" into klp-dev
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
luetoothAdapter.java
luetoothGatt.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
08c34c326fb0344221463e88c73f8db1e58ac026 14-Aug-2013 Matthew Xie <mattx@google.com> Merge "LE: Add instance ID to descriptors (1/4)" into klp-dev
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
luetoothAdapter.java
luetoothGatt.java
luetoothGattCharacteristic.java
luetoothGattDescriptor.java
luetoothGattService.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
fe3807a5b23f54f6539436d71aa0cd931a2b76f0 19-Jul-2013 Matthew Xie <mattx@google.com> Bluetooth MAP profile - sms and mms support initial check-in

bug:10116530

Change-Id: I57d022005bcff5bc3e56438a81ac92566f957744
luetoothDevice.java
luetoothMap.java
luetoothProfile.java
luetoothUuid.java
BluetoothMap.aidl
89d16f7597d9e03bf3cf9eb1ba91b590ab1ac892 09-Aug-2013 Wink Saville <wink@google.com> am 9b7b4450: am 02eab434: am 4d87d91d: Merge "If in a mobile captive portal is detected enable fail fast." into jb-mr2-dev

* commit '9b7b4450185e723dc7021f7e8bae4a12d4dd5606':
If in a mobile captive portal is detected enable fail fast.
d747cbc898ef44e59c3fbf74a8327b6a12aad397 08-Aug-2013 Wink Saville <wink@google.com> If in a mobile captive portal is detected enable fail fast.

When captive portal checking completes pass back the result.
This is used to enable/disable failing fast for mobile. When
failing fast is enabled we don't check for data stalls and thus
won't be continually trying to do recovery operations, such as
restarting the radio.

Bug: 9462512
Change-Id: I0dea0eee519f8ee7f94e79d40e82c18f30d7fe2e
luetoothTetheringDataTracker.java
221ea892dcc661bd07d6f36ff012edca2c48aed4 05-Aug-2013 Dianne Hackborn <hackbod@google.com> Start restricting service calls with implicit intents.

The bindService() and startService() calls have always had
undefined behavior when used with an implicit Intent and there
are multiple matching services. Because of this, it is not
safe for applications to use such Intents when interacting with
services, yet the platform would merrily go about doing... something.

In KLP I want to cause this case to be invalid, resulting in
an exception thrown back to the app. Unfortunately there are
lots of (scary) things relying on this behavior, so we can't
immediately turn it into an exception, even one qualified by the
caller's target SDK version.

In this change, we start loggin a WTF when such a call happens,
and clean up some stuff in Bluetooth that was doing this behavior.

Change-Id: I62e25d07890588d2362104e20b054aebb6c0e007
luetoothA2dp.java
luetoothHeadset.java
luetoothHealth.java
luetoothInputDevice.java
luetoothPan.java
luetoothPbap.java
876d100f0234dd111d84abdec8187e6834ee7573 26-Jul-2013 Zhihai Xu <zhihaixu@google.com> Merge "Add debug menu to enable btsnoop"
560a523159c3320d8838d6ec1a2503f91bc7cad5 26-Jul-2013 Zhihai Xu <zhihaixu@google.com> Revert "Bluetooth stopped working in master - "bad file descriptor""

This reverts commit df3cedab6fce59ce1dde4316bf63df7f7e488e23.

Change-Id: I9ffaf5580924c150145d37ec38ffde602199b7e2
luetoothSocket.java
df3cedab6fce59ce1dde4316bf63df7f7e488e23 25-Jul-2013 Zhihai Xu <zhihaixu@google.com> Bluetooth stopped working in master - "bad file descriptor"

ignore IllegalArgumentException in BluetoothSocket.close().

bug: 9960585
Change-Id: I301aa388b738dcb92b643fdd96b5c9cb6f8b3efe
luetoothSocket.java
00c5620acf92d0755f897ea8e76e810b658ac5a7 22-Jun-2013 kmccormick <kmccormick@google.com> am 30c8973f: am 75c59fb9: am dc22fa92: Merge "Doc change: new Bluetooth LE doc" into jb-mr2-dev

* commit '30c8973f66ad035a1734c8e53173b58ac1fbd32d':
Doc change: new Bluetooth LE doc
f14ff1c9ce37299c2fcef258a854acf79c026ccf 06-Jun-2013 kmccormick <kmccormick@google.com> Doc change: new Bluetooth LE doc

Change-Id: Ib6d67497a9b4d54d13b4da8f1f9ee991bc5ef562
ackage.html
af5971ef27557f02f93b399c92d7e67106d825fe 11-Jun-2013 Zhihai Xu <zhihaixu@google.com> Add debug menu to enable btsnoop

bug: 8059358
Change-Id: I2d5f13e68defefb92e0b11b749fe77ad67215f36
luetoothAdapter.java
Bluetooth.aidl
fea17de7aaa5729d3111102b2734b158403d2780 11-Jun-2013 Jeff Sharkey <jsharkey@android.com> Explicit locale when formatting machine strings.

Bug: 9390451
Change-Id: I3581c53407554a1dffd541fb42b06d68f20a7be0
luetoothAdapter.java
luetoothSocket.java
703ea1862e78956c3cd43f42770dccc31a8ebd96 31-May-2013 Matthew Xie <mattx@google.com> am 0fdb05a7: am b190890a: Merge "Update javadoc to give app write better guidence" into jb-mr2-dev

* commit '0fdb05a770ce3ea0bd7f6ee9bae2283a38284607':
Update javadoc to give app write better guidence
b190890a94dc2f0bd11da09f59550f86197f010a 30-May-2013 Matthew Xie <mattx@google.com> Merge "Update javadoc to give app write better guidence" into jb-mr2-dev
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
luetoothAdapter.java
luetoothDevice.java
luetoothGatt.java
luetoothGattCallback.java
luetoothGattServer.java
16a90db8d740b95cd4bdeff631464f58c9ed3da6 29-May-2013 Matthew Xie <mattx@google.com> am 897d98a7: am 6ea0636a: Merge "Revert "Revert "Change GATT_FAILURE from 0 to 0x101""" into jb-mr2-dev

* commit '897d98a7530109bff8d73b3651d8884c76f54c42':
Revert "Revert "Change GATT_FAILURE from 0 to 0x101""
90ca807f7b2037499112d1c49c4b0793cc780540 28-May-2013 Matthew Xie <mattx@google.com> Revert "Revert "Change GATT_FAILURE from 0 to 0x101""

This reverts commit d21f674c150aa26c8094d1418108649f53f810e6
bug 9109238
Change-Id: Ie1fc3d7420e6c401d3db29499d8846e6b70a61bb
luetoothGatt.java
67cc127186eba0c1006e75807bb3daaf438c0374 28-May-2013 Matthew Xie <mattx@google.com> am e7e6bf9f: am 27e45361: Merge "Revert "Change GATT_FAILURE from 0 to 0x101"" into jb-mr2-dev

* commit 'e7e6bf9f02a0a74f0a8d3812d2a3a3f3ec855086':
Revert "Change GATT_FAILURE from 0 to 0x101"
d78afea78dfaf2063ee38e3dce19a41189cefd55 28-May-2013 Matthew Xie <mattx@google.com> am 84e1afcc: am 413f6293: Merge "Change GATT_FAILURE from 0 to 0x101" into jb-mr2-dev

* commit '84e1afcccc328e7a52bfde16e824a3ed37889d1d':
Change GATT_FAILURE from 0 to 0x101
d21f674c150aa26c8094d1418108649f53f810e6 26-May-2013 Matthew Xie <mattx@google.com> Revert "Change GATT_FAILURE from 0 to 0x101"

This reverts commit 8310e6196ffeb6d0dce33fc1a528113b04f304d6

Change-Id: I467f7cfc8626b0fc54509a89158cd2d84a0c10b8
luetoothGatt.java
8310e6196ffeb6d0dce33fc1a528113b04f304d6 24-May-2013 Matthew Xie <mattx@google.com> Change GATT_FAILURE from 0 to 0x101

GATT_FAILURE 0 clashes with GATT_SUCCESS. For now, they represent different
kind of faiure. One for Gatt operation, one for Gatt registration. But we
should separate them as good practice.
bug 9109238

Change-Id: I686bb6004bc8831aa3e3bbffe2f7c8e24412e3c3
luetoothGatt.java
69925b149fb6a1e22839dd5f81b6bdc23a4d0125 06-May-2013 Ravi Nagarajan <nravi@broadcom.com> Remove roamChanged API

Roam state listerner will be handled inside the Bluetooth apk. Remove
the binder API from wrapper class
bug 8781689

Change-Id: I31c2b899069774620b1406faeb3c68ad1e60b599
luetoothHeadset.java
BluetoothHeadset.aidl
24dc818055b607e07bbb471457a87236af9c8960 13-May-2013 Mike Lockwood <lockwood@google.com> Merge "BluetoothGatt: Print stack trace if an exception occurs in a callback"
0998ff13498ed004956d1de428eb0c4dcd33c1fb 13-May-2013 Mike Lockwood <lockwood@google.com> BluetoothGatt: Print stack trace if an exception occurs in a callback

Change-Id: Iaaaaca8347197aae5c7fcecb2325ef4836969434
luetoothGatt.java
luetoothGattServer.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
luetoothAdapter.java
luetoothDevice.java
7f3c5d164fd34e77b783e8c09b65645a1b143f6a 26-Apr-2013 Matthew Xie <mattx@google.com> Merge "Added flush() for bluetooth output stream" into jb-mr2-dev
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
luetoothAdapter.java
71bfafc84af4b820748b12e1a1010b0dfa7bdea6 17-Apr-2013 zzy <zhenye@broadcom.com> Added flush() for bluetooth output stream

Bug 8498784

Zebra QL420 Plus Bluetooth printer fails on Android 4.2.2
luetoothOutputStream.java
luetoothSocket.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
luetoothAdapter.java
luetoothAdapterCallback.java
luetoothManager.java
3b64f38a167dd755977b01a339cb7724e05efbea 05-Apr-2013 Andre Eisenbach <andre@broadcom.com> Make BluetoothGattServer.close() public

This functino is needed for applications to un-register from the
Bluetooth stack.
bug 8591003

Change-Id: Id05f592245d1d90791d34c3617aadac67bc6502c
luetoothGattServer.java
26cd4d658f5c4e99c31107cef78698c818e54577 04-Apr-2013 Matthew Xie <mattx@google.com> Merge "Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt" into jb-mr2-dev
33ec9840c70ddc7cd008ecf2660c441defc5f302 03-Apr-2013 Matthew Xie <mattx@google.com> Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt

Change name of BluetoothDevice#connectGattServer to BluetoothDevice#connectGatt
Add BluetoothGatt#getDevice to retrieve device from BluetoothGatt
Add BluetoothGatt#connect() to reconnect back to the server.
Make BluetoothGatt#close() public to clean up/unregister callback
Add BluetoothDevice.getType() to return int of
bug 8529188

Change-Id: Iebd9ac68cc7a64c43972e617dd3068f66c8ea0b2
luetoothDevice.java
luetoothGatt.java
luetoothGattCallback.java
luetoothGattCharacteristic.java
luetoothGattDescriptor.java
luetoothGattService.java
Bluetooth.aidl
6f0ed128e46d723c82a2be1d5a45beaf302a2cb1 03-Apr-2013 Andre Eisenbach <andre@broadcom.com> Fix minor LE descriptor permissions issue

Change-Id: Idded482a08f17a1373adf3e3a51709ff585d4f24
luetoothGattServer.java
84e594f7dbe6108a2c6c57d5d9d941d0b0563b4b 29-Mar-2013 Matthew Xie <mattx@google.com> Merge "Unhide Bluetooth Low Energy public APIs" into jb-mr2-dev
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
luetoothAdapter.java
luetoothAdapterCallback.java
luetoothDevice.java
luetoothGatt.java
luetoothGattCallback.java
luetoothGattCharacteristic.java
luetoothGattDescriptor.java
luetoothGattServer.java
luetoothGattServerCallback.java
luetoothGattService.java
luetoothManager.java
luetoothProfile.java
BluetoothManager.aidl
utableBluetoothGattCharacteristic.java
utableBluetoothGattDescriptor.java
utableBluetoothGattService.java
94eaab4a5ddd6db4bcbc8a1e65a4d8e60d1d1274 28-Mar-2013 Elliott Hughes <enh@google.com> am 3ae30483: am a19647d3: Merge "Correct executable bit for source files [Take 2]"

* commit '3ae30483777708ff3a4f59a4fa75c6a76213cc30':
Correct executable bit for source files [Take 2]
665e1aed5e99af1e66af56c0d73e32fd86f57273 22-Aug-2012 Robert Greenwalt <rgreenwalt@google.com> Add BT - DataTracker connection

Allows the external BT stack the means to communicate with
ConnectivityService during reverse tethering.

bug:8445208
Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c
luetoothTetheringDataTracker.java
3e4a3ea2ff03a6a1f1f7a2bebac9a86fe6555754 27-Mar-2013 Chirayu Desai <cdesai@cyanogenmod.org> Correct executable bit for source files [Take 2]

Change Ieb51bafb46c895a21d2e83696f5a901ba752b2c5 left out some
files, this fixes them.

Change-Id: Ia949a8581668836ea0251602e048f09c852f5169
luetoothA2dp.java
luetoothAdapter.java
luetoothDevice.java
luetoothHeadset.java
luetoothInputDevice.java
luetoothPbap.java
luetoothProfile.java
BluetoothInputDevice.aidl
BluetoothManager.aidl
69edd64d9bf839428ce0a7723cd0f1deda98dc0d 07-Mar-2013 Lorenzo Colitti <lorenzo@google.com> Add stacking to the NetworkStateTrackers.

Bug: 8276725
Change-Id: I55a107fea78f9cc84f15bd6c75292138fb35a1b6
luetoothTetheringDataTracker.java
3f36660a60ce065b71f6d5eb24911012b6d66fdd 09-Mar-2013 Andre Eisenbach <andre@broadcom.com> Fixed 32 bit characteristic value assignment

Also fixed link in comment.

Change-Id: I27223b8aadae2fc7c8037abc6396760e23f6f161
luetoothGattCharacteristic.java
luetoothGattServer.java
41cf8f354fbc6beefb11cc54d8c8801b58fa1056 28-Feb-2013 Stephen Hines <srhines@google.com> Fix docs bug.

Change-Id: I8c69963b339d703757bf1cd8f43161175783566d
luetoothAdapter.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
luetoothAdapter.java
luetoothGatt.java
luetoothGattCallback.java
luetoothGattCharacteristic.java
luetoothGattDescriptor.java
luetoothGattServer.java
luetoothGattServerCallback.java
luetoothGattService.java
luetoothProfile.java
BluetoothGatt.aidl
BluetoothGattCallback.aidl
BluetoothGattServerCallback.aidl
utableBluetoothGattCharacteristic.java
utableBluetoothGattDescriptor.java
utableBluetoothGattService.java
90bd55f179ce1c1e77775f69a03299f43699e7c1 03-Dec-2012 Matthew Xie <mattx@google.com> am 3b5c4382: am b8e80eb5: am 4fd38e8d: Merge "Clean up debug messages" into jb-mr1.1-dev

* commit '3b5c43825eaf8096c01eac77e03a8aac8e9fab4a':
Clean up debug messages
d77982ef29b2d3b5de42846ba308fc9f880938a2 30-Nov-2012 Matthew Xie <mattx@google.com> Clean up debug messages

bug 7626174

Change-Id: I65cdcaf2c48a78468b6cef0b8591289435068b24
luetoothAdapter.java
luetoothSocket.java
0a3b9017ed42e342afad0ce140e5d9e4acbfe947 29-Nov-2012 zzy <zhenye@broadcom.com> am de95a276: am 3fe63ce4: am 652678af: timeout support for accept() and added check for signal size

* commit 'de95a276e7caf3b9918c21a4f43f91c7c25b3a6b':
timeout support for accept() and added check for signal size
652678af4d18b9a6c18ce6a860de01d958bc82fe 22-Nov-2012 zzy <zhenye@broadcom.com> timeout support for accept() and added check for signal size

bug 7592240

Change-Id: Ide1868da669c190cdfed90f7af3f739ec9da690b
luetoothSocket.java
4717c261b2c670d5c0925e3527a864aa52db6ac0 31-Oct-2012 Robert Greenwalt <rgreenwalt@google.com> Remove DhcpInfoInternal

First step in accepting a set of patches.
bug:6799630

Change-Id: I6c894c60aeb3022960c2aaa45451bb1dde2b493b
luetoothTetheringDataTracker.java
fa0fd39a4bf296d254aa398c1b19ec960efa641d 24-Oct-2012 Zhihai Xu <zhihaixu@google.com> License of files Bluetooth package is not updated to ASL2

bug 7385618

Change-Id: I6232f537f4fda979d3aabe3a059c11d3299de9b8
luetoothSocket.java
BluetoothHeadsetPhone.aidl
BluetoothHealth.aidl
BluetoothInputDevice.aidl
BluetoothManager.aidl
BluetoothManagerCallback.aidl
BluetoothPan.aidl
b49a89635906e0901637a4a4c1c2f5bb263b6595 11-Oct-2012 zzy <zhenye@broadcom.com> Add serial port profile support and allow to connect to rfcomm channel without sdp discovery

bug 7272974

Change-Id: Idc10edc056b48da2fd96bea84eba3fb73b97bab1
luetoothSocket.java
563e414784eb81e4ea4051667d5c8855b17f7534 10-Oct-2012 Matthew Xie <mattx@google.com> Reduce android.bluetooth package debug messages

bug 7174712

Change-Id: I8d3fdc8edbe42068b5a550660d7b24854c3c4af4
luetoothA2dp.java
luetoothHeadset.java
luetoothHealth.java
luetoothInputDevice.java
luetoothPan.java
luetoothPbap.java
luetoothSocket.java
luetoothTetheringDataTracker.java
9e3045c75c80d859dd16087e69f5bfbe15ca8bf4 30-Aug-2012 Matthew Xie <mattx@google.com> Merge "Turn off verbose debug message in BluetoothAdapter Change-Id: I30245ab911b5428f7af38f195b941db02d36b18f" into jb-mr1-dev
3b6214f373b693323a474325662242415090f7f7 29-Aug-2012 Matthew Xie <mattx@google.com> Turn off verbose debug message in BluetoothAdapter
Change-Id: I30245ab911b5428f7af38f195b941db02d36b18f
luetoothAdapter.java
da6da0907b28d4704aabbdb1bbeb4300954670d1 16-Aug-2012 Irfan Sheriff <isheriff@google.com> Captive portal handling

We now notify the user of a captive portal before switching to the network as default.
This allows background applications to continue to work until the user confirms he
wants to sign in to the captive portal.

Also, moved out captive portal handling out of wifi as a seperate component.

Change-Id: I7c7507481967e33a1afad0b4961688bd192f0d31
luetoothTetheringDataTracker.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
luetoothAdapter.java
BluetoothManager.aidl
6f6c54519a9b15379bb79e195655b6bd4fc5967a 01-Aug-2012 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Auto connection/disconnection related changes

Remove ACTION_CONNECT_OTHER_PROFILES as it is no longer used
Allow only PRIORITY_ON and PRIORTY_OFF as priority params for SetPriority()
API in BluetoothA2DP and BluetoothHeadset
BluetoothPBAP: Pass on proxy object as part of Service Connected callback

Change-Id: Ida00fc2b7d1dcb91b01f7ddd2cea482367a3b334
luetoothA2dp.java
luetoothHeadset.java
luetoothPbap.java
luetoothProfile.java
10d7e8afb2297b24ad3bbccd0f5f3ded5e79fe12 03-Aug-2012 Martijn Coenen <maco@google.com> Bluetooth: fix enableNoAutoConnect() call.

For now, just do a regular connect.

Change-Id: Ibc43098d45c82177298cb17d72a32c7904924021
luetoothAdapter.java
82e57fe1741e225a65bc69004ae12cbbdfae5737 29-Jun-2012 Ravi Nagarajan <nravi@broadcom.com> Reset priority on unbond

Change-Id: I8232c666bde26235ad527c96e5218fc1b3e7a1db
luetoothA2dp.java
luetoothHeadset.java
c61eb2617df72f1e58d23e4c27897efedcfc0a09 25-Jun-2012 Swaminatha Balaji <swbalaji@broadcom.com> Fix for When Hf is rejected the device should initiate A2dp if a2dp is enabled

Change-Id: I82d05eacb6c7fae6eb1ebf246d2fce7314ff0a75
luetoothProfile.java
305f240dc12325af4fa267e7c4f52c680bb05280 19-Jun-2012 Syed Ibrahim M <syedibra@broadcom.com> handle NullPointerException in cases where a proxy
call to AdapterService is called after Adapter
Service is stopped.

Change-Id: I009787f03f9a013b9b06fcb7e3f6241c850f8cd2
luetoothDevice.java
a8c6df0d3a6b929cac3e59abde8309e8a45ea78a 11-Jul-2012 Fred <fredc@broadcom.com> Removed startService() call from BluetoothManagerService.

BT enable()/disable() are handled by using the binder interface

Change-Id: I0bb8d4984129706e424320241ca3ea7e12caf0d3

Conflicts:

core/java/android/bluetooth/IBluetooth.aidl
Bluetooth.aidl
9631314e3d28b6e96ef0b7cc777f1a7747a0ac39 30-Jun-2012 Matthew Xie <mattx@google.com> Fix merge error, put in tmp workaround for input manager.

Fix merge error, missing enableNoAutoConnect api.
Remove bluetoothF from inputManageF.systemReady call as tmp workaround.
Recover shutdownRadios(MAX_RADIO_WAIT_TIME) call in ShutdownThread

Change-Id: Ice2b5c54267755bdbf56c742feabbb8709b92570
Bluetooth.aidl
bf072a712f584ae1c01022835b0de21c40513d06 10-May-2012 fredc <fredc@broadcom.com> Moved BluetoothAdapter.ACTION_STATE_CHANGED broadcast from AdapterService to BluetoothManagerService

Change-Id: I88e5f3fe050cf11eae9c5cf1b7c393a178b8f9b1
luetoothAdapter.java
Bluetooth.aidl
BluetoothCallback.aidl
20738945d482d9e313cd8b48c1bd83b6278934c7 27-Apr-2012 Swaminatha Balaji <swbalaji@broadcom.com> Auto connect hf/a2dp

Change-Id: I7c1fb4e2614f65e6810f195814dcf0cad88aee21
luetoothA2dp.java
luetoothHeadset.java
7329e70841ff1ab78e0a9e2042aee1f10102eaf4 27-Apr-2012 zzy <zhenye@broadcom.com> Added code to tear down dhcp thread when tethering is off
luetoothTetheringDataTracker.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
luetoothAdapter.java
luetoothSocket.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
luetoothAdapter.java
luetoothDevice.java
luetoothPan.java
luetoothSocket.java
7077272d8feed2f0172520d4fd3b4524e18d5ec1 23-Apr-2012 Ravi Nagarajan <nravi@broadcom.com> Disable debug logs in BluetoothDevice, that was turned on accidentally Change-Id: I8a0a3f5775c2b9f5a928e4840851e687f25b57ab
luetoothDevice.java
116d1d4696ac8e300c83dd8a95e20e67717ef520 20-Apr-2012 fredc <fredc@broadcom.com> Fixed issue with getting Bluetooth adapter's name and airplane mode

Change-Id: I18b632223574aa41b09ba30de8e35417fad86cbe
luetoothAdapter.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
luetoothAdapter.java
a097f51e5fde9d00ebe99f4e1915cc6d4cd078ad 16-Apr-2012 Kausik Sinnaswamy <kausik@broadcom.com> BT enable adapter API should return TRUE or FALSE.

Change-Id: Iaef14c51d3407b69505c55a0bbdaf902213402cf
luetoothAdapter.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
luetoothA2dp.java
luetoothAdapter.java
luetoothDevice.java
luetoothHeadset.java
luetoothHealth.java
luetoothInputDevice.java
luetoothPan.java
luetoothSocket.java
luetoothTetheringDataTracker.java
BluetoothManager.aidl
BluetoothManagerCallback.aidl
BluetoothPan.aidl
919a4c6264b733585152ce1dc6f868c1093d368b 13-Apr-2012 Ravi Nagarajan <nravi@broadcom.com> Handle cancel bond for both legacy and ssp pairing

Change-Id: I7a6db3cd7b5b8e72dca988e753dcba9a8df614c8
luetoothDevice.java
349e62f329bbb8edab89356973773a5648f26751 09-Apr-2012 Priti Aghera <paghera@broadcom.com> HID-PTS: Included apis' for pts tests

Change-Id: I7dc0a893ee86a2560c351a565bd170517f6c6079
luetoothInputDevice.java
BluetoothInputDevice.aidl
4c9cacadcc7ab20e06763746bbb41d0acdc106b5 06-Apr-2012 fredc <fredc@broadcom.com> Added support to get a remote device's service UUIDs

Change-Id: I9aa47ac2bb7377aca268e95fec31c518358b3065
luetoothDevice.java
Bluetooth.aidl
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
luetoothAdapter.java
3b147b770269173d5d711d6c33f142dc5e723824 04-Apr-2012 zzy <zhenye@broadcom.com> Added new rfcomm multi accept code
luetoothAdapter.java
luetoothServerSocket.java
luetoothSocket.java
Bluetooth.aidl
13450df2b9264ef2220418f308037c19cec739a9 23-Mar-2012 Matthew Xie <mattx@google.com> Initial Health Profile implementation

Change-Id: I22f35073ceb131d84df6b233d1b63d20fa1b4451
luetoothHeadset.java
luetoothHealth.java
Bluetooth.aidl
BluetoothHealth.aidl
bf246ef0abb6ea354fe412b139dec1adb4e5791d 22-Mar-2012 Matthew Xie <mattx@google.com> Initial implementation of HID, add IBluetoothInputDevice idl

Change-Id: Iadc79a425b4b6e12329d86dd2ac0782adcb0174d
luetoothHeadset.java
luetoothInputDevice.java
BluetoothInputDevice.aidl
db44b20fe6aed65d5cd7e1f6d7c52e4322083039 13-Mar-2012 Priti Aghera <paghera@broadcom.com> Added support to cancel pairing from UI while doing SSP.
The new code sends SSPReply with one of the arguments as false.
Signed-off-by: Priti Aghera <paghera@broadcom.com>
luetoothDevice.java
14b330d3a683eb0cd28e08ef9ebf02f1688fc3d3 09-Mar-2012 Matthew Xie <mattx@google.com> add queryPhoneState in IBluetoothHeadsetPhone

Change-Id: I10a9237518f04c1453d09f9a10b6ce0e6107056a
BluetoothHeadsetPhone.aidl
3e8c82edb1feafc796aa52efafedc13f794c4dcd 17-Feb-2012 Matthew Xie <mattx@google.com> Framework changes for HFP and A2DP profile implementation of the new stack.
Add IBluetoothHeadsetPhone.aidl for a small service in Phone to get
phone state changes

Change-Id: I1015e4a69720c4e9cd18ae4236ccd0dbff2e1b2c
luetoothA2dp.java
luetoothHeadset.java
BluetoothA2dp.aidl
BluetoothHeadset.aidl
BluetoothHeadsetPhone.aidl
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
luetoothAdapter.java
Bluetooth.aidl
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
luetoothAdapter.java
luetoothAudioGateway.java
luetoothDevice.java
luetoothHealth.java
luetoothInputDevice.java
luetoothPan.java
luetoothSocket.java
Bluetooth.aidl
313a2167098ce8498db3a50d70724f260e8169c0 18-Jan-2012 Jaikumar Ganesh <jaikumar@google.com> Delete various Bluetooth files for stack integration.
tCommandHandler.java
tCommandResult.java
tParser.java
luetoothA2dp.java
luetoothDeviceProfileState.java
luetoothProfileState.java
eadsetBase.java
adba6ffbb949e3644f0effdaffee349b0b49688a 22-Jun-2012 Scott Main <smain@google.com> am 101a120c: am 9be0105f: docs: fix several links

* commit '101a120c27f68fb7d44e6221244cb9441dfc4285':
docs: fix several links
9be0105fbc56eb1b1813bb7c5fe258a144867a43 22-Jun-2012 Scott Main <smain@google.com> docs: fix several links

Change-Id: I89d9fd64dc22c90680bb05415cc966c255165af9
ackage.html
bbf30dfd767f823f5f40d14b498e2a593454c5c9 29-May-2012 Wink Saville <wink@google.com> Enhance StateMachine Quitting and logging support.

Make StateMachine#quit non-conditional and remove the need to
process the SM_QUIT_CMD it is now private.

Rename halting to onHalting.

Add onQuitting

Change the message specific logging to be more generic and change
the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add
addLogRec(String) and addLogRec(String, State) as the generic logging
methods.


bug: 5678189
Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7
luetoothDeviceProfileState.java
7a5351078726e6e15b1b30b81cedc7d5950643d3 07-May-2012 Jason Simmons <jsimmons@google.com> am 1903a732: Merge "Avoid calling BluetoothSocket.destroyNative twice" into ics-aah

* commit '1903a73248af260f4cbb5a9c65664f22c7f51c41':
Avoid calling BluetoothSocket.destroyNative twice
34b2feb041e263e11bbcec1f2a5094e21be9dc13 04-May-2012 Jason Simmons <jsimmons@google.com> Avoid calling BluetoothSocket.destroyNative twice

If the destroyNative JNI method is called twice, it will attempt to free
the socketData twice, and the second free will cause an assertion failure.

To avoid this, check whether mSocketState has already been set to CLOSED
while holding the write lock. If it has, then destroyNative has already
been called and should not be called again.

Bug: 3096033
Change-Id: Ic7c0bbf21823d389b26919da8c533d8ac4d49064
luetoothSocket.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
luetoothAdapter.java
Bluetooth.aidl
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
luetoothDevice.java
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 09-Mar-2012 Ken Wakasa <kwakasa@google.com> Fix obvious typos under frameworks/base/core

Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
tCommandResult.java
luetoothDevice.java
luetoothPbap.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
luetoothAdapter.java
luetoothDevice.java
luetoothServerSocket.java
luetoothSocket.java
ackage.html
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
luetoothAdapter.java
9bb275197df8eb999eab4cdd0a2aff83c2bb2ef6 28-Nov-2011 Jaikumar Ganesh <jaikumar@google.com> Cleanup references when turning BT off.

Bug: 5572649
Change-Id: I62f9e0620832b69995d5c6e1c24634c9a3895a4b
luetoothA2dp.java
luetoothAdapter.java
luetoothDeviceProfileState.java
luetoothHeadset.java
luetoothHealth.java
luetoothInputDevice.java
luetoothPan.java
luetoothPbap.java
2b9af44e401d884469869a4ac0933bfa727d3135 17-Nov-2011 Matthew Xie <mattx@google.com> am 6da97a24: Merge "Check the bluetooth state for getUuid call" into ics-mr0

* commit '6da97a24e329851888890d4e380066037d08bcd7':
Check the bluetooth state for getUuid call
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
luetoothAdapter.java
98f06da8ed2851a768358de1979838ad1bb6d187 10-Nov-2011 Matthew Xie <mattx@google.com> Send CONNECT_OTHER_PROFILE to Device profile for hfp and a2dp incoming connect

Send CONNECT_OTHER_PROFILE to Device profile for low priority hfp and a2dp
incoming connect. In the case when HFP autoconnect is off but a2dp autoconnect
is on, if HF autoconnect to HFP, phone will reject HFP but connect a2dp.
Before this fix, phone reject HFP. A2dp will not get connected unless the HF do
media auto-connect, which most carkits do not do.
Also do similar change for incoming a2dp connection
bug 5091838

Change-Id: Ife1815f527bcd94e0d9ffc645028484fa9c49a43
luetoothDeviceProfileState.java
Bluetooth.aidl
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
luetoothDevice.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.
luetoothDevice.java
67f1ceb616ced4ce9857ee24f43d3c9dd5b289a5 08-Nov-2011 Matthew Xie <mattx@google.com> Merge "Make public APIs of ACTION_UUID, getUuids, and fetchUuidsWithSdp" into ics-mr1
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
luetoothDevice.java
6ae591217591e7f3e7de20b71f89d2ee9c8dc8bb 27-Oct-2011 Jaikumar Ganesh <jaikumar@google..com> Fix auto connection of headset profile.

Sometimes when headset service doesn't get bound, the auto
connection fails.

Based on a patch by: Chunho Park <chun.ho.park@samsung.com>

Change-Id: Ia24613b47487717f51895953c7e8bc52abffecb5
luetoothDeviceProfileState.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
luetoothAdapter.java
luetoothProfile.java
fd966a124f10448298aac79c4bb6cf8eb877277a 22-Sep-2011 Jaikumar Ganesh <jaikumar@google.com> Make Bluetooth Health constant public.

Change-Id: I366f1231056fe978d85ee80c773d5911badb22e2
luetoothProfile.java
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
luetoothHealth.java
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
luetoothHealth.java
luetoothHealthAppConfiguration.java
luetoothHealthCallback.java
Bluetooth.aidl
BluetoothHealthCallback.aidl
dca56b9432e2cc851d1a58920071fed2e1e3d142 02-Sep-2011 Eric Laurent <elaurent@google.com> Fix issue 5252593: any app can restart the runtime

Replace null device address string by empty sting.

Change-Id: I285c35f3345334e6d2190493b1a8a5aca1a361a4
luetoothDeviceProfileState.java
luetoothProfileState.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
luetoothAdapter.java
006efb24706378293a2faa137c7c7ca34a2e15cd 24-Aug-2011 Jeff Sharkey <jsharkey@android.com> Merge "Proactively disable data when over policy limit."
8e28b7d78232f6cf08739ca0d129cc7f9e650801 19-Aug-2011 Jeff Sharkey <jsharkey@android.com> Proactively disable data when over policy limit.

Add policy controls to NetworkStateTracker which are combined with
other user preference and internal flags to decide if data connection
should be established. Better locking around enabled flags.

When data network would be over limit, proactively disable data on
that network. Enable when policy is snoozed or when cycle resets.

Track and dismiss notifications from now-stale policies.

Bug: 4587023, 5178147
Change-Id: Ibfcc9f73cda7c369209af701b46eddd3d1943f2d
luetoothTetheringDataTracker.java
9354790fa199a316eba1a2e52b789a3ebe28726b 23-Aug-2011 Jaikumar Ganesh <jaikumar@google.com> Make profile connection state API public.

Change-Id: I1f2810d4e820142435f7bbda051c98ec3e3cf3eb
luetoothAdapter.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
luetoothAdapter.java
luetoothProfile.java
Bluetooth.aidl
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
luetoothAdapter.java
bbd86750570ff75e428b3810dc2e65db558c14b2 02-Aug-2011 Jaikumar Ganesh <jaikumar@google.com> Fix tethering using BT.

1. Since Input device runs in Bluetooth Service, avoid the proxy call.
2. Accept or reject incoming tethering connections.

This broke because of incoming connection request change for phonebook, HID,
A2DP.
Change-Id: Ia8c537bb79e4dbc66cfb6b23dcad4f99dbf950b3
luetoothDeviceProfileState.java
luetoothInputDevice.java
Bluetooth.aidl
6903a7de88e32e04965f41f1cf6371d855cdfa88 29-Jul-2011 Matthew Xie <mattx@google.com> Merge "Provide an API to set the friendly name of a remote device."
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
luetoothDevice.java
Bluetooth.aidl
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
luetoothAdapter.java
Bluetooth.aidl
BluetoothStateChangeCallback.aidl
ac4159549c10dbe428d42980278c0e43ecc8d93f 21-Jul-2011 Jaikumar Ganesh <jaikumar@google.com> Merge "Incoming connection dialog tweaks."
e3dc975acb716eede4abb0d1f4a5f969f92fc307 21-Jul-2011 Matthew Xie <mattx@google.com> when disconnectHeadsetInternal, allow it when the BT is not disabled

The old code allowed the disconnection only when BT is enabled. This
caused a bug during BT turning off that Headset connection failed
to disconnect.
Change-Id: Iba15a1595b6987064f071ad90bbb126a6edfe6b5
luetoothHeadset.java
d3728cb32fbd0a85bc77f4bcbdfea386ede2c75f 20-Jul-2011 Jaikumar Ganesh <jaikumar@google.com> Incoming connection dialog tweaks.

Don't show incoming connection dialog when the device shows
the pairing dialog - this means that the device has already been
trusted by the user.

Change-Id: I98a9f56528f6b62d0f824bbc7612aaa0077ba1e6
luetoothDeviceProfileState.java
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
luetoothHealth.java
luetoothHealthAppConfiguration.java
luetoothHealthCallback.java
Bluetooth.aidl
6d8b80dd8c56dba02dcb6e64ace37fb85aeee1f5 08-Jul-2011 Ben Dodson <bjdodson@google.com> Get server's listening channel

Change-Id: Ia1cb3486a4ba502185efdcf6d7bcf0f37bb55261
luetoothServerSocket.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
luetoothA2dp.java
luetoothDevice.java
luetoothDeviceProfileState.java
luetoothHeadset.java
luetoothInputDevice.java
Bluetooth.aidl
BluetoothA2dp.aidl
BluetoothHeadset.aidl
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
luetoothAdapter.java
luetoothHealth.java
luetoothHealthAppConfiguration.aidl
luetoothHealthAppConfiguration.java
luetoothProfile.java
Bluetooth.aidl
BluetoothHealthCallback.aidl
f8789167e903b637b1dbe8f710e7c66c4cfd74fd 26-May-2011 Jaikumar Ganesh <jaikumar@google.com> Refactor Bluetooth Profile.

Move connect / disconnect / set and get priority
functions down the interface as they are not generic enough
for all profiles.

Change-Id: I2656e1bdbc8046c53bb0dfbd9172f5f10b57aa7d
luetoothA2dp.java
luetoothHeadset.java
luetoothInputDevice.java
luetoothPan.java
luetoothProfile.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
luetoothAdapter.java
ceb6c9f517ede73bfb677e55fda9d9db6089ae69 04-May-2011 Matthew Xie <mattx@google.com> Add public api BluetoothSocket.isConnected.

It's a convenent function to get the connection status of the bluetooth
socket, ie, whether there is an active connection with remote device.
bug 2149043

Change-Id: I4ca4e98c646f70746d838632f3035376b22d579b
luetoothSocket.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
luetoothAdapter.java
343c1ad7200619230a55caa6aa8a9d041e62b29d 19-Apr-2011 Wink Saville <wink@google.com> am 37677849: am 64c42cae: Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.

* commit '37677849998e6c9a39afe0a730b2f0131a371f3b':
Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.
37677849998e6c9a39afe0a730b2f0131a371f3b 19-Apr-2011 Wink Saville <wink@google.com> am 64c42cae: Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.

* commit '64c42cae4482fe0157e977b8ddd0f2c2436b3f31':
Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.
64c42cae4482fe0157e977b8ddd0f2c2436b3f31 18-Apr-2011 Wink Saville <wink@google.com> Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.

Change-Id: Ib4b33894da75f5f156066092fb145b478e52f7d7
luetoothDeviceProfileState.java
luetoothProfileState.java
80f7c594fae3f1b19e3ea78938de450418fe183c 07-Apr-2011 Robert Greenwalt <rgreenwalt@google.com> am f4a29403: resolved conflicts for merge of 70c3d1c2 to honeycomb-plus-aosp

* commit 'f4a29403ae5b6d3e8e754a025d33f0c33adecb21':
Add external dependency API.
f4a29403ae5b6d3e8e754a025d33f0c33adecb21 07-Apr-2011 Robert Greenwalt <rgreenwalt@google.com> resolved conflicts for merge of 70c3d1c2 to honeycomb-plus-aosp

Change-Id: I0962138f6ecb1ed54fda25524d8850b086f13c4f
d55a6b498d66d8fc415908ecf63e50f46cce67e8 25-Mar-2011 Robert Greenwalt <rgreenwalt@google.com> Add external dependency API.

An APN will not be connected to if some external dependency is not met.

bug:3486704
Change-Id: I7d94df343b260013efd11faa978deb13f07f1389
luetoothTetheringDataTracker.java
6f7a9736602ba1f1dc5a16542aa947861a520ec5 06-Apr-2011 Jaikumar Ganesh <jaikumar@google.com> Check if BT is disabled or not when sending audio state.

When BT is turning off we need to send the audio state intent.
We were not doing this since the state was turning off.

The check was added to prevent misuse of public APIs, since
these functions are used internally, its not a problem.

Change-Id: I9834cbff741722bf99c2875fa65c0617b7b4807b
luetoothHeadset.java
8698c91204d56ea52a4393cd8cf91c9a3a49c4c8 17-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> am b8332786: am d973bed3: Merge "Removing dead store; it was likely a relict of debuging code."

* commit 'b8332786e3ac6d58504a7c3128e94e63255b3515':
Removing dead store; it was likely a relict of debuging code.
f1aa297b1788fa4210a3850080e2f632025909c0 22-Feb-2011 Jozef BABJAK <jozef.babjak@gmail.com> Removing dead store; it was likely a relict of debuging code.

Change-Id: I4daab1359d7c4b300ef61e3de1578d9fecb6f8da
luetoothDeviceProfileState.java
9a62c9cd6585656f4e29ba971b1f88a510d674bd 09-Dec-2010 Jake Hamby <jhamby@google.com> Refactor android.server.BluetoothService classes.

Several cleanups to BluetoothService:
- Move BluetoothService.BondState inner class to top level.
- Extract adapter and remote device properties cache management
logic into two new classes: BluetoothAdapterProperties and
BluetoothDeviceProperties.
- Add getter methods for other classes in the package to access
the new properties cache objects for multi-part operations.
- Inline log() method in BluetoothService and selected the
appropriate Log method (Log.d, Log.w, Log.e) for each message.
- Refactor dump() method into smaller sized pieces.
- Clean up logic of updateCountersAndCheckForConnectionStateChange()
method for better readability.
- Change sendConnectionStateChange() to return instead of sending
an intent if the current or previous state values are invalid.
Previously the code sent an intent with -1 for the invalid state.
- Added Javadoc comments to document the methods that are called from
native Bluez code.
- Fixed some typos and code style issues.

Original Change by: Jake Hamby
Modified by: Jaikumar Ganesh

Change-Id: I76ebac00ecd29566dcb2d1ad3e7a486b7530ce24
luetoothDeviceProfileState.java
74ef1199459629c5dd9f272f8cd706d82cdfeeb1 23-Feb-2011 Jaikumar Ganesh <jaikumar@google.com> Make BluetoothPan inherit from BluetoothProfile.

Change-Id: Ibd3e24e391be93ebe2cf975bd075efb68e10c1ff
luetoothAdapter.java
luetoothPan.java
luetoothProfile.java
luetoothTetheringDataTracker.java
Bluetooth.aidl
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
luetoothAdapter.java
luetoothDeviceProfileState.java
luetoothInputDevice.java
luetoothProfile.java
luetoothProfileState.java
Bluetooth.aidl
17689de1cf41017ecc09a75d9603a91841b8c84d 02-Feb-2011 Jaikumar Ganesh <jaikumar@google.com> am 25bbfda2: am 485d577a: Merge "Fix BluetoothAdapter Connection change intent doc." into honeycomb

* commit '25bbfda2442e6d8f55bdc8e2dd0eca18b0ba594b':
Fix BluetoothAdapter Connection change intent doc.
0b5b35f8a12e9f7e85df6b9b86597ebc84584d97 02-Feb-2011 Jaikumar Ganesh <jaikumar@google.com> Fix BluetoothAdapter Connection change intent doc.

Bug: 3414206
Change-Id: Icf87e28e11b0b5072fe546225bbfb1dc68487ef0
luetoothAdapter.java
c42eb2cce70aa4e985615ef9d4cddfff435f7b7f 27-Jan-2011 Scott Main <smain@google.com> am d2b87091: am 0f2e2b8b: Merge "Update package descriptions with editorial revisions. Notably, this removes exessive info about resources from the content package, because it\'s not a good location and the info is avilable in the dev guide, but also added some of the

* commit 'd2b87091cc30c575496eb78ebea88297da775359':
Update package descriptions with editorial revisions. Notably, this removes exessive info about resources from the content package, because it's not a good location and the info is avilable in the dev guide, but also added some of the info to the Resources class description.
f4f05b8f24183b9e0d6959fe8b71fb88543edd9b 07-Jan-2011 Scott Main <smain@google.com> Update package descriptions with editorial revisions.
Notably, this removes exessive info about resources
from the content package, because it's not a good location
and the info is avilable in the dev guide, but also
added some of the info to the Resources class description.

Change-Id: Ie78af26c9cec66314deb98e53078f48e16c08e70
ackage.html
3b4c86af20892b6f1651d0f8de31817f0832d2a9 26-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> am 48f73779: am e9b644fc: Merge "Fix some unmatched javadoc tags." into honeycomb

* commit '48f737798070471cefeeaf418c75ea55f8b925e9':
Fix some unmatched javadoc tags.
9e751f0fb55214feec7cf3aac2738739e49f7867 26-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Merge "Make the interface with DHCP IPv6 capable."
0706fed52075f7f2b25101a40287519ac18d3184 26-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Fix some unmatched javadoc tags.

Bug: 3392175
Change-Id: I84aa86c07060bc4ba399fd5c8f7cda162b432031
luetoothA2dp.java
luetoothHeadset.java
0216e618198393bfd7ac0625fa6ad251d5ea682f 15-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Make the interface with DHCP IPv6 capable.

It doesn't work (yet) for IPv6, but we can remove v4-centric notions from the framework.

bug:2542681
Change-Id: I21c058f5c88d07706c9265bf0ea902fc90357e56
luetoothTetheringDataTracker.java
5a9ac240feffa84773c322a03b1cdd6e99f0e21c 26-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Revert "Temporary Changes for certification of SCO."

This reverts commit 75c2701454f4506664d9056988c8ce5fd0ca73ba.

Change-Id: Ic63cdbbb06b9ed2d9c48e8b29cc376059ecadebf
luetoothHeadset.java
BluetoothHeadset.aidl
c8fa4ff838a0c3d2c67db65540fa751e5abe27ed 26-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Improve readability of java docs for the public APIs.

Change-Id: I0a0f1be04ed2ea2c14498a1a2ed4b050191ec95b
luetoothA2dp.java
luetoothDevice.java
luetoothHeadset.java
luetoothProfile.java
dde68c64fd8e97a592633ec4c09283ec928e5697 24-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Rename virtual call API to ScoUsingVirtualCall.

This API makes more sense with regard to headset profile.
Bug: 3381532

Change-Id: Ife07d101a3b04bcddb31e7ae86712e1d97a660c5
luetoothHeadset.java
BluetoothHeadset.aidl
f643974954c47c95cd84c774db7f1e3997ee9c96 22-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> am 1c9761e3: Merge "Do Not Merge Connect other profiles when priority is auto connect." into gingerbread

* commit '1c9761e30d6eccfe104928cdc961ed1d3a5e2f6b':
Do Not Merge Connect other profiles when priority is auto connect.
8db58ea52c618337fa91289aa42572599d58dafc 22-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Merge "Connect other profiles when priority is auto connect." into honeycomb
a8d18865a48932158270d59cd46f8d95bdbfbe5a 22-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Connect other profiles when priority is auto connect.

ACL auto connection was removed so other profiles
won't auto connect when priority was auto connect.

Reduced connect other profiles time delay.

Bug: 3281016
Change-Id: I8d98fd0d9bace193d619d7f241fff22f07e3e935
luetoothDeviceProfileState.java
40e6c210f88bfde3f5bc0faa93de0910f1a8181b 22-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Do Not Merge Connect other profiles when priority is auto connect.

ACL auto connection was removed so other profiles
won't auto connect when priority was auto connect.

Reduced connect other profiles time delay.

Bug: 3281016
Change-Id: Ic56ca6e95f618f02bc316d1f80014e58c4b6c3bc
luetoothDeviceProfileState.java
c4cc3ea48add3b7a63a1a97fc3a4c89b24217604 22-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Merge "Temporary Changes for certification of SCO." into honeycomb
75c2701454f4506664d9056988c8ce5fd0ca73ba 20-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Temporary Changes for certification of SCO.

Bug: 3349475
Change-Id: I555b127a1d9218494cd05c07c9e9f29628f3bc74
luetoothHeadset.java
BluetoothHeadset.aidl
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
luetoothAdapter.java
fbe807d064ada99211b102914df514aa562256f8 19-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Make connection / disconnect failure more robust.

Add error codes so that the states can be tracked better.

Change-Id: Ic07a5d34589134b68dedeb4803ccb523aa01b567
luetoothInputDevice.java
luetoothPan.java
ef6abd8a3e4b05cb9d94f29f4e8ffc7bb2ecec77 15-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> am a788a943: Merge "Do Not Merge: Expose insecure rfcomm Bluetooth API." into gingerbread

* commit 'a788a9430956dabbc1387e5cccc15f9f41639c95':
Do Not Merge: Expose insecure rfcomm Bluetooth API.
a788a9430956dabbc1387e5cccc15f9f41639c95 15-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Merge "Do Not Merge: Expose insecure rfcomm Bluetooth API." into gingerbread
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
luetoothAdapter.java
luetoothDevice.java
d1287f5ef091bd41ec902d6a83284db21a4dcabb 14-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Fix bug in handling connect/disconnect multiple devices.

Multiple HID devices can be connected. There is no pointing
maintaining the global state. Check individual device state.

Bug: 3350904

Change-Id: I03d9a6015e39e4f9d7f68cc8bbdb19731129b4e6
luetoothDeviceProfileState.java
471de1f5b3cc629739d8315ff195d6af928e7ae4 12-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> am c8f42fb6: Merge "DO NOT MERGE: Remove auto connection on ACL connection." into gingerbread

* commit 'c8f42fb69867f171c04013b1b1a8f7e897ae3685':
DO NOT MERGE: Remove auto connection on ACL connection.
d50ac2966edd9c58d8026a624fd795bf54311158 07-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> DO NOT MERGE: Remove auto connection on ACL connection.

There is no need for this and causes problems with certian cars.

Fixes bug: 3281016

Change-Id: Idb65bbd4c8573923ebf82195b828ae071cb20aef
luetoothDeviceProfileState.java
ef28e7eb527b0e4beffe9788b105e57e9675e352 07-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Remove auto connection on ACL connection.

There is no need for this and causes problems with HID.
Its the reponsibility of the remote device to initiate connection
when back in range.

Fixes bug: 3282682
Change-Id: I9fed15d4ce0ae4539059001db54cc302a55e2015
luetoothDeviceProfileState.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
luetoothClass.java
luetoothDevice.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
luetoothAdapter.java
luetoothDevice.java
15c7439acb22ab079dd2ebe42bdf0d2ffd525c5d 22-Dec-2010 Jaikumar Ganesh <jaikumar@google.com> Add TYPE_BLUETOOTH network interface for reverse tethering.

Change-Id: I2aa61ce15f57aea9e8fd3a4cb56799c8bc51e998
luetoothTetheringDataTracker.java
5200c8ab721b56025340306bdecca651e6bf2f12 14-Dec-2010 Jaikumar Ganesh <jaikumar@google.com> Add EXTRA_LOCAL_ROLE to Pan State change intent.

This will help apps distinguish between reverse and normal tethering.

Change-Id: I5327ad75dc2cbf478e4f7c2cd6ef1dbe8fba9e93
luetoothPan.java
2d1fc4e3f5eb612f9ef8a50080310ced1dfaaadf 14-Dec-2010 Jaikumar Ganesh <jaikumar@google.com> Remove delay with auto connection.

SDP records are now registered with a dbus call so we don't have to wait
for initiating auto connections.

Also reduce time to connect other profiles case by 2 secs.

Change-Id: I8f0eab6a95d3bfaf11a8eb7495a024949639d7fc
luetoothDeviceProfileState.java
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
luetoothUuid.java
1c96a00685f48aaa7cbe1ea03b4f031089631e89 24-Nov-2010 Jaikumar Ganesh <jaikumar@google.com> Fix some formatting issues.

Review comments from a previous review.

Change-Id: Ifa6136f9bc5590ffb6a777240ad1e6607b616ca6
luetoothDeviceProfileState.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
luetoothAdapter.java
luetoothDeviceProfileState.java
Bluetooth.aidl
b0a1d01b4c044a0779cfe006e204bac468459802 11-Nov-2010 Jaikumar Ganesh <jaikumar@google.com> Make AUDIO_STATE_CONNECTING in BluetoothHeadset public.

As the SCO connection is done on a separate thread, this
state is needed to prevent silent failures in case of APIs like
voicerecognition.

Change-Id: Id08725323a2c847df4d3bd9f60e42fde46100707
luetoothHeadset.java
f2e6b13620f3ebbb94166834abaaabcc08a403b7 27-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Add APIs for starting and stopping a virtual call.

This API is useful for cases where the user wants to play
their voicemail, for example, through their Bluetooth headsets.

Original Change by: kausik@broadcom.com

Change-Id: I6bc8929c359d698a1bacdefab4425e3a0ac5d8dd
luetoothHeadset.java
BluetoothHeadset.aidl
30d181690e48b26cdfae3b144d23f1e16c75da37 01-Nov-2010 Jaikumar Ganesh <jaikumar@google.com> Add STATE_AUDIO_CONNECTING state.

Why is it needed: SCO audio connections can fail.
Currently no indication is given to clients which are waiting
for SCO connections. This was working fine before because
SCO connections where blocking calls, which was wrong in itself.

Change-Id: Ic449b2db8506a7a5ae6be6c68715f1a7343f9e40
luetoothHeadset.java
BluetoothHeadset.aidl
7a0f816916abb200d9337a5afde5d6d2a637a20a 01-Nov-2010 Jaikumar Ganesh <jaikumar@google.com> Disconnect PAN and Input devices on BT disable.

Also, add a missing break.

Change-Id: I228f80a4223de20e60d2f3828e3f63bdc14f5afc
luetoothDeviceProfileState.java
e12774d4a81b3658de65e9d2848a7757d8612e0f 29-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Merge "Add an API call to get the ConnectionState of the Bluetooth Adapter."
470132509f698f36290535238c5369482e98d569 28-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Fix incoming connection problem

This fixes the incoming auto connection of profiles with certain remote devices.

Bug: 3136095
Change-Id: If26b5aa91403c0c7bd547e2970ee5bf2ac381416
luetoothDeviceProfileState.java
70a68f9544426fa47ba7284d80a95807e820e17a 28-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> am 025f78eb: Merge "DO NOT MERGE Fix auto connection with headsets which don\'t send incoming connections for all profiles." into gingerbread
28967499d7433f2cc498e7432707e2d5991a408a 28-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> DO NOT MERGE Fix auto connection with headsets which don't send incoming
connections for all profiles.

Bug: 3136095
Change-Id: I48f36b99f3f7619a6a18c6adc2057c9d6d23c3e3
luetoothDeviceProfileState.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
luetoothAdapter.java
Bluetooth.aidl
a46f2fb152355fe591f9dddeb41f01fef5ccad1d 21-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Implement ACTION_CONNECTION_STATE_CHANGED intent.

Change-Id: I6b5783c189c9796ebd85d9d54bdcb07949bef27e
Bluetooth.aidl
551402930426725760c3bedac3a15e0063cb2ad3 26-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Fix docs builds.

Change-Id: I764bd0f0f6994cc468b7ebbea4a3dc7a44b9f89d
luetoothHeadset.java
e775b3daab9766bce9ec2d01fe7d652c4a782b6b 29-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> Expose Vendor Specific Headset Event Intent.

The Bluetooth Headset spec doesn't cover all cases.
For example, there is nothing defined to show the battery status of
the headset on the phone. This intent allows 3rd party applications
to communicate effectively with vendor headsets. For example, Plantronics
has an app for Android headsets and when used with Plantronics
headsets, they will be able to use extra information from the headset.

Change-Id: Ib997327103cbbe57d64c52ba27f74162b6769798
luetoothAssignedNumbers.java
luetoothHeadset.java
5a1e4cf83f5be1b5d79e2643fa791aa269b6a4bc 19-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Update BT APIs return type from Set to List.

Change-Id: Ia27220dd26cde13007f6938c830517ee7f6968ce
luetoothDeviceProfileState.java
luetoothInputDevice.java
luetoothPan.java
Bluetooth.aidl
03cd78cf5e51c3adb78d2e3d314838dcf3e36b26 19-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Convert return type of APIs from Set to List.

Most of the time it will either be empty or have 1 device.
Using list makes it much a better API and since its supported
by the AIDL format, the code becomes much nicer.

Change-Id: I5a2508b33ba754fc8cc738409d658e1235aaf2cf
luetoothA2dp.java
luetoothHeadset.java
luetoothProfile.java
BluetoothA2dp.aidl
BluetoothHeadset.aidl
dbb78f0e4ee3a1ba3e3418b0c1bf8b51e4fa2019 17-Oct-2010 Scott Main <smain@google.com> am 81df9841: am 2c1dab44: am fda5b19c: Merge "docs: fix typo; surface dev guide link in package description" into froyo

Merge commit '81df9841c64e417fe2adfab0e8d694af09e07c0d'

* commit '81df9841c64e417fe2adfab0e8d694af09e07c0d':
docs: fix typo; surface dev guide link in package description
81df9841c64e417fe2adfab0e8d694af09e07c0d 16-Oct-2010 Scott Main <smain@google.com> am 2c1dab44: am fda5b19c: Merge "docs: fix typo; surface dev guide link in package description" into froyo

Merge commit '2c1dab44834fb20deda9f380dae1bd7c1826b40b' into gingerbread-plus-aosp

* commit '2c1dab44834fb20deda9f380dae1bd7c1826b40b':
docs: fix typo; surface dev guide link in package description
db3694d03068aca596feee7326d3c14eb71d8dc9 15-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> am a905d955: am a31cbd61: Merge "Remove STOPSHIP and reduce log spam." into gingerbread

Merge commit 'a905d9551103c5be465429ffeb0352b78058457e'

* commit 'a905d9551103c5be465429ffeb0352b78058457e':
Remove STOPSHIP and reduce log spam.
2c1dab44834fb20deda9f380dae1bd7c1826b40b 15-Oct-2010 Scott Main <smain@google.com> am fda5b19c: Merge "docs: fix typo; surface dev guide link in package description" into froyo

Merge commit 'fda5b19c757645e957c2a224f269aefe39fb1e1c' into gingerbread

* commit 'fda5b19c757645e957c2a224f269aefe39fb1e1c':
docs: fix typo; surface dev guide link in package description
36cdecd89dbc3eb503197414f525e30ee241ba66 14-Oct-2010 Scott Main <smain@google.com> docs: fix typo; surface dev guide link in package description

Change-Id: I2dc09bb6b79cbe3f80819d6193eb0d8a3565310d
ackage.html
72cd64b20ed7118a6c0ed12f4924659abb5dcd0d 15-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> resolved conflicts for merge of bbb90d13 to master

Change-Id: I85de73f6e11e7547a006d41ca49021bca19af14b
c8e87e3ce64bc623b856c12cc63e4a46029da743 15-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> am 373a6961: am 64f42803: Merge "Bluez doesn\'t handle disconnect while connecting well. Defer the message." into gingerbread

Merge commit '373a69614e534ae04dddd79c92933b6d8969fad7'

* commit '373a69614e534ae04dddd79c92933b6d8969fad7':
Bluez doesn't handle disconnect while connecting well.
5b9895c0168e626de5490adf07ad689fdde5c517 15-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Merge "Disconnect PBAP while disconnecting HFP profile."
2beaf7316facf9230b79a0dec85266e0fb487e8f 15-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Disconnect PBAP while disconnecting HFP profile.

PBAP profile is associated with HFP profile. Disconnect PBAP
profile while disconnecting HFP profile. We ever never doing this
and were expecting the remote end to do it. So when the user
disconnects a headset, we will end up with the ACL link still up
because PBAP has not been disconnected.

This is little bit of a hack till PBAP profile is converted to
use the new profile APIs.

Change-Id: I04821daae6588955fbfea01472e6a1b6f9212608
luetoothDeviceProfileState.java
0b9ba91fa54f58ef3272e0f252ac16691731a788 14-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Merge "Add function to check for AVRCP target to send volume keys."
41d5c805d96aef0aaa9a2aaa86ccc4b77ca75e11 14-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Add function to check for AVRCP target to send volume keys.

Currently, when A2DP is connected and the user changes volume
keys on the device, we just change the volume on the device.
We are not supposed to do that. The white paper recommendation
is to keep the volume stream at max and just send the volume
keys over. But then not all A2DP headsets act as AVRCP targets,
hence check for that.

So now the media code should use the API and not change the volume
at the device but just send the keys.

Bug: 3071356
Change-Id: I03a8b6f7619cf860c4e63979bf4903ded9ecd314
luetoothA2dp.java
a905d9551103c5be465429ffeb0352b78058457e 14-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> am a31cbd61: Merge "Remove STOPSHIP and reduce log spam." into gingerbread

Merge commit 'a31cbd61bc53730d756464b0c273475c4f738066' into gingerbread-plus-aosp

* commit 'a31cbd61bc53730d756464b0c273475c4f738066':
Remove STOPSHIP and reduce log spam.
bbb90d134a3f3a8561a6b3315b6944be939b3778 14-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> am c008ca96: Merge "Work around for errant headsets." into gingerbread

Merge commit 'c008ca96bb32289958010dcf8f247c35ab9b1f18' into gingerbread-plus-aosp

* commit 'c008ca96bb32289958010dcf8f247c35ab9b1f18':
Work around for errant headsets.
bdb1d9320b49c286935b04e286ae41734b8f7237 14-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Remove STOPSHIP and reduce log spam.

We still need some logs, as it helped me fix the errant headset bug.

Bug: 3095000
Change-Id: If12601430e6dc30490df1ff86fc3f9d4d455e6d5
luetoothDeviceProfileState.java
luetoothProfileState.java
70a053bf1ba331d727e2fbfca8f39d96b3b324b4 14-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Work around for errant headsets.

1. Some headsets send an AVCTP connection before an AVDTP connection
When that AVCTP connection fails, we get stuck in IncomingA2DP state
because we don't handle AVCTP signals for now.
We need to handle the signals and fix it better.

2. Also when ACL gets disconnected, reset state i.e
when the low level connection disconnected reset our state.
This is like a fail safe in case we get stuck.

Bug: 3051490
Change-Id: Ibcf188103999ffb1e08c36c2554504c639fb7f50
luetoothDeviceProfileState.java
luetoothProfileState.java
373a69614e534ae04dddd79c92933b6d8969fad7 13-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> am 64f42803: Merge "Bluez doesn\'t handle disconnect while connecting well. Defer the message." into gingerbread

Merge commit '64f4280313c5b498a3238d174c4d14ca2187604b' into gingerbread-plus-aosp

* commit '64f4280313c5b498a3238d174c4d14ca2187604b':
Bluez doesn't handle disconnect while connecting well.
adbda6f094bf957e2943f80ef63d4530f6fcfc5a 13-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Bluez doesn't handle disconnect while connecting well.
Defer the message.

Bug: 3076404
Change-Id: Id62e1008346f492a85e714240a832a061def1786
luetoothDeviceProfileState.java
f5cae7d1c516ad233d7ec833c23c046e2501ec56 08-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> am 38702d5f: Merge "DO NOT MERGE: Disconnect PBAP while disconnecting HFP profile." into gingerbread

Merge commit '38702d5f1c42e2dfcc8fa5472c8fe842b4056914' into gingerbread-plus-aosp

* commit '38702d5f1c42e2dfcc8fa5472c8fe842b4056914':
DO NOT MERGE: Disconnect PBAP while disconnecting HFP profile.
59453c947a2d4d64e2f4a4216a479cd33728439c 04-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> DO NOT MERGE: Disconnect PBAP while disconnecting HFP profile.

PBAP profile is associated with HFP profile. Disconnect PBAP
profile while disconnecting HFP profile. We ever never doing this
and were expecting the remote end to do it. So when the user
disconnects a headset, we will end up with the ACL link still up
because PBAP has not been disconnected.

This is little bit of a hack till PBAP profile is converted to
use the new profile APIs.

Change-Id: I5f68b228fd5e607605928a52343ad4b86c58ac0b
luetoothDeviceProfileState.java
980d40b568bf976eed8de7c035c2e30ddc67fa89 01-Oct-2010 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 738aadd7 to master

Change-Id: I8810cc6dbd532de002d6a623ad93e86afb48c0b4
738aadd70fb96491e34645e78241eeb04ee83460 01-Oct-2010 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 0a972acf to gingerbread-plus-aosp

Change-Id: Id8dc5038edc214b4433bdf690243f2f5fe5b4812
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
tCommandResult.java
tParser.java
luetoothAdapter.java
luetoothAudioGateway.java
luetoothClass.java
luetoothDevice.java
luetoothDevicePicker.java
luetoothHeadset.java
luetoothPbap.java
luetoothServerSocket.java
luetoothSocket.java
eadsetBase.java
96a79830ea1ae3ab3d6d3cce2bd1397fcd40ea0e 28-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> Update code for new BT public APIs.

Change-Id: Id730fb6226db59f3a0416111c4790653c2fccb0b
luetoothDeviceProfileState.java
luetoothProfileState.java
BluetoothA2dp.aidl
BluetoothHeadset.aidl
62c37efc9e894809b29a004c142a8e0a6b374db7 25-Aug-2010 Jaikumar Ganesh <jaikumar@google.com> New public APIs for BluetoothA2dp and BluetoothHeadset profiles.

Change-Id: I1cc4b109542dfd62473cb95797c8c3d0d15725f4
luetoothA2dp.java
luetoothAdapter.java
luetoothHeadset.java
luetoothProfile.java
14769a86903973b7aef7bb6ec52eb46a34e30e36 17-Sep-2010 Jake Hamby <jhamby@google.com> am eb3b40af: am 0f584306: Fix Bluetooth Javadoc to clarify the maximum device name length.

Merge commit 'eb3b40af974d818cab66bf0a728c8bdec4f6f715'

* commit 'eb3b40af974d818cab66bf0a728c8bdec4f6f715':
Fix Bluetooth Javadoc to clarify the maximum device name length.
eb3b40af974d818cab66bf0a728c8bdec4f6f715 17-Sep-2010 Jake Hamby <jhamby@google.com> am 0f584306: Fix Bluetooth Javadoc to clarify the maximum device name length.

Merge commit '0f5843069bd419fba4fb253986645dfbca0784b7' into gingerbread-plus-aosp

* commit '0f5843069bd419fba4fb253986645dfbca0784b7':
Fix Bluetooth Javadoc to clarify the maximum device name length.
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
luetoothAdapter.java
20c8f47330e7d4f5f191264f0d7ca67f6532adc2 13-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> resolved conflicts for merge of 0522f5e9 to master

Change-Id: Ie0a7ece33dced1042948087053e49665f6235fc2
0522f5e9b7dac0dc0229c9ddb07e7e5482846b1a 13-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> am cc5494c9: Out Of Band API for Secure Simple Pairing.

Merge commit 'cc5494c9996f809e36539b24e8b6b67683383d29' into gingerbread-plus-aosp

* commit 'cc5494c9996f809e36539b24e8b6b67683383d29':
Out Of Band API for Secure Simple Pairing.
cc5494c9996f809e36539b24e8b6b67683383d29 10-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> Out Of Band API for Secure Simple Pairing.

Change-Id: I54ded27ab85d46eef3d2cca84f2394b1ffe88ced
luetoothAdapter.java
luetoothDevice.java
Bluetooth.aidl
b70765cc27a174d1d4a0bab7062733ebd3eae354 02-Sep-2010 Jaikumar Ganesh <jaikumar@google.com> Decouple Tethering UI with registering of SDP records.

This can lead to usability issues, since the SDP record
will get registered later on.

Change-Id: Ifda78a3831572f1b9955bf06da9a8b0e949942aa
luetoothPan.java
Bluetooth.aidl
4e25533945ebefd888b48f4256e8735591b4f94b 27-Aug-2010 Jaikumar Ganesh <jaikumar@google.com> Add @hide for the VENDOR_SPECIFIC_HEADSET_INTENT

Change-Id: I5405b57f5815fa91ffce829dec6da3e4b7f1245f
luetoothHeadset.java
0fc1b793b68d4c0ee2eafad6618dea0f2722c2cc 24-Aug-2010 Jean-Baptiste Queru <jbq@google.com> am b13c9bc5: manual merge

Merge commit 'b13c9bc5219ca85c36507fb3a8d5923e3de974b6'

* commit 'b13c9bc5219ca85c36507fb3a8d5923e3de974b6':
BluetoothHeadset.java:
34536183f4d7062ec2c8e80013bdc71e445ded6f 24-Aug-2010 Jaikumar Ganesh <jaikumar@google.com> Add BNEP_SVC UUID for incoming tethering connections.

Change-Id: I90c24edfd133ac9fa89c3467383cd61fa23954c6
luetoothUuid.java
332058050a42e0f8b8735caa5693aa59d520f220 23-Aug-2010 Jaikumar Ganesh <jaikumar@google.com> Add Tethering class bit check.

Change-Id: Iaa87c91c4b3db3b77c2e6c4f559fa2e438c9c247
luetoothClass.java
b13c9bc5219ca85c36507fb3a8d5923e3de974b6 21-Aug-2010 Jean-Baptiste Queru <jbq@google.com> manual merge

Change-Id: Ib92a75958b857277e17f4bd0bee75744c653c942
6fdd0c6274c81b337ad35b70480f881daf7354c3 11-Aug-2010 Danica Chang <danicachang@google.com> bluetooth tethering

Change-Id: Id6d5fb1922facc7013abc29214d3e1141995b767
luetoothDevicePicker.java
luetoothPan.java
luetoothUuid.java
Bluetooth.aidl
a4733941839abd672b1e37edd7f61c8932d4aa48 10-Aug-2010 Herb Jellinek <Herb.Jellinek@gmail.com> BluetoothHeadset.java:
Added ACTION_VENDOR_SPECIFIC_HEADSET_EVENT,
EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD, EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS.

BluetoothAssignedNumbers.java (new file):
A home for BT assigned numbers, beginning with the company IDs.

HeadsetBase.java:
Reformatted some code.

AtCommandHandler.java:
Fixed comment typos.

Change-Id: I34d6f248166305d72be66632779fc963b894379c

Added EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID.
Fixed a minor comment typo.

Change-Id: I8550692c13510a853c894b2d108bef4520d931c2
tCommandHandler.java
luetoothAssignedNumbers.java
luetoothHeadset.java
eadsetBase.java
feb1a4e5e090eecbae2e5454b738870440349488 10-Aug-2010 Jaikumar Ganesh <jaikumar@google.com> am 4a671a74: am 745d1e90: Merge "Update javadoc for the API and change return of getBondedDevices()." into gingerbread

Merge commit '4a671a745202cb15cc668d46400731a03b068558'

* commit '4a671a745202cb15cc668d46400731a03b068558':
Update javadoc for the API and change return of getBondedDevices().
39e8a8a04d3d780894c11f986cf94efe66406ccf 10-Aug-2010 Jaikumar Ganesh <jaikumar@google.com> am 4e25db6a: am cbaef518: Merge "Check whether Bluetooth is enabled before making any API calls." into gingerbread

Merge commit '4e25db6a51c4182139b85e3b01317d161f944bbb'

* commit '4e25db6a51c4182139b85e3b01317d161f944bbb':
Check whether Bluetooth is enabled before making any API calls.
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
luetoothAdapter.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
luetoothAdapter.java
de07503a382e81ba82f4cd4dee81ff2fbf3295bc 20-Jul-2010 Jaikumar Ganesh <jaikumar@google.com> Add HID to the state machine and add native call backs.

Change-Id: Ib9f3e476d4176bc04e23e7674dc54aa5a6417308
luetoothDeviceProfileState.java
luetoothProfileState.java
eaeffac5fc8244d8fe03de786baa3ca76f5553b8 20-Jul-2010 Danica Chang <danicachang@google.com> Merge "deleted ScoSocket.java and android_bluetooth_ScoSocket.cpp"
df7627db715a7a2e7f646f02a07caf2347bb90b8 22-Jun-2010 Adam Powell <adamp@google.com> Changes for bluetooth keyboard support.

Add device class constant for PROFILE_HID and check for
Device.Major.PERIPHERAL when checking for class matches.

Change UUID for HID support.

Fix bug in BluetoothService.

Change-Id: Ie5361257d90fd749249e915824564bc3d79fb95d
luetoothClass.java
luetoothUuid.java
545e6708adda6859932b55fd824794b1401f5318 04-Jun-2010 Jaikumar Ganesh <jaikumar@google.com> HID profile.

Change-Id: I52e965a6537bce02c751ba26fe7b44dd03832510
luetoothInputDevice.java
luetoothUuid.java
Bluetooth.aidl
672e04b5d288eb6e0a3310cc9d405cb0e9a48cc3 16-Jun-2010 Danica Chang <danicachang@google.com> deleted ScoSocket.java and android_bluetooth_ScoSocket.cpp

Change-Id: I2bc63979bada9e18bcfeb9e740fab8b37c6868b9
coSocket.java
f1048cdb68d4e4671be2060ca31a3adfc613e88e 03-Jun-2010 Jaikumar Ganesh <jaikumar@google.com> Serialize all commands for a particular profile.

Change-Id: I843ea9ab0bb2372c8316e99e8c083a9939ad774a
luetoothDeviceProfileState.java
luetoothProfileConnectionState.java
luetoothProfileState.java
740e39be6af3e366a4b82c030b5ea67ab144b42a 02-Jun-2010 Jaikumar Ganesh <jaikumar@google.com> Pass BluetoothDevice to the Bluetooth Headset calls.

This is to support multiple headsets at the same time, atleast
at the framework level.

Change-Id: I91d05c6c2828c9a09d00806d5e79f1e9c9c7cf84
luetoothHeadset.java
BluetoothHeadset.aidl
9b637e5985f9a86f39d70335c0390ade3716592a 02-Jun-2010 Jaikumar Ganesh <jaikumar@google.com> Add a new state machine for handling the incoming / outgoing profile
connections.

Change-Id: I5fc9170b5e24c4a52a6f2ef4ca7a8bac65271941
luetoothHeadset.java
luetoothProfileConnectionState.java
Bluetooth.aidl
BluetoothA2dp.aidl
BluetoothHeadset.aidl
af21fa61c2158fa2a693d98bb281abd56e658b40 18-May-2010 Jaikumar Ganesh <jaikumar@google.com> Removing STOPSHIP logs.

Bug: 2694602
Change-Id: Id56e1ddcf5ea76de32238cd6761f2caf053f1fa1
luetoothAdapter.java
c24dbdb57b30f9e8fa6b0c5b48372017b5ae46b0 02-Apr-2010 Jaikumar Ganesh <jaikumar@google.com> Add an extra for the Disconnect Headset State.

This extra tells as to who initiated the disconnection.

Bug:2568119
Change-Id: Iea706ad69f79ae0257604dfa84d49126fb851cca
luetoothHeadset.java
5e12aec16335dc3ae09d4cc8faa3e0deac5f2d31 19-Mar-2010 Eric Olsen <eolsen@android.com> Add the blacklist for the SCO connections

Change-Id: Ibfdfb21fb2f27d01d2b8bff48041398aa4308353
Signed-off-by: Eric Olsen <eolsen@android.com>
coSocket.java
d726b35ebd8660022dcea706ee6d3ca51886b04e 17-Mar-2010 Eric Laurent <elaurent@google.com> Added a configuration option indicating if the platform supports use of
bluetooth SCO for off call use cases.
Added method to BluetoothHeadset API to check if voice dialer over
bluetooth is supported. Replaces direct use of DISABLE_BT_VOICE_DIALING
and takes platform capabilities into account.

Needed for issue 2416481: Support Voice Dialer over BT SCO.

Change-Id: I237d5a984dbc4cbc88e98b85d710a6c87ba1b315
luetoothHeadset.java
15a4d2ffd04dc6c70f2cd17dae12ac6bc14c69ab 12-Mar-2010 Kenny Root <kroot@google.com> Add correct copyright headers to multiple files

Format for the list of changes shows the origin commit reference followed
by the file name.

33931-p9 awt/org/apache/harmony/awt/gl/font/AndroidGlyphVector.java
33931-p9 awt/org/apache/harmony/awt/gl/image/PngDecoderJava.java
133776-p9 core/java/android/app/IntentService.java
127013-p9 core/java/android/appwidget/AppWidgetHost.java
27863-p9 core/java/android/bluetooth/BluetoothAudioGateway.java
60765-p9 core/java/android/content/SyncResult.java
43920-p9 core/java/android/content/pm/ActivityInfo.java
43920-p9 core/java/android/content/pm/ApplicationInfo.java
43920-p9 core/java/android/content/pm/InstrumentationInfo.java
43920-p9 core/java/android/content/pm/PackageInfo.java
44103-p9 core/java/android/content/pm/PackageItemInfo.java
68960-p9 core/java/android/content/pm/PackageStats.java
43920-p9 core/java/android/content/pm/ResolveInfo.java
43920-p9 core/java/android/content/pm/ServiceInfo.java
60641-p9 core/java/android/content/res/Configuration.java
60734-p9 core/java/android/content/res/TypedArray.java
137672-p9 core/java/android/inputmethodservice/ExtractButton.java
123112-p9 core/java/android/inputmethodservice/ExtractEditText.java
119291-p9 core/java/android/inputmethodservice/IInputMethodSessionWrapper.java
112946-p9 core/java/android/inputmethodservice/IInputMethodWrapper.java
115078-p9 core/java/android/os/BatteryStats.java
124790-p9 core/java/android/text/style/UpdateAppearance.java
45083-p9 core/java/android/view/RawInputEvent.java
101491-p9 core/java/android/view/inputmethod/EditorInfo.java
114701-p9 core/java/android/view/inputmethod/ExtractedText.java
123112-p9 core/java/android/view/inputmethod/ExtractedTextRequest.java
119291-p9 core/java/com/android/internal/os/HandlerCaller.java
129279-p9 core/java/com/android/internal/os/PkgUsageStats.java
114701-p9 core/java/com/android/internal/view/IInputConnectionWrapper.java
114701-p9 core/java/com/android/internal/view/InputConnectionWrapper.java
84364-p9 opengl/java/android/opengl/EGLLogWrapper.java
11355-p9 opengl/tools/glgen/src/CFunc.java
11355-p9 opengl/tools/glgen/src/CType.java
11355-p9 opengl/tools/glgen/src/CodeEmitter.java
11355-p9 opengl/tools/glgen/src/GenerateGL.java
11355-p9 opengl/tools/glgen/src/JFunc.java
11355-p9 opengl/tools/glgen/src/JType.java
11355-p9 opengl/tools/glgen/src/JniCodeEmitter.java
11355-p9 opengl/tools/glgen/src/ParameterChecker.java
57236-p9 services/java/com/android/server/status/AnimatedImageView.java
66754-p9 services/java/com/android/server/status/CloseDragHandle.java
57188-p9 services/java/com/android/server/status/DateView.java
46928-p9 services/java/com/android/server/status/ExpandedView.java
70590-p9 services/java/com/android/server/status/FixedSizeDrawable.java
45968-p9 services/java/com/android/server/status/IconData.java
57470-p9 services/java/com/android/server/status/IconMerger.java
82719-p9 services/java/com/android/server/status/LatestItemView.java
45968-p9 services/java/com/android/server/status/NotificationData.java
66754-p9 services/java/com/android/server/status/NotificationLinearLayout.java
57458-p9 services/java/com/android/server/status/NotificationViewList.java
45968-p9 services/java/com/android/server/status/StatusBarException.java
45968-p9 services/java/com/android/server/status/StatusBarIcon.java
46130-p9 services/java/com/android/server/status/StatusBarNotification.java
45968-p9 services/java/com/android/server/status/StatusBarView.java
46199-p9 services/java/com/android/server/status/Ticker.java
62286-p9 services/java/com/android/server/status/TickerView.java
57188-p9 services/java/com/android/server/status/TrackingView.java
86041-p9 telephony/java/android/telephony/PhoneStateListener.java
87020-p9 telephony/java/com/android/internal/telephony/TelephonyIntents.java
136269-p9 telephony/java/com/android/internal/telephony/gsm/SpnOverride.java
34409-p9 tests/FrameworkTest/src/com/android/frameworktest/FrameworkTestApplication.java
55717-p9 tests/FrameworkTest/src/com/android/frameworktest/performance/InvalidateCycle.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityLandscape.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityPortrait.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollableResize.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollableResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityResize.java
127341-p9 tests/ImfTest/src/com/android/imftest/samples/ButtonActivity.java
129347-p9 tests/ImfTest/src/com/android/imftest/samples/DialogActivity.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/EditTextActivityDialog.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityNoScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivityNotSelected.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivitySelected.java
25959-p9 tests/framework-tests/src/android/test/FrameworkTests.java
46162-p9 tests/framework-tests/src/com/android/internal/http/multipart/MultipartTest.java
77101-p9 tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
9788976b1465ce982b5ae7c741345edd0ecd9322 core/java/android/accounts/AuthenticatorDescription.java
53332883543868fb83e111a07306368b7772b340 core/java/android/app/UiModeManager.java
93e7e22ec91dbc641d10ca6d70423e1357a95bba core/java/android/app/FullBackupAgent.java
328c0e7986aa6bb7752ec6de3da9c999920bb55f core/java/android/content/CursorEntityIterator.java
307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncQueue.java
307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncOperation.java
eb034652c2037a47ebfd99779e8383bb8bb528af core/java/android/content/pm/LabeledIntent.java
49237345d83e62fdb9eb8d50b13ad086636a04fa core/java/android/content/pm/FeatureInfo.java
a2b6c3775ed6b8924232d6a01bae4a19740a15f8 core/java/android/content/pm/PackageInfoLite.java
3ecd5f437580e49d80beecd29489d5fb1f7a7db0 core/java/android/content/pm/RegisteredServicesCacheListener.java
5ebbb4a6b3e16f711735ae0615b9a9ea64faad38 core/java/android/content/pm/XmlSerializerAndParser.java
c4516a7b62de525e3d6d5e76851bdfaf12c11f05 core/java/android/database/sqlite/SQLiteTransactionListener.java
9bbc21a773cbdfbef2876a75c32bda5839647751 core/java/com/android/internal/backup/LocalTransport.java
21f1bd17b2dfe361acbb28453b3f3b1a110932fa core/java/com/android/internal/content/PackageMonitor.java
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseSurfaceHolder.java
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseIWindow.java
e540833fdff4d58e37c9ba859388e24e2945ed45 core/java/com/android/internal/os/SamplingProfilerIntegration.java
192ab903887bbb8e7c7b6da5c581573850e30f46 core/tests/coretests/src/android/widget/expandablelistview/PositionTesterContextMenuListener.java
1619367ab823150fa8856d419abe02ceb75886f1 media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java
27f8002e591b5c579f75b2580183b5d1c4219cd4 opengl/tools/glgen/stubs/gles11/glGetString.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetProgramInfoLog.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glShaderSource.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GenerateGLES.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/Jsr239CodeEmitter.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GLESCodeEmitter.java
69e21f5f6e0d04539cd92848ea009dd615d88c2c opengl/tests/gldual/src/com/android/gldual/TriangleRenderer.java
c028be4f3b8c7476b46859f66c3f33d528adf181 packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestActivity.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestRunner.java
df8a3f31d871db25e952972c2eb346a71186e9e3 tests/BrowserTestPlugin/src/com/android/testplugin/TestPlugin.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java

Copyright header moved to top in following file:

core/tests/coretests/src/android/widget/ListViewTest.java

Change-Id: I3c3198be5a0ba36e18679ed834170432bf0b8418
luetoothAudioGateway.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
luetoothDevice.java
a3a0946554d120c35ebe0e632fdc454e49cf61e1 09-Feb-2010 mah <mah@android.com> Enable bluetooth voice dialing in BluetoothHeadset.java.

Bug: 243220

This just sets DISABLE_BT_VOICE_DIALING to false.
A different checking to packages/apps/VoiceDialer actually
makes it work properly.
luetoothHeadset.java
987c415c8386e15833d45a0ce18041a6bd88690e 21-Dec-2009 Jaikumar Ganesh <jaikumar@google.com> am f5d2eec4: am 11b97c50: Merge change I551ed729 into eclair

Merge commit 'f5d2eec4fd530ac09ce1f8d2e51ea29b5cd12a38'

* commit 'f5d2eec4fd530ac09ce1f8d2e51ea29b5cd12a38':
Use UNDEFINED priorities when unpaired.
11b97c50e6fb6d723e88eac3c125b60ca42184f7 21-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I551ed729 into eclair

* changes:
Use UNDEFINED priorities when unpaired.
3a9b03425b4890364bd1f1a321171ddd426a4621 19-Dec-2009 Scott Main <smain@google.com> am a2bca747: am a25032a0: Merge change Ic31c0f62 into eclair

Merge commit 'a2bca7477d803541c5a48cc7624e2b6c305c5970'

* commit 'a2bca7477d803541c5a48cc7624e2b6c305c5970':
docs: update the Bluetooth guide with links to the sample
1362bbcf760bd55d325d00ddea4b6f76afad8c08 17-Dec-2009 Scott Main <smain@google.com> docs: update the Bluetooth guide with links to the sample
app, scrub the sibling files, and revise the Bluetooth package
summary to point to the BT dev guide.
ackage.html
551ed72940af6e4f0b34a1d05282497a547e9a7c 11-Dec-2009 Jaikumar Ganesh <jaikumar@google.com> Use UNDEFINED priorities when unpaired.

For the docks, we can set if a device is preferred or not
before pairing process. This was getting overridden when we pair.
This problem doesn't happen with normal headsets.

Dr No: Eastham
Bug: 2318290
luetoothA2dp.java
luetoothHeadset.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
luetoothAdapter.java
luetoothClass.java
b08170ad7e4ca4908852b0e20759ea740b338a03 08-Dec-2009 Jaikumar Ganesh <jaikumar@google.com> am ae88e2d1: Merge change I38227501 into eclair

Merge commit 'ae88e2d130a4d69bdf7ddc58f6ae512ea63087ff' into eclair-mr2

* commit 'ae88e2d130a4d69bdf7ddc58f6ae512ea63087ff':
Add API to get Active Sinks.
b16c4f7dd92dabf0cc27438a5d3d9ebd203a38b3 05-Dec-2009 Jaikumar Ganesh <jaikumar@google.com> Add API to get Active Sinks.

Allow incoming connections only when there are no active sinks.

Dr No: Eastham
Bug: 2133530
luetoothA2dp.java
BluetoothA2dp.aidl
11a2853e0196905e25a2dc5c227320688e04e950 03-Dec-2009 Jaikumar Ganesh <jaikumar@google.com> am 8c411fb1: Merge change I79420b02 into eclair

Merge commit '8c411fb13923d1fa28fcd98452bf3d17b8b1a338' into eclair-mr2

* commit '8c411fb13923d1fa28fcd98452bf3d17b8b1a338':
Add support for Car Dock.
3fbf7b62bb48b10316353087d09cc3720af00642 03-Dec-2009 Jaikumar Ganesh <jaikumar@google.com> Add support for Car Dock.

Dr No: Eastham
Bug: 2133530
luetoothDevice.java
Bluetooth.aidl
721361f1a74b876c42cc0533c9c19320e8c09927 21-Nov-2009 Jaikumar Ganesh <jaikumar@google.com> Add a new priority for Auto Connection of A2DP. DO NOT MERGE.

1. PRIORITY_OFF is when user unchecks A2DP connection profile box.
2. By default, when you bond, it will be PRIORITY_ON.
3. When the profile gets connected, the priority gets set to
PRIORITY_AUTO_CONNECT. This means that we will connect
automatically to this profile.
4. When the user disconnects, we downgrade the priority to PRIORITY_ON,
which means we won't reconnect automatically.

a) We need to make a similar change to Handsfree profile.
b) We need to rework the profile management design and code which
will fix the 6 second timer that we have for A2DP reconnection.

Add AUTO_CONNECT priority for Headset profile.
Also, don't set priority to ON while disconnecting.
This logic has been pushed up to the Settings app.

Dr No: Eastham
Bug: 2133530
luetoothA2dp.java
luetoothHeadset.java
249345ee5ae6d7307594c7b80fefdb2a00f14443 26-Nov-2009 Jaikumar Ganesh <jaikumar@google.com> Add AUTO_CONNECT priority for Headset profile.

Also, don't set priority to ON while disconnecting.
This logic has been pushed up to the Settings app.
luetoothHeadset.java
aafff8a06900938ccf2717ab9ba7b664c5948eb0 21-Nov-2009 Jaikumar Ganesh <jaikumar@google.com> Add a new priority for Auto Connection of A2DP.

1. PRIORITY_OFF is when user unchecks A2DP connection profile box.
2. By default, when you bond, it will be PRIORITY_ON.
3. When the profile gets connected, the priority gets set to
PRIORITY_AUTO_CONNECT. This means that we will connect
automatically to this profile.
4. When the user disconnects, we downgrade the priority to PRIORITY_ON,
which means we won't reconnect automatically.

a) We need to make a similar change to Handsfree profile.
b) We need to rework the profile management design and code which
will fix the 6 second timer that we have for A2DP reconnection.
luetoothA2dp.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
luetoothAdapter.java
luetoothServerSocket.java
luetoothSocket.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.
luetoothAdapter.java
luetoothClass.java
luetoothDevice.java
luetoothServerSocket.java
luetoothSocket.java
ackage.html
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
luetoothAdapter.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
luetoothAdapter.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
luetoothAdapter.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.
luetoothAdapter.java
luetoothDevice.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
luetoothDevice.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
luetoothAdapter.java
luetoothDevice.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
luetoothAdapter.java
luetoothDevice.java
luetoothServerSocket.java
luetoothSocket.java
Bluetooth.aidl
BluetoothCallback.aidl
52cde7279bad58285704498eea57bdaf9e595b49 06-Oct-2009 Nick Pelly <npelly@google.com> Fix docs builds.
luetoothServerSocket.java
luetoothSocket.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
luetoothAdapter.java
luetoothServerSocket.java
luetoothSocket.java
luetoothUuid.java
Bluetooth.aidl
5a463a693cae501f3e65936ea96e1ca1bae5fc3f 01-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ic2a16d4f into eclair

* changes:
b/2148252 Fix emulator
081f58abb7ceb702fdb0b65ff0e0ff70dd265a30 01-Oct-2009 Michael Chan <mchan@android.com> b/2148252 Fix emulator

Change-Id: Ic2a16d4fac2a2a12a209c83ad2049829255cb31f
luetoothA2dp.java
54172d92afec5d7d18c830d7428a3230a39d4c02 29-Sep-2009 Jaikumar Ganesh <jaikumar@google.com> Try to reconnect twice when the rfcomm error code is Connection Refused.

This happens when the the remote headset is in a bad state or is
not accepting connections. Try twice before giving up.

Change-Id: I55e15bad6b72904b8e4ccbca89e17e9bd3ddb61e
eadsetBase.java
e766eae93890b09db67d2c6a599c25fdae103f20 30-Sep-2009 Nick Pelly <npelly@google.com> Fix broken build.

Should be bool not int. Forgot to roll in local changes to last commit.

Change-Id: I28bad88238e5b715a5033b0d5a897d924ef8b538
luetoothA2dp.java
f9bbe1e71a502fe7bd1f4a23ba5bbe4dde0d9d57 24-Jun-2009 Zhu Lan <mtcb47@motorola.com> Bluetooth A2DP suspend/resume functionality

Change-Id: I8366852fa9b6ff9dacf18db00ea1c2be0c00ff34
luetoothA2dp.java
BluetoothA2dp.aidl
aef439e6f825c0cb99a2ac08c8207f48b7a9fe10 28-Sep-2009 Nick Pelly <npelly@google.com> Move android.bluetooth.ParcelUuid to android.os.ParcelUuid

Change-Id: I564429d5c5b6a5372b6ff26a53b0d7e518b53631
luetoothAdapter.java
luetoothDevice.java
luetoothUuid.java
Bluetooth.aidl
arcelUuid.aidl
arcelUuid.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
luetoothAdapter.java
12835478ee687a493d1b5882e67b6725bd539c26 26-Sep-2009 Nick Pelly <npelly@google.com> Handle expiration of discovery mode in system server.

Change-Id: I58fd199b40ffdf8168a5489be8eedb5d25d56722
luetoothAdapter.java
Bluetooth.aidl
3219ab4de27cd40b2149b0dd13edd412efe40244 25-Sep-2009 Brad Fitzpatrick <bradfitz@google.com> Fix typo in Bluetooth docs.
luetoothAdapter.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
luetoothAdapter.java
luetoothDevice.java
10eac971b3a6e5f34a420dd68ebfa796553ad2b9 21-Sep-2009 Jaikumar Ganesh <jaikumar@google.com> Cache the remote device's service channel.

Bluez Device implementation is such that when a device
is unpaired, we removes the device and hence there is no
way to interact with it unless you pair again. Remote service
channel call is used to get the rfcomm channel number which
will be used in profiles like OPP which don't require pairing.

Change-Id: I868a6cdfdb1b7d3591dd8b66cd0320f41a9c1b92
luetoothUuid.java
163be61ce5ea85181da3a8908adaa63b5ff56a7e 21-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25412 into eclair

* changes:
Make ParcelUuid helper functions consistent.
ac810e53b70aa01c148c998c57f6888160e1557a 19-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25779 into eclair

* changes:
Add new API for fetching UUIDs using SDP.
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
luetoothDevice.java
Bluetooth.aidl
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
luetoothAdapter.java
37e0828cf9a6e08d791b23057d98bf00fbf74505 18-Sep-2009 Nick Pelly <npelly@google.com> Add one line of logging when SCO SOCKET connect starts.

This is to help collect information from Moto QA about delays connecting BT
audio.

Change-Id: I790c65f5b64c85aaffc0e68ebe8b6202f476b39f
http://b/2129464
coSocket.java
074c11c1649a097ba1beae719069f8d4a2dd43e3 17-Sep-2009 Nick Pelly <npelly@google.com> Do not @hide Parcelable implementations in BluetoothClass and BluetoothDevice.

Change-Id: I92389c53a9b99c9507f78898329ff87b631c7aa3
luetoothClass.java
luetoothDevice.java
dca2f0fec30e6acbdc466fd6dffb425877e7728a 17-Sep-2009 Jaikumar Ganesh <jaikumar@google.com> Make ParcelUuid helper functions consistent.

Treat zero length arrays and null arrays to be same.

Change-Id: I8c6c28e5dc3da1f31f6f6abfc747db4c2975a90b
luetoothUuid.java
dd0463aef18d251c741bfc9dc7a2787443ef36f1 16-Sep-2009 Jaikumar Ganesh <jaikumar@google.com> Change handling of remoteUuids.

Use the ParcelUuid instead of UUID

Change-Id:Ie05d65a62e8a4df8182a4c737d46c14142bfec43
luetoothDevice.java
luetoothUuid.java
Bluetooth.aidl
82c3ef7adc235e857736b09864c2aa81d41d7132 16-Sep-2009 Jaikumar Ganesh <jaikumar@google.com> Add a parcelable version of UUID file.

Change-Id:I2582e1c9893292ba35bb5cac90ccd2bd18041d8c
arcelUuid.aidl
arcelUuid.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
luetoothDevice.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
luetoothA2dp.java
luetoothAdapter.java
luetoothClass.java
luetoothDevice.java
luetoothDevicePicker.java
luetoothHeadset.java
luetoothIntent.java
luetoothPbap.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.
luetoothA2dp.java
luetoothAdapter.java
luetoothDevice.java
luetoothError.java
BluetoothA2dp.aidl
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()
luetoothAdapter.java
luetoothDevice.java
luetoothError.java
luetoothIntent.java
cf44059813539bf7f36dabd278cef93ba3122c56 08-Sep-2009 Nick Pelly <npelly@google.com> Add javadoc to explain which permissions are required for Public BT API's.
luetoothAdapter.java
luetoothDevice.java
luetoothServerSocket.java
luetoothSocket.java
d4c1baf93708ad4e90c556e6041a498dbffaaba0 03-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23646 into eclair

* changes:
Immediately destroy BluetoothSocket's on close().
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.
luetoothAdapter.java
luetoothInputStream.java
luetoothOutputStream.java
luetoothServerSocket.java
luetoothSocket.java
efa1dd716da3372cc74a201d11de5e0ef1a9fe9a 31-Aug-2009 Lixin Yue <L.X.YUE@motorola.com> Add Bluetooth Device trust
luetoothDevice.java
Bluetooth.aidl
9abcf0982edcda6d14fd8057fe0cfd2147cac477 19-Aug-2009 Jackson Fan <xyfan@motorola.com> Use correct UUID to authorize AVRCP
luetoothUuid.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
luetoothA2dp.java
luetoothClass.java
luetoothDevice.java
luetoothHeadset.java
luetoothIntent.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.
luetoothAdapter.java
luetoothDevice.java
luetoothServerSocket.java
luetoothSocket.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
luetoothA2dp.java
luetoothAdapter.java
luetoothAudioGateway.java
luetoothDevice.aidl
luetoothDevice.java
luetoothHeadset.java
luetoothIntent.java
luetoothPbap.java
luetoothServerSocket.java
luetoothSocket.java
eadsetBase.java
Bluetooth.aidl
BluetoothA2dp.aidl
BluetoothDevice.aidl
BluetoothHeadset.aidl
BluetoothPbap.aidl
a45c5f07e29c4b244d07842b80ba93b35ce2606c 31-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 9216

* changes:
Fix UUID typo and allow incoming AVRCP connections.
ade40526c899caf9369652f9481634a6232ec022 30-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> Fix UUID typo and allow incoming AVRCP connections.
luetoothUuid.java
c8b04a93a619ba91997d7454865f0a71fb6ae981 27-Jul-2009 Jackson Fan <xyfan@motorola.com> Modify BluetoothPbap for a few wrong wordings
luetoothPbap.java
3f41673265dcaaef058703311c5481e8a51fd8be 02-Jul-2009 Jiafa Liu <pbx376@motorola.com> frameworks/base: Add PBAP support

- Update according to comments
- Add aidl support in frameworks for Settings to retrieve current
PBAP transaction status.
- Add status bar support for PBAP
luetoothPbap.java
BluetoothPbap.aidl
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.
luetoothDevice.java
luetoothIntent.java
BluetoothDevice.aidl
12cae39747c49e2886bcfbac9ec42094bdb32209 17-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> Revert "Initial support of 2.1 pairing."

This reverts commit 228b2f3a813e93413a0f9e2f29dfbfc54590a356.
luetoothDevice.java
luetoothIntent.java
BluetoothDevice.aidl
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.
luetoothDevice.java
luetoothIntent.java
BluetoothDevice.aidl
7f74d534f39c4d1e1db8604faa117dcf127cc8b9 14-Jul-2009 Jaikumar Ganesh <jaikumar@google.com> Reconnect to A2DP device only if it supports that profile, fix HF AG UUID.
luetoothUuid.java
530b7125fa7a1055044fb618e196891ad01dd6ef 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 03255de3: Merge change 4757 into donut

Merge commit '03255de32d127d17504b6d475e6e79190dd637f8'

* commit '03255de32d127d17504b6d475e6e79190dd637f8':
Add getBatteryUsageHint() to BluetoothHeadset for power monitoring.
6c901db72dbaf57d8fdf26adae6721de14ecae22 19-Jun-2009 Nick Pelly <npelly@google.com> Add getBatteryUsageHint() to BluetoothHeadset for power monitoring.

This is a monotonically increasing integer. Wraps to 0 at
Integer.MAX_INT, and at boot.
Current implementation returns the number of AT commands handled since
boot. This is a good indicator for spammy headset/handsfree units that
can keep the device awake by polling for cellular status updates. As a
rule of thumb, each AT command prevents the CPU from sleeping for 500 ms
luetoothHeadset.java
eadsetBase.java
BluetoothHeadset.aidl
8edae3dfd3f594ca1b24c8365561f1f8c059440e 19-Jun-2009 Nick Pelly <npelly@google.com> Fix bug in BluetoothInputStream.read().

InputStream.read() must return values in range [0, 255]. But the previous code
would sign extend when casting to int so return [-128, 127]. Bitwise AND with
0xff to remove sign extension.
luetoothInputStream.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.
luetoothDevice.java
luetoothUuid.java
BluetoothDevice.aidl
BluetoothDeviceCallback.aidl
6a669fac385b51b8bb01844b77a9a43840dda854 03-Jun-2009 Nick Pelly <npelly@google.com> Implement and expose SCO socket support in BluetoothSocket.java.

Implement L2CAP socket support, but do not expose it (untested).

NEXT: Switch to Builder style constructor instead of factory method.
luetoothServerSocket.java
luetoothSocket.java
47e82dee6b18c33fab8c2cdf4f68b20d3663079e 02-Jun-2009 Nick Pelly <npelly@google.com> Implement bulk read and writes for Bluetooth sockets.

Before: 0.1 kB/s
After: 100 kB/s
(in my java BT speed test app)
luetoothInputStream.java
luetoothOutputStream.java
luetoothSocket.java
0b6955a48bad9aee01ae2f0c06d3f168ca603ab7 27-May-2009 Nick Pelly <npelly@google.com> New BluetoothSocket API.

Modeled on blocking java.net.Socket and java.net.ServerSocket library.

Public interface is:

public final class BluetoothSocket implements Closeable {
public static BluetoothSocket createRfcommSocket(String address, int port) throws IOException;
public static BluetoothSocket createInsecureRfcommSocket(String address, int port) throws IOException;

public void connect() throws IOException;
public void close() throws IOException;

public String getAddress();
public InputStream getInputStream() throws IOException;
public OutputStream getOutputStream() throws IOException;
}

public final class BluetoothServerSocket implements Closeable {
public static BluetoothServerSocket listenUsingRfcommOn(int port) throws IOException;
public static BluetoothServerSocket listenUsingUnsecureRfcommOn(int port) throws IOException;

public BluetoothSocket accept() throws IOException;
public BluetoothSocket accept(int timeout) throws IOException;
public void close() throws IOException;

}
luetoothInputStream.java
luetoothOutputStream.java
luetoothServerSocket.java
luetoothSocket.java
fcommSocket.java
f5e17310d19494834466f237367452dfe1bd51cb 20-May-2009 Nick Pelly <npelly@google.com> Remove Database.java API.

This provided SDP functionality to Java, but is not currently used by any Apps.

I will shortly be providing SDP functionality in a new API, but it will be
quite different to this one, and in the mean-time keeping this stale code
updated with other API changes is a pain.
atabase.java
ea600ccfb7568f60377c4abc85f56c80af7fdbfc 31-Mar-2009 Nick Pelly <> AI 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/...

Automated import of CL 143788
luetoothDevice.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
luetoothDevice.java
2d8c060bbc590c0f398c7a2c7a8b3e35111929f4 26-Mar-2009 Nick Pelly <> Automated import from //branches/donutburger/...@142766,142766
luetoothHeadset.java
b8088b9bc908e7fa1e803e55479e59aecc2c37eb 26-Mar-2009 Nick Pelly <> Automated import from //branches/master/...@142774,142774
luetoothHeadset.java
83557ec4f12b200a1d6f6ea13359a491bd952595 25-Mar-2009 Jaikumar Ganesh <> Automated import from //branches/master/...@141865,141865
eadsetBase.java
5903c977941c731cb4cc0df67cfeb2a3821c47ed 25-Mar-2009 Jaikumar Ganesh <> Automated import from //branches/donutburger/...@141864,141864
eadsetBase.java
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
luetoothDevice.java
luetoothIntent.java
BluetoothDevice.aidl
BluetoothDeviceCallback.aidl
coSocket.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
luetoothHeadset.java
luetoothIntent.java
f5b4b98fada53d91c4c2ebeb5a1d33ccc95c94d2 06-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136745
luetoothA2dp.java
luetoothHeadset.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
tCommandHandler.java
tCommandResult.java
tParser.java
luetoothA2dp.java
luetoothAudioGateway.java
luetoothClass.java
luetoothDevice.java
luetoothError.java
luetoothHeadset.java
luetoothIntent.java
atabase.java
eadsetBase.java
BluetoothA2dp.aidl
BluetoothDevice.aidl
BluetoothDeviceCallback.aidl
BluetoothHeadset.aidl
fcommSocket.java
coSocket.java
ackage.html
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
tCommandHandler.java
tCommandResult.java
tParser.java
luetoothA2dp.java
luetoothAudioGateway.java
luetoothClass.java
luetoothDevice.java
luetoothError.java
luetoothHeadset.java
luetoothIntent.java
atabase.java
eadsetBase.java
BluetoothA2dp.aidl
BluetoothDevice.aidl
BluetoothDeviceCallback.aidl
BluetoothHeadset.aidl
fcommSocket.java
coSocket.java
ackage.html
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
luetoothDevice.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
luetoothDevice.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
coSocket.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
luetoothDevice.java
luetoothHeadset.java
luetoothIntent.java
eadsetBase.java
BluetoothDevice.aidl
f1e484acb594a726fb57ad0ae4cfe902c7f35858 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
luetoothDevice.java
luetoothIntent.java
BluetoothDevice.aidl
BluetoothDeviceCallback.aidl
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
luetoothA2dp.java
luetoothHeadset.java
BluetoothA2dp.aidl
BluetoothHeadset.aidl
BluetoothHeadsetCallback.aidl
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
luetoothA2dp.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
luetoothA2dp.java
luetoothClass.java
luetoothDevice.java
luetoothError.java
luetoothHeadset.java
eviceClass.java
BluetoothA2dp.aidl
BluetoothHeadset.aidl
ackage.html
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
tCommandHandler.java
tCommandResult.java
tParser.java
luetoothAudioGateway.java
luetoothDevice.java
luetoothHeadset.java
luetoothIntent.java
atabase.java
eviceClass.java
eadsetBase.java
BluetoothDevice.aidl
BluetoothDeviceCallback.aidl
BluetoothHeadset.aidl
BluetoothHeadsetCallback.aidl
fcommSocket.java
coSocket.java
ackage.html