HomeSort by relevance Sort by last modified time
    Searched defs:mBluetoothGatt (Results 1 - 8 of 8) sorted by null

  /developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
BluetoothLeService.java 48 private BluetoothGatt mBluetoothGatt;
82 mBluetoothGatt.discoverServices());
220 && mBluetoothGatt != null) {
221 Log.d(TAG, "Trying to use an existing mBluetoothGatt for connection.");
222 if (mBluetoothGatt.connect()) {
237 mBluetoothGatt = device.connectGatt(this, false, mGattCallback);
251 if (mBluetoothAdapter == null || mBluetoothGatt == null) {
255 mBluetoothGatt.disconnect();
263 if (mBluetoothGatt == null) {
266 mBluetoothGatt.close()
    [all...]
  /developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
BluetoothLeService.java 48 private BluetoothGatt mBluetoothGatt;
82 mBluetoothGatt.discoverServices());
220 && mBluetoothGatt != null) {
221 Log.d(TAG, "Trying to use an existing mBluetoothGatt for connection.");
222 if (mBluetoothGatt.connect()) {
237 mBluetoothGatt = device.connectGatt(this, false, mGattCallback);
251 if (mBluetoothAdapter == null || mBluetoothGatt == null) {
255 mBluetoothGatt.disconnect();
263 if (mBluetoothGatt == null) {
266 mBluetoothGatt.close()
    [all...]
  /development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
BluetoothLeService.java 48 private BluetoothGatt mBluetoothGatt;
82 mBluetoothGatt.discoverServices());
220 && mBluetoothGatt != null) {
221 Log.d(TAG, "Trying to use an existing mBluetoothGatt for connection.");
222 if (mBluetoothGatt.connect()) {
237 mBluetoothGatt = device.connectGatt(this, false, mGattCallback);
251 if (mBluetoothAdapter == null || mBluetoothGatt == null) {
255 mBluetoothGatt.disconnect();
263 if (mBluetoothGatt == null) {
266 mBluetoothGatt.close()
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleClientService.java 288 private BluetoothGatt mBluetoothGatt;
357 if (mBluetoothGatt != null && mBleState == BluetoothProfile.STATE_CONNECTED) {
358 mBluetoothGatt.discoverServices();
433 if (mBluetoothGatt != null) {
434 mBluetoothGatt.readRemoteRssi();
438 if (mBluetoothGatt != null) {
439 mBluetoothGatt.disconnect();
478 if (mBluetoothGatt != null) {
479 mBluetoothGatt.disconnect();
480 mBluetoothGatt.close()
    [all...]
BleConnectionPriorityClientService.java 104 private BluetoothGatt mBluetoothGatt;
141 if (mBluetoothGatt != null) {
143 mBluetoothGatt.disconnect();
144 mBluetoothGatt.close();
147 mBluetoothGatt = null;
185 if (mBluetoothGatt != null) {
186 mBluetoothGatt.disconnect();
204 mBluetoothGatt.requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_BALANCED);
208 mBluetoothGatt.requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_HIGH);
212 mBluetoothGatt.requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER);
    [all...]
BleEncryptedClientService.java 113 private BluetoothGatt mBluetoothGatt;
154 if (mBluetoothGatt != null) {
155 mBluetoothGatt.disconnect();
156 mBluetoothGatt.close();
157 mBluetoothGatt = null;
218 if (mBluetoothGatt != null) {
219 service = mBluetoothGatt.getService(SERVICE_UUID);
270 mBluetoothGatt.writeCharacteristic(characteristic);
275 mBluetoothGatt.readCharacteristic(characteristic);
281 mBluetoothGatt.writeDescriptor(descriptor);
    [all...]
BleCocClientService.java 144 private BluetoothGatt mBluetoothGatt;
223 if (mBluetoothGatt != null) {
224 mBluetoothGatt.disconnect();
244 if (mBluetoothGatt != null) {
245 mBluetoothGatt.disconnect();
246 mBluetoothGatt.close();
247 mBluetoothGatt = null;
286 mBluetoothGatt.readCharacteristic(characteristic);
321 if (mBluetoothGatt != null && mBleState == BluetoothProfile.STATE_CONNECTED) {
322 mBluetoothGatt.discoverServices()
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
GattClientFacade.java 121 BluetoothGatt mBluetoothGatt = device.connectGatt(mService.getApplicationContext(),
124 mBluetoothGattList.put(BluetoothGattCount, mBluetoothGatt);
    [all...]

Completed in 444 milliseconds