Searched refs:mBluetoothGatt (Results 1 – 6 of 6) sorted by relevance
59 private BluetoothGatt mBluetoothGatt; field in BasicBluetoothGattTest74 mBluetoothGatt = mBluetoothDevice.connectGatt( in setUp()76 if (mBluetoothGatt == null) { in setUp()82 mBluetoothGatt = mBluetoothDevice.connectGatt( in setUp()85 assertNotNull(mBluetoothGatt); in setUp()91 if (mBluetoothGatt != null) { in tearDown()92 mBluetoothGatt.disconnect(); in tearDown()102 List<BluetoothGattService> services = mBluetoothGatt.getServices(); in getServices()110 mBluetoothGatt.connect(); in connect()116 mBluetoothGatt.setPreferredPhy(BluetoothDevice.PHY_LE_1M, BluetoothDevice.PHY_LE_1M, in setPreferredPhy()[all …]
113 private BluetoothGatt mBluetoothGatt; field in BleEncryptedClientService154 if (mBluetoothGatt != null) { in onDestroy()155 mBluetoothGatt.disconnect(); in onDestroy()156 mBluetoothGatt.close(); in onDestroy()157 mBluetoothGatt = null; in onDestroy()218 if (mBluetoothGatt != null) { in getService()219 service = mBluetoothGatt.getService(SERVICE_UUID); in getService()270 mBluetoothGatt.writeCharacteristic(characteristic); in startEncryptedAction()275 mBluetoothGatt.readCharacteristic(characteristic); in startEncryptedAction()281 mBluetoothGatt.writeDescriptor(descriptor); in startEncryptedAction()[all …]
83 private BluetoothGatt mBluetoothGatt; field in BleConnectionPriorityClientService117 if (mBluetoothGatt != null) { in onDestroy()119 mBluetoothGatt.disconnect(); in onDestroy()120 mBluetoothGatt.close(); in onDestroy()123 mBluetoothGatt = null; in onDestroy()154 if (mBluetoothGatt != null) { in onStartCommand()155 mBluetoothGatt.disconnect(); in onStartCommand()171 mBluetoothGatt.requestConnectionPriority(mPriority); in myRequestConnectionPriority()214 mBluetoothGatt.disconnect();218 mBluetoothGatt.disconnect();[all …]
140 private BluetoothGatt mBluetoothGatt; field in BleCocClientService220 if (mBluetoothGatt != null) { in onTestFinish()221 mBluetoothGatt.disconnect(); in onTestFinish()241 if (mBluetoothGatt != null) { in onDestroy()242 mBluetoothGatt.disconnect(); in onDestroy()243 mBluetoothGatt.close(); in onDestroy()244 mBluetoothGatt = null; in onDestroy()283 mBluetoothGatt.readCharacteristic(characteristic); in readCharacteristic()318 if (mBluetoothGatt != null && mBleState == BluetoothProfile.STATE_CONNECTED) { in startLeDiscovery()319 mBluetoothGatt.discoverServices(); in startLeDiscovery()[all …]
322 private BluetoothGatt mBluetoothGatt; field in BleClientService404 if (mBluetoothGatt != null && mBleState == BluetoothProfile.STATE_CONNECTED) { in onTestFinish()405 mBluetoothGatt.discoverServices(); in onTestFinish()501 if (mBluetoothGatt != null) { in onTestFinish()502 mBluetoothGatt.readRemoteRssi(); in onTestFinish()506 if (mBluetoothGatt != null) { in onTestFinish()507 mBluetoothGatt.disconnect(); in onTestFinish()536 if (mBluetoothGatt != null) { in onTestFinish()537 mBluetoothGatt.readPhy(); in onTestFinish()541 if (mBluetoothGatt != null) { in onTestFinish()[all …]
44 private BluetoothGatt mBluetoothGatt; field in BluetoothGattMultiDevicesClient110 mBluetoothGatt = mServer.connectGatt(mContext, false, mGattCallback, TRANSPORT_LE); in connect()128 mBluetoothGatt.discoverServices(); in containsService()136 return mBluetoothGatt.getService(UUID.fromString(uuid)) != null; in containsService()