/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMediaHostSideTest.java | 76 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()
|
D | BaseMultiUserTest.java | 215 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/ |
D | BaseContextCrossProfileTest.java | 148 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/ |
D | Utils.java | 66 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/ |
D | PrivacyDeviceOwnerTest.java | 162 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/ |
D | AccountManagerXUserTest.java | 211 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/ |
D | Utils.java | 84 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()
|
D | KeySetHostTest.java | 183 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/ |
D | WebViewHostSideStartupTest.java | 87 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/ |
D | AtraceHostTestBase.java | 143 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/ |
D | BaseTestCase.java | 147 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/ |
D | NumberBlockingTest.java | 205 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/ |
D | HostsideNetworkTestCase.java | 131 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/ |
D | BaseDumpsysTest.java | 168 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/ |
D | ProtoDumpTestCase.java | 135 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/ |
D | SensorCtsTestActivity.java | 116 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/ |
D | TestUsbTest.java | 96 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/ |
D | TaskSwitchingTest.java | 117 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/ |
D | CameraPerformanceActivity.java | 75 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/ |
D | MediaParserHostSideTest.java | 297 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/ |
D | CompatChangeGatingTestCase.java | 156 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/ |
D | StaticSharedLibsHostTests.java | 676 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/ |
D | StreamingMediaPlayerTest.java | 83 InstrumentationTestRunner testRunner = in setUp() local 86 Bundle arguments = testRunner.getArguments(); in setUp()
|