Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java67 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(packageName, in runDeviceTests() local
70 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
72 testRunner.setClassName(testClassName); in runDeviceTests()
77 testRunner.addInstrumentationArg("hack_key", "hack_value --user " + userId); in runDeviceTests()
81 device.runInstrumentationTests(testRunner, listener); in runDeviceTests()
DKeySetHostTest.java182 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(pkgName, in doRunTests() local
185 testRunner.setMethodName(testClassName, testMethodName); in doRunTests()
188 getDevice().runInstrumentationTests(testRunner, listener); in doRunTests()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java171 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runTestAsUser() local
175 testRunner.addInstrumentationArg("blocked_number", BLOCKED_NUMBER); in runTestAsUser()
176 testRunner.addInstrumentationArg("phone_account_id", PHONE_ACCOUNT_ID); in runTestAsUser()
177 testRunner.setMethodName(NUMBER_BLOCKING_TESTS_PKG + "." + className, methodName); in runTestAsUser()
179 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/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/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestActivity.java94 JUnitCore testRunner = new JUnitCore(); in executeTests() local
95 testRunner.addListener(new GnssRunListener()); in executeTests()
111 Result result = testRunner.run(request); in executeTests()
/cts/hostsidetests/ui/src/android/ui/cts/
DTaskSwitchingTest.java97 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(PACKAGES[0], RUNNER, in testTaskSwitching() local
100 mDevice.runInstrumentationTests(testRunner, listener); in testTaskSwitching()
/cts/hostsidetests/usb/src/com/android/cts/usb/
DTestUsbTest.java112 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner(PACKAGE_NAME, CTS_RUNNER, in testUsbSerial() local
114 mDevice.runInstrumentationTests(testRunner, listener); in testUsbSerial()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java231 RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( in runDeviceTestsAsUser() local
234 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()
236 testRunner.setClassName(testClassName); in runDeviceTestsAsUser()
240 testRunner.addInstrumentationArg(param.getKey(), param.getValue()); in runDeviceTestsAsUser()
244 assertTrue(getDevice().runInstrumentationTestsAsUser(testRunner, userId, listener)); in runDeviceTestsAsUser()