Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/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()
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.java86 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runSingleDeviceTest() local
88 testRunner.setMethodName(testClassName, testMethodName); in runSingleDeviceTest()
91 assertTrue(getDevice().runInstrumentationTests(testRunner, listener)); in runSingleDeviceTest()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java172 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runTestAsUser() local
176 testRunner.addInstrumentationArg("blocked_number", BLOCKED_NUMBER); in runTestAsUser()
177 testRunner.addInstrumentationArg("phone_account_id", PHONE_ACCOUNT_ID); in runTestAsUser()
178 testRunner.setMethodName(NUMBER_BLOCKING_TESTS_PKG + "." + className, methodName); in runTestAsUser()
180 getDevice().runInstrumentationTestsAsUser(testRunner, userId, listener); in runTestAsUser()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DBaseTestCase.java110 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runDeviceTests() local
113 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
115 testRunner.setClassName(testClassName); in runDeviceTests()
119 assertTrue(getDevice().runInstrumentationTests(testRunner, listener)); in runDeviceTests()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java257 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runDeviceTestsAsUser() local
259 testRunner.setMaxTimeToOutputResponse(DEFAULT_SHELL_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in runDeviceTestsAsUser()
260 testRunner.addInstrumentationArg( in runDeviceTestsAsUser()
263 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()
265 testRunner.setClassName(testClassName); in runDeviceTestsAsUser()
269 assertTrue(getDevice().runInstrumentationTestsAsUser(testRunner, userId, listener)); in runDeviceTestsAsUser()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTestCase.java130 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
135 testRunner.setMethodName(testClassName, methodName); in runDeviceTests()
137 testRunner.setClassName(testClassName); in runDeviceTests()
142 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/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java140 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runDeviceTestsAsUser() local
143 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()
145 testRunner.setClassName(testClassName); in runDeviceTestsAsUser()
149 testRunner.addInstrumentationArg(param.getKey(), param.getValue()); in runDeviceTestsAsUser()
153 assertTrue(getDevice().runInstrumentationTestsAsUser(testRunner, userId, listener)); in runDeviceTestsAsUser()
/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/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestActivity.java106 JUnitCore testRunner = new JUnitCore(); in executeTests() local
107 testRunner.addListener(new GnssRunListener()); in executeTests()
123 Result result = testRunner.run(request); in executeTests()
/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/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java396 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runDeviceTestsAsUser() local
398 testRunner.setMaxTimeToOutputResponse(DEFAULT_SHELL_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in runDeviceTestsAsUser()
399 testRunner.addInstrumentationArg( in runDeviceTestsAsUser()
402 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()
404 testRunner.setClassName(testClassName); in runDeviceTestsAsUser()
408 testRunner.addInstrumentationArg(param.getKey(), param.getValue()); in runDeviceTestsAsUser()
412 assertTrue(getDevice().runInstrumentationTestsAsUser(testRunner, userId, listener)); in runDeviceTestsAsUser()
/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java616 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
618 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
621 getDevice().runInstrumentationTests(testRunner, listener); in runDeviceTests()
/cts/tests/tests/media/src/android/media/cts/
DStreamingMediaPlayerTest.java72 InstrumentationTestRunner testRunner = in setUp() local
75 Bundle arguments = testRunner.getArguments(); in setUp()
DStreamingMediaPlayer2Test.java76 InstrumentationTestRunner testRunner = in setUp() local
79 Bundle arguments = testRunner.getArguments(); in setUp()
D.goutputstream-9KZYJZ76 InstrumentationTestRunner testRunner =
79 Bundle arguments = testRunner.getArguments();