Home
last modified time | relevance | path

Searched refs:mClientIf (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java245 private int mClientIf; field in BluetoothLeScanner.BleScanCallbackWrapper
254 mClientIf = 0; in BleScanCallbackWrapper()
261 if (mClientIf == -1) return; in startRegisteration()
270 if (mClientIf > 0) { in startRegisteration()
281 if (mClientIf <= 0) { in stopLeScan()
282 Log.e(TAG, "Error state, mLeHandle: " + mClientIf); in stopLeScan()
286 mBluetoothGatt.stopScan(mClientIf, false); in stopLeScan()
287 mBluetoothGatt.unregisterClient(mClientIf); in stopLeScan()
291 mClientIf = -1; in stopLeScan()
297 if (mClientIf <= 0) { in flushPendingBatchResults()
[all …]
DBluetoothLeAdvertiser.java242 private int mClientIf; field in BluetoothLeAdvertiser.AdvertiseCallbackWrapper
254 mClientIf = 0; in AdvertiseCallbackWrapper()
259 if (mClientIf == -1) return; in startRegisteration()
268 if (mClientIf > 0 && mIsAdvertising) { in startRegisteration()
270 } else if (mClientIf <= 0) { in startRegisteration()
277 mBluetoothGatt.unregisterClient(mClientIf); in startRegisteration()
278 mClientIf = -1; in startRegisteration()
289 mBluetoothGatt.stopMultiAdvertising(mClientIf); in stopAdvertising()
311 mClientIf = clientIf; in onClientRegistered()
313 mBluetoothGatt.startMultiAdvertising(mClientIf, mAdvertisement, in onClientRegistered()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothGatt.java47 private int mClientIf; field in BluetoothGatt
150 mClientIf = clientIf;
160 mService.clientConnect(mClientIf, mDevice.getAddress(),
334 mService.readCharacteristic(mClientIf, address,
394 mService.writeCharacteristic(mClientIf, address,
482 mService.readDescriptor(mClientIf, address,
535 mService.writeDescriptor(mClientIf, address,
687 if (DBG) Log.d(TAG, "unregisterApp() - mClientIf=" + mClientIf); in unregisterApp()
688 if (mService == null || mClientIf == 0) return; in unregisterApp()
692 mService.unregisterClient(mClientIf); in unregisterApp()
[all …]