aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/le/ScanCallback.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix after API_reviewWilliam Escande2022-03-081-7/+20
| | | | | | | | | | | | | | | | | | * 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
* API Changes needed for apex to buildWilliam Escande2022-02-011-0/+3
| | | | | | | | | Bug: 216476895 Test: Compile Tag: #refactor Ignore-AOSP-First: AOSP will be updated later Change-Id: I09108622038b174104457ca18ac6ec7949978f66 CTS-Coverage-Bug: 217352944
* Fix GATT client leakage when scan is throttled (1/2)Jakub Pawlowski2017-08-281-0/+6
| | | | | | | | | | 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
* Fix checkstyle errors (1/2)Jack He2017-08-241-4/+4
| | | | | | | | * Automatic style corrections through IDE Bug: 63596319 Test: make checkbuild, no manual changes, no functional changes Change-Id: I2397d55abc34c9b7a9b748bec6137778df3421a7
* BLE scan API using PendingIntentAmith Yamasani2017-04-141-0/+2
| | | | | | | | | | | 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
* Make onlost/onfound APIs publicPrerepa Viswanadham2015-05-051-2/+4
| | | | Change-Id: I455124478d953d652f216f71d5813782fc9633ab
* Onfound onlost feature.Prerepa Viswanadham2015-04-071-2/+8
| | | | | Change-Id: I5475cb21183abab8cf04af486ff7692396801b92 Signed-off-by: Prerepa Viswanadham <dham@google.com>
* Fix API council review comments. Also hide certain APIs(1/3).Wei Wang2014-08-151-2/+3
| | | | | | b/17006825. Change-Id: Iee64b11920152e0ab3da54decf37fa4a83be5dc7
* More API modification of BLE APIs (1/2).Wei Wang2014-07-181-5/+5
| | | | | | | | | | | | | | | 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
* Unhide Bluetooth batch APIs. Deprecate BluetoothAdpater scan APIs. (1/2)Wei Wang2014-07-111-30/+19
| | | | Change-Id: Ib0c4ea6c8372a15473269660355fb5ccf4284457
* OnFound and Onlost callback integrationPrerepa Viswanadham2014-07-091-2/+0
| | | | Change-Id: I23473b18484f041c4dd808c85bb92545a77e20c2
* Tie in BLE hw capabilities with api invocation and support.Prerepa Viswanadham2014-07-081-0/+5
| | | | Change-Id: Ic1f0b3f156cf2fdde8f04b5c4384e4fd3d79623a
* Address API review comments.Wei Wang2014-05-291-0/+79
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