History log of /frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e77adabeafa16f9b401a6ad67405205bd96f2219 16-Jan-2015 Prerepa Viswanadham <dham@google.com> Don't compute flags length for scan response

Bug 19041626

Change-Id: I7d8aa12e133477fc60d12b474f57313961021975
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.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
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
35cd4c853f748e295352bda708b26ee39544d06d 26-Sep-2014 Wei Wang <weiwa@google.com> Add support of advertising through standard instance.(1/4)

Use config overlay to check whether peripheral mode is supported.

Bug: 17552672
Change-Id: I1081bc84da9fe033426f82ece2ec74c2d663e3aa
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.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
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.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
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
ee80922c6a1228886589dcd4598a1cadf0bd1ff8 13-Aug-2014 Wei Wang <weiwa@google.com> Clean up advertise and scan clients upon bluetooth down.

Fixes b/16528460

This allows Advertiser and Scanner to be reused after bluetooth recycle,
which follows same behavior for BluetoothAdapter.

Also prints manufacturer data array for ScanRecord.

Change-Id: I78bca40ac294433782a054bf2a00a775dac02d96
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
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
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.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.
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.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
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
3f7a39063ab7b3d7a38b773449ba2b37674e3458 29-Jul-2014 Wei Wang <weiwa@google.com> Service data and manufacturer data can be repeated fields.

b/16635899

Change-Id: I73f1f4effd3f0e38cd427297eb9d22f3ba285d61
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.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
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.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
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.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
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
890b46a0d5c220bffedcf27520befb34bf8830ea 11-Jul-2014 Wei Wang <weiwa@google.com> Remove MR2 BLE Advertising hidden API from L codebase (1/2).

Change-Id: I78bb8b89de56bddb7422da1d1d4468c88a68ea11
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
af74e66e29a518157cb78fcef4b4fc532b7f60b0 09-Jul-2014 Wei Wang <weiwa@google.com> Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)

Change-Id: Ib0c4ea6c8372a15473269660355fb5ccf4284457
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
8f2e74cac282afa0bcf98f5d7131268147d12efe 09-Jul-2014 Prerepa Viswanadham <dham@google.com> OnFound and Onlost callback integration

Change-Id: I23473b18484f041c4dd808c85bb92545a77e20c2
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
8e5270fdf5639461d67e9a898a85520abac6053d 09-Jul-2014 Prerepa Viswanadham <dham@google.com> Tie in BLE hw capabilities with api invocation and support.

Change-Id: Ic1f0b3f156cf2fdde8f04b5c4384e4fd3d79623a
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
9fb1791e1a6859bfb14006a6d101cdecc88f3f95 02-Jul-2014 Wei Wang <weiwa@google.com> Implement batch scan API

Change-Id: Ibb527280a221fbdd0fc6b805a7527c29079294b4
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
dadefdad8ef424991feb45f02f923a2f8224285b 28-Mar-2014 Andre Eisenbach <andre@broadcom.com> LE: Add notification sent and congestion callbacks (3/4)

This change introduces two new callbacks for applications to better
handle LE notification flow control and transport congestion. The
notification callback is invoked when the remote platform confirms an
indication or when a local notification has been passed to the
controller. No new notifications should be sent until a callback is
received.

Congestion callbacks are triggered when a GATT operation cannot be sent
to the local Bluetooth controller. Repeatedly calling
writeCharacteristic() for example will eventually trigger a congestion
callback. Applications cannot send additional data until a further
callback is received, indicating that the congestion has cleared up.

Also made server callbacks "oneway" in the AIDL definition file.

Change-Id: I7fa3324712205c79efce58e5e3df8b80a265a442
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java
6d81118032b92caa0f5cfebe11af02a98f819d5e 22-May-2014 Wei Wang <weiwa@google.com> Address API review comments.
1. Moved le stuff to it's subpackage. Remove BluetoothLe for all classes
except *Scanner, *ScanSetting, *Advertiser and *AdvertiseSettings.
2. Make all callbacks abstract classes instead of interfaces.
3. Moved AdvertisementData and ScanRecord out and removed
AdvertiseBaseData
4. Removed newBuild and use new Builder for all builders.
5. Using setxxx in builders.
6. Misc other changes.

Fixes b/15140940

Change-Id: I32ae3d24a9491baf96048040b5ac78f6f731e468
NO_SQ: multi-project submit
/frameworks/base/core/java/android/bluetooth/le/BluetoothLeAdvertiser.java