Home
last modified time | relevance | path

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

12

/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/appsecurity/src/android/appsecurity/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 …]
DMajorVersionTest.java126 private void runVersionDeviceTests(String testMethodName) in runVersionDeviceTests() argument
128 runDeviceTests(PKG, PKG + ".VersionTest", testMethodName); in runVersionDeviceTests()
131 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
133 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DDocumentsTestCase.java65 public void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
67 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DUsesLibraryHostTest.java85 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
87 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DInstantAppUserTest.java184 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
186 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
190 String testMethodName, int userId) in runDeviceTestsAsUser() argument
192 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId); in runDeviceTestsAsUser() local
DInstantCookieHostTest.java113 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
115 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DDirectBootHostTest.java208 private void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument
211 Log.d(TAG, "runDeviceTests " + testMethodName + " u" + user); in runDeviceTests()
212 runDeviceTests(getDevice(), packageName, testClassName, testMethodName, user, null); in runDeviceTests() local
DKeySetHostTest.java167 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName) in runDeviceTests() argument
169 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName); in runDeviceTests()
181 String testMethodName) throws DeviceNotAvailableException { in doRunTests() argument
185 if (testClassName != null && testMethodName != null) { in doRunTests()
186 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
DEphemeralTest.java476 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
478 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
481 private void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument
483 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, testArgs); in runDeviceTests() local
DStorageHostTest.java257 public void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument
259 …if (!runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId, 20 * 60 * 100… in runDeviceTests()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideStartupTest.java69 private void assertDeviceTestPasses(String testMethodName) throws DeviceNotAvailableException { in assertDeviceTestPasses() argument
72 testMethodName); in assertDeviceTestPasses()
83 String testMethodName) throws DeviceNotAvailableException { in runSingleDeviceTest() argument
88 testRunner.setMethodName(testClassName, testMethodName); in runSingleDeviceTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsVerifierTestActivity.java87 String testMethodName = testMethod.getName(); in executeTest() local
88 String testName = String.format("%s#%s", getTestClassName(), testMethodName); in executeTest()
93 getTestLogger().logTestStart(testMethodName); in executeTest()
/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/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/statsd/src/android/cts/statsd/atom/
DBaseTestCase.java104 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
112 if (testClassName != null && testMethodName != null) { in runDeviceTests()
113 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java127 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument
130 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, userId, params); in runDeviceTestsAsUser()
134 @Nullable String testMethodName, int userId, in runDeviceTestsAsUser() argument
142 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser()
143 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java1024 String testMethodName = disabled in setScreenCaptureDisabled() local
1027 executeDeviceTestMethod(".ScreenCaptureDisabledTest", testMethodName); in setScreenCaptureDisabled()
1029 testMethodName = disabled in setScreenCaptureDisabled()
1035 executeDeviceTestMethod(".ScreenCaptureDisabledTest", testMethodName); in setScreenCaptureDisabled()
1039 executeDeviceTestMethod(".ScreenCaptureDisabledTest", testMethodName); in setScreenCaptureDisabled()
1044 String testMethodName = disabled in setScreenCaptureDisabled_assist() local
1047 executeDeviceTestMethod(".ScreenCaptureDisabledTest", testMethodName); in setScreenCaptureDisabled_assist()
1048 testMethodName = disabled in setScreenCaptureDisabled_assist()
1060 testMethodName, in setScreenCaptureDisabled_assist()
1070 testMethodName, in setScreenCaptureDisabled_assist()
DUserRestrictionsTest.java305 private void runGlobalRestrictionsTest(String testMethodName, int userId) throws Exception { in runGlobalRestrictionsTest() argument
306 runTests(GLOBAL_RESTRICTIONS_TEST_CLASS, testMethodName, userId); in runGlobalRestrictionsTest()
DBaseDevicePolicyTest.java376 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument
379 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, userId, params); in runDeviceTestsAsUser()
383 String pkgName, @Nullable String testClassName, String testMethodName) in runDeviceTests() argument
385 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, mPrimaryUserId); in runDeviceTests()
390 @Nullable String testMethodName, int userId, in runDeviceTestsAsUser() argument
401 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser()
402 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()
/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/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