Searched defs:mClientIf (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/bluetooth/le/
H A DBluetoothLeAdvertiser.java239 // mClientIf 0: not registered
242 private int mClientIf; field in class:BluetoothLeAdvertiser.AdvertiseCallbackWrapper
254 mClientIf = 0;
259 if (mClientIf == -1) return;
268 if (mClientIf > 0 && mIsAdvertising) {
270 } else if (mClientIf <= 0) {
272 // Registration timeout, reset mClientIf to -1 so no subsequent operations can
274 if (mClientIf == 0) mClientIf = -1;
281 mBluetoothGatt.unregisterClient(mClientIf);
[all...]
H A DBluetoothLeScanner.java283 private int mClientIf; field in class:BluetoothLeScanner.BleScanCallbackWrapper
294 mClientIf = 0;
301 if (mClientIf == -1) return;
310 if (mClientIf > 0) {
315 if (mClientIf == 0) mClientIf = -1;
324 if (mClientIf <= 0) {
325 Log.e(TAG, "Error state, mLeHandle: " + mClientIf);
329 mBluetoothGatt.stopScan(mClientIf, false);
330 mBluetoothGatt.unregisterClient(mClientIf);
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGatt.java47 private int mClientIf; field in class:BluetoothGatt
150 mClientIf = clientIf;
160 mService.clientConnect(mClientIf, mDevice.getAddress(),
269 mService.readCharacteristic(mClientIf, address, handle, AUTHENTICATION_MITM);
318 mService.writeCharacteristic(mClientIf, address, handle,
385 mService.readDescriptor(mClientIf, address, handle, AUTHENTICATION_MITM);
424 mService.writeDescriptor(mClientIf, address, handle,
605 if (DBG) Log.d(TAG, "unregisterApp() - mClientIf=" + mClientIf);
606 if (mService == null || mClientIf
[all...]

Completed in 167 milliseconds