Home
last modified time | relevance | path

Searched refs:mGattServer (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleEncryptedServerService.java96 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 …]
DBleConnectionPriorityServerService.java62 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()
DBleServerService.java223 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()
339 if (mGattServer == null) { in onDestroy()
343 mGattServer.cancelConnection(mDevice); in onDestroy()
345 mGattServer.clearServices(); in onDestroy()
346 mGattServer.close(); in onDestroy()
961 mGattServer.addService(includedService);
964 mGattServer.addService(mAdditionalNotificationService);
[all …]
DBleCocServerService.java165 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);
DBleAdvertiserService.java103 private BluetoothGattServer mGattServer; field in BleAdvertiserService
121 mGattServer = mBluetoothManager.openGattServer(getApplicationContext(), in onCreate()