Home
last modified time | relevance | path

Searched refs:addInstrumentationArg (Results 1 – 20 of 20) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DAndroidJUnitTestTest.java109 mMockRemoteRunner.addInstrumentationArg( in setUp()
111 mMockRemoteRunner.addInstrumentationArg( in setUp()
127 verify(mMockRemoteRunner).addInstrumentationArg("class", TEST1.toString()); in testRun_includeFilterClass()
144 .addInstrumentationArg("class", "a.b.c.Class3,a.b.c.Class1,a.b.c.Class2"); in testRun_MultipleIncludeFilterClassByOrder()
158 verify(mMockRemoteRunner).addInstrumentationArg("notClass", TEST1.toString()); in testRun_excludeFilterClass()
175 .addInstrumentationArg("notClass", "a.b.c.Class3,a.b.c.Class1,a.b.c.Class2"); in testRun_MultipleExcludeFilterClassByOrder()
190 verify(mMockRemoteRunner).addInstrumentationArg("class", TEST1.getClassName()); in testRun_includeAndExcludeFilterClass()
191 verify(mMockRemoteRunner).addInstrumentationArg("notClass", TEST2.toString()); in testRun_includeAndExcludeFilterClass()
205 verify(mMockRemoteRunner).addInstrumentationArg("package", "com.android.test"); in testRun_includeFilterPackage()
219 verify(mMockRemoteRunner).addInstrumentationArg("notPackage", "com.android.not"); in testRun_excludeFilterPackage()
[all …]
DInstrumentationTestTest.java1138 public void addInstrumentationArg(String name, String value) { in addInstrumentationArg() method in InstrumentationTestTest.FakeTestRunner
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DAndroidJUnitTest.java469 runner.addInstrumentationArg(TEST_FILE_INST_ARGS_KEY, mDeviceIncludeFile); in setRunnerArgs()
474 runner.addInstrumentationArg(NOT_TEST_FILE_INST_ARGS_KEY, mDeviceExcludeFile); in setRunnerArgs()
511 runner.addInstrumentationArg(INCLUDE_CLASS_INST_ARGS_KEY, in setRunnerArgs()
515 runner.addInstrumentationArg(EXCLUDE_CLASS_INST_ARGS_KEY, in setRunnerArgs()
519 runner.addInstrumentationArg(INCLUDE_PACKAGE_INST_ARGS_KEY, in setRunnerArgs()
523 runner.addInstrumentationArg(EXCLUDE_PACKAGE_INST_ARGS_KEY, in setRunnerArgs()
534 runner.addInstrumentationArg(INCLUDE_REGEX_INST_ARGS_KEY, regexFilter); in setRunnerArgs()
537 runner.addInstrumentationArg(ANNOTATION_INST_ARGS_KEY, in setRunnerArgs()
541 runner.addInstrumentationArg(NOT_ANNOTATION_INST_ARGS_KEY, in setRunnerArgs()
545 runner.addInstrumentationArg(SHARD_INDEX_INST_ARGS_KEY, Integer.toString(mShardIndex)); in setRunnerArgs()
[all …]
DUiAutomatorRunner.java156 addInstrumentationArg(CLASS_ARG_NAME, className); in setClassName()
203 public void addInstrumentationArg(String name, String value) { in addInstrumentationArg() method in UiAutomatorRunner
229 addInstrumentationArg(name, Boolean.toString(value)); in addBooleanArg()
366 addInstrumentationArg("additionalTestOutputDir", additionalTestDataPath); in setAdditionalTestOutputLocation()
DCodeCoverageTest.java59 super.addInstrumentationArg("coverage", "true"); in run()
61 super.addInstrumentationArg("coverageFile", mCoverageFile); in run()
DInstrumentationTest.java591 public void addInstrumentationArg(String key, String value) { in addInstrumentationArg() method in InstrumentationTest
869 mRunner.addInstrumentationArg( in run()
894 addInstrumentationArg(TEST_FILE_INST_ARGS_KEY, mTestFilePathOnDevice); in setRunnerArgs()
904 runner.addInstrumentationArg(argEntry.getKey(), argEntry.getValue()); in setRunnerArgs()
932 addInstrumentationArg(TEST_TIMEOUT_INST_ARGS_KEY, Long.toString(mTestTimeout)); in addTimeoutsToRunner()
974 mRunner.addInstrumentationArg("coverage", "true"); in doTestRun()
1023 mRunner.addInstrumentationArg("listener", ArrayUtil.join(",", mExtraDeviceListener)); in doTestRun()
DInstalledInstrumentationsTest.java425 t.addInstrumentationArg("shardIndex", Integer.toString(mShardIndex)); in buildTests()
426 t.addInstrumentationArg("numShards", Integer.toString(mTotalShards)); in buildTests()
DUiAutomatorTest.java225 getTestRunner().addInstrumentationArg(entry.getKey(), entry.getValue()); in run()
/tools/tradefederation/contrib/src/com/android/wireless/tests/
DWifiStressTest.java236 runner.addInstrumentationArg("softap_iterations", mApIteration); in run()
237 runner.addInstrumentationArg("scan_iterations", mScanIteration); in run()
238 runner.addInstrumentationArg("reconnect_iterations", mReconnectionIteration); in run()
239 runner.addInstrumentationArg("reconnect_ssid", mReconnectionSsid); in run()
240 runner.addInstrumentationArg("reconnect_password", mReconnectionPassword); in run()
241 runner.addInstrumentationArg("sleep_time", mIdleTime); in run()
243 runner.addInstrumentationArg("wifi-only", String.valueOf(mWifiOnly)); in run()
/tools/tradefederation/contrib/src/com/android/media/template/
DAudioTestHarnessTemplateTest.java70 runner.addInstrumentationArg(AUDIO_FILE_KEY, mAudioFile); in run()
71 runner.addInstrumentationArg(AUDIO_PLAY_DURATION_KEY, mAudioPlayDuration); in run()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppTransitionTests.java329 runner.addInstrumentationArg("launch_apps", launchApps); in createRemoteAndroidTestRunner()
332 runner.addInstrumentationArg("pre_launch_apps", preLaunchApps); in createRemoteAndroidTestRunner()
334 runner.addInstrumentationArg("launch_iteration", Integer.toString(mLaunchIteration)); in createRemoteAndroidTestRunner()
336 runner.addInstrumentationArg(entry.getKey(), entry.getValue()); in createRemoteAndroidTestRunner()
340 runner.addInstrumentationArg("trace_directory", mTraceDirectory); in createRemoteAndroidTestRunner()
396 runner.addInstrumentationArg("iteration_count", Integer.toString(mLatencyIteration)); in createTestRunner()
398 runner.addInstrumentationArg(entry.getKey(), entry.getValue()); in createTestRunner()
403 runner.addInstrumentationArg( in createTestRunner()
DHermeticLaunchTest.java287 runner.addInstrumentationArg("targetpackage", mtargetPackage); in createRemoteAndroidTestRunner()
288 runner.addInstrumentationArg("launchcount", mlaunchCount + ""); in createRemoteAndroidTestRunner()
289 runner.addInstrumentationArg("tracecategory", mtraceCategory); in createRemoteAndroidTestRunner()
291 runner.addInstrumentationArg("instanturl", mInstantAppUrl); in createRemoteAndroidTestRunner()
294 runner.addInstrumentationArg("activitylist", mactivityNames); in createRemoteAndroidTestRunner()
297 runner.addInstrumentationArg("recordtrace", "false"); in createRemoteAndroidTestRunner()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4TestTest.java329 .addInstrumentationArg("test", "value") in testRunDeviceTestsWithOptions()
330 .addInstrumentationArg("test2", "value2")); in testRunDeviceTestsWithOptions()
336 Mockito.verify(mockRunner).addInstrumentationArg("test", "value"); in testRunDeviceTestsWithOptions()
337 Mockito.verify(mockRunner).addInstrumentationArg("test2", "value2"); in testRunDeviceTestsWithOptions()
/tools/tradefederation/contrib/src/com/android/media/tests/
DMediaMemoryTest.java115 runner.addInstrumentationArg("get_heap_dump", "true"); in run()
118 runner.addInstrumentationArg("get_procmem", "true"); in run()
DVideoEditingMemoryTest.java111 runner.addInstrumentationArg("get_heap_dump", "getNativeHeap"); in run()
DCameraTestBase.java196 instr.addInstrumentationArg(entry.getKey(), entry.getValue()); in runInstrumentationTest()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DDeviceTestRunOptions.java233 public DeviceTestRunOptions addInstrumentationArg(String key, String value) { in addInstrumentationArg() method in DeviceTestRunOptions
DBaseHostJUnit4Test.java833 testRunner.addInstrumentationArg("timeout_msec", Long.toString(testTimeoutMs)); in doRunTests()
836 testRunner.addInstrumentationArg( in doRunTests()
857 testRunner.addInstrumentationArg(key, instrumentationArgs.get(key)); in doRunTests()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DInstrumentationPreparer.java131 test.addInstrumentationArg(entry.getKey(), entry.getValue()); in runInstrumentation()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java275 testRunner.addInstrumentationArg( in runDeviceTests()