Home
last modified time | relevance | path

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

12

/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()
54 String testMethodName) throws DeviceNotAvailableException { in runDeviceTests() argument
55 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
59 String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument
61 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
65 String testMethodName, int userId) throws DeviceNotAvailableException { 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
237 options.setTestMethodName(testMethodName); 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.java70 String testMethodName, boolean instant) throws DeviceNotAvailableException { 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()
179 String testMethodName) throws DeviceNotAvailableException { in doRunTests() argument
183 if (testClassName != null && testMethodName != null) { in doRunTests()
184 testRunner.setMethodName(testClassName, testMethodName); in doRunTests()
DMajorVersionTest.java137 private void runVersionDeviceTests(String testMethodName) throws Exception { in runVersionDeviceTests() argument
138 runDeviceTests(PKG, PKG + ".VersionTest", testMethodName); in runVersionDeviceTests()
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/tools/utils/
DVogarUtils.java35 final String testMethodName) { in isVogarKnownFailure() argument
37 if (isVogarKnownFailure(expectationStore, testClassName, testMethodName)) { in isVogarKnownFailure()
50 final String testMethodName) { in isVogarKnownFailure() argument
54 String fullTestName = buildFullTestName(testClassName, testMethodName); in isVogarKnownFailure()
89 public static String buildFullTestName(String testClass, String testMethodName) { in buildFullTestName() argument
90 return String.format("%s#%s", testClass, testMethodName); in buildFullTestName()
139 final String testMethodName) { in timeoutInMinutes() argument
145 testMethodName)); in timeoutInMinutes()
156 final String testMethodName) { in timeoutInMinutes() argument
160 String fullTestName = buildFullTestName(testClassName, testMethodName); in timeoutInMinutes()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java36 String testMethodName) throws DeviceNotAvailableException { in runDeviceTests() argument
37 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
41 String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument
43 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
47 String testMethodName, int userId) throws DeviceNotAvailableException { in runDeviceTests() argument
48 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null); in runDeviceTests()
52 String testMethodName, int userId, Map<String, String> testArgs) in runDeviceTests() argument
55 runDeviceTests(device, packageName, testClassName, testMethodName, userId, testArgs, in runDeviceTests()
60 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument
70 if (testClassName != null && testMethodName != null) { in runDeviceTests()
[all …]
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideStartupTest.java70 private void assertDeviceTestPasses(String testMethodName) throws DeviceNotAvailableException { in assertDeviceTestPasses() argument
73 testMethodName); in assertDeviceTestPasses()
84 String testMethodName) throws DeviceNotAvailableException { in runSingleDeviceTest() argument
89 testRunner.setMethodName(testClassName, testMethodName); in runSingleDeviceTest()
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java239 private void runTest(String testMethodName) throws DeviceNotAvailableException { in runTest() argument
240 runTestAsUser(testMethodName, getDevice().getPrimaryUserId()); in runTest()
243 private void runTestAsUser(String testMethodName, int userId) in runTestAsUser() argument
246 testMethodName, userId); in runTestAsUser()
/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/hostsidetests/statsd/src/android/cts/statsd/atom/
DBaseTestCase.java123 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
131 if (testClassName != null && testMethodName != null) { in runDeviceTests()
132 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
/cts/hostsidetests/incident/src/com/android/server/cts/
DAppWidgetIncidentTest.java108 private WidgetProto prepare(String testMethodName) throws Exception { in prepare() argument
109 runDeviceTests(DEVICE_SIDE_TEST_PACKAGE, DEVICE_TEST_CLASS, testMethodName); in prepare()
DProtoDumpTestCase.java129 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
137 if (testClassName != null && testMethodName != null) { in runDeviceTests()
138 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTestBase.java137 String testClassName, String testMethodName) in runDeviceTests() argument
146 if (testClassName != null && testMethodName != null) { in runDeviceTests()
147 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBaseDumpsysTest.java162 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
170 if (testClassName != null && testMethodName != null) { in runDeviceTests()
171 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsVerifierTestActivity.java106 String testMethodName = testMethod.getName(); in executeTest() local
107 String testName = String.format("%s#%s", getTestClassName(), testMethodName); in executeTest()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java139 String testMethodName) throws Exception { in waitThenRunDeviceTests() argument
143 return test.runDeviceTests(pkgName, testClassName, testMethodName); in waitThenRunDeviceTests()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java127 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument
137 if (testMethodName != null) { in runDeviceTestsAsUser()
138 opts.setTestMethodName(testMethodName); in runDeviceTestsAsUser()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DUserRestrictionsTest.java307 private void runGlobalRestrictionsTest(String testMethodName, int userId) throws Exception { in runGlobalRestrictionsTest() argument
308 runTests(GLOBAL_RESTRICTIONS_TEST_CLASS, testMethodName, userId); in runGlobalRestrictionsTest()
DBaseDevicePolicyTest.java413 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()
427 @Nullable String testMethodName, int userId, in runDeviceTestsAsUser() argument
438 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser()
439 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java252 @Nullable String testMethodName, int userId) throws DeviceNotAvailableException { in runDeviceTestsAsUser() argument
262 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser()
263 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()

12