Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
DUtils.java46 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName) in runDeviceTests() argument
48 runDeviceTests(device, packageName, testClassName, null, USER_OWNER); in runDeviceTests()
51 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument
53 runDeviceTests(device, packageName, testClassName, null, userId); in runDeviceTests()
56 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument
58 runDeviceTests(device, packageName, testClassName, testMethodName, USER_OWNER); in runDeviceTests()
61 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument
63 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests()
64 testClassName = packageName + testClassName; in runDeviceTests()
69 if (testClassName != null && testMethodName != null) { in runDeviceTests()
[all …]
DDocumentsTest.java93 public void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
95 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DExternalStorageHostTest.java240 private void runDeviceTests(String packageName, String testClassName, int userId) in runDeviceTests() argument
242 Utils.runDeviceTests(getDevice(), packageName, testClassName, userId); in runDeviceTests() local
245 private void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument
247 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId); in runDeviceTests() local
DKeySetHostTest.java166 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName) in runDeviceTests() argument
168 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName); in runDeviceTests()
179 private TestRunResult doRunTests(String pkgName, String testClassName, in doRunTests() argument
184 if (testClassName != null && testMethodName != null) { in doRunTests()
185 testRunner.setMethodName(testClassName, testMethodName); in doRunTests()
DPermissionsHostTest.java126 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
128 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DAppSecurityTests.java294 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
296 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DAdoptableHostTest.java315 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
317 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DSplitTests.java425 public void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
427 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java171 protected boolean runDeviceTests(String pkgName, @Nullable String testClassName) in runDeviceTests() argument
173 return runDeviceTests(pkgName, testClassName, null /*testMethodName*/, null /*userId*/); in runDeviceTests()
178 String pkgName, @Nullable String testClassName, int userId) in runDeviceTestsAsUser() argument
180 return runDeviceTestsAsUser(pkgName, testClassName, null, userId); in runDeviceTestsAsUser()
185 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument
187 return runDeviceTests(pkgName, testClassName, testMethodName, userId); in runDeviceTestsAsUser()
190 protected boolean runDeviceTests(String pkgName, @Nullable String testClassName, in runDeviceTests() argument
193 return runDeviceTests(pkgName, testClassName, testMethodName, userId, /*params*/ null); in runDeviceTests()
196 protected boolean runDeviceTests(String pkgName, @Nullable String testClassName, in runDeviceTests() argument
199 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests()
[all …]
DDeviceOwnerTest.java118 private void executeDeviceOwnerTest(String testClassName) throws Exception { in executeDeviceOwnerTest() argument
122 String testClass = DEVICE_OWNER_PKG + "." + testClassName; in executeDeviceOwnerTest()
/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.java429 String testClassName = test.getName(); in addToTests() local
439 testClassName, in addToTests()
448 testClassName, in addToTests()
451 testClassName, in addToTests()
454 if (testCases.containsKey(testClassName)) { in addToTests()
455 testClass = testCases.get(testClassName); in addToTests()
457 testClass = new TestClass(testClassName, new ArrayList<TestMethod>()); in addToTests()
458 testCases.put(testClassName, testClass); in addToTests()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DITestPackageRepo.java59 public List<String> findPackageIdsForTest(String testClassName); in findPackageIdsForTest() argument
DTestPackageRepo.java243 public List<String> findPackageIdsForTest(String testClassName) { in findPackageIdsForTest() argument
247 if (mTestMap.get(abi).get(name).isKnownTestClass(testClassName)) { in findPackageIdsForTest()
DGeeTestResultParser.java182 public ParsedTestInfo(String testName, String testClassName, String testRunTime) { in ParsedTestInfo() argument
184 mTestClassName = testClassName; in ParsedTestInfo()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestSuite.java76 public Test findTest(List<String> suiteNames, String testClassName, String testName, in findTest() argument
80 TestCase testCase = getTestCase(testClassName); in findTest()
85 return suite.findTest(suiteNames, testClassName, testName, insertIfMissing); in findTest()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTests.java77 public void runDeviceTests(String packageName, String testClassName) in runDeviceTests() argument