summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothGattServerCallback.java
AgeCommit message (Collapse)Author
2022-04-14Add Enhanced connection update SDK APIsSubramanian Srinivasan
Add support for following ECU support. 1. Enhanced connection update SDK APIs support. 2. Enhanced connection update support in Bluetooth apk and stack. CRs-Fixed: 3127801 Change-Id: I29a8d10aad4c797f7b082297dabaa3049bad5462
2020-09-14Update language to comply with Android's inclusive language guidanceJeff Sharkey
See https://source.android.com/setup/contribute/respectful-code for reference Test: none Bug: 168334533 Exempt-From-Owner-Approval: docs updates Change-Id: Id1a0f2a38e41badee3a34bd71af240511f273a7b
2017-09-14Bluetooth: fix parameter name in onConnectionUpdatedJakub Pawlowski
Test: compilation Change-Id: I625e4ca63477b795310ebb42ca5e9a0549523cc5
2017-08-24Fix checkstyle errors (2/2)Jack He
* 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
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-25Bluetooth: document status value in PHY read/updateJakub Pawlowski
Bug: 37544152 Test: none Change-Id: I2bac468f833c73cd282b1dac80b6553917996604
2017-03-24Expose connection update callback (4/4)Jakub Pawlowski
Test: manual Bug: 30622771 Change-Id: I56a3c42814249abc33e95e84ce092c2d8df65434
2017-03-22BluetoothGattCallbackExt removalJakub Pawlowski
New methods should be added to BluetoothGattCallback, instead of creating Ext class. Test: manual Bug: 30622771 Change-Id: I2567df5baace6bd2d2f30c36d2f62056408ca5d0
2017-03-08Bluetooth 5 PHY selection APIJakub Pawlowski
Bug: 30622771 Test: manual Change-Id: I50262a56a70466439f9700549c3c0e7bd49e2e8d (cherry picked from commit db5a87d50db9d4b3d642603f6c329b83ee5851f6)
2014-11-26Add server-side callback for change in MTU (4/4)Andre Eisenbach
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
2014-09-11Remove onConnectionCongested callbackPrerepa Viswanadham
Bug:17289507 Change-Id: I49fd99d320084c618dcec756b832fb3b6a6aec51
2014-08-20LE: Rename new MTU and connection paramter update APIsAndre Eisenbach
bug 17005342 Change-Id: I23151e1e92fe86896fc2883f81aef82084bb4215
2014-07-08LE: Un-hide new congestion control and MTU APIsAndre Eisenbach
Change-Id: I5ce395481620dd7ab611b1ab0eaeb5e29c4f13fa
2014-06-27LE: Add notification sent and congestion callbacks (3/4)Andre Eisenbach
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
2013-11-20Remove unused imports from frameworks/base.John Spurlock
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
2013-03-28Unhide Bluetooth Low Energy public APIsMatthew Xie
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
2013-02-27Initial version of BLE support for BluedroidGanesh Ganapathi Batta
The API classes are hidden for now. Will unhide after API console approval. Change-Id: I8283dd562fd6189fdd15c866ef2efb8bbdbc4109