Home
last modified time | relevance | path

Searched refs:gatt (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCallback.java36 public void onPhyUpdate(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { in onPhyUpdate() argument
50 public void onPhyRead(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { in onPhyRead() argument
64 public void onConnectionStateChange(BluetoothGatt gatt, int status, in onConnectionStateChange() argument
76 public void onServicesDiscovered(BluetoothGatt gatt, int status) { in onServicesDiscovered() argument
88 public void onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, in onCharacteristicRead() argument
107 public void onCharacteristicWrite(BluetoothGatt gatt, in onCharacteristicWrite() argument
118 public void onCharacteristicChanged(BluetoothGatt gatt, in onCharacteristicChanged() argument
131 public void onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, in onDescriptorRead() argument
144 public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, in onDescriptorWrite() argument
155 public void onReliableWriteCompleted(BluetoothGatt gatt, int status) { in onReliableWriteCompleted() argument
[all …]
DBluetoothGattServerCallback.java204 public void onConnectionUpdated(BluetoothDevice gatt, int interval, int latency, int timeout, in onConnectionUpdated() argument
DBluetoothDevice.java1725 BluetoothGatt gatt = new BluetoothGatt(iGatt, this, transport, phy); in connectGatt() local
1726 gatt.connect(autoConnect, callback, handler); in connectGatt()
1727 return gatt; in connectGatt()
DBluetoothAdapter.java2112 BluetoothGatt gatt = (BluetoothGatt)proxy; in closeProfileProxy() local
2113 gatt.close(); in closeProfileProxy()
/frameworks/base/core/java/android/bluetooth/le/
DAdvertisingSet.java40 private final IBluetoothGatt gatt; field in AdvertisingSet
48 this.gatt = bluetoothManager.getBluetoothGatt(); in AdvertisingSet()
76 gatt.enableAdvertisingSet(this.advertiserId, enable, duration, in enableAdvertising()
98 gatt.setAdvertisingData(this.advertiserId, advertiseData); in setAdvertisingData()
116 gatt.setScanResponseData(this.advertiserId, scanResponse); in setScanResponseData()
131 gatt.setAdvertisingParameters(this.advertiserId, parameters); in setAdvertisingParameters()
144 gatt.setPeriodicAdvertisingParameters(this.advertiserId, parameters); in setPeriodicAdvertisingParameters()
163 gatt.setPeriodicAdvertisingData(this.advertiserId, periodicData); in setPeriodicAdvertisingData()
177 gatt.setPeriodicAdvertisingEnable(this.advertiserId, enable); in setPeriodicAdvertisingEnabled()
193 gatt.getOwnAddress(this.advertiserId); in getOwnAddress()
DPeriodicAdvertisingManager.java138 IBluetoothGatt gatt; in registerSync() local
140 gatt = mBluetoothManager.getBluetoothGatt(); in registerSync()
156 gatt.registerSync(scanResult, skip, timeout, wrapped); in registerSync()
175 IBluetoothGatt gatt; in unregisterSync() local
177 gatt = mBluetoothManager.getBluetoothGatt(); in unregisterSync()
189 gatt.unregisterSync(wrapper); in unregisterSync()
DBluetoothLeScanner.java210 IBluetoothGatt gatt; in startScan() local
212 gatt = mBluetoothManager.getBluetoothGatt(); in startScan()
214 gatt = null; in startScan()
216 if (gatt == null) { in startScan()
232 BleScanCallbackWrapper wrapper = new BleScanCallbackWrapper(gatt, filters, in startScan()
237 gatt.startScanForIntent(callbackIntent, settings, filters, in startScan()
274 IBluetoothGatt gatt; in stopScan() local
276 gatt = mBluetoothManager.getBluetoothGatt(); in stopScan()
277 gatt.stopScanForIntent(callbackIntent, ActivityThread.currentOpPackageName()); in stopScan()
DBluetoothLeAdvertiser.java413 IBluetoothGatt gatt;
415 gatt = mBluetoothManager.getBluetoothGatt();
428 gatt.startAdvertisingSet(parameters, advertiseData, scanResponse, periodicParameters,
450 IBluetoothGatt gatt;
452 gatt = mBluetoothManager.getBluetoothGatt();
453 gatt.stopAdvertisingSet(wrapped);
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothMidiDevice.java99 public void onConnectionStateChange(BluetoothGatt gatt, int status,
113 public void onServicesDiscovered(BluetoothGatt gatt, int status) {
115 BluetoothGattService service = gatt.getService(MIDI_SERVICE);
125 boolean result = gatt.requestConnectionPriority(
142 public void onCharacteristicRead(BluetoothGatt gatt,
169 public void onCharacteristicWrite(BluetoothGatt gatt,
177 public void onCharacteristicChanged(BluetoothGatt gatt,