HomeSort by relevance Sort by last modified time
    Searched defs:mBluetoothGatt (Results 1 - 11 of 11) 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...]
  /frameworks/base/core/java/android/bluetooth/le/
BluetoothLeScanner.java 354 private IBluetoothGatt mBluetoothGatt;
367 mBluetoothGatt = bluetoothGatt;
381 mBluetoothGatt.registerScanner(this, mWorkSource);
410 mBluetoothGatt.stopScan(mScannerId);
411 mBluetoothGatt.unregisterScanner(mScannerId);
426 mBluetoothGatt.flushPendingBatchResults(mScannerId);
445 mBluetoothGatt.unregisterClient(scannerId);
448 mBluetoothGatt.startScan(mScannerId, mSettings, mFilters,
  /packages/apps/Test/connectivity/PMC/src/com/android/pmc/
GattClientListener.java 59 private BluetoothGatt mBluetoothGatt;
96 mBluetoothGatt = null;
162 if (mBluetoothGatt == null) {
163 mBluetoothGatt = mDevice.connectGatt(mContext,
166 mBluetoothGatt.discoverServices();
191 mBluetoothGatt.discoverServices();
197 mBluetoothGatt.close();
201 mBluetoothGatt = null;
215 mBluetoothGatt.requestMtu(MAX_MTU);
  /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...]
  /frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
BluetoothMidiDevice.java 72 private BluetoothGatt mBluetoothGatt;
105 mBluetoothGatt.discoverServices());
132 mBluetoothGatt.readCharacteristic(characteristic);
148 mBluetoothGatt.setCharacteristicNotification(characteristic, true);
159 boolean result = mBluetoothGatt.writeDescriptor(descriptor);
215 mBluetoothGatt.writeCharacteristic(mCharacteristic);
224 mBluetoothGatt = mBluetoothDevice.connectGatt(context, false, mGattCallback);
229 properties.putString(MidiDeviceInfo.PROPERTY_NAME, mBluetoothGatt.getDevice().getName());
231 mBluetoothGatt.getDevice());
279 if (mBluetoothGatt != null)
    [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...]
  /frameworks/base/services/core/java/com/android/server/
BluetoothManagerService.java 151 private IBluetoothGatt mBluetoothGatt;
373 mBluetoothGatt = null;
806 mBluetoothGatt.unregAll();
    [all...]

Completed in 314 milliseconds