Searched refs:mBluetoothGatt (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothMidiDevice.java | 72 private BluetoothGatt mBluetoothGatt; field in BluetoothMidiDevice 105 mBluetoothGatt.discoverServices()); 115 List<BluetoothGattService> services = mBluetoothGatt.getServices(); 128 mBluetoothGatt.readCharacteristic(characteristic); 148 mBluetoothGatt.setCharacteristicNotification(characteristic, true); 154 mBluetoothGatt.writeDescriptor(descriptor); 207 mBluetoothGatt.writeCharacteristic(mCharacteristic); in writePacket() 216 mBluetoothGatt = mBluetoothDevice.connectGatt(context, false, mGattCallback); in BluetoothMidiDevice() 221 properties.putString(MidiDeviceInfo.PROPERTY_NAME, mBluetoothGatt.getDevice().getName()); in BluetoothMidiDevice() 223 mBluetoothGatt.getDevice()); in BluetoothMidiDevice() [all …]
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | BluetoothLeAdvertiser.java | 237 private final IBluetoothGatt mBluetoothGatt; field in BluetoothLeAdvertiser.AdvertiseCallbackWrapper 253 mBluetoothGatt = bluetoothGatt; in AdvertiseCallbackWrapper() 263 mBluetoothGatt.registerClient(new ParcelUuid(uuid), this); in startRegisteration() 277 mBluetoothGatt.unregisterClient(mClientIf); in startRegisteration() 289 mBluetoothGatt.stopMultiAdvertising(mClientIf); in stopAdvertising() 313 mBluetoothGatt.startMultiAdvertising(mClientIf, mAdvertisement, in onClientRegistered() 342 mBluetoothGatt.unregisterClient(mClientIf); in onMultiAdvertiseCallback()
|
D | BluetoothLeScanner.java | 239 private IBluetoothGatt mBluetoothGatt; field in BluetoothLeScanner.BleScanCallbackWrapper 250 mBluetoothGatt = bluetoothGatt; in BleScanCallbackWrapper() 264 mBluetoothGatt.registerClient(new ParcelUuid(uuid), this); in startRegisteration() 286 mBluetoothGatt.stopScan(mClientIf, false); in stopLeScan() 287 mBluetoothGatt.unregisterClient(mClientIf); in stopLeScan() 302 mBluetoothGatt.flushPendingBatchResults(mClientIf, false); in flushPendingBatchResults() 324 mBluetoothGatt.startScan(mClientIf, false, mSettings, mFilters, in onClientRegistered()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 137 private IBluetoothGatt mBluetoothGatt; field in BluetoothManagerService 247 mBluetoothGatt = null; in BluetoothManagerService() 582 mBluetoothGatt.unregAll(); in sendBrEdrDownCallback() 700 mBluetoothGatt = null; in unbindAndFinish() 706 return mBluetoothGatt; in getBluetoothGatt() 1289 mBluetoothGatt = IBluetoothGatt.Stub.asInterface(service); in handleMessage() 1397 mBluetoothGatt = null; in handleMessage() 1509 mBluetoothGatt = null; in handleMessage() 1674 if (mBluetoothGatt != null) { in bluetoothStateChangeHandler() 1815 mBluetoothGatt = null; in recoverBluetoothServiceFromError()
|
/frameworks/base/docs/html/guide/topics/connectivity/ |
D | bluetooth-le.jd | 335 <pre>mBluetoothGatt = device.connectGatt(this, false, mGattCallback);</pre> 359 private BluetoothGatt mBluetoothGatt; 393 mBluetoothGatt.discoverServices()); 582 private BluetoothGatt mBluetoothGatt; 586 mBluetoothGatt.setCharacteristicNotification(characteristic, enabled); 591 mBluetoothGatt.writeDescriptor(descriptor);</pre> 612 if (mBluetoothGatt == null) { 615 mBluetoothGatt.close(); 616 mBluetoothGatt = null;
|