Home
last modified time | relevance | path

Searched refs:testClassName (Results 1 – 25 of 31) sorted by relevance

12

/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java35 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument
37 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
40 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument
43 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
46 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument
48 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null); in runDeviceTests()
51 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument
55 runDeviceTests(device, packageName, testClassName, testMethodName, userId, testArgs, in runDeviceTests()
59 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument
63 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests()
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java41 String testClassName, String testMethodName) throws DeviceNotAvailableException { in runDeviceTestsAsCurrentUser() argument
42 runDeviceTests(device, packageName, testClassName, testMethodName, device.getCurrentUser(), in runDeviceTestsAsCurrentUser()
47 String testClassName, String testMethodName, Map<String, String> testArgs) in runDeviceTestsAsCurrentUser() argument
49 runDeviceTests(device, packageName, testClassName, testMethodName, device.getCurrentUser(), in runDeviceTestsAsCurrentUser()
53 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument
55 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
58 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument
61 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
64 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument
66 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null); in runDeviceTests()
[all …]
DAccessSerialNumberTest.java37 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
39 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DStorageHostTest.java227 public void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument
229 runDeviceTests(packageName, testClassName, testMethodName, userId, false); in runDeviceTests()
232 public void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument
236 options.setTestClassName(testClassName); in runDeviceTests()
DDocumentsTestCase.java65 public void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
67 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, in runDeviceTests() local
DBaseAppSecurityTest.java69 protected void runDeviceTests(String packageName, String testClassName, in runDeviceTests() argument
78 Utils.runDeviceTestsAsCurrentUser(getDevice(), packageName, testClassName, testMethodName, in runDeviceTests() local
DKeySetHostTest.java165 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName) in runDeviceTests() argument
167 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName); in runDeviceTests()
178 private TestRunResult doRunTests(String pkgName, String testClassName, in doRunTests() argument
183 if (testClassName != null && testMethodName != null) { in doRunTests()
184 testRunner.setMethodName(testClassName, testMethodName); in doRunTests()
DPrivilegedUpdateTests.java154 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
156 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DDirectBootHostTest.java206 String packageName, String testClassName, String testMethodName) in runDeviceTestsAsCurrentUser() argument
208 Utils.runDeviceTestsAsCurrentUser(getDevice(), packageName, testClassName, testMethodName); in runDeviceTestsAsCurrentUser() local
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DBaseTestCase.java123 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
125 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests()
126 testClassName = pkgName + testClassName; in runDeviceTests()
131 if (testClassName != null && testMethodName != null) { in runDeviceTests()
132 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
133 } else if (testClassName != null) { in runDeviceTests()
134 testRunner.setClassName(testClassName); in runDeviceTests()
/cts/tools/utils/
DVogarUtils.java34 final String testClassName, in isVogarKnownFailure() argument
37 if (isVogarKnownFailure(expectationStore, testClassName, testMethodName)) { in isVogarKnownFailure()
49 final String testClassName, in isVogarKnownFailure() argument
54 String fullTestName = buildFullTestName(testClassName, testMethodName); in isVogarKnownFailure()
138 final String testClassName, in timeoutInMinutes() argument
144 testClassName, in timeoutInMinutes()
155 final String testClassName, in timeoutInMinutes() argument
160 String fullTestName = buildFullTestName(testClassName, testMethodName); in timeoutInMinutes()
DCollectAllTests.java437 String testClassName = test.getName(); in addToTests() local
447 testClassName, in addToTests()
456 testClassName, in addToTests()
459 testClassName, in addToTests()
462 if (testCases.containsKey(testClassName)) { in addToTests()
463 testClass = testCases.get(testClassName); in addToTests()
465 testClass = new TestClass(testClassName, new ArrayList<TestMethod>()); in addToTests()
466 testCases.put(testClassName, testClass); in addToTests()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTestBase.java137 String testClassName, String testMethodName) in runDeviceTests() argument
139 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests()
140 testClassName = pkgName + testClassName; in runDeviceTests()
146 if (testClassName != null && testMethodName != null) { in runDeviceTests()
147 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
148 } else if (testClassName != null) { in runDeviceTests()
149 testRunner.setClassName(testClassName); in runDeviceTests()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBaseDumpsysTest.java162 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
164 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests()
165 testClassName = pkgName + testClassName; in runDeviceTests()
170 if (testClassName != null && testMethodName != null) { in runDeviceTests()
171 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
172 } else if (testClassName != null) { in runDeviceTests()
173 testRunner.setClassName(testClassName); in runDeviceTests()
/cts/hostsidetests/incident/src/com/android/server/cts/
DProtoDumpTestCase.java129 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
131 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests()
132 testClassName = pkgName + testClassName; in runDeviceTests()
137 if (testClassName != null && testMethodName != null) { in runDeviceTests()
138 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
139 } else if (testClassName != null) { in runDeviceTests()
140 testRunner.setClassName(testClassName); in runDeviceTests()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerHostSideTransferTest.java223 protected void setSameAffiliationId(int profileUserId, String testClassName) in setSameAffiliationId() argument
226 testClassName, in setSameAffiliationId()
229 testClassName, in setSameAffiliationId()
234 String testClassName) throws Exception { in assertAffiliationIdsAreIntact() argument
236 testClassName, in assertAffiliationIdsAreIntact()
239 testClassName, in assertAffiliationIdsAreIntact()
DBaseDevicePolicyTest.java407 String pkgName, @Nullable String testClassName, int userId) in runDeviceTestsAsUser() argument
409 runDeviceTestsAsUser(pkgName, testClassName, null /*testMethodName*/, userId); in runDeviceTestsAsUser()
413 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument
416 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, userId, params); in runDeviceTestsAsUser()
420 String pkgName, @Nullable String testClassName, String testMethodName) in runDeviceTests() argument
422 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, mPrimaryUserId); in runDeviceTests()
426 String pkgName, @Nullable String testClassName, in runDeviceTestsAsUser() argument
429 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTestsAsUser()
430 testClassName = pkgName + testClassName; in runDeviceTestsAsUser()
438 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser()
[all …]
DProfileOwnerTest.java98 private void executeProfileOwnerTest(String testClassName) throws Exception { in executeProfileOwnerTest() argument
102 String testClass = PROFILE_OWNER_PKG + "." + testClassName; in executeProfileOwnerTest()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java251 String pkgName, @Nullable String testClassName, in runDeviceTestsAsUser() argument
253 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTestsAsUser()
254 testClassName = pkgName + testClassName; in runDeviceTestsAsUser()
262 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser()
263 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()
264 } else if (testClassName != null) { in runDeviceTestsAsUser()
265 testRunner.setClassName(testClassName); in runDeviceTestsAsUser()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java120 String pkgName, @Nullable String testClassName, int userId) in runDeviceTestsAsUser() argument
122 runDeviceTestsAsUser(pkgName, testClassName, null /*testMethodName*/, userId); in runDeviceTestsAsUser()
127 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument
131 if (testClassName != null) { in runDeviceTestsAsUser()
132 if (testClassName.startsWith(".")) { in runDeviceTestsAsUser()
133 testClassName = pkgName + testClassName; in runDeviceTestsAsUser()
135 opts.setTestClassName(testClassName); in runDeviceTestsAsUser()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideStartupTest.java83 private TestRunResult runSingleDeviceTest(String packageName, String testClassName, in runSingleDeviceTest() argument
85 testClassName = packageName + "." + testClassName; in runSingleDeviceTest()
89 testRunner.setMethodName(testClassName, testMethodName); in runSingleDeviceTest()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTestCase.java123 protected void runDeviceTests(String packageName, String testClassName) in runDeviceTests() argument
125 runDeviceTests(packageName, testClassName, null); in runDeviceTests()
128 protected void runDeviceTests(String packageName, String testClassName, String methodName) in runDeviceTests() argument
133 if (testClassName != null) { in runDeviceTests()
135 testRunner.setMethodName(testClassName, methodName); in runDeviceTests()
137 testRunner.setClassName(testClassName); in runDeviceTests()
/cts/hostsidetests/content/src/android/content/cts/
DInvalidSyncAuthoritiesHostTest.java75 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
77 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
/cts/tests/tests/webkit/src/android/webkit/cts/
DTestProcessService.java62 String testClassName = msg.getData().getString(TEST_CLASS_KEY); in handleMessage() local
63 Class testClass = Class.forName(testClassName); in handleMessage()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java138 String testClassName, in waitThenRunDeviceTests() argument
143 return test.runDeviceTests(pkgName, testClassName, testMethodName); in waitThenRunDeviceTests()

12