Searched refs:gatt (Results 1 - 9 of 9) 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
64 public void onConnectionStateChange(BluetoothGatt gatt, int status, argument
72 * @param gatt GATT client invoked {@link BluetoothGatt#discoverServices}
76 public void onServicesDiscovered(BluetoothGatt gatt, int status) { argument
82 * @param gatt GATT client invoked {@link BluetoothGatt#readCharacteristic}
88 public void onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristi argument
107 onCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) argument
118 onCharacteristicChanged(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic) argument
131 onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) argument
144 onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) argument
155 onReliableWriteCompleted(BluetoothGatt gatt, int status) argument
168 onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) argument
182 onMtuChanged(BluetoothGatt gatt, int mtu, int status) argument
199 onConnectionUpdated(BluetoothGatt gatt, int interval, int latency, int timeout, int status) argument
[all...]
H A DBluetoothGattServerCallback.java204 public void onConnectionUpdated(BluetoothDevice gatt, int interval, int latency, int timeout, argument
H A DBluetoothDevice.java1725 BluetoothGatt gatt = new BluetoothGatt(iGatt, this, transport, phy);
1726 gatt.connect(autoConnect, callback, handler);
1727 return gatt;
H A DBluetoothAdapter.java2112 BluetoothGatt gatt = (BluetoothGatt)proxy;
2113 gatt.close();
/frameworks/base/core/java/android/bluetooth/le/
H A DAdvertisingSet.java40 private final IBluetoothGatt gatt; field in class:AdvertisingSet
48 this.gatt = bluetoothManager.getBluetoothGatt();
50 Log.e(TAG, "Failed to get Bluetooth gatt - ", e);
76 gatt.enableAdvertisingSet(this.advertiserId, enable, duration,
98 gatt.setAdvertisingData(this.advertiserId, advertiseData);
116 gatt.setScanResponseData(this.advertiserId, scanResponse);
131 gatt.setAdvertisingParameters(this.advertiserId, parameters);
144 gatt.setPeriodicAdvertisingParameters(this.advertiserId, parameters);
163 gatt.setPeriodicAdvertisingData(this.advertiserId, periodicData);
177 gatt
[all...]
H A DPeriodicAdvertisingManager.java138 IBluetoothGatt gatt;
140 gatt = mBluetoothManager.getBluetoothGatt();
142 Log.e(TAG, "Failed to get Bluetooth gatt - ", e);
156 gatt.registerSync(scanResult, skip, timeout, wrapped);
175 IBluetoothGatt gatt;
177 gatt = mBluetoothManager.getBluetoothGatt();
179 Log.e(TAG, "Failed to get Bluetooth gatt - ", e);
189 gatt.unregisterSync(wrapper);
H A DBluetoothLeScanner.java210 IBluetoothGatt gatt;
212 gatt = mBluetoothManager.getBluetoothGatt();
214 gatt = null;
216 if (gatt == null) {
232 BleScanCallbackWrapper wrapper = new BleScanCallbackWrapper(gatt, filters,
237 gatt.startScanForIntent(callbackIntent, settings, filters,
274 IBluetoothGatt gatt;
276 gatt = mBluetoothManager.getBluetoothGatt();
277 gatt.stopScanForIntent(callbackIntent, ActivityThread.currentOpPackageName());
H A DBluetoothLeAdvertiser.java413 IBluetoothGatt gatt;
415 gatt = mBluetoothManager.getBluetoothGatt();
417 Log.e(TAG, "Failed to get Bluetooth gatt - ", e);
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/
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 137 milliseconds