/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | BondStateMachineTest.java | 51 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/ |
D | BondStateMachine.java | 145 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 …]
|
D | AdapterService.java | 2231 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()
|
D | RemoteDevices.java | 620 if (device.getBondState() == BluetoothDevice.BOND_BONDING) { in aclStateChangeCallback()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceControllerTest.java | 150 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/ |
D | HidHostServiceTest.java | 110 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/ |
D | HeadsetServiceTest.java | 206 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/ |
D | A2dpServiceTest.java | 317 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/ |
D | HearingAidServiceTest.java | 266 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/ |
D | BluetoothDevicePairer.java | 233 previousBondState == BluetoothDevice.BOND_BONDING) { 628 if (state == BluetoothDevice.BOND_BONDING) { in unpairDevice()
|
D | BluetoothAccessoryFragment.java | 510 if (state == BluetoothDevice.BOND_BONDING) { in unpairDevice()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceController.java | 93 if (device.getBondState() == BluetoothDevice.BOND_BONDING) { in shouldEnableScanning()
|
D | BluetoothPairingService.java | 134 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { in onStartCommand()
|
/packages/services/Car/service/src/com/android/car/ |
D | Utils.java | 60 sBondStates.put(BluetoothDevice.BOND_BONDING, "Bonding"); in sBondStates.put() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothPairingService.java | 135 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { in onStartCommand()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingService.java | 135 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { in onStartCommand()
|