958154b5e2744cc370eaa18c870d04987e153630 |
|
05-Sep-2017 |
Vinay Kalia <vinaykalia@google.com> |
Update ScanSettings documentation for scan modes SCAN_MODE_LOW_POWER is enforced for applications running in background. Test: BLE scanning applications. BUG: 38198694 BUG: 62491228 Change-Id: Ib2b6c297298e05f1b088411e94cfe4789dde0821
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
2992cd084cd5cfd9ef253c37ef269d6c75e7e144 |
|
23-Aug-2017 |
Jack He <siyuanh@google.com> |
Fix checkstyle errors (2/2) * Manual style corrections with IDE assistance * Variable name refactors are done through IDE * Corrected general style errors such as: - "final private var" -> "private final var" - "&&", "+", "||" should not be at the end of line - Non-static private variable should be like "mVar" - Private static variable should be like "sVar" - Code file should always end with newline - Inherited methods should be annotated with @Override and no @hide tags - Public methods should always have a JavaDoc entry - "int[] array" is preferred over "int array[]" - private methods should be accessed without "this." when there is no name collisions. - "boolean ? true : false" -> boolean - "boolean ? false : true" -> !boolean - "boolean == true" OR "boolean != false" -> boolean - "boolean != true" OR "boolean == false" -> !boolean Bug: 63596319 Test: make checkbuild, no functional changes Change-Id: Iabdc2be912a32dd63a53213d175cf1bfef268ccd
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
a355e5efaf45a534ee6437aa4bae7d30f18c0ec2 |
|
23-Aug-2017 |
Jack He <siyuanh@google.com> |
Fix checkstyle errors (1/2) * Automatic style corrections through IDE Bug: 63596319 Test: make checkbuild, no manual changes, no functional changes Change-Id: I2397d55abc34c9b7a9b748bec6137778df3421a7
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
9e377194e35c0fb9ac5771f5658c095ed97e0838 |
|
12-Apr-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Bluetooth 5 PHY simplification Having PHY_LE_* constants defined in four different places, with one value being different than others is misleading. Leave just PHY_LE_* definitions in BluetoothDevice, and add PHY_LE*_MASK for the mask used in PHY update API. This patch also removes need to translate PHY value between PHY update request and event, as mask is used for request, and the value is returned in event. Bug: 30622771 Test: manual Change-Id: I897effa1204a024465d55501c83c542566c4d37c
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
3aca933861822f66984a9a3ae1db8242fe6c9521 |
|
17-Jan-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Bluetooth 5 enhanced scanning API Bug: 30622771 Test: manual Change-Id: I2c8065fbcedf48777ce18c7d8fe621e568b3fd75 (cherry picked from commit 9de522c6e48497028d36a1f8ad8f8adf4b7b1ae6)
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
f5e368ff2643f4060e5c55143560554e207d40b0 |
|
19-May-2015 |
Prerepa Viswanadham <dham@google.com> |
setCallbackType should be public for onlost/onfound apis Bug: 21304922 Change-Id: I27ed4f3e00ac13354e3ef75e5686916be0d10918
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
971cd2b952cda860bc4e40800abde04005c21fd0 |
|
01-May-2015 |
Prerepa Viswanadham <dham@google.com> |
Merge commit 'eba66c3' into master_merge
|
c5065ee98d9ac9ff10ee89f42595cb6f135ddc65 |
|
01-May-2015 |
Wei Wang <weiwa@google.com> |
Fix a bug in ScanSettings constructor. Change-Id: I36e6effe8063bacddd61fe2c47c0360d7ffaee71
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
fc9f2d71a6ea6cc2f3b4490b4a4db6cac01cfad4 |
|
29-Apr-2015 |
Wei Wang <weiwa@google.com> |
Temp workaround to track max beacons. Change-Id: Ia65a7a0ec98d0181cf62db343e00c4a0b01c32d8
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
5882f5455f6a9e7e4d6b5f7d9f2ae650de0f2b5c |
|
22-Apr-2015 |
Prerepa Viswanadham <dham@google.com> |
Make onlost/onfound APIs public Change-Id: I455124478d953d652f216f71d5813782fc9633ab
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
e593d0aec6430d98731d9751facd0414a1c9c6a2 |
|
07-Apr-2015 |
Prerepa Viswanadham <dham@google.com> |
Onfound onlost feature. Change-Id: I5475cb21183abab8cf04af486ff7692396801b92 Signed-off-by: Prerepa Viswanadham <dham@google.com>
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
e1d0f58aa85531e261f10ff132018a0e8fac8370 |
|
19-Mar-2015 |
Wei Wang <weiwa@google.com> |
Make Opportunistic Scan API public. Change-Id: I47da0f7e385f0a72815e493852283a44370aa1ce
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
4190762d94e05e6c51e25e2743f8d622848d0945 |
|
13-Jan-2015 |
Wei Wang <weiwa@google.com> |
Add opportunistic ble scan mode. (1/2) Bug: 19003667 Change-Id: Ibed7e9ec604cb11a58736d168d3d19ece53fc77a (cherry picked from commit 7508ddf8b53bf350a3424ef71f1ce62ea17006b8)
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.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
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.java
|
ec64dbfbc0c7ecf41e17f3872c2d0109096f1c7a |
|
25-Jul-2014 |
Wei Wang <weiwa@google.com> |
Fix bug of ScanSettings. Add unit test. b/16318637. Change-Id: I3fbc1212c1712faa0c29132f3dc9cfc1d58af26b
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.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/ScanSettings.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/ScanSettings.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/ScanSettings.java
|
9fb1791e1a6859bfb14006a6d101cdecc88f3f95 |
|
02-Jul-2014 |
Wei Wang <weiwa@google.com> |
Implement batch scan API Change-Id: Ibb527280a221fbdd0fc6b805a7527c29079294b4
/frameworks/base/core/java/android/bluetooth/le/ScanSettings.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/ScanSettings.java
|