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); 159 boolean result = mBluetoothGatt.writeDescriptor(descriptor); 215 mBluetoothGatt.writeCharacteristic(mCharacteristic); in writePacket() 224 mBluetoothGatt = mBluetoothDevice.connectGatt(context, false, mGattCallback); in BluetoothMidiDevice() 229 properties.putString(MidiDeviceInfo.PROPERTY_NAME, mBluetoothGatt.getDevice().getName()); in BluetoothMidiDevice() 231 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() 281 mBluetoothGatt.unregisterClient(mClientIf); in startRegisteration() 293 mBluetoothGatt.stopMultiAdvertising(mClientIf); in stopAdvertising() 318 mBluetoothGatt.unregisterClient(clientIf); in onClientRegistered() 321 mBluetoothGatt.startMultiAdvertising(mClientIf, mAdvertisement, in onClientRegistered() 351 mBluetoothGatt.unregisterClient(mClientIf); in onMultiAdvertiseCallback()
|
D | BluetoothLeScanner.java | 277 private IBluetoothGatt mBluetoothGatt; field in BluetoothLeScanner.BleScanCallbackWrapper 289 mBluetoothGatt = bluetoothGatt; in BleScanCallbackWrapper() 304 mBluetoothGatt.registerClient(new ParcelUuid(uuid), this); in startRegisteration() 329 mBluetoothGatt.stopScan(mClientIf, false); in stopLeScan() 330 mBluetoothGatt.unregisterClient(mClientIf); in stopLeScan() 345 mBluetoothGatt.flushPendingBatchResults(mClientIf, false); in flushPendingBatchResults() 364 mBluetoothGatt.unregisterClient(clientIf); in onClientRegistered() 367 mBluetoothGatt.startScan(mClientIf, false, mSettings, mFilters, in onClientRegistered()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 129 private IBluetoothGatt mBluetoothGatt; field in BluetoothManagerService 248 mBluetoothGatt = null; in BluetoothManagerService() 599 mBluetoothGatt.unregAll(); in sendBrEdrDownCallback() 710 mBluetoothGatt = null; in unbindAndFinish() 718 return mBluetoothGatt; in getBluetoothGatt() 1274 mBluetoothGatt = IBluetoothGatt.Stub.asInterface(service); in handleMessage() 1398 mBluetoothGatt = null; in handleMessage() 1510 mBluetoothGatt = null; in handleMessage() 1681 if (mBluetoothGatt != null) { in bluetoothStateChangeHandler() 1808 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;
|