Home
last modified time | relevance | path

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

/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DCarBleCentralManager.java202 BluetoothGatt gatt = device.connectGatt(mContext, /* autoConnect = */ false, in startDeviceConnection() local
204 if (gatt == null) { in startDeviceConnection()
208 BleDevice bleDevice = new BleDevice(device, gatt); in startDeviceConnection()
260 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
261 super.onConnectionStateChange(gatt, status, newState);
262 if (gatt == null) {
267 BleDevice connectedDevice = getConnectedDevice(gatt);
286 public void onServicesDiscovered(BluetoothGatt gatt, int status) {
287 super.onServicesDiscovered(gatt, status);
288 if (gatt == null) {
[all …]
DCarBleManager.java128 BleDevice getConnectedDevice(@NonNull BluetoothGatt gatt) { in getConnectedDevice() argument
130 if (device.mGatt == gatt) { in getConnectedDevice()
205 BleDevice(@NonNull BluetoothDevice device, @Nullable BluetoothGatt gatt) { in BleDevice() argument
207 mGatt = gatt; in BleDevice()
DBlePeripheralManager.java400 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
421 public void onServicesDiscovered(BluetoothGatt gatt, int status) {
444 BluetoothGatt gatt, BluetoothGattCharacteristic characteristic,
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattClientListener.java184 public void onConnectionStateChange(BluetoothGatt gatt, int status, in onConnectionStateChange() argument
189 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange()
195 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange()
205 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange()
208 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange()
213 public void onServicesDiscovered(BluetoothGatt gatt, int status) { in onServicesDiscovered() argument
219 public void onCharacteristicRead(BluetoothGatt gatt, in onCharacteristicRead() argument
225 public void onCharacteristicWrite(BluetoothGatt gatt, in onCharacteristicWrite() argument
230 writeCharacteristic(gatt, (int) (timeElapse / MILLSEC)); in onCharacteristicWrite()
235 public void onCharacteristicChanged(BluetoothGatt gatt, in onCharacteristicChanged() argument
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java251 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { in onConnectionStateChange() argument
256 gatt.discoverServices(); in onConnectionStateChange()
261 public void onServicesDiscovered(BluetoothGatt gatt, int status) { in onServicesDiscovered() argument
264 Log.e(TAG, "Service discovery failure on " + gatt); in onServicesDiscovered()
269 final BluetoothGattService battService = gatt.getService(GATT_BATTERY_SERVICE_UUID); in onServicesDiscovered()
286 gatt.readCharacteristic(battLevel); in onServicesDiscovered()
290 public void onCharacteristicRead(BluetoothGatt gatt, in onCharacteristicRead() argument
294 Log.e(TAG, "Read characteristic failure on " + gatt + " " + characteristic); in onCharacteristicRead()
/packages/services/Car/service/src/com/android/car/trust/
DBleManager.java378 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
404 public void onServicesDiscovered(BluetoothGatt gatt, int status) {
424 public void onCharacteristicRead(BluetoothGatt gatt,
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattServiceConfig.java17 package com.android.bluetooth.gatt;
DCallbackInfo.java16 package com.android.bluetooth.gatt;
DFilterParams.java17 package com.android.bluetooth.gatt;
DGattDbElement.java17 package com.android.bluetooth.gatt;
DAdvtFilterOnFoundOnLostInfo.java17 package com.android.bluetooth.gatt;
DScanClient.java17 package com.android.bluetooth.gatt;
DGattDebugUtils.java17 package com.android.bluetooth.gatt;
DAdvertiseHelper.java17 package com.android.bluetooth.gatt;
DHandleMap.java16 package com.android.bluetooth.gatt;
DPeriodicScanManager.java17 package com.android.bluetooth.gatt;
DScanFilterQueue.java17 package com.android.bluetooth.gatt;
DContextMap.java16 package com.android.bluetooth.gatt;
DAdvertiseManager.java17 package com.android.bluetooth.gatt;
DAppScanStats.java16 package com.android.bluetooth.gatt;
DScanManager.java17 package com.android.bluetooth.gatt;
DGattService.java17 package com.android.bluetooth.gatt;
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/gatt/
DGattServiceTest.java1 package com.android.bluetooth.gatt;
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DConfig.java33 import com.android.bluetooth.gatt.GattService;
DAdapterService.java88 import com.android.bluetooth.gatt.GattService;