Home
last modified time | relevance | path

Searched refs:bondState (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceManager.java408 int bondState = device.getBondState(); in shouldPairByCsip() local
411 "isOngoingSetMemberPair=" + isOngoingSetMemberPair + ", bondState=" + bondState in shouldPairByCsip()
414 if (isOngoingSetMemberPair || bondState != BluetoothDevice.BOND_NONE || !groupExists) { in shouldPairByCsip()
513 public synchronized boolean onBondStateChangedIfProcess(BluetoothDevice device, int bondState) { in onBondStateChangedIfProcess() argument
518 if (bondState == BluetoothDevice.BOND_BONDING) { in onBondStateChangedIfProcess()
525 if (bondState != BluetoothDevice.BOND_NONE) { in onBondStateChangedIfProcess()
H A DBluetoothEventManager.java365 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, in onReceive() local
368 if (mDeviceManager.onBondStateChangedIfProcess(device, bondState)) { in onReceive()
381 callback.onDeviceBondStateChanged(cachedDevice, bondState); in onReceive()
383 cachedDevice.onBondingStateChanged(bondState); in onReceive()
385 if (bondState == BluetoothDevice.BOND_NONE) { in onReceive()
H A DBluetoothCallback.java93 @NonNull CachedBluetoothDevice cachedDevice, int bondState) {} in onDeviceBondStateChanged() argument
H A DCachedBluetoothDevice.java905 void onBondingStateChanged(int bondState) { in onBondingStateChanged() argument
906 if (bondState == BluetoothDevice.BOND_NONE) { in onBondingStateChanged()
919 if (bondState == BluetoothDevice.BOND_BONDED) { in onBondingStateChanged()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
H A DKeyboardUI.java393 private void onDeviceBondStateChangedInternal(CachedBluetoothDevice d, int bondState) { in onDeviceBondStateChangedInternal() argument
395 if (bondState == BluetoothDevice.BOND_BONDED) { in onDeviceBondStateChangedInternal()
399 } else if (bondState == BluetoothDevice.BOND_NONE) { in onDeviceBondStateChangedInternal()
501 int bondState = msg.arg1; in handleMessage() local
502 onDeviceBondStateChangedInternal(d, bondState); in handleMessage()
609 @NonNull CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
611 bondState, 0, cachedDevice).sendToTarget(); in onDeviceBondStateChanged()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImpl.java372 @NonNull CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument
373 mLogger.logBondStateChange(cachedDevice.getAddress(), bondState); in onDeviceBondStateChanged() local