Home
last modified time | relevance | path

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

/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.java215 RemoteAndroidTestRunner testRunner = getTestRunner(pkgName, testClassName, testMethodName); in runDeviceTests() local
217 assertTrue(getDevice().runInstrumentationTestsAsUser(testRunner, userId, listener)); in runDeviceTests()
/cts/hostsidetests/content/src/android/content/cts/
DBaseContextCrossProfileTest.java148 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
151 testRunner.addInstrumentationArg("timeout_msec", Long.toString(unit.toMillis(timeout))); in runDeviceTests()
153 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
155 testRunner.setClassName(testClassName); in runDeviceTests()
161 testRunner.addInstrumentationArg(name, value); in runDeviceTests()
165 device.runInstrumentationTestsAsUser(testRunner, userId, listener); in runDeviceTests()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java66 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
69 testRunner.addInstrumentationArg("timeout_msec", Long.toString(unit.toMillis(timeout))); in runDeviceTests()
71 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
73 testRunner.setClassName(testClassName); in runDeviceTests()
79 testRunner.addInstrumentationArg(name, value); in runDeviceTests()
83 device.runInstrumentationTestsAsUser(testRunner, userId, listener); in runDeviceTests()
/cts/hostsidetests/settings/src/com/google/android/cts/settings/
DPrivacyDeviceOwnerTest.java162 RemoteAndroidTestRunner testRunner = in runDeviceTests() local
164 testRunner.setMaxTimeToOutputResponse(DEFAULT_SHELL_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in runDeviceTests()
165 testRunner.addInstrumentationArg( in runDeviceTests()
169 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
171 testRunner.setClassName(testClassName); in runDeviceTests()
175 boolean runResult = getDevice().runInstrumentationTests(testRunner, listener); in runDeviceTests()
/cts/hostsidetests/accounts/src/android/host/accounts/
DAccountManagerXUserTest.java211 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
214 testRunner.addInstrumentationArg("timeout_msec", Long.toString(unit.toMillis(timeout))); in runDeviceTests()
216 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
218 testRunner.setClassName(testClassName); in runDeviceTests()
224 testRunner.addInstrumentationArg(name, value); in runDeviceTests()
228 device.runInstrumentationTestsAsUser(testRunner, userId, listener); in runDeviceTests()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java84 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
87 testRunner.addInstrumentationArg("timeout_msec", Long.toString(unit.toMillis(timeout))); in runDeviceTests()
89 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
91 testRunner.setClassName(testClassName); in runDeviceTests()
97 testRunner.addInstrumentationArg(name, value); in runDeviceTests()
101 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/webkit/src/com/android/cts/webkit/
DWebViewHostSideStartupTest.java87 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runSingleDeviceTest() local
89 testRunner.setMethodName(testClassName, testMethodName); in runSingleDeviceTest()
92 assertTrue(getDevice().runInstrumentationTests(testRunner, listener)); in runSingleDeviceTest()
/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/statsd/src/android/cts/statsd/atom/
DBaseTestCase.java147 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runDeviceTests() local
150 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
152 testRunner.setClassName(testClassName); in runDeviceTests()
156 assertThat(getDevice().runInstrumentationTests(testRunner, listener)).isTrue(); in runDeviceTests()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java205 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runTestAsUser() local
209 testRunner.addInstrumentationArg("blocked_number", BLOCKED_NUMBER); in runTestAsUser()
210 testRunner.addInstrumentationArg("phone_account_id", PHONE_ACCOUNT_ID); in runTestAsUser()
211 testRunner.setMethodName(NUMBER_BLOCKING_TESTS_PKG + "." + className, methodName); in runTestAsUser()
213 getDevice().runInstrumentationTestsAsUser(testRunner, userId, listener); in runTestAsUser()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTestCase.java131 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
136 testRunner.setMethodName(testClassName, methodName); in runDeviceTests()
138 testRunner.setClassName(testClassName); in runDeviceTests()
143 getDevice().runInstrumentationTests(testRunner, listener); in runDeviceTests()
/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/incident/src/com/android/server/cts/
DProtoDumpTestCase.java135 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runDeviceTests() local
138 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
140 testRunner.setClassName(testClassName); in runDeviceTests()
144 assertTrue(getDevice().runInstrumentationTests(testRunner, listener)); in runDeviceTests()
/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.java96 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(PACKAGE_NAME, CTS_RUNNER, in runTestOnDevice() local
98 testRunner.setMethodName(TEST_CLASS_NAME, testMethod); in runTestOnDevice()
99 mDevice.runInstrumentationTests(testRunner, listener); in runTestOnDevice()
/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.java297 RemoteAndroidTestRunner testRunner = in runDeviceTest() local
300 testRunner.setMethodName(MEDIAPARSER_TEST_CLASS_NAME, testMethodName); in runDeviceTest()
302 assertThat(getDevice().runInstrumentationTests(testRunner, listener)).isTrue(); in runDeviceTest()
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java156 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(pkgName, TEST_RUNNER, in runDeviceCompatTestReported() local
158 testRunner.setMethodName(testClassName, testMethodName); in runDeviceCompatTestReported()
160 assertThat(getDevice().runInstrumentationTests(testRunner, listener)).isTrue(); in runDeviceCompatTestReported()
/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java676 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
678 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
681 getDevice().runInstrumentationTests(testRunner, listener); in runDeviceTests()
/cts/tests/tests/media/src/android/media/cts/
DStreamingMediaPlayerTest.java83 InstrumentationTestRunner testRunner = in setUp() local
86 Bundle arguments = testRunner.getArguments(); in setUp()