Searched refs:bondState (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/ |
D | DeviceItemFactoryTest.kt | 92 `when`(cachedDevice.bondState).thenReturn(BluetoothDevice.BOND_BONDED) in testSavedFactory_isFilterMatched_bondedAndNotConnected_returnsTrue() 102 `when`(cachedDevice.bondState).thenReturn(BluetoothDevice.BOND_BONDED) in testSavedFactory_isFilterMatched_connected_returnsFalse() 112 `when`(cachedDevice.bondState).thenReturn(BluetoothDevice.BOND_NONE) in testSavedFactory_isFilterMatched_notBonded_returnsFalse() 126 `when`(cachedDevice.bondState).thenReturn(BluetoothDevice.BOND_BONDED) in testSavedFactory_isFilterMatched_exclusivelyManaged_returnsFalse() 136 `when`(cachedDevice.bondState).thenReturn(BluetoothDevice.BOND_BONDED) in testSavedFactory_isFilterMatched_noExclusiveManager_returnsTrue() 150 `when`(cachedDevice.bondState).thenReturn(BluetoothDevice.BOND_BONDED) in testSavedFactory_isFilterMatched_exclusiveManagerNotEnabled_returnsTrue() 164 `when`(cachedDevice.bondState).thenReturn(BluetoothDevice.BOND_BONDED) in testSavedFactory_isFilterMatched_exclusiveManagerNotInstalled_returnsTrue() 174 `when`(cachedDevice.bondState).thenReturn(BluetoothDevice.BOND_NONE) in testSavedFactory_isFilterMatched_notExclusivelyManaged_notBonded_returnsFalse() 184 `when`(cachedDevice.bondState).thenReturn(BluetoothDevice.BOND_BONDED) in testSavedFactory_isFilterMatched_notExclusivelyManaged_connected_returnsFalse() 194 `when`(bluetoothDevice.bondState).thenReturn(BluetoothDevice.BOND_BONDED) in testConnectedFactory_isFilterMatched_bondedAndConnected_returnsTrue() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/ |
D | DeviceItemFactory.kt | 210 cachedDevice.bondState == BluetoothDevice.BOND_BONDED && in isFilterMatched() 213 cachedDevice.bondState == BluetoothDevice.BOND_BONDED && !cachedDevice.isConnected in isFilterMatched() 243 cachedDevice.bondState == BluetoothDevice.BOND_BONDED && in isFilterMatched() 247 cachedDevice.bondState == BluetoothDevice.BOND_BONDED && in isFilterMatched()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManager.java | 438 int bondState = device.getBondState(); in shouldPairByCsip() local 441 "isOngoingSetMemberPair=" + isOngoingSetMemberPair + ", bondState=" + bondState in shouldPairByCsip() 444 if (isOngoingSetMemberPair || bondState != BluetoothDevice.BOND_NONE || !groupExists) { in shouldPairByCsip() 543 public synchronized boolean onBondStateChangedIfProcess(BluetoothDevice device, int bondState) { in onBondStateChangedIfProcess() argument 548 if (bondState == BluetoothDevice.BOND_BONDING) { in onBondStateChangedIfProcess() 555 if (bondState != BluetoothDevice.BOND_NONE) { in onBondStateChangedIfProcess()
|
D | BluetoothEventManager.java | 391 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, in onReceive() local 394 if (mDeviceManager.onBondStateChangedIfProcess(device, bondState)) { in onReceive() 406 if (enableCachedBluetoothDeviceDedup() && bondState == BluetoothDevice.BOND_BONDED) { in onReceive() 411 callback.onDeviceBondStateChanged(cachedDevice, bondState); in onReceive() 413 cachedDevice.onBondingStateChanged(bondState); in onReceive() 415 if (bondState == BluetoothDevice.BOND_NONE) { in onReceive()
|
D | BluetoothCallback.java | 93 @NonNull CachedBluetoothDevice cachedDevice, int bondState) {} in onDeviceBondStateChanged() argument
|
D | CachedBluetoothDevice.java | 994 void onBondingStateChanged(int bondState) { in onBondingStateChanged() argument 995 if (bondState == BluetoothDevice.BOND_NONE) { in onBondingStateChanged() 1008 if (bondState == BluetoothDevice.BOND_BONDED) { in onBondingStateChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
D | KeyboardUI.java | 399 private void onDeviceBondStateChangedInternal(CachedBluetoothDevice d, int bondState) { in onDeviceBondStateChangedInternal() argument 401 if (bondState == BluetoothDevice.BOND_BONDED) { in onDeviceBondStateChangedInternal() 405 } else if (bondState == BluetoothDevice.BOND_NONE) { in onDeviceBondStateChangedInternal() 507 int bondState = msg.arg1; in handleMessage() local 508 onDeviceBondStateChangedInternal(d, bondState); in handleMessage() 615 @NonNull CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument 617 bondState, 0, cachedDevice).sendToTarget(); in onDeviceBondStateChanged()
|
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/src/android/companion/multidevices/bluetooth/ |
D | BluetoothController.kt | 82 waitFor { device.bondState == BluetoothDevice.BOND_NONE } in unpairAllDevices()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImpl.java | 363 @NonNull CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged() argument 364 mLogger.logBondStateChange(cachedDevice.getAddress(), bondState); in onDeviceBondStateChanged() local
|