/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 | 237 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/ |
D | BaseContextCrossProfileTest.java | 146 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/ |
D | Utils.java | 67 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/ |
D | AccountManagerXUserTest.java | 215 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/ |
D | WebViewHostSideStartupTest.java | 66 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/ |
D | Utils.java | 60 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/ |
D | Utils.java | 117 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()
|
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/settings/src/com/google/android/cts/settings/ |
D | PrivacyDeviceOwnerTest.java | 185 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/ |
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/videoencodingminimum/src/android/videoqualityfloor/cts/ |
D | CtsVideoQualityFloorHostTest.java | 329 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/ |
D | NumberBlockingTest.java | 203 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/ |
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/securitybulletin/src/android/security/cts/ |
D | Bug_261036568.java | 81 final String testRunner = "androidx.test.runner.AndroidJUnitRunner"; in runDeviceTestsWithArgs() local 85 testRunner, in runDeviceTestsWithArgs()
|
/cts/hostsidetests/mediapc/videoencodingquality/src/ |
D | CtsVideoEncodingQualityHostTest.java | 533 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/ |
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 | 97 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/ |
D | PreferredActivityTests.java | 117 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/ |
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 | 303 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/ |
D | DeviceUtils.java | 116 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/ |
D | CompatChangeGatingTestCase.java | 161 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/ |
D | CtsExtractNativeLibsHostTestBase.java | 139 final String testRunner = "androidx.test.runner.AndroidJUnitRunner"; in runDeviceTestsWithArgs() local 142 return runDeviceTests(getDevice(), testRunner, pkgName, testClassName, testMethodName, in runDeviceTestsWithArgs()
|