Home
last modified time | relevance | path

Searched refs:getTestDevice (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetPhoneStateTest.java110 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_NoneResultsNoListen()
121 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceOnly()
134 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceAndSignalStrength()
147 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh()
162 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll()
178 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_MultiDevice_AllUpAllDown()
179 BluetoothDevice device2 = TestUtils.getTestDevice(mAdapter, 2); in testListenForPhoneState_MultiDevice_AllUpAllDown()
202 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_MultiDevice_PartialUpPartialDown()
203 BluetoothDevice device2 = TestUtils.getTestDevice(mAdapter, 2); in testListenForPhoneState_MultiDevice_PartialUpPartialDown()
DHeadsetServiceAndStateMachineTest.java268 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testGetHeadsetService()
281 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testConnectFromApi()
324 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectBeforeUnbond()
367 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectAfterUnbond()
428 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_normalStartStop()
468 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_preemptedByTelecomCall()
511 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_rejectedWhenThereIsTelecomCall()
542 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testDialingOutCall_NormalDialingOut()
624 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testDialingOutCall_DialingOutPreemptVirtualCall()
684 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testVoiceRecognition_SingleHfInitiatedSuccess()
[all …]
DHeadsetServiceTest.java179 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testGetHeadsetService()
191 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testOkToAcceptConnection()
237 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testConnectDevice_connectDeviceBelowLimit()
270 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testMessageFromNative_deviceConnected()
308 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testMessageFromNative_deviceConnectingUnknown()
326 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testMessageFromNative_deviceDisconnectedUnknown()
350 mCurrentDevice = TestUtils.getTestDevice(mAdapter, i); in testConnectDevice_connectDeviceAboveLimit()
378 mCurrentDevice = TestUtils.getTestDevice(mAdapter, MAX_HEADSET_CONNECTIONS); in testConnectDevice_connectDeviceAboveLimit()
401 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testConnectAudio_withOneDevice()
454 mCurrentDevice = TestUtils.getTestDevice(mAdapter, i); in testConnectAudio_withMultipleDevices()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java109 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testProcessInitProfilePriorities()
151 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()
268 bondedDevices[0] = TestUtils.getTestDevice(mAdapter, 0); in testReconnectOnPartialConnect()
308 connectionOrder.add(TestUtils.getTestDevice(mAdapter, 0)); in testReconnectOnPartialConnect_PreviousPartialFail()
392 BluetoothDevice testDevice = TestUtils.getTestDevice(mAdapter, i); in testAutoConnectMultipleDevices()
460 BluetoothDevice testDevice = TestUtils.getTestDevice(mAdapter, i); in testSetConnectionPolicyMultipleDevices()
[all …]
DAdapterServiceTest.java571 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_BluetoothDisabled()
589 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_BluetoothEnabled()
604 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_PersistentBetweenToggle()
638 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_PersistentBetweenAdapterServiceInitialization()
674 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_FactoryReset()
708 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testObfuscateBluetoothAddress_FactoryResetAndReloadNativeLayer()
782 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testGetMetricId_BluetoothDisabled()
796 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testGetMetricId_BluetoothEnabled()
807 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testGetMetricId_PersistentBetweenToggle()
832 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testgetMetricId_PersistentBetweenAdapterServiceInitialization()
DActiveDeviceManagerTest.java93 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/le_audio/
DLeAudioServiceTest.java108 mLeftDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp()
109 mRightDevice = TestUtils.getTestDevice(mAdapter, 1); in setUp()
110 mSingleDevice = TestUtils.getTestDevice(mAdapter, 2); in setUp()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pan/
DPanServiceTest.java96 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testGuestUserConnect()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidHostServiceTest.java75 mTestDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java113 mLeftDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp()
114 mRightDevice = TestUtils.getTestDevice(mAdapter, 1); in setUp()
115 mSingleDevice = TestUtils.getTestDevice(mAdapter, 2); in setUp()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java192 public static BluetoothDevice getTestDevice(BluetoothAdapter bluetoothAdapter, int id) { in getTestDevice() method in TestUtils
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java464 BluetoothDevice testDevice = TestUtils.getTestDevice(mAdapter, i); in testMaxConnectDevices()
492 extraTestDevice = TestUtils.getTestDevice(mAdapter, MAX_CONNECTED_AUDIO_DEVICES); in testMaxConnectDevices()