Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DBondStateMachineTest.java67 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/
DBondStateMachine.java196 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 …]
DCompanionManager.java307 case BluetoothDevice.BOND_BONDING: in onBondStateChanged()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidHostServiceTest.java110 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/
DFastPairGattServerTest.java620 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 …]
DBluetoothUtilsGetBondStateNameTest.java54 {BluetoothDevice.BOND_BONDING, "bonding"}, in provideParams()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceControllerTest.java187 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/
DBluetoothPairingServiceTest.java92 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/
DBatteryServiceTest.java173 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/
DPairingTest.java193 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/
DCsipSetCoordinatorServiceTest.java253 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/
DBluetoothDevicePairingDetailBase.java98 } else if (bondState == BluetoothDevice.BOND_BONDING) { in onDeviceBondStateChanged()
DBluetoothPairingService.java133 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { in onStartCommand()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java255 previousBondState == BluetoothDevice.BOND_BONDING) {
688 if (state == BluetoothDevice.BOND_BONDING) { in unpairDevice()
DBluetoothDevicesService.java119 case BluetoothDevice.BOND_BONDING:
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAvailableHearingDeviceUpdaterTest.java108 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in isFilterMatch_connectedBondingHearingDevice_returnFalse()
DSavedHearingDeviceUpdaterTest.java108 doReturn(BluetoothDevice.BOND_BONDING).when(mBluetoothDevice).getBondState(); in isFilterMatch_savedBondingHearingDevice_returnFalse()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothScanningDevicesGroupPreferenceController.java119 if (device.getBondState() == BluetoothDevice.BOND_BONDING) { in shouldEnableScanning()
DBluetoothPairingService.java136 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { in onStartCommand()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java237 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/
DHapClientTest.java301 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/
DHearingAidServiceTest.java257 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/
DHeadsetServiceTest.java228 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/
DBluetoothUtils.java97 sBondStates.put(BluetoothDevice.BOND_BONDING, "Bonding"); in sBondStates.put() argument
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java293 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()

12