Home
last modified time | relevance | path

Searched refs:testRunner (Results 1 – 25 of 27) sorted by relevance

12

/cts/hostsidetests/media/src/android/media/cts/
DBaseMediaHostSideTest.java76 RemoteAndroidTestRunner testRunner = getTestRunner(pkgName, testClassName, testMethodName); in runDeviceTests() local
78 assertTrue(getDevice().runInstrumentationTests(testRunner, listener)); in runDeviceTests()
118 RemoteAndroidTestRunner testRunner = in getTestRunner() local
120 testRunner.setMaxTimeToOutputResponse(DEFAULT_SHELL_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in getTestRunner()
121 testRunner.addInstrumentationArg( in getTestRunner()
124 testRunner.setMethodName(testClassName, testMethodName); in getTestRunner()
126 testRunner.setClassName(testClassName); in getTestRunner()
128 return testRunner; in getTestRunner()
DBaseMultiUserTest.java237 RemoteAndroidTestRunner testRunner = getTestRunner(pkgName, testClassName, testMethodName); in runDeviceTests() local
239 assertTrue(getDevice().runInstrumentationTestsAsUser(testRunner, userId, listener)); in runDeviceTests()
/cts/hostsidetests/content/src/android/content/cts/
DBaseContextCrossProfileTest.java146 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
149 testRunner.addInstrumentationArg("timeout_msec", Long.toString(unit.toMillis(timeout))); in runDeviceTests()
151 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
153 testRunner.setClassName(testClassName); in runDeviceTests()
159 testRunner.addInstrumentationArg(name, value); in runDeviceTests()
163 device.runInstrumentationTestsAsUser(testRunner, userId, listener); in runDeviceTests()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java67 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
70 testRunner.addInstrumentationArg("timeout_msec", Long.toString(unit.toMillis(timeout))); in runDeviceTests()
72 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
74 testRunner.setClassName(testClassName); in runDeviceTests()
80 testRunner.addInstrumentationArg(name, value); in runDeviceTests()
84 device.runInstrumentationTestsAsUser(testRunner, userId, listener); in runDeviceTests()
/cts/hostsidetests/accounts/src/android/host/accounts/
DAccountManagerXUserTest.java215 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
218 testRunner.addInstrumentationArg("timeout_msec", Long.toString(unit.toMillis(timeout))); in runDeviceTests()
220 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
222 testRunner.setClassName(testClassName); in runDeviceTests()
228 testRunner.addInstrumentationArg(name, value); in runDeviceTests()
232 device.runInstrumentationTestsAsUser(testRunner, userId, listener); in runDeviceTests()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideStartupTest.java66 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runSingleDeviceTest() local
68 testRunner.setMethodName(testClassName, testMethodName); in runSingleDeviceTest()
71 assertTrue(getDevice().runInstrumentationTests(testRunner, listener)); in runSingleDeviceTest()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DUtils.java60 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
64 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
66 testRunner.setClassName(testClassName); in runDeviceTests()
72 testRunner.addInstrumentationArg(name, value); in runDeviceTests()
76 assertTrue(device.runInstrumentationTests(testRunner, listener)); in runDeviceTests()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java117 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
121 testRunner.addInstrumentationArg("timeout_msec", Long.toString(testTimeoutMs)); in runDeviceTests()
124 testRunner.setMaxTimeToOutputResponse(maxTimeToOutputMs, TimeUnit.MILLISECONDS); in runDeviceTests()
127 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
129 testRunner.setClassName(testClassName); in runDeviceTests()
135 testRunner.addInstrumentationArg(name, value); in runDeviceTests()
139 device.runInstrumentationTestsAsUser(testRunner, userId, listener); in runDeviceTests()
DKeySetHostTest.java183 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(pkgName, in doRunTests() local
186 testRunner.setMethodName(testClassName, testMethodName); in doRunTests()
189 getDevice().runInstrumentationTests(testRunner, listener); in doRunTests()
/cts/hostsidetests/settings/src/com/google/android/cts/settings/
DPrivacyDeviceOwnerTest.java185 RemoteAndroidTestRunner testRunner = in runDeviceTests() local
187 testRunner.setMaxTimeToOutputResponse(DEFAULT_SHELL_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in runDeviceTests()
188 testRunner.addInstrumentationArg( in runDeviceTests()
192 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
194 testRunner.setClassName(testClassName); in runDeviceTests()
199 boolean runResult = getDevice().runInstrumentationTestsAsUser(testRunner, mTestUserId, in runDeviceTests()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTestBase.java143 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runDeviceTests() local
145 testRunner.setMaxTimeout(60, TimeUnit.SECONDS); in runDeviceTests()
147 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
149 testRunner.setClassName(testClassName); in runDeviceTests()
153 assertTrue(getDevice().runInstrumentationTests(testRunner, listener)); in runDeviceTests()
/cts/hostsidetests/videoencodingminimum/src/android/videoqualityfloor/cts/
DCtsVideoQualityFloorHostTest.java329 RemoteAndroidTestRunner testRunner = getTestRunner(pkgName, testClassName, testMethodName); in runDeviceTests() local
331 Assert.assertTrue(getDevice().runInstrumentationTests(testRunner, listener)); in runDeviceTests()
340 RemoteAndroidTestRunner testRunner = in getTestRunner() local
342 testRunner.setMaxTimeToOutputResponse(DEFAULT_SHELL_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in getTestRunner()
343 testRunner.addInstrumentationArg(TEST_TIMEOUT_INST_ARGS_KEY, in getTestRunner()
345 testRunner.addInstrumentationArg(TEST_CONFIG_INST_ARGS_KEY, mJsonName); in getTestRunner()
347 testRunner.setMethodName(testClassName, testMethodName); in getTestRunner()
349 testRunner.setClassName(testClassName); in getTestRunner()
351 return testRunner; in getTestRunner()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java203 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runTestAsUser() local
207 testRunner.addInstrumentationArg("blocked_number", BLOCKED_NUMBER); in runTestAsUser()
208 testRunner.addInstrumentationArg("phone_account_id", PHONE_ACCOUNT_ID); in runTestAsUser()
209 testRunner.setMethodName(NUMBER_BLOCKING_TESTS_PKG + "." + className, methodName); in runTestAsUser()
211 getDevice().runInstrumentationTestsAsUser(testRunner, userId, listener); in runTestAsUser()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBaseDumpsysTest.java168 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runDeviceTests() local
171 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
173 testRunner.setClassName(testClassName); in runDeviceTests()
177 assertTrue(getDevice().runInstrumentationTests(testRunner, listener)); in runDeviceTests()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DBug_261036568.java81 final String testRunner = "androidx.test.runner.AndroidJUnitRunner"; in runDeviceTestsWithArgs() local
85 testRunner, in runDeviceTestsWithArgs()
/cts/hostsidetests/mediapc/videoencodingquality/src/
DCtsVideoEncodingQualityHostTest.java533 RemoteAndroidTestRunner testRunner = getTestRunner(pkgName, testClassName, testMethodName); in runDeviceTests() local
535 Assert.assertTrue(getDevice().runInstrumentationTests(testRunner, listener)); in runDeviceTests()
544 RemoteAndroidTestRunner testRunner = in getTestRunner() local
546 testRunner.setMaxTimeToOutputResponse(DEFAULT_SHELL_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in getTestRunner()
547 testRunner.addInstrumentationArg(TEST_TIMEOUT_INST_ARGS_KEY, in getTestRunner()
549 testRunner.addInstrumentationArg(TEST_CONFIG_INST_ARGS_KEY, mJsonName); in getTestRunner()
551 testRunner.setMethodName(testClassName, testMethodName); in getTestRunner()
553 testRunner.setClassName(testClassName); in getTestRunner()
555 return testRunner; in getTestRunner()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestActivity.java116 JUnitCore testRunner = new JUnitCore(); in executeTests() local
117 testRunner.addListener(new SensorRunListener()); in executeTests()
133 Result result = testRunner.run(request); in executeTests()
/cts/hostsidetests/usb/src/com/android/cts/usb/
DTestUsbTest.java97 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(PACKAGE_NAME, CTS_RUNNER, in runTestOnDevice() local
99 testRunner.setMethodName(TEST_CLASS_NAME, testMethod); in runTestOnDevice()
100 mDevice.runInstrumentationTests(testRunner, listener); in runTestOnDevice()
/cts/hostsidetests/packagemanager/preferredactivity/src/com/android/cts/packagemanager/preferredactivity/host/
DPreferredActivityTests.java117 final String testRunner = "androidx.test.runner.AndroidJUnitRunner"; in runDeviceTestsWithArgs() local
120 return runDeviceTests(getDevice(), testRunner, pkgName, testClassName, testMethodName, in runDeviceTestsWithArgs()
/cts/hostsidetests/ui/src/android/ui/cts/
DTaskSwitchingTest.java117 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(PACKAGES[0], RUNNER, in doTestTaskSwitching() local
120 mDevice.runInstrumentationTests(testRunner, listener); in doTestTaskSwitching()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraPerformanceActivity.java75 JUnitCore testRunner = new JUnitCore(); in executeTest() local
78 testRunner.addListener(new CameraRunListener()); in executeTest()
79 testRunner.run(request); in executeTest()
/cts/hostsidetests/mediaparser/src/android/media/mediaparser/cts/
DMediaParserHostSideTest.java303 RemoteAndroidTestRunner testRunner = in runDeviceTest() local
306 testRunner.setMethodName(MEDIAPARSER_TEST_CLASS_NAME, testMethodName); in runDeviceTest()
308 assertThat(getDevice().runInstrumentationTests(testRunner, listener)).isTrue(); in runDeviceTest()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java116 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in internalRunDeviceTests() local
119 testRunner.setMethodName(testClassName, testMethodName); in internalRunDeviceTests()
121 testRunner.setClassName(testClassName); in internalRunDeviceTests()
132 assertThat(device.runInstrumentationTests(testRunner, combinedLister)).isTrue(); in internalRunDeviceTests()
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java161 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(pkgName, TEST_RUNNER, in runDeviceCompatTestReported() local
163 testRunner.setMethodName(testClassName, testMethodName); in runDeviceCompatTestReported()
165 assertThat(getDevice().runInstrumentationTests(testRunner, listener)).isTrue(); in runDeviceCompatTestReported()
/cts/hostsidetests/packagemanager/extractnativelibs/src/android/extractnativelibs/cts/
DCtsExtractNativeLibsHostTestBase.java139 final String testRunner = "androidx.test.runner.AndroidJUnitRunner"; in runDeviceTestsWithArgs() local
142 return runDeviceTests(getDevice(), testRunner, pkgName, testClassName, testMethodName, in runDeviceTestsWithArgs()

12