/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneStateTest.java | 109 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_NoneResultsNoListen() 120 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceOnly() 133 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceAndSignalStrength() 146 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh() 161 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll() 177 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_MultiDevice_AllUpAllDown() 178 BluetoothDevice device2 = TestUtils.getTestDevice(mAdapter, 2); in testListenForPhoneState_MultiDevice_AllUpAllDown() 201 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_MultiDevice_PartialUpPartialDown() 202 BluetoothDevice device2 = TestUtils.getTestDevice(mAdapter, 2); in testListenForPhoneState_MultiDevice_PartialUpPartialDown()
|
D | HeadsetServiceAndStateMachineTest.java | 267 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testGetHeadsetService() 280 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testConnectFromApi() 324 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectBeforeUnbond() 368 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectAfterUnbond() 430 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_normalStartStop() 466 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_preemptedByTelecomCall() 506 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_rejectedWhenThereIsTelecomCall() 534 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testDialingOutCall_NormalDialingOut() 613 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testDialingOutCall_DialingOutPreemptVirtualCall() 670 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testVoiceRecognition_SingleHfInitiatedSuccess() [all …]
|
D | HeadsetServiceTest.java | 180 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testGetHeadsetService() 192 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testOkToAcceptConnection() 238 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testConnectDevice_connectDeviceBelowLimit() 271 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testMessageFromNative_deviceConnected() 309 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testMessageFromNative_deviceConnectingUnknown() 327 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testMessageFromNative_deviceDisconnectedUnknown() 351 mCurrentDevice = TestUtils.getTestDevice(mAdapter, i); in testConnectDevice_connectDeviceAboveLimit() 379 mCurrentDevice = TestUtils.getTestDevice(mAdapter, MAX_HEADSET_CONNECTIONS); in testConnectDevice_connectDeviceAboveLimit() 402 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testConnectAudio_withOneDevice() 455 mCurrentDevice = TestUtils.getTestDevice(mAdapter, i); in testConnectAudio_withMultipleDevices() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 108 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testProcessInitProfilePriorities() 150 BluetoothDevice bondedDevice = TestUtils.getTestDevice(mAdapter, 0); in testAdapterOnAutoConnect() 182 connectionOrder.add(TestUtils.getTestDevice(mAdapter, 0)); in testDisconnectNoAutoConnect() 183 connectionOrder.add(TestUtils.getTestDevice(mAdapter, 1)); in testDisconnectNoAutoConnect() 184 connectionOrder.add(TestUtils.getTestDevice(mAdapter, 2)); in testDisconnectNoAutoConnect() 185 connectionOrder.add(TestUtils.getTestDevice(mAdapter, 3)); in testDisconnectNoAutoConnect() 269 bondedDevices[0] = TestUtils.getTestDevice(mAdapter, 0); in testReconnectOnPartialConnect() 309 connectionOrder.add(TestUtils.getTestDevice(mAdapter, 0)); in testReconnectOnPartialConnect_PreviousPartialFail() 394 BluetoothDevice testDevice = TestUtils.getTestDevice(mAdapter, i); in testAutoConnectMultipleDevices() 462 BluetoothDevice testDevice = TestUtils.getTestDevice(mAdapter, i); in testSetConnectionPolicyMultipleDevices() [all …]
|
D | AdapterServiceTest.java | 535 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_BluetoothDisabled() 553 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_BluetoothEnabled() 568 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_PersistentBetweenToggle() 602 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_PersistentBetweenAdapterServiceInitialization() 638 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_FactoryReset() 672 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_FactoryResetAndReloadNativeLayer() 746 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testGetMetricId_BluetoothDisabled() 760 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testGetMetricId_BluetoothEnabled() 771 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testGetMetricId_PersistentBetweenToggle() 796 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testgetMetricId_PersistentBetweenAdapterServiceInitialization()
|
D | ActiveDeviceManagerTest.java | 93 mA2dpDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp() 94 mHeadsetDevice = TestUtils.getTestDevice(mAdapter, 1); in setUp() 95 mA2dpHeadsetDevice = TestUtils.getTestDevice(mAdapter, 2); in setUp() 96 mHearingAidDevice = TestUtils.getTestDevice(mAdapter, 3); in setUp()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pan/ |
D | PanServiceTest.java | 90 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testGuestUserConnect()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/ |
D | HidHostServiceTest.java | 73 mTestDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 111 mLeftDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp() 112 mRightDevice = TestUtils.getTestDevice(mAdapter, 1); in setUp() 113 mSingleDevice = TestUtils.getTestDevice(mAdapter, 2); in setUp()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | TestUtils.java | 191 public static BluetoothDevice getTestDevice(BluetoothAdapter bluetoothAdapter, int id) { in getTestDevice() method in TestUtils
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 469 BluetoothDevice testDevice = TestUtils.getTestDevice(mAdapter, i); in testMaxConnectDevices() 498 extraTestDevice = TestUtils.getTestDevice(mAdapter, MAX_CONNECTED_AUDIO_DEVICES); in testMaxConnectDevices()
|