Searched refs:mGatt (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | AdvertisingSet.java | 43 private final IBluetoothGatt mGatt; field in AdvertisingSet 54 mGatt = requireNonNull(gatt, "Bluetooth gatt cannot be null"); in AdvertisingSet() 77 mGatt.enableAdvertisingSet( in enableAdvertising() 105 mGatt.setAdvertisingData(mAdvertiserId, advertiseData, mAttributionSource); in setAdvertisingData() 125 mGatt.setScanResponseData(mAdvertiserId, scanResponse, mAttributionSource); in setScanResponseData() 143 mGatt.setAdvertisingParameters(mAdvertiserId, parameters, mAttributionSource); in setAdvertisingParameters() 159 mGatt.setPeriodicAdvertisingParameters(mAdvertiserId, parameters, mAttributionSource); in setPeriodicAdvertisingParameters() 180 mGatt.setPeriodicAdvertisingData(mAdvertiserId, periodicData, mAttributionSource); in setPeriodicAdvertisingData() 197 mGatt.setPeriodicAdvertisingEnable(mAdvertiserId, enable, mAttributionSource); in setPeriodicAdvertisingEnabled() 217 mGatt.getOwnAddress(mAdvertiserId, mAttributionSource); in getOwnAddress()
|
D | DistanceMeasurementSession.java | 57 private final IBluetoothGatt mGatt; field in DistanceMeasurementSession 86 mGatt = gatt; in DistanceMeasurementSession() 108 return mGatt.stopDistanceMeasurement( in stopSession()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | GattInstance.kt | 39 public val mGatt: BluetoothGatt constant in com.android.pandora.GattInstance 185 mGatt = mDevice.connectGatt(mContext, false, mCallback, mTransport) 187 checkNotNull(mGatt) { "Failed to connect GATT on $mDevice" } in <lambda>() 265 if (mGatt.readCharacteristic(characteristic)) { in readCharacteristicBlocking() 279 for (service: BluetoothGattService in mGatt.services.orEmpty()) { in readCharacteristicUuidBlocking() 295 mGatt.readUsingCharacteristicUuid( in readCharacteristicUuidBlocking() 320 mGatt.readUsingCharacteristicUuid(uuid, startHandle, endHandle) in readCharacteristicUuidBlocking() 338 if (mGatt.readDescriptor(descriptor)) { in readDescriptorBlocking() 355 mGatt.writeCharacteristic( in writeCharacteristicBlocking() 375 if (mGatt.writeDescriptor(descriptor, value) == BluetoothStatusCodes.SUCCESS) { in writeDescriptorBlocking() [all …]
|
D | Gatt.kt | 78 if (!GattInstance.get(request.connection.address).mGatt.requestMtu(mtu)) { in exchangeMTU() 133 check(gattInstance.mGatt.discoverServiceByUuid(UUID.fromString(request.uuid))) in discoverServiceByUuid() 147 check(gattInstance.mGatt.discoverServices()) in discoverServices() 150 .addAllServices(generateServicesList(gattInstance.mGatt.services, 1)) in discoverServices() 185 check(gattInstance.mGatt.refresh()) in clearCache() 305 gattInstance.mGatt.setCharacteristicNotification(characteristic, true) in setCharacteristicNotificationFromHandle() 357 for (service: BluetoothGattService in gattInstance.mGatt.services.orEmpty()) { in getCharacteristicWithHandle() 376 for (service: BluetoothGattService in gattInstance.mGatt.services.orEmpty()) { in getDescriptorWithHandle() 461 if (!gattInstance.servicesDiscovered() && !gattInstance.mGatt.discoverServices()) { in tryDiscoverServices()
|
/packages/modules/Bluetooth/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 2400 Landroid/bluetooth/le/AdvertisingSet;->mGatt:Landroid/bluetooth/IBluetoothGatt;
|