/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | BondStateMachineTest.java | 67 private static final int BOND_BONDING = BluetoothDevice.BOND_BONDING; field in BondStateMachineTest 225 bondingMsg.arg1 = BOND_BONDING; in testUuidUpdateWithPendingDevice() 265 BOND_NONE, BOND_BONDING, false, BOND_BONDING, true, BOND_NONE, BOND_BONDING, false); in testSendIntent() 267 BOND_NONE, BOND_BONDED, false, BOND_BONDED, true, BOND_NONE, BOND_BONDING, true); in testSendIntent() 271 BOND_BONDING, BOND_NONE, false, BOND_NONE, true, BOND_BONDING, BOND_NONE, false); in testSendIntent() 273 BOND_BONDING, in testSendIntent() 274 BOND_BONDING, in testSendIntent() 276 BOND_BONDING, in testSendIntent() 282 BOND_BONDING, BOND_BONDED, false, BOND_BONDED, false, BOND_NONE, BOND_NONE, true); in testSendIntent() 284 BOND_BONDING, in testSendIntent() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | BondStateMachine.java | 196 if (newState == BluetoothDevice.BOND_BONDING) { in processMessage() 278 if (newState != BluetoothDevice.BOND_BONDING) { in processMessage() 370 if (dev.getBondState() == BluetoothDevice.BOND_BONDING) { in cancelBond() 428 BluetoothDevice.BOND_BONDING, in createBond() 443 BluetoothDevice.BOND_BONDING, in createBond() 458 BluetoothDevice.BOND_BONDING, in createBond() 520 && newState != BluetoothDevice.BOND_BONDING in sendIntent() 547 if (newState == BluetoothDevice.BOND_BONDING) { in sendIntent() 550 oldState = BluetoothDevice.BOND_BONDING; in sendIntent() 590 newState = BluetoothDevice.BOND_BONDING; in sendIntent() [all …]
|
D | CompanionManager.java | 307 case BluetoothDevice.BOND_BONDING: in onBondStateChanged()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/ |
D | HidHostServiceTest.java | 110 BluetoothDevice.BOND_BONDING, in testOkToConnect() 115 BluetoothDevice.BOND_BONDING, in testOkToConnect() 120 BluetoothDevice.BOND_BONDING, in testOkToConnect() 123 testOkToConnectCase(mTestDevice, BluetoothDevice.BOND_BONDING, badPriorityValue, false); in testOkToConnect()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | FastPairGattServerTest.java | 620 BluetoothDevice.BOND_BONDING, BluetoothDevice.BOND_NONE); in testProcessPasskeyRequest_pairingConfirmed() 647 BluetoothDevice.BOND_BONDING, BluetoothDevice.BOND_NONE); in testProcessPasskeyRequestWrongPasskey_pairingCancelled() 661 BluetoothDevice.BOND_BONDING, BluetoothDevice.BOND_NONE); in testProcessPasskeyRequestShortPasskey_pairingCancelled() 672 BluetoothDevice.BOND_BONDING, BluetoothDevice.BOND_NONE); in testProcessPasskeyRequestNullPasskey_pairingCancelled() 683 BluetoothDevice.BOND_BONDING, BluetoothDevice.BOND_NONE); in testProcessPasskeyBeforePairingCodeReceived_pairingContinues() 696 BluetoothDevice.BOND_BONDING, BluetoothDevice.BOND_NONE); in testReceivePairingCodeBeforeSeekerPasskey_noPairingResponseSent() 709 BluetoothDevice.BOND_BONDING, BluetoothDevice.BOND_NONE); in testReceivePairingCodeAfterSeekerPasskey_sendsPairingResponse() 738 BluetoothDevice.BOND_BONDING, BluetoothDevice.BOND_NONE); in testReceivePairingCodeWhileDisconnected_nothingSent() 753 BluetoothDevice.BOND_BONDED, BluetoothDevice.BOND_BONDING); in testProcessAccountKeyRequestWithValidKey_keyAdded() 766 BluetoothDevice.BOND_BONDED, BluetoothDevice.BOND_BONDING); in testProcessAccountKeyRequestWithInvalidKey_keyIgnored() [all …]
|
D | BluetoothUtilsGetBondStateNameTest.java | 54 {BluetoothDevice.BOND_BONDING, "bonding"}, in provideParams()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceControllerTest.java | 187 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in onScanningStateChanged_scanningDisabled_receiveStopped_doesNothing() 203 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in onDeviceBondStateChanged_refreshesUi() 204 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in onDeviceBondStateChanged_refreshesUi() 205 mController.onDeviceBondStateChanged(mCachedDevice, BluetoothDevice.BOND_BONDING); in onDeviceBondStateChanged_refreshesUi() 282 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in refreshUi_deviceBonding_stopsScanning() 293 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in refreshUi_deviceBonding_disablesGroup() 304 when(mCachedDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in refreshUi_deviceBonding_setsScanModeConnectable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothPairingServiceTest.java | 92 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in receivePairingRequestAction_notificationShown() 105 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in receiveDismissPairingAction_cancelPairing() 119 when(mDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in receivePairingDialogAction_startActivity()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/ |
D | BatteryServiceTest.java | 173 BluetoothDevice.BOND_BONDING, in testCanConnect() 178 BluetoothDevice.BOND_BONDING, in testCanConnect() 183 BluetoothDevice.BOND_BONDING, in testCanConnect() 186 testCanConnectCase(mDevice, BluetoothDevice.BOND_BONDING, badPolicyValue, false); in testCanConnect()
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/pairing/ |
D | PairingTest.java | 193 hasExtra(BluetoothDevice.EXTRA_BOND_STATE, BluetoothDevice.BOND_BONDING)); in testBrEdrPairing_phoneInitiatedBrEdrInquiryOnlyJustWorks() 255 hasExtra(BluetoothDevice.EXTRA_BOND_STATE, BluetoothDevice.BOND_BONDING)); in testBrEdrPairing_phoneInitiatedBrEdrInquiryOnlyJustWorksWhileSdpConnected() 444 hasExtra(BluetoothDevice.EXTRA_BOND_STATE, BluetoothDevice.BOND_BONDING)); in helper_OutgoingGattServiceDiscoveryWithIncomingLePairing()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/ |
D | CsipSetCoordinatorServiceTest.java | 253 BluetoothDevice.BOND_BONDING, in testOkToConnect() 258 BluetoothDevice.BOND_BONDING, in testOkToConnect() 263 BluetoothDevice.BOND_BONDING, in testOkToConnect() 266 testOkToConnectCase(mTestDevice, BluetoothDevice.BOND_BONDING, badPolicyValue, false); in testOkToConnect()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePairingDetailBase.java | 98 } else if (bondState == BluetoothDevice.BOND_BONDING) { in onDeviceBondStateChanged()
|
D | BluetoothPairingService.java | 133 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { in onStartCommand()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 255 previousBondState == BluetoothDevice.BOND_BONDING) { 688 if (state == BluetoothDevice.BOND_BONDING) { in unpairDevice()
|
D | BluetoothDevicesService.java | 119 case BluetoothDevice.BOND_BONDING:
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AvailableHearingDeviceUpdaterTest.java | 108 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in isFilterMatch_connectedBondingHearingDevice_returnFalse()
|
D | SavedHearingDeviceUpdaterTest.java | 108 doReturn(BluetoothDevice.BOND_BONDING).when(mBluetoothDevice).getBondState(); in isFilterMatch_savedBondingHearingDevice_returnFalse()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceController.java | 119 if (device.getBondState() == BluetoothDevice.BOND_BONDING) { in shouldEnableScanning()
|
D | BluetoothPairingService.java | 136 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { in onStartCommand()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 237 BluetoothDevice.BOND_BONDING, in testOkToConnect() 242 BluetoothDevice.BOND_BONDING, in testOkToConnect() 247 BluetoothDevice.BOND_BONDING, in testOkToConnect() 250 testOkToConnectCase(sTestDevice, BluetoothDevice.BOND_BONDING, badPriorityValue, false); in testOkToConnect()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/ |
D | HapClientTest.java | 301 BluetoothDevice.BOND_BONDING, in testOkToConnect() 306 BluetoothDevice.BOND_BONDING, in testOkToConnect() 311 BluetoothDevice.BOND_BONDING, in testOkToConnect() 314 testOkToConnectCase(mDevice, BluetoothDevice.BOND_BONDING, badPolicyValue, false); in testOkToConnect()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 257 BluetoothDevice.BOND_BONDING, in testOkToConnect() 262 BluetoothDevice.BOND_BONDING, in testOkToConnect() 267 BluetoothDevice.BOND_BONDING, in testOkToConnect() 270 testOkToConnectCase(mSingleDevice, BluetoothDevice.BOND_BONDING, badPriorityValue, false); in testOkToConnect()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceTest.java | 228 BluetoothDevice.BOND_BONDING, in testOkToAcceptConnection() 233 BluetoothDevice.BOND_BONDING, in testOkToAcceptConnection() 238 BluetoothDevice.BOND_BONDING, in testOkToAcceptConnection() 242 mCurrentDevice, BluetoothDevice.BOND_BONDING, badPriorityValue, false); in testOkToAcceptConnection()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | BluetoothUtils.java | 97 sBondStates.put(BluetoothDevice.BOND_BONDING, "Bonding"); in sBondStates.put() argument
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/ |
D | VolumeControlServiceTest.java | 293 BluetoothDevice.BOND_BONDING, in testOkToConnect() 298 BluetoothDevice.BOND_BONDING, in testOkToConnect() 303 BluetoothDevice.BOND_BONDING, in testOkToConnect() 306 testOkToConnectCase(mDevice, BluetoothDevice.BOND_BONDING, badPolicyValue, false); in testOkToConnect()
|