/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneStateTest.java | 110 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()
|
D | HeadsetServiceAndStateMachineTest.java | 268 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 …]
|
D | HeadsetServiceTest.java | 179 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/ |
D | PhonePolicyTest.java | 109 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 …]
|
D | AdapterServiceTest.java | 571 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()
|
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/le_audio/ |
D | LeAudioServiceTest.java | 108 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/ |
D | PanServiceTest.java | 96 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testGuestUserConnect()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/ |
D | HidHostServiceTest.java | 75 mTestDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 113 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/ |
D | TestUtils.java | 192 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 | 464 BluetoothDevice testDevice = TestUtils.getTestDevice(mAdapter, i); in testMaxConnectDevices() 492 extraTestDevice = TestUtils.getTestDevice(mAdapter, MAX_CONNECTED_AUDIO_DEVICES); in testMaxConnectDevices()
|