Home
last modified time | relevance | path

Searched refs:badBondState (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DBondStateMachineTest.java257 int badBondState = 42; in testSendIntent() local
269 BOND_NONE, badBondState, false, BOND_NONE, false, BOND_NONE, BOND_NONE, false); in testSendIntent()
285 badBondState, in testSendIntent()
306 BOND_BONDED, badBondState, false, BOND_BONDED, false, BOND_NONE, BOND_NONE, false); in testSendIntent()
315 BOND_NONE, badBondState, true, BOND_NONE, false, BOND_NONE, BOND_NONE, false); in testSendIntent()
323 BOND_BONDING, badBondState, true, BOND_BONDING, false, BOND_NONE, BOND_NONE, false); in testSendIntent()
331 BOND_BONDED, badBondState, true, BOND_BONDED, false, BOND_NONE, BOND_NONE, false); in testSendIntent()
341 BOND_NONE, badBondState, false, BOND_NONE, false, BOND_NONE, BOND_NONE, false); in testSendIntent()
357 badBondState, in testSendIntent()
371 BOND_BONDED, badBondState, false, BOND_BONDED, false, BOND_NONE, BOND_NONE, false); in testSendIntent()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidHostServiceTest.java91 int badBondState = 42; in testOkToConnect() local
141 mTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
143 mTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, false); in testOkToConnect()
145 mTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_ALLOWED, false); in testOkToConnect()
146 testOkToConnectCase(mTestDevice, badBondState, badPriorityValue, false); in testOkToConnect()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/
DBatteryServiceTest.java154 int badBondState = 42; in testCanConnect() local
204 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testCanConnect()
206 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, false); in testCanConnect()
208 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_ALLOWED, false); in testCanConnect()
209 testCanConnectCase(mDevice, badBondState, badPolicyValue, false); in testCanConnect()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/
DCsipSetCoordinatorServiceTest.java234 int badBondState = 42; in testOkToConnect() local
284 mTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
286 mTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, false); in testOkToConnect()
288 mTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_ALLOWED, false); in testOkToConnect()
289 testOkToConnectCase(mTestDevice, badBondState, badPolicyValue, false); in testOkToConnect()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java218 int badBondState = 42; in testOkToConnect() local
268 sTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
270 sTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, false); in testOkToConnect()
272 sTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_ALLOWED, false); in testOkToConnect()
273 testOkToConnectCase(sTestDevice, badBondState, badPriorityValue, false); in testOkToConnect()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientTest.java282 int badBondState = 42; in testOkToConnect() local
332 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
334 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, false); in testOkToConnect()
336 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_ALLOWED, false); in testOkToConnect()
337 testOkToConnectCase(mDevice, badBondState, badPolicyValue, false); in testOkToConnect()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java238 int badBondState = 42; in testOkToConnect() local
288 mSingleDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
290 mSingleDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, false); in testOkToConnect()
292 mSingleDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_ALLOWED, false); in testOkToConnect()
293 testOkToConnectCase(mSingleDevice, badBondState, badPriorityValue, false); in testOkToConnect()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java208 int badBondState = 42; in testOkToAcceptConnection() local
261 mCurrentDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToAcceptConnection()
263 mCurrentDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, false); in testOkToAcceptConnection()
265 mCurrentDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_ALLOWED, false); in testOkToAcceptConnection()
266 testOkToAcceptConnectionCase(mCurrentDevice, badBondState, badPriorityValue, false); in testOkToAcceptConnection()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java274 int badBondState = 42; in testOkToConnect() local
324 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
326 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, false); in testOkToConnect()
328 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_ALLOWED, false); in testOkToConnect()
329 testOkToConnectCase(mDevice, badBondState, badPolicyValue, false); in testOkToConnect()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java439 int badBondState = 42; in testOkToConnect() local
489 mSingleDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
491 mSingleDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_FORBIDDEN, false); in testOkToConnect()
493 mSingleDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_ALLOWED, false); in testOkToConnect()
494 testOkToConnectCase(mSingleDevice, badBondState, badPriorityValue, false); in testOkToConnect()