summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth/BluetoothGattServerCallback.java
Commit message (Collapse)AuthorAgeFilesLines
* Migrating frameworks/base BT filesRoopa Sattiraju2022-01-171-202/+0
| | | | | | Bug: 206121418 Test: Compile Change-Id: Idb55371e9d678296fe46e5f4231ec2d12ec8b978
* 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
* Bluetooth: fix parameter name in onConnectionUpdatedJakub Pawlowski2017-09-141-2/+2
| | | | | Test: compilation Change-Id: I625e4ca63477b795310ebb42ca5e9a0549523cc5
* Fix checkstyle errors (2/2)Jack He2017-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix checkstyle errors (1/2)Jack He2017-08-241-42/+36
| | | | | | | | * 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/+19
| | | | | | Test: manual Bug: 30622771 Change-Id: I56a3c42814249abc33e95e84ce092c2d8df65434
* BluetoothGattCallbackExt removalJakub Pawlowski2017-03-221-6/+153
| | | | | | | | | 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-129/+9
| | | | | | | Bug: 30622771 Test: manual Change-Id: I50262a56a70466439f9700549c3c0e7bd49e2e8d (cherry picked from commit db5a87d50db9d4b3d642603f6c329b83ee5851f6)
* Add server-side callback for change in MTU (4/4)Andre Eisenbach2014-11-261-0/+12
| | | | | | | | | When a client requests to update the LE transport MTU, the server currently does not get notified and can therefor not properly size notifications appropriate to the current MTU. Bug: 18388114 Change-Id: I515bfc2cc9846490d57de71860f41ea9a61fa243
* 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-1/+1
| | | | | 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/+30
| | | | | | | | | | | | | | | | | | | 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
* Remove unused imports from frameworks/base.John Spurlock2013-11-201-2/+0
| | | | Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
* Unhide Bluetooth Low Energy public APIsMatthew Xie2013-03-281-29/+7
| | | | | | | | | | 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/+158
The API classes are hidden for now. Will unhide after API console approval. Change-Id: I8283dd562fd6189fdd15c866ef2efb8bbdbc4109