/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkServiceBinderTest.java | 56 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in connect() 65 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in disconnect() 91 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionState() 100 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in setConnectionPolicy() 110 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionPolicy() 119 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in isA2dpPlaying() 128 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getAudioConfig()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneStateTest.java | 115 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_NoneResultsNoListen() 126 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceOnly() 140 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceAndSignalStrength() 161 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffSignalStrengh() 185 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_ServiceAndSignalStrengthUpdateTurnOffAll() 212 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_MultiDevice_AllUpAllDown() 213 BluetoothDevice device2 = TestUtils.getTestDevice(mAdapter, 2); in testListenForPhoneState_MultiDevice_AllUpAllDown() 249 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testListenForPhoneState_MultiDevice_PartialUpPartialDown() 250 BluetoothDevice device2 = TestUtils.getTestDevice(mAdapter, 2); in testListenForPhoneState_MultiDevice_PartialUpPartialDown()
|
D | HeadsetServiceAndStateMachineTest.java | 217 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testGetHeadsetService() 230 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testConnectFromApi() 279 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectBeforeUnbond() 325 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectAfterUnbond() 389 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_normalStartStop() 428 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_preemptedByTelecomCall() 472 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_rejectedWhenThereIsTelecomCall() 501 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testDialingOutCall_NormalDialingOut() 595 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testDialingOutCall_DialingOutPreemptVirtualCall() 654 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testVoiceRecognition_SingleHfInitiatedSuccess() [all …]
|
D | HeadsetServiceTest.java | 194 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testGetHeadsetService() 206 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testOkToAcceptConnection() 279 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testConnectDevice_connectDeviceBelowLimit() 319 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testMessageFromNative_deviceConnected() 368 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testMessageFromNative_deviceConnectingUnknown() 393 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testMessageFromNative_deviceDisconnectedUnknown() 419 mCurrentDevice = TestUtils.getTestDevice(mAdapter, i); in testConnectDevice_connectDeviceAboveLimit() 460 mCurrentDevice = TestUtils.getTestDevice(mAdapter, MAX_HEADSET_CONNECTIONS); in testConnectDevice_connectDeviceAboveLimit() 489 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testConnectAudio_withOneDevice() 555 mCurrentDevice = TestUtils.getTestDevice(mAdapter, i); in testConnectAudio_withMultipleDevices() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/ |
D | BatteryServiceBinderTest.java | 56 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in connect() 65 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in disconnect() 91 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionState() 100 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in setConnectionPolicy() 110 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionPolicy()
|
D | BatteryServiceTest.java | 83 mDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 19 import static com.android.bluetooth.TestUtils.getTestDevice; 158 BluetoothDevice device = getTestDevice(mAdapter, 0); in testProcessInitProfilePriorities() 202 BluetoothDevice device = getTestDevice(mAdapter, i); in processInitProfilePriorities_LeAudioOnlyHelper() 323 BluetoothDevice device = getTestDevice(mAdapter, 0); in testProcessInitProfilePriorities_WithAutoConnect() 349 BluetoothDevice device = getTestDevice(mAdapter, 0); in testProcessInitProfilePriorities_LeAudioDisabledByDefault() 408 BluetoothDevice device = getTestDevice(mAdapter, 0); in testProcessInitProfilePriorities_LeAudioEnabledByDefault() 482 BluetoothDevice device = getTestDevice(mAdapter, 0); in processInitProfilePriorities_LeAudioHelper() 527 BluetoothDevice firstDevice = getTestDevice(mAdapter, 0); in testLateConnectOfLeAudioEnabled_DualModeBud() 599 BluetoothDevice secondDevice = getTestDevice(mAdapter, 1); in testLateConnectOfLeAudioEnabled_DualModeBud() 649 BluetoothDevice firstDevice = getTestDevice(mAdapter, 0); in testLateConnectOfLeAudioEnabled_AshaAndLeAudioBud() [all …]
|
D | AudioRoutingManagerTest.java | 138 mA2dpDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp() 139 mHeadsetDevice = TestUtils.getTestDevice(mAdapter, 1); in setUp() 140 mA2dpHeadsetDevice = TestUtils.getTestDevice(mAdapter, 2); in setUp() 141 mHearingAidDevice = TestUtils.getTestDevice(mAdapter, 3); in setUp() 142 mLeAudioDevice = TestUtils.getTestDevice(mAdapter, 4); in setUp() 143 mSecondaryAudioDevice = TestUtils.getTestDevice(mAdapter, 5); in setUp() 144 mDualModeAudioDevice = TestUtils.getTestDevice(mAdapter, 6); in setUp() 145 mLeAudioDevice2 = TestUtils.getTestDevice(mAdapter, 7); in setUp()
|
D | ActiveDeviceManagerTest.java | 141 mA2dpDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp() 142 mHeadsetDevice = TestUtils.getTestDevice(mAdapter, 1); in setUp() 143 mA2dpHeadsetDevice = TestUtils.getTestDevice(mAdapter, 2); in setUp() 144 mHearingAidDevice = TestUtils.getTestDevice(mAdapter, 3); in setUp() 145 mLeAudioDevice = TestUtils.getTestDevice(mAdapter, 4); in setUp() 146 mLeHearingAidDevice = TestUtils.getTestDevice(mAdapter, 5); in setUp() 147 mSecondaryAudioDevice = TestUtils.getTestDevice(mAdapter, 6); in setUp() 148 mDualModeAudioDevice = TestUtils.getTestDevice(mAdapter, 7); in setUp() 149 mLeAudioDevice2 = TestUtils.getTestDevice(mAdapter, 8); in setUp()
|
D | MetricsLoggerTest.java | 262 TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 0); in testOuiFromBluetoothDevice()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioBinderTest.java | 112 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in connect() 121 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in disconnect() 156 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionState() 165 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in setActiveDevice() 200 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getAudioLocation() 209 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in setConnectionPolicy() 219 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionPolicy() 239 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getGroupId() 249 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in groupAddNode() 267 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in setInactiveForHfpHandover() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
D | BleBroadcastAssistantBinderTest.java | 73 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionState() 113 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in setConnectionPolicy() 130 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionPolicy() 222 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in addSource() 238 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in modifySource() 254 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in removeSource() 270 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getAllSources() 283 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getMaximumSourceCapacity()
|
/packages/modules/AdServices/shared/libraries/host-side/java/com/android/adservices/shared/testing/ |
D | TestDeviceHelper.java | 52 public static ITestDevice getTestDevice() { in getTestDevice() method in TestDeviceHelper 71 return runShellCommand(getTestDevice(), cmdFmt, cmdArgs); in runShellCommand() 100 return runShellCommandRwe(TestDeviceHelper.getTestDevice(), cmdFmt, cmdArgs); in runShellCommandRwe() 219 return command.run(getTestDevice()); in call() 232 command.run(getTestDevice()); in run()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidNativeInterfaceTest.java | 70 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getByteAddress() 77 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in onConnectionStateChanged() 97 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in onDeviceAvailable()
|
D | HearingAidServiceTest.java | 85 private static final BluetoothDevice mLeftDevice = TestUtils.getTestDevice(mAdapter, 0); 86 private static final BluetoothDevice mRightDevice = TestUtils.getTestDevice(mAdapter, 1); 87 private static final BluetoothDevice mSingleDevice = TestUtils.getTestDevice(mAdapter, 2);
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/ |
D | TbsGenericTest.java | 153 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testSetClearInbandRingtone() 333 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testCallAccept() 394 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testCallTerminate() 450 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testCallHold() 506 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testCallRetrieve() 562 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testCallOriginate() 613 mCurrentDevice = TestUtils.getTestDevice(mAdapter, 0); in testCallJoin()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/ |
D | McpServiceTest.java | 94 BluetoothDevice device0 = TestUtils.getTestDevice(mAdapter, 0); in testAuthorization() 95 BluetoothDevice device1 = TestUtils.getTestDevice(mAdapter, 1); in testAuthorization()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/ |
D | SapServiceTest.java | 69 mDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/ |
D | CsipSetCoordinatorServiceTest.java | 118 mTestDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp() 121 mTestDevice2 = TestUtils.getTestDevice(mAdapter, 1); in setUp() 124 mTestDevice3 = TestUtils.getTestDevice(mAdapter, 2); in setUp()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/ |
D | HidHostServiceTest.java | 70 mTestDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/ |
D | HapClientTest.java | 136 mDevice = TestUtils.getTestDevice(mAdapter, 0); in setUp() 138 mDevice2 = TestUtils.getTestDevice(mAdapter, 1); in setUp() 140 mDevice3 = TestUtils.getTestDevice(mAdapter, 2); in setUp() 445 BluetoothDevice Device2 = TestUtils.getTestDevice(mAdapter, 1); in testConnectTwo()
|
/packages/modules/AdServices/adservices/tests/cts/hosttests/src/com/android/adservices/cts/ |
D | AppSearchDataMigrationHostTest.java | 124 TestDeviceHelper.getTestDevice().reboot(); in classTearDown()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceBinderTest.java | 53 private static final BluetoothDevice sDevice = TestUtils.getTestDevice(sAdapter, 0);
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/ |
D | UtilsTest.java | 180 BluetoothDevice device = TestUtils.getTestDevice(BluetoothAdapter.getDefaultAdapter(), 1); in getLoggableAddress()
|
D | TestUtils.java | 142 public static BluetoothDevice getTestDevice(BluetoothAdapter bluetoothAdapter, int id) { in getTestDevice() method in TestUtils
|