Home
last modified time | relevance | path

Searched refs:BOND_BONDING (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DBondStateMachineTest.java51 private static final int BOND_BONDING = BluetoothDevice.BOND_BONDING; field in BondStateMachineTest
104 testSendIntentNoPendingDevice(BOND_NONE, BOND_BONDING, BOND_BONDING, in testSendIntent()
105 true, BOND_NONE, BOND_BONDING); in testSendIntent()
107 true, BOND_NONE, BOND_BONDING); in testSendIntent()
110 testSendIntentNoPendingDevice(BOND_BONDING, BOND_NONE, BOND_NONE, in testSendIntent()
111 true, BOND_BONDING, BOND_NONE); in testSendIntent()
112 testSendIntentNoPendingDevice(BOND_BONDING, BOND_BONDING, BOND_BONDING, in testSendIntent()
114 testSendIntentNoPendingDevice(BOND_BONDING, BOND_BONDED, BOND_BONDED, in testSendIntent()
116 testSendIntentNoPendingDevice(BOND_BONDING, badBondState, BOND_BONDING, in testSendIntent()
120 testSendIntentNoPendingDevice(BOND_BONDED, BOND_BONDING, BOND_BONDING, in testSendIntent()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java145 if (newState == BluetoothDevice.BOND_BONDING) { in processMessage()
216 if (newState != BluetoothDevice.BOND_BONDING) { in processMessage()
288 if (dev.getBondState() == BluetoothDevice.BOND_BONDING) { in cancelBond()
328 BluetoothDevice.BOND_BONDING, in createBond()
366 && newState != BluetoothDevice.BOND_BONDING in sendIntent()
377 if (newState == BluetoothDevice.BOND_BONDING) { in sendIntent()
380 oldState = BluetoothDevice.BOND_BONDING; in sendIntent()
407 newState = BluetoothDevice.BOND_BONDING; in sendIntent()
444 msg.arg1 = BluetoothDevice.BOND_BONDING; in bondStateChangeCallback()
496 BluetoothDevice.BOND_BONDING, in sspRequestCallback()
[all …]
DAdapterService.java2231 if (deviceProp == null || (deviceProp.getBondState() != BluetoothDevice.BOND_BONDING in setPin()
2244 BluetoothDevice.BOND_BONDING, in setPin()
2254 if (deviceProp == null || deviceProp.getBondState() != BluetoothDevice.BOND_BONDING) { in setPasskey()
2266 BluetoothDevice.BOND_BONDING, in setPasskey()
2278 if (deviceProp == null || deviceProp.getBondState() != BluetoothDevice.BOND_BONDING) { in setPairingConfirmation()
2284 BluetoothDevice.BOND_BONDING, in setPairingConfirmation()
DRemoteDevices.java620 if (device.getBondState() == BluetoothDevice.BOND_BONDING) { in aclStateChangeCallback()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceControllerTest.java150 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in onScanningStateChanged_scanningDisabled_receiveStopped_doesNothing()
165 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in onDeviceBondStateChanged_refreshesUi()
166 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in onDeviceBondStateChanged_refreshesUi()
167 mController.onDeviceBondStateChanged(mCachedDevice, BluetoothDevice.BOND_BONDING); in onDeviceBondStateChanged_refreshesUi()
227 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in refreshUi_deviceBonding_stopsScanning()
237 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in refreshUi_deviceBonding_disablesGroup()
247 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in refreshUi_deviceBonding_setsScanModeConnectable()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidHostServiceTest.java110 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_UNDEFINED, false); in testOkToConnect()
112 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_OFF, false); in testOkToConnect()
114 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_ON, false); in testOkToConnect()
116 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_AUTO_CONNECT, false); in testOkToConnect()
118 BluetoothDevice.BOND_BONDING, badPriorityValue, false); in testOkToConnect()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java206 testOkToAcceptConnectionCase(mCurrentDevice, BluetoothDevice.BOND_BONDING, in testOkToAcceptConnection()
208 testOkToAcceptConnectionCase(mCurrentDevice, BluetoothDevice.BOND_BONDING, in testOkToAcceptConnection()
210 testOkToAcceptConnectionCase(mCurrentDevice, BluetoothDevice.BOND_BONDING, in testOkToAcceptConnection()
212 testOkToAcceptConnectionCase(mCurrentDevice, BluetoothDevice.BOND_BONDING, in testOkToAcceptConnection()
214 testOkToAcceptConnectionCase(mCurrentDevice, BluetoothDevice.BOND_BONDING, badPriorityValue, in testOkToAcceptConnection()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java317 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_UNDEFINED, false); in testOkToConnect()
319 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_OFF, false); in testOkToConnect()
321 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_ON, false); in testOkToConnect()
323 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_AUTO_CONNECT, false); in testOkToConnect()
325 BluetoothDevice.BOND_BONDING, badPriorityValue, false); in testOkToConnect()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java266 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_UNDEFINED, false); in testOkToConnect()
268 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_OFF, false); in testOkToConnect()
270 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_ON, false); in testOkToConnect()
272 BluetoothDevice.BOND_BONDING, BluetoothProfile.PRIORITY_AUTO_CONNECT, false); in testOkToConnect()
274 BluetoothDevice.BOND_BONDING, badPriorityValue, false); in testOkToConnect()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java233 previousBondState == BluetoothDevice.BOND_BONDING) {
628 if (state == BluetoothDevice.BOND_BONDING) { in unpairDevice()
DBluetoothAccessoryFragment.java510 if (state == BluetoothDevice.BOND_BONDING) { in unpairDevice()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceController.java93 if (device.getBondState() == BluetoothDevice.BOND_BONDING) { in shouldEnableScanning()
DBluetoothPairingService.java134 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { in onStartCommand()
/packages/services/Car/service/src/com/android/car/
DUtils.java60 sBondStates.put(BluetoothDevice.BOND_BONDING, "Bonding"); in sBondStates.put() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPairingService.java135 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { in onStartCommand()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingService.java135 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { in onStartCommand()