Home
last modified time | relevance | path

Searched defs:testDevice (Results 1 – 25 of 92) sorted by relevance

1234

/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceTest.java640 TestDevice testDevice = in testRecoverDevice_ThrowException() local
2863 TestDevice testDevice = newTestDeviceForReleaseApiLevel(28); in testListUsers_oneUser() local
2877 TestDevice testDevice = newTestDeviceForReleaseApiLevel(28); in testListUsers_invalidOutput() local
2896 TestDevice testDevice = newTestDeviceForReleaseApiLevel(28); in testListUsers_unparsableOutput() local
2919 TestDevice testDevice = newTestDeviceForReleaseApiLevel(28); in testListUsers_multiUsers() local
2936 TestDevice testDevice = newTestDeviceForReleaseApiLevel(32); in testListUsersInfo_oneUser_preT() local
2955 TestDevice testDevice = newTestDeviceForReleaseApiLevel(33); in testListUsersInfo_oneUser_postT() local
2979 TestDevice testDevice = newTestDeviceForReleaseApiLevel(28); in testListUsersInfo_multiUsers() local
3123 TestDevice testDevice = newTestDeviceForReleaseApiLevel(28); in testIsHeadlessSystemUserMode_unsupportedApiLevel() local
3130 TestDevice testDevice = in testIsHeadlessSystemUserMode_true_preApi34() local
[all …]
DNativeDeviceTest.java1416 TestableAndroidNativeDevice testDevice = in testIsNewer() local
1447 TestableAndroidNativeDevice testDevice = in testIsNewer_timeOffset() local
1479 TestableAndroidNativeDevice testDevice = in testIsNewer_fails() local
1659 NativeDevice testDevice = in testDoReboot() local
1676 NativeDevice testDevice = in testDoReboot_skipped() local
1719 NativeDevice testDevice = in testRebootIntoSideload() local
1737 NativeDevice testDevice = in testRebootIntoBootloader() local
1769 TestableAndroidNativeDevice testDevice = in testRebootIntoBootloader_forceFastboot() local
1807 NativeDevice testDevice = in testRebootIntoFastbootd() local
1835 TestableAndroidNativeDevice testDevice = in testRebootIntoFastbootd_forceFastboot() local
[all …]
DDeviceManagerTest.java486 IManagedTestDevice testDevice = mock(IManagedTestDevice.class); in testFreeDevice_noop() local
906 IManagedTestDevice testDevice = new TestDevice(mMockIDevice, mMockStateMonitor, null); in testFreeDevice_unavailable() local
964 IManagedTestDevice testDevice = new TestDevice(mMockIDevice, mMockStateMonitor, null); in testFreeDevice_recovery() local
1026 IManagedTestDevice testDevice = new TestDevice(mMockIDevice, mMockStateMonitor, null); in testFreeDevice_unknown() local
1088 IManagedTestDevice testDevice = new TestDevice(mMockIDevice, mMockStateMonitor, null); in testFreeDevice_unknown_subName() local
/aosp_15_r20/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/pandora/
DPtsBotTest.java314 ITestDevice testDevice = testInfo.getDevice(); in run() local
505 ITestDevice testDevice = testInfo.getDevice(); in runPtsBotTests() local
551 private void shell(ITestDevice testDevice, String cmd) { in shell()
562 private void enableBluetoothFlag(ITestDevice testDevice, String flag) { in enableBluetoothFlag()
573 private void restoreBluetoothFlag(ITestDevice testDevice, String flag) { in restoreBluetoothFlag()
584 public void initFlagsConfig(ITestDevice testDevice, File testConfigFile) { in initFlagsConfig()
599 private void toggleA2dpSinkIfNeeded(ITestDevice testDevice, String testName) { in toggleA2dpSinkIfNeeded()
614 private void toggleHfpHfIfNeeded(ITestDevice testDevice, String testName) { in toggleHfpHfIfNeeded()
625 private void setProperty(ITestDevice testDevice, String property, boolean enable) { in setProperty()
638 private String getProperty(ITestDevice testDevice, String property) { in getProperty()
[all …]
/aosp_15_r20/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
H A DBluetoothHeadsetTest.java153 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionState() local
166 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in isAudioConnected() local
182 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in isNoiseReductionSupported() local
198 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in isVoiceRecognitionSupported() local
214 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in sendVendorSpecificResultCode() local
238 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in connect() local
257 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in disconnect() local
271 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionPolicy() local
291 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setConnectionPolicy() local
317 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getAudioState() local
H A DBluetoothA2dpTest.java175 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionState() local
187 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in isA2dpPlaying() local
225 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getCodecStatus() local
257 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setOptionalCodecsEnabled() local
276 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionPolicy() local
298 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setConnectionPolicy() local
369 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in optionalCodecs() local
H A DBluetoothLeBroadcastAssistantTest.java229 BluetoothDevice testDevice = in addSource() local
303 BluetoothDevice testDevice = in getAllSources() local
325 BluetoothDevice testDevice = in setConnectionPolicy() local
350 BluetoothDevice testDevice = in getMaximumSourceCapacity() local
371 BluetoothDevice testDevice = in getSourceMetadata() local
410 BluetoothDevice testDevice = in modifySource() local
634 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionState() local
H A DBluetoothHidHostTest.java173 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionState() local
193 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionPolicy() local
215 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setConnectionPolicy() local
243 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getPreferredTransportTest() local
264 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setPreferredTransportTest() local
H A DBluetoothHeadsetClientTest.java161 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionState() local
182 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionPolicy() local
203 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setConnectionPolicy() local
227 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getNetworkServiceState() local
239 BluetoothDevice testDevice = mAdapter.getRemoteDevice(testDeviceAddr); in createNetworkServiceStateFromParcel() local
H A DBluetoothA2dpSinkTest.java151 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionState() local
168 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionPolicy() local
189 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setConnectionPolicy() local
213 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in isAudioPlaying() local
H A DBluetoothHidDeviceTest.java159 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionState() local
179 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in connect() local
192 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in disconnect() local
218 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setConnectionPolicy() local
H A DBluetoothMapClientTest.java156 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionPolicy() local
177 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionState() local
211 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in sendMessage() local
250 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setConnectionPolicy() local
H A DBluetoothVolumeControlTest.java418 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionState() local
439 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionPolicy() local
462 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setConnectionPolicy() local
494 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getAudioInputControlServices() local
H A DBluetoothGattServerTest.java158 BluetoothDevice testDevice = mBluetoothAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in readPhy() local
166 BluetoothDevice testDevice = mBluetoothAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setPreferredPhy() local
181 BluetoothDevice testDevice = mBluetoothAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in notifyCharacteristicChanged_withValueOverMaxLength() local
H A DBluetoothMapTest.java145 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionPolicy() local
166 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionState() local
198 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setConnectionPolicy() local
H A DBluetoothPbapClientTest.java141 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionPolicy() local
162 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in getConnectionState() local
196 BluetoothDevice testDevice = mAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setConnectionPolicy() local
H A DBluetoothLeBroadcastMetadataTest.java138 BluetoothDevice testDevice = in createMetadataFromBuilder() local
187 BluetoothDevice testDevice = in createMetadataFromCopy() local
242 BluetoothDevice testDevice = in createMetadataFromBuilderAndCheckRssi() local
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DRuntimeRestartCollectorTest.java123 ITestDevice testDevice = mockTestDevice(DEVICE_SERIAL_1); in testStatsdInteractions_singleDevice() local
204 ITestDevice testDevice = mockTestDevice(DEVICE_SERIAL_1); in testAddingMetrics_noRuntimeRestart_noPriorRuntimeRestart() local
241 ITestDevice testDevice = mockTestDevice(DEVICE_SERIAL_1); in testAddingMetrics_noRuntimeRestart_withPriorRuntimeRestart() local
284 ITestDevice testDevice = mockTestDevice(DEVICE_SERIAL_1); in testAddingMetrics_withRuntimeRestart_noPriorRuntimeRestart() local
342 ITestDevice testDevice = mockTestDevice(DEVICE_SERIAL_1); in testAddingMetrics_withRuntimeRestart_withPriorRuntimeRestart() local
403 ITestDevice testDevice = mockTestDevice(DEVICE_SERIAL_1); in testAddingMetrics_withRuntimeRestart_reportsSystemServerCrashesOnly() local
454 ITestDevice testDevice = mockTestDevice(DEVICE_SERIAL_1); in testAddingMetrics_withRuntimeRestart_useStatsdMetadataResultsForCount() local
DRebootReasonCollectorTest.java73 ITestDevice testDevice = mockTestDevice(DEVICE_SERIAL_1); in testStatsdInteractions_singleDevice() local
97 ITestDevice testDevice = mockTestDevice(DEVICE_SERIAL_1); in testAddingMetrics_singleDevice() local
291 ITestDevice testDevice = mockTestDevice(DEVICE_SERIAL_1); in testCountOnlyWhenNoReboots() local
/aosp_15_r20/platform_testing/libraries/flag-helpers/junit/src_host/android/platform/test/flag/junit/host/
H A DDeviceFlags.java71 public static DeviceFlags createDeviceFlags(ITestDevice testDevice) throws FlagReadException { in createDeviceFlags()
87 public void init(ITestDevice testDevice) throws FlagReadException { in init()
96 private void getDeviceConfigFlags(ITestDevice testDevice) throws FlagReadException { in getDeviceConfigFlags()
112 private void getAconfigFlags(ITestDevice testDevice) throws FlagReadException { in getAconfigFlags()
140 private parsed_flags getAconfigParsedFlags(ITestDevice testDevice) throws FlagReadException { in getAconfigParsedFlags()
/aosp_15_r20/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRootcanalForwarderPreparer.java55 ITestDevice testDevice = testInformation.getDevice(); in setUp() local
83 ITestDevice testDevice = testInformation.getDevice(); in tearDown() local
94 private String adbForward(ITestDevice testDevice, String port) in adbForward()
101 private void adbForwardRemove(ITestDevice testDevice, String hostPort) in adbForwardRemove()
/aosp_15_r20/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DGoogleBenchmarkTest.java184 private void doRunAllTestsInSubdirectory(String root, ITestDevice testDevice, in doRunAllTestsInSubdirectory()
247 private Set<String> getFilteredTests(ITestDevice testDevice, String fullBinaryPath) in getFilteredTests()
267 ITestDevice testDevice, String fullBinaryPath, Set<String> filters) in getTestsForFilters()
468 protected CommandResult executeCommand(final ITestDevice testDevice, final String cmd) in executeCommand()
485 private CommandResult executeCommandByScript(final ITestDevice testDevice, final String cmd) in executeCommandByScript()
DGTest.java185 String root, ITestDevice testDevice, ITestInvocationListener listener) in doRunAllTestsInSubdirectory()
273 protected void executeCommandByScript(final ITestDevice testDevice, final String cmd, in executeCommandByScript()
337 private void runTest(final ITestDevice testDevice, final IShellOutputReceiver resultParser, in runTest()
396 final ITestDevice testDevice, in runTestXml()
/aosp_15_r20/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
H A DInteractiveResultCollectorTest.java66 ITestDevice testDevice = mock(ITestDevice.class); in setUp_deviceClenup_emptyDevicePathSkipped() local
99 ITestDevice testDevice = mock(ITestDevice.class); in tearDown_pullDir_emptyDevicePathSkipped() local
125 private void initTestInfo(IBuildInfo buildInfo, ITestDevice testDevice) throws Exception { in initTestInfo()
/aosp_15_r20/libcore/metrictests/memory/host/src/libcore/heapmetrics/
H A DMetricsRunner.java40 private final ITestDevice testDevice; field in MetricsRunner
49 static MetricsRunner create(ITestDevice testDevice, TestLogData logs) in create()
57 ITestDevice testDevice, String deviceParentDirectory, TestLogData logs) { in MetricsRunner()

1234