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 342 private IBluetoothGatt mBluetoothGatt;
354 mBluetoothGatt = bluetoothGatt;
368 mBluetoothGatt.registerScanner(this, mWorkSource);
393 mBluetoothGatt.stopScan(mScannerId);
394 mBluetoothGatt.unregisterScanner(mScannerId);
409 mBluetoothGatt.flushPendingBatchResults(mScannerId);
428 mBluetoothGatt.unregisterClient(scannerId);
431 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;
354 if (mBluetoothGatt != null && mBleState == BluetoothProfile.STATE_CONNECTED) {
355 mBluetoothGatt.discoverServices();
430 if (mBluetoothGatt != null) {
431 mBluetoothGatt.readRemoteRssi();
435 if (mBluetoothGatt != null) {
436 mBluetoothGatt.disconnect();
475 if (mBluetoothGatt != null) {
476 mBluetoothGatt.disconnect();
477 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 119 BluetoothGatt mBluetoothGatt =
127 mBluetoothGattList.put(BluetoothGattCount, mBluetoothGatt);
    [all...]
  /frameworks/base/services/core/java/com/android/server/
BluetoothManagerService.java 156 private IBluetoothGatt mBluetoothGatt;
366 mBluetoothGatt = null;
763 mBluetoothGatt.unregAll();
    [all...]

Completed in 673 milliseconds