summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/le/ScanCallback.java
AgeCommit message (Collapse)Author
2022-03-08Fix after API_reviewWilliam Escande
* isMandatoryCodec is now public * SCAN_FAILED_OUT_OF_HARDWARE/SCANNING_TOO_FREQUENTLY is now public with a IntDef (method using the value are changed accordingly) * Update doc for EXTRA_BATTERY_LEVEL and EXTRA_PAIRING_INITIATOR and ACTION_CONNECTION_STATE_CHANGED * Add Autoclosable to BluetoothSap to remove the NotCloseable * BluetoothClass.Device.PERI* are now public Bug: 222725037 Fix: 221851154 Test: Build + TH Tag: #refactor CTS-Coverage-Bug: 222539659 Ignore-AOSP-First: merge conflict resolution Change-Id: Ia6aa778d6bdc0319266c52a84633ee593eaa7eb0
2022-02-01API Changes needed for apex to buildWilliam Escande
Bug: 216476895 Test: Compile Tag: #refactor Ignore-AOSP-First: AOSP will be updated later Change-Id: I09108622038b174104457ca18ac6ec7949978f66 CTS-Coverage-Bug: 217352944
2017-08-28Fix GATT client leakage when scan is throttled (1/2)Jakub Pawlowski
Currently, scan throttling happens after client is registered, but before the scan is started. This might lead to scan client being leaked. This patch fixed that by moving check before client registration. Bug: 64887233 Test: manual Change-Id: I22ae624a0c51110cb69679f796926e3b2b36d0ac
2017-08-24Fix checkstyle errors (1/2)Jack He
* Automatic style corrections through IDE Bug: 63596319 Test: make checkbuild, no manual changes, no functional changes Change-Id: I2397d55abc34c9b7a9b748bec6137778df3421a7
2017-04-14BLE scan API using PendingIntentAmith Yamasani
This allows apps to listen for beacons, etc., without having to run a foreground service and register a callback. They can instead register a PendingIntent which will be fired when scan results are available or when an error occurs. Bug: 37254611 Test: WIP Change-Id: I1793eee67ff0211370ed6fc38be4d95a4c5853f5
2015-05-05Make onlost/onfound APIs publicPrerepa Viswanadham
Change-Id: I455124478d953d652f216f71d5813782fc9633ab
2015-04-07Onfound onlost feature.Prerepa Viswanadham
Change-Id: I5475cb21183abab8cf04af486ff7692396801b92 Signed-off-by: Prerepa Viswanadham <dham@google.com>
2014-08-15Fix API council review comments. Also hide certain APIs(1/3).Wei Wang
b/17006825. Change-Id: Iee64b11920152e0ab3da54decf37fa4a83be5dc7
2014-07-18More API modification of BLE APIs (1/2).Wei Wang
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
2014-07-11Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)Wei Wang
Change-Id: Ib0c4ea6c8372a15473269660355fb5ccf4284457
2014-07-09OnFound and Onlost callback integrationPrerepa Viswanadham
Change-Id: I23473b18484f041c4dd808c85bb92545a77e20c2
2014-07-08Tie in BLE hw capabilities with api invocation and support.Prerepa Viswanadham
Change-Id: Ic1f0b3f156cf2fdde8f04b5c4384e4fd3d79623a
2014-05-29Address API review comments.Wei Wang
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