Searched refs:gatt (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCallback.java28 * @param gatt GATT client
36 public void onPhyUpdate(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { argument
42 * @param gatt GATT client
50 public void onPhyRead(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { argument
57 * @param gatt GATT client
63 public void onConnectionStateChange(BluetoothGatt gatt, int status, argument
71 * @param gatt GATT client invoked {@link BluetoothGatt#discoverServices}
75 public void onServicesDiscovered(BluetoothGatt gatt, int status) { argument
81 * @param gatt GATT client invoked {@link BluetoothGatt#readCharacteristic}
86 public void onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristi argument
104 onCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) argument
115 onCharacteristicChanged(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic) argument
127 onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) argument
139 onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) argument
150 onReliableWriteCompleted(BluetoothGatt gatt, int status) argument
163 onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) argument
177 onMtuChanged(BluetoothGatt gatt, int mtu, int status) argument
194 onConnectionUpdated(BluetoothGatt gatt, int interval, int latency, int timeout, int status) argument
[all...]
H A DBluetoothDevice.java1920 BluetoothGatt gatt = new BluetoothGatt(iGatt, this, transport, opportunistic, phy);
1921 gatt.connect(autoConnect, callback, handler);
1922 return gatt;
H A DBluetoothAdapter.java2364 BluetoothGatt gatt = (BluetoothGatt) proxy;
2365 gatt.close();
/frameworks/base/core/java/android/bluetooth/le/
H A DPeriodicAdvertisingManager.java140 IBluetoothGatt gatt;
142 gatt = mBluetoothManager.getBluetoothGatt();
144 Log.e(TAG, "Failed to get Bluetooth gatt - ", e);
159 gatt.registerSync(scanResult, skip, timeout, wrapped);
178 IBluetoothGatt gatt;
180 gatt = mBluetoothManager.getBluetoothGatt();
182 Log.e(TAG, "Failed to get Bluetooth gatt - ", e);
192 gatt.unregisterSync(wrapper);
H A DBluetoothLeScanner.java222 IBluetoothGatt gatt;
224 gatt = mBluetoothManager.getBluetoothGatt();
226 gatt = null;
228 if (gatt == null) {
244 BleScanCallbackWrapper wrapper = new BleScanCallbackWrapper(gatt, filters,
249 gatt.startScanForIntent(callbackIntent, settings, filters,
286 IBluetoothGatt gatt;
288 gatt = mBluetoothManager.getBluetoothGatt();
289 gatt.stopScanForIntent(callbackIntent, ActivityThread.currentOpPackageName());
H A DBluetoothLeAdvertiser.java410 IBluetoothGatt gatt;
412 gatt = mBluetoothManager.getBluetoothGatt();
414 Log.e(TAG, "Failed to get Bluetooth gatt - ", e);
427 gatt.startAdvertisingSet(parameters, advertiseData, scanResponse, periodicParameters,
451 IBluetoothGatt gatt;
453 gatt = mBluetoothManager.getBluetoothGatt();
454 gatt.stopAdvertisingSet(wrapped);
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A 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,

Completed in 1180 milliseconds