Searched refs:mGattServer (Results 1 – 6 of 6) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleEncryptedServerService.java | 96 private BluetoothGattServer mGattServer; field in BleEncryptedServerService 112 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 114 if ((mGattServer != null) && (mAdvertiser != null)) { in onCreate() 115 mGattServer.addService(mService); in onCreate() 121 } else if (mGattServer == null) { in onCreate() 136 if (mGattServer == null) { in onDestroy() 140 mGattServer.cancelConnection(mDevice); in onDestroy() 142 mGattServer.clearServices(); in onDestroy() 143 mGattServer.close(); in onDestroy() 337 if (mGattServer == null) { [all …]
|
D | BleConnectionPriorityServerService.java | 62 private BluetoothGattServer mGattServer; field in BleConnectionPriorityServerService 79 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 85 } else if (mGattServer == null) { in onCreate() 99 if (mGattServer == null) { in onDestroy() 103 mGattServer.cancelConnection(mDevice); in onDestroy() 105 mGattServer.clearServices(); in onDestroy() 106 mGattServer.close(); in onDestroy()
|
D | BleServerService.java | 223 private BluetoothGattServer mGattServer; field in BleServerService 257 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 269 } else if (mGattServer == null) { in onCreate() 278 if (!mGattServer.addService(mService)) { in onCreate() 336 if (mGattServer == null) { in onDestroy() 340 mGattServer.cancelConnection(mDevice); in onDestroy() 342 mGattServer.clearServices(); in onDestroy() 343 mGattServer.close(); in onDestroy() 974 mGattServer.addService(includedService); 977 mGattServer.addService(mAdditionalNotificationService); [all …]
|
D | BleCocServerService.java | 165 private BluetoothGattServer mGattServer; field in BleCocServerService 210 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 219 } else if (mGattServer == null) { in onCreate() 226 if (!mGattServer.addService(mService)) { in onCreate() 343 if (mGattServer == null) { in onDestroy() 347 mGattServer.cancelConnection(mDevice); in onDestroy() 349 mGattServer.clearServices(); in onDestroy() 350 mGattServer.close(); in onDestroy() 485 if (mGattServer == null) { 514 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset, value);
|
D | BleAdvertiserService.java | 103 private BluetoothGattServer mGattServer; field in BleAdvertiserService 121 mGattServer = mBluetoothManager.openGattServer(getApplicationContext(), in onCreate()
|
/cts/hostsidetests/multidevices/bluetooth/snippet/ |
D | BluetoothGattMultiDevicesSnippet.java | 30 private BluetoothGattMultiDevicesServer mGattServer; field in BluetoothGattMultiDevicesSnippet 45 mGattServer = new BluetoothGattMultiDevicesServer(mContext, mBluetoothManager); in reset() 51 mGattServer.createAndAdvertiseServer(uuid); in createAndAdvertiseServer() 59 mGattServer.createAndAdvertiseIsolatedServer(uuid); in createAndAdvertiseIsolatedServer()
|