Home
last modified time | relevance | path

Searched refs:testMethodName (Results 1 – 25 of 32) 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.java55 String testMethodName) throws DeviceNotAvailableException { in runDeviceTests() argument
56 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
60 String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument
62 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
66 String testMethodName, int userId) throws DeviceNotAvailableException { in runDeviceTests() argument
67 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null); in runDeviceTests()
71 String testMethodName, int userId, Map<String, String> testArgs) in runDeviceTests() argument
79 if (testClassName != null && testMethodName != null) { in runDeviceTests()
80 testRunner.setMethodName(testClassName, 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
DUsesLibraryHostTest.java83 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
85 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DInstantAppUserTest.java182 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
184 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
188 String testMethodName, int userId) in runDeviceTestsAsUser() argument
190 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId); in runDeviceTestsAsUser() local
DInstantCookieHostTest.java101 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
103 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); 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()
DDirectBootHostTest.java212 private void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument
215 Log.d(TAG, "runDeviceTests " + testMethodName + " u" + user); in runDeviceTests()
216 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, user); in runDeviceTests() local
DEphemeralTest.java265 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
267 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
270 private void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument
272 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, testArgs); in runDeviceTests() local
DPrivilegedUpdateTests.java134 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
136 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DStorageHostTest.java235 public void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument
237 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId); in runDeviceTests() local
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java140 private void runTest(String testMethodName) throws DeviceNotAvailableException { in runTest() argument
141 runTestAsUser(testMethodName, getDevice().getPrimaryUserId()); in runTest()
144 private void runTestAsUser(String testMethodName, int userId) in runTestAsUser() argument
147 testMethodName, userId); in runTestAsUser()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityHostTestBase.java217 @Nullable String testMethodName) in runDeviceTests() argument
219 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName); in runDeviceTests()
230 String testMethodName) throws DeviceNotAvailableException { in doRunTests() argument
233 if (testClassName != null && testMethodName != null) { in doRunTests()
234 testRunner.setMethodName(testClassName, testMethodName); in doRunTests()
/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/webkit/src/com/android/cts/webkit/
DWebViewHostSideStartupTest.java58 String testMethodName) throws DeviceNotAvailableException { in runDeviceTest() argument
63 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTest()
/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
DSyncAdapterAccountAccessHostTest.java104 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
106 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java125 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument
128 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, userId, params); in runDeviceTestsAsUser()
132 @Nullable String testMethodName, int userId, in runDeviceTestsAsUser() argument
140 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser()
141 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()
/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.java107 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
115 if (testClassName != null && testMethodName != null) { in runDeviceTests()
116 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java804 String testMethodName = disabled in setScreenCaptureDisabled() local
807 executeDeviceTestMethod(".ScreenCaptureDisabledTest", testMethodName); in setScreenCaptureDisabled()
809 testMethodName = disabled in setScreenCaptureDisabled()
812 executeDeviceTestMethod(".ScreenCaptureDisabledTest", testMethodName); in setScreenCaptureDisabled()
817 String testMethodName = disabled in setScreenCaptureDisabled_assist() local
820 executeDeviceTestMethod(".ScreenCaptureDisabledTest", testMethodName); in setScreenCaptureDisabled_assist()
824 testMethodName = disabled in setScreenCaptureDisabled_assist()
831 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.java286 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument
289 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, userId, params); in runDeviceTestsAsUser()
293 String pkgName, @Nullable String testClassName, String testMethodName) in runDeviceTests() argument
295 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, mPrimaryUserId); in runDeviceTests()
300 @Nullable String testMethodName, int userId, in runDeviceTestsAsUser() argument
311 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser()
312 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.java255 @Nullable String testMethodName, int userId) throws DeviceNotAvailableException { in runDeviceTestsAsUser() argument
265 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser()
266 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()

12