Home
last modified time | relevance | path

Searched refs:BluetoothGatt (Results 1 – 25 of 49) sorted by relevance

12

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattCallback.java38 public void onPhyUpdate(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { in onPhyUpdate()
52 public void onPhyRead(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { in onPhyRead()
65 public void onConnectionStateChange(BluetoothGatt gatt, int status, in onConnectionStateChange()
77 public void onServicesDiscovered(BluetoothGatt gatt, int status) { in onServicesDiscovered()
92 public void onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, in onCharacteristicRead()
106 public void onCharacteristicRead(@NonNull BluetoothGatt gatt, @NonNull in onCharacteristicRead()
128 public void onCharacteristicWrite(BluetoothGatt gatt, in onCharacteristicWrite()
143 public void onCharacteristicChanged(BluetoothGatt gatt, in onCharacteristicChanged()
157 public void onCharacteristicChanged(@NonNull BluetoothGatt gatt, in onCharacteristicChanged()
174 public void onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, in onDescriptorRead()
[all …]
DBluetoothGatt.java57 public final class BluetoothGatt implements BluetoothProfile { class
204 callback.onConnectionStateChange(BluetoothGatt.this,
246 callback.onPhyUpdate(BluetoothGatt.this, txPhy, rxPhy, status);
271 callback.onPhyRead(BluetoothGatt.this, txPhy, rxPhy, status);
299 callback.onConnectionStateChange(BluetoothGatt.this, status,
365 callback.onServicesDiscovered(BluetoothGatt.this, status);
425 callback.onCharacteristicRead(BluetoothGatt.this, characteristic,
495 callback.onCharacteristicWrite(BluetoothGatt.this, characteristic,
525 callback.onCharacteristicChanged(BluetoothGatt.this,
581 callback.onDescriptorRead(BluetoothGatt.this, descriptor, status,
[all …]
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/util/
DBluetoothGattUtils.java19 import android.bluetooth.BluetoothGatt;
36 case BluetoothGatt.GATT_SUCCESS: in getMessageForStatusCode()
38 case BluetoothGatt.GATT_FAILURE: in getMessageForStatusCode()
40 case BluetoothGatt.GATT_INSUFFICIENT_AUTHENTICATION: in getMessageForStatusCode()
42 case BluetoothGatt.GATT_INSUFFICIENT_AUTHORIZATION: in getMessageForStatusCode()
44 case BluetoothGatt.GATT_INSUFFICIENT_ENCRYPTION: in getMessageForStatusCode()
46 case BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH: in getMessageForStatusCode()
48 case BluetoothGatt.GATT_INVALID_OFFSET: in getMessageForStatusCode()
50 case BluetoothGatt.GATT_READ_NOT_PERMITTED: in getMessageForStatusCode()
52 case BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED: in getMessageForStatusCode()
[all …]
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_support/fastpair_provider/src/android/nearby/fastpair/provider/bluetooth/
DBluetoothGattUtils.java19 import android.bluetooth.BluetoothGatt;
41 case BluetoothGatt.GATT_SUCCESS: in getMessageForStatusCode()
43 case BluetoothGatt.GATT_FAILURE: in getMessageForStatusCode()
45 case BluetoothGatt.GATT_INSUFFICIENT_AUTHENTICATION: in getMessageForStatusCode()
47 case BluetoothGatt.GATT_INSUFFICIENT_AUTHORIZATION: in getMessageForStatusCode()
49 case BluetoothGatt.GATT_INSUFFICIENT_ENCRYPTION: in getMessageForStatusCode()
51 case BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH: in getMessageForStatusCode()
53 case BluetoothGatt.GATT_INVALID_OFFSET: in getMessageForStatusCode()
55 case BluetoothGatt.GATT_READ_NOT_PERMITTED: in getMessageForStatusCode()
57 case BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED: in getMessageForStatusCode()
[all …]
DBluetoothGattServlet.java20 import android.bluetooth.BluetoothGatt;
33 BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED); in read()
40 BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED); in write()
47 BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED); in readDescriptor()
55 BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED); in writeDescriptor()
61 BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED); in enableNotification()
67 BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED); in disableNotification()
DBluetoothGattServerConnection.java20 import android.bluetooth.BluetoothGatt;
156 BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED); in getServlet()
197 BluetoothGattUtils.toString(descriptor)), BluetoothGatt.GATT_FAILURE); in readDescriptor()
217 BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED); in writeDescriptor()
224 BluetoothGattUtils.toString(descriptor)), BluetoothGatt.GATT_FAILURE); in writeDescriptor()
244 BluetoothGatt.GATT_INVALID_OFFSET); in handleCharacteristicConfigurationChange()
250 BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH); in handleCharacteristicConfigurationChange()
294 BluetoothGatt.GATT_REQUEST_NOT_SUPPORTED); in handleCharacteristicConfigurationChange()
364 + ", but got offset " + offset, BluetoothGatt.GATT_INVALID_OFFSET); in assembleByteChunksAndHandle()
385 BluetoothGatt.GATT_FAILURE); in assembleByteChunksAndHandle()
DBluetoothGattServerHelper.java20 import android.bluetooth.BluetoothGatt;
169 BluetoothGatt.GATT_FAILURE); in getConnectionByDevice()
204 if (connectionSate != BluetoothGatt.STATE_CONNECTED) { in closeConnection()
234 if (status != BluetoothGatt.GATT_SUCCESS) { in onConnectionStateChange()
280 if (status != BluetoothGatt.GATT_SUCCESS) { in onConnectionStateChange()
309 bluetoothGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, in onCharacteristicReadRequest()
344 device, requestId, BluetoothGatt.GATT_SUCCESS, offset, null); in onCharacteristicWriteRequest()
369 device, requestId, BluetoothGatt.GATT_SUCCESS, offset, value); in onDescriptorReadRequest()
399 device, requestId, BluetoothGatt.GATT_SUCCESS, offset, null); in onDescriptorWriteRequest()
424 device, requestId, BluetoothGatt.GATT_SUCCESS, 0, null); in onExecuteWrite()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/testability/android/bluetooth/
DBluetoothGattCallback.java105 public void onConnectionStateChange(android.bluetooth.BluetoothGatt gatt, int status, in onConnectionStateChange()
112 public void onServicesDiscovered(android.bluetooth.BluetoothGatt gatt, int status) { in onServicesDiscovered()
118 public void onCharacteristicRead(android.bluetooth.BluetoothGatt gatt, in onCharacteristicRead()
125 public void onCharacteristicWrite(android.bluetooth.BluetoothGatt gatt, in onCharacteristicWrite()
132 public void onDescriptorRead(android.bluetooth.BluetoothGatt gatt, in onDescriptorRead()
139 public void onDescriptorWrite(android.bluetooth.BluetoothGatt gatt, in onDescriptorWrite()
146 public void onReadRemoteRssi(android.bluetooth.BluetoothGatt gatt, int rssi, int status) { in onReadRemoteRssi()
152 public void onReliableWriteCompleted(android.bluetooth.BluetoothGatt gatt, int status) { in onReliableWriteCompleted()
158 public void onMtuChanged(android.bluetooth.BluetoothGatt gatt, int mtu, int status) { in onMtuChanged()
163 public void onCharacteristicChanged(android.bluetooth.BluetoothGatt gatt, in onCharacteristicChanged()
DBluetoothGattWrapper.java35 private final android.bluetooth.BluetoothGatt mWrappedBluetoothGatt;
37 private BluetoothGattWrapper(android.bluetooth.BluetoothGatt bluetoothGatt) { in BluetoothGattWrapper()
69 Method refreshMethod = android.bluetooth.BluetoothGatt.class.getMethod("refresh"); in refresh()
158 public android.bluetooth.BluetoothGatt unwrap() { in unwrap()
163 public static BluetoothGattWrapper wrap(android.bluetooth.BluetoothGatt gatt) { in wrap()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/gatt/
DBluetoothGattHelperTest.java36 import android.bluetooth.BluetoothGatt;
309 .requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_HIGH)) in test_connect_withOptionRequestConnectionPriority_success()
318 .setConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_HIGH) in test_connect_withOptionRequestConnectionPriority_success()
331 .setConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_HIGH) in test_connect_withOptionRequestConnectionPriority_success()
334 .requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_HIGH); in test_connect_withOptionRequestConnectionPriority_success()
360 BluetoothGatt.GATT_SUCCESS, BluetoothGatt.STATE_CONNECTED); in test_BluetoothGattCallback_onConnectionStateChange_connected_success()
364 BluetoothGatt.GATT_SUCCESS, in test_BluetoothGattCallback_onConnectionStateChange_connected_success()
382 BluetoothGatt.GATT_SUCCESS, BluetoothGatt.STATE_CONNECTED); in test_BluetoothGattCallback_onConnectionStateChange_connected_success_withMtuOption()
402 BluetoothGatt.GATT_SUCCESS, BluetoothGatt.STATE_CONNECTED); in test_BluetoothGattCallback_onConnectionStateChange_connected_success_failMtuOption()
418 BluetoothGatt.GATT_SUCCESS, BluetoothGatt.STATE_CONNECTED); in test_BluetoothGattCallback_onConnectionStateChange_connected_unexpectedSuccess()
[all …]
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattClientListener.java23 import android.bluetooth.BluetoothGatt;
59 private BluetoothGatt mBluetoothGatt;
184 public void onConnectionStateChange(BluetoothGatt gatt, int status, in onConnectionStateChange()
213 public void onServicesDiscovered(BluetoothGatt gatt, int status) { in onServicesDiscovered()
219 public void onCharacteristicRead(BluetoothGatt gatt, in onCharacteristicRead()
225 public void onCharacteristicWrite(BluetoothGatt gatt, in onCharacteristicWrite()
235 public void onCharacteristicChanged(BluetoothGatt gatt, in onCharacteristicChanged()
241 public void onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, in onDescriptorRead()
247 public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, in onDescriptorWrite()
253 public void onReliableWriteCompleted(BluetoothGatt gatt, int status) { in onReliableWriteCompleted()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DCompanionManagerTest.java21 import android.bluetooth.BluetoothGatt;
119 checkReasonableConnParameterHelper(BluetoothGatt.CONNECTION_PRIORITY_HIGH); in testGetGattConnParameterPrimary()
120 checkReasonableConnParameterHelper(BluetoothGatt.CONNECTION_PRIORITY_BALANCED); in testGetGattConnParameterPrimary()
121 checkReasonableConnParameterHelper(BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER); in testGetGattConnParameterPrimary()
124 checkReasonableConnParameterHelper(BluetoothGatt.CONNECTION_PRIORITY_HIGH); in testGetGattConnParameterPrimary()
125 checkReasonableConnParameterHelper(BluetoothGatt.CONNECTION_PRIORITY_BALANCED); in testGetGattConnParameterPrimary()
126 checkReasonableConnParameterHelper(BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER); in testGetGattConnParameterPrimary()
129 checkReasonableConnParameterHelper(BluetoothGatt.CONNECTION_PRIORITY_HIGH); in testGetGattConnParameterPrimary()
130 checkReasonableConnParameterHelper(BluetoothGatt.CONNECTION_PRIORITY_BALANCED); in testGetGattConnParameterPrimary()
131 checkReasonableConnParameterHelper(BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER); in testGetGattConnParameterPrimary()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryStateMachine.java24 import android.bluetooth.BluetoothGatt;
77 BluetoothGatt mBluetoothGatt;
319 case BluetoothGatt.STATE_DISCONNECTED: in processConnectionEvent()
381 case BluetoothGatt.STATE_DISCONNECTED: in processConnectionEvent()
385 case BluetoothGatt.STATE_CONNECTED: in processConnectionEvent()
445 case BluetoothGatt.STATE_DISCONNECTED: in processConnectionEvent()
449 case BluetoothGatt.STATE_CONNECTED: { in processConnectionEvent()
518 case BluetoothGatt.STATE_DISCONNECTED: in processConnectionEvent()
522 case BluetoothGatt.STATE_CONNECTED: in processConnectionEvent()
534 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { in onConnectionStateChange()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGatt.java24 import android.bluetooth.BluetoothGatt;
335 return BluetoothGatt.GATT_SUCCESS; in setSubscriptionConfiguration()
443 mBluetoothGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_FAILURE, 0, in handleWriteRequest()
463 status = BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH; in handleWriteRequest()
465 status = BluetoothGatt.GATT_SUCCESS; in handleWriteRequest()
469 mBluetoothGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_FAILURE, 0, in handleWriteRequest()
514 return BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH; in setValue()
523 return BluetoothGatt.GATT_FAILURE; in setValue()
794 mCallback.onServiceAdded(status == BluetoothGatt.GATT_SUCCESS);
814 status = BluetoothGatt.GATT_INVALID_OFFSET;
[all …]
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/helpers/bluetooth/
DBluetoothGattClient.java20 import android.bluetooth.BluetoothGatt;
77 private BluetoothGatt mGatt;
230 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
241 BluetoothGatt gatt, BluetoothGattCharacteristic characteristic) {
251 BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) {
262 BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) {
271 BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) {
281 BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) {
290 public synchronized void onServicesDiscovered(BluetoothGatt gatt, int status) {
319 public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) {
DBluetoothGattMaster.java21 import android.bluetooth.BluetoothGatt;
141 device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
161 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
176 device, requestId, BluetoothGatt.GATT_SUCCESS, offset, descriptor.getValue());
192 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset,
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/
DGattInstance.kt20 import android.bluetooth.BluetoothGatt
39 public val mGatt: BluetoothGatt
83 bluetoothGatt: BluetoothGatt, in onConnectionStateChange()
94 override fun onServicesDiscovered(bluetoothGatt: BluetoothGatt, status: Int) { in onServicesDiscovered()
95 if (status == BluetoothGatt.GATT_SUCCESS) { in onServicesDiscovered()
102 bluetoothGatt: BluetoothGatt, in onCharacteristicRead()
121 bluetoothGatt: BluetoothGatt, in onDescriptorRead()
140 bluetoothGatt: BluetoothGatt, in onCharacteristicWrite()
150 bluetoothGatt: BluetoothGatt, in onDescriptorWrite()
DGattServerManager.kt20 import android.bluetooth.BluetoothGatt
47 check(status == BluetoothGatt.GATT_SUCCESS) in onServiceAdded()
66 BluetoothGatt.GATT_SUCCESS, in onCharacteristicReadRequest()
71 server.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset, ByteArray(0)) in onCharacteristicReadRequest()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMediaControlGattService.java34 import android.bluetooth.BluetoothGatt;
201 int status = BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH;
203 status = BluetoothGatt.GATT_SUCCESS;
216 int status = BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH;
218 status = BluetoothGatt.GATT_SUCCESS;
238 int status = BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH;
240 status = BluetoothGatt.GATT_SUCCESS;
253 int status = BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH;
255 status = BluetoothGatt.GATT_SUCCESS;
267 int status = BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH;
[all …]
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/bluetooth/
DIBluetoothGattImpl.java20 import android.bluetooth.BluetoothGatt;
98 callback.onClientRegistered(BluetoothGatt.GATT_SUCCESS, clientIf); in registerClient()
182 callback.onSearchComplete(serverAddress, BluetoothGatt.GATT_SUCCESS); in discoverServices()
254 BluetoothGatt.GATT_SUCCESS, in writeCharacteristic()
394 BluetoothGatt.GATT_SUCCESS, in writeDescriptor()
435 callback.onServerRegistered(BluetoothGatt.GATT_SUCCESS, serverIf); in registerServer()
517 BluetoothGatt.GATT_SUCCESS, 0 /*srvcType*/, 0 /*srvcInstId*/, in endServiceDeclaration()
626 callback.onNotificationSent(address, BluetoothGatt.GATT_SUCCESS); in sendNotification()
691 BluetoothGatt.GATT_SUCCESS, clientIf, isConnected, in newClientConnectionStateChangeRunnable()
703 BluetoothGatt.GATT_SUCCESS, serverIf, isConnected, in newServerConnectionStateChangeRunnable()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java21 import android.bluetooth.BluetoothGatt;
80 private BluetoothGatt mDeviceGatt;
250 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { in onConnectionStateChange()
254 if (status == BluetoothGatt.GATT_SUCCESS && newState == BluetoothGatt.STATE_CONNECTED) { in onConnectionStateChange()
260 public void onServicesDiscovered(BluetoothGatt gatt, int status) { in onServicesDiscovered()
261 if (status != BluetoothGatt.GATT_SUCCESS) { in onServicesDiscovered()
289 public void onCharacteristicRead(BluetoothGatt gatt, in onCharacteristicRead()
291 if (status != BluetoothGatt.GATT_SUCCESS) { in onCharacteristicRead()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DCompanionManager.java21 import android.bluetooth.BluetoothGatt;
376 case BluetoothGatt.CONNECTION_PRIORITY_HIGH: in getGattConnParameterPrimary()
378 case BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER: in getGattConnParameterPrimary()
386 case BluetoothGatt.CONNECTION_PRIORITY_HIGH: in getGattConnParameterSecondary()
388 case BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER: in getGattConnParameterSecondary()
396 case BluetoothGatt.CONNECTION_PRIORITY_HIGH: in getGattConnParameterDefault()
398 case BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER: in getGattConnParameterDefault()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/
DMediaControlGattServiceTest.java24 import android.bluetooth.BluetoothGatt;
181 mMcpService.mServerCallback.onServiceAdded(BluetoothGatt.GATT_SUCCESS, service); in initAllFeaturesGattService()
509 .sendResponse(eq(mCurrentDevice), eq(1), eq(BluetoothGatt.GATT_SUCCESS), eq(0), in verifyWriteObjIdsValid()
537 .sendResponse(eq(mCurrentDevice), eq(1), eq(BluetoothGatt.GATT_SUCCESS), eq(0), in testWriteCallbacksValid()
552 .sendResponse(eq(mCurrentDevice), eq(1), eq(BluetoothGatt.GATT_SUCCESS), eq(0), in testWriteCallbacksValid()
582 .sendResponse(eq(mCurrentDevice), eq(1), eq(BluetoothGatt.GATT_SUCCESS), eq(0), in testWriteCallbacksValid()
594 eq(BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH), eq(0), eq(value)); in verifyWriteObjIdsInvalid()
618 eq(BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH), eq(0), eq(bb.array())); in testWriteCallbacksInvalid()
631 eq(BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH), eq(0), eq(bb.array())); in testWriteCallbacksInvalid()
654 eq(BluetoothGatt.GATT_INVALID_ATTRIBUTE_LENGTH), eq(0), eq(bb.array())); in testWriteCallbacksInvalid()
[all …]
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/util/
DBluetoothGattUtilsTest.java23 import android.bluetooth.BluetoothGatt;
51 Field[] publicFields = BluetoothGatt.class.getFields(); in testGetMessageForStatusCode()
54 || field.getDeclaringClass() != BluetoothGatt.class) { in testGetMessageForStatusCode()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/gatt/
DBluetoothGattHelper.java19 import android.bluetooth.BluetoothGatt;
356 case BluetoothGatt.STATE_CONNECTED: { in onConnectionStateChange()
367 if (status != BluetoothGatt.GATT_SUCCESS) { in onConnectionStateChange()
400 case BluetoothGatt.STATE_DISCONNECTED: { in onConnectionStateChange()
409 if (status == BluetoothGatt.GATT_SUCCESS) { in onConnectionStateChange()
414 status = BluetoothGatt.GATT_FAILURE; in onConnectionStateChange()
452 if (status != BluetoothGatt.GATT_SUCCESS) { in onMtuChanged()

12