summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth/BluetoothGattCallback.java
Commit message (Collapse)AuthorAgeFilesLines
* Migrating frameworks/base BT filesRoopa Sattiraju2022-01-171-267/+0
| | | | | | Bug: 206121418 Test: Compile Change-Id: Idb55371e9d678296fe46e5f4231ec2d12ec8b978
* Deprecate GATT callbacks and methods that were not memory safe andRahul Sabnis2021-11-041-14/+70
| | | | | | | | | | replace with memory safe versions. Tag: #feature Bug: 195157393 Test: Manual CTS-Coverage-Bug: 205190062 Change-Id: I5ae604ec20febcf646bfe6a8f866b218448349c1
* Make BluetoothGattCallback.onServiceChanged publicJakub Pawlowski2020-09-261-2/+3
| | | | | | Bug: 154056389 Test: proper CTS test will be provided Change-Id: I2c9264910b65d62124c75c3ee3fd0b5bd18a2006
* Expose service changed event to application (2/3)HsingYuan Lo2020-09-241-0/+13
| | | | | | | | | Handle service changed event from GattService Bug: 154056389 Tag: #feature Test: test service changed scenario Change-Id: If56dcbd7cf17b23c88cceb9c67c5d75b21320965
* Update language to comply with Android's inclusive language guidanceJeff Sharkey2020-09-141-1/+1
| | | | | | | | | See https://source.android.com/setup/contribute/respectful-code for reference Test: none Bug: 168334533 Exempt-From-Owner-Approval: docs updates Change-Id: Id1a0f2a38e41badee3a34bd71af240511f273a7b
* Fix checkstyle errors (1/2)Jack He2017-08-241-54/+49
| | | | | | | | * Automatic style corrections through IDE Bug: 63596319 Test: make checkbuild, no manual changes, no functional changes Change-Id: I2397d55abc34c9b7a9b748bec6137778df3421a7
* Bluetooth: document status value in PHY read/updateJakub Pawlowski2017-04-251-2/+4
| | | | | | Bug: 37544152 Test: none Change-Id: I2bac468f833c73cd282b1dac80b6553917996604
* Expose connection update callback (4/4)Jakub Pawlowski2017-03-241-0/+18
| | | | | | Test: manual Bug: 30622771 Change-Id: I56a3c42814249abc33e95e84ce092c2d8df65434
* BluetoothGattCallbackExt removalJakub Pawlowski2017-03-221-7/+150
| | | | | | | | | New methods should be added to BluetoothGattCallback, instead of creating Ext class. Test: manual Bug: 30622771 Change-Id: I2567df5baace6bd2d2f30c36d2f62056408ca5d0
* Bluetooth 5 PHY selection APIJakub Pawlowski2017-03-081-124/+8
| | | | | | | Bug: 30622771 Test: manual Change-Id: I50262a56a70466439f9700549c3c0e7bd49e2e8d (cherry picked from commit db5a87d50db9d4b3d642603f6c329b83ee5851f6)
* Remove onConnectionCongested callbackPrerepa Viswanadham2014-09-111-14/+0
| | | | | | Bug:17289507 Change-Id: I49fd99d320084c618dcec756b832fb3b6a6aec51
* LE: Rename new MTU and connection paramter update APIsAndre Eisenbach2014-08-201-3/+3
| | | | | bug 17005342 Change-Id: I23151e1e92fe86896fc2883f81aef82084bb4215
* LE: Un-hide new congestion control and MTU APIsAndre Eisenbach2014-07-081-2/+0
| | | | Change-Id: I5ce395481620dd7ab611b1ab0eaeb5e29c4f13fa
* LE: Add notification sent and congestion callbacks (3/4)Andre Eisenbach2014-06-271-0/+15
| | | | | | | | | | | | | | | | | | | 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
* LE: Add API to configure MTU for a given connection (3/4)Andre Eisenbach2014-03-251-0/+15
| | | | | bug:13571470 Change-Id: I3619617eaf864701a35f7802bc71805784d768d0
* Update javadoc to give app write better guidenceMatthew Xie2013-05-301-0/+3
| | | | | | | | Update javadoc of close methods of GATT cliet and server Update javadoc of BluetoothAdapter bug 8963528 Change-Id: I45ec618fd495225ed11a6171f33bfdc218397d4c
* Change BluetoothGattCallback methods argument from BluetoothDevice to ↵Matthew Xie2013-04-031-17/+24
| | | | | | | | | | | | | 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
* Unhide Bluetooth Low Energy public APIsMatthew Xie2013-03-281-34/+8
| | | | | | | | | | 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
* Initial version of BLE support for BluedroidGanesh Ganapathi Batta2013-02-271-0/+157
The API classes are hidden for now. Will unhide after API console approval. Change-Id: I8283dd562fd6189fdd15c866ef2efb8bbdbc4109