Home
last modified time | relevance | path

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

123

/cts/hostsidetests/packagemanager/dynamicmime/src/android/dynamicmime/cts/
DRebootTestCaseBase.java42 protected void runTestWithReboot(String testClassName, String testMethodName) in runTestWithReboot() argument
44 runPreReboot(testClassName, testMethodName); in runTestWithReboot()
47 runPostReboot(testClassName, testMethodName); in runTestWithReboot()
50 protected void runPostReboot(String testClassName, String testMethodName) in runPostReboot() argument
53 testMethodName); in runPostReboot()
60 protected void runPreReboot(String testClassName, String testMethodName) in runPreReboot() argument
63 testMethodName); in runPreReboot()
DPreferredActivitiesTestCases.java87 private void runDeviceTest(String testMethodName) throws DeviceNotAvailableException { in runDeviceTest() argument
89 testMethodName); in runDeviceTest()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java37 String testMethodName) throws DeviceNotAvailableException { in runDeviceTests() argument
38 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
42 String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument
44 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
48 String testMethodName, int userId) throws DeviceNotAvailableException { in runDeviceTests() argument
49 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null); in runDeviceTests()
53 String testMethodName, int userId, Map<String, String> testArgs) in runDeviceTests() argument
56 runDeviceTests(device, packageName, testClassName, testMethodName, userId, testArgs, in runDeviceTests()
61 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument
71 if (testClassName != null && testMethodName != null) { in runDeviceTests()
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java74 String testClassName, String testMethodName) throws DeviceNotAvailableException { in runDeviceTestsAsCurrentUser() argument
75 runDeviceTests(device, packageName, testClassName, testMethodName, device.getCurrentUser(), in runDeviceTestsAsCurrentUser()
80 String testClassName, String testMethodName, Map<String, String> testArgs) in runDeviceTestsAsCurrentUser() argument
82 runDeviceTests(device, packageName, testClassName, testMethodName, device.getCurrentUser(), in runDeviceTestsAsCurrentUser()
87 String testMethodName) throws DeviceNotAvailableException { in runDeviceTests() argument
88 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests()
92 String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument
94 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests()
98 String testMethodName, int userId) throws DeviceNotAvailableException { in runDeviceTests() argument
99 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null); in runDeviceTests()
[all …]
DAccessSerialNumberTest.java38 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
40 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DPermissionEscalationTest.java80 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
82 Utils.runDeviceTestsAsCurrentUser(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
DRoleSecurityTest.java79 String testMethodName, int userId) throws Exception { in runDeviceTestsAsUser() argument
80 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId); in runDeviceTestsAsUser() local
DBaseAppSecurityTest.java69 String testMethodName, boolean instant) throws DeviceNotAvailableException { in runDeviceTests() argument
77 Utils.runDeviceTestsAsCurrentUser(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()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideStartupTest.java49 private void assertDeviceTestPasses(String testMethodName) throws DeviceNotAvailableException { in assertDeviceTestPasses() argument
52 testMethodName); in assertDeviceTestPasses()
63 String testMethodName) throws DeviceNotAvailableException { in runSingleDeviceTest() argument
68 testRunner.setMethodName(testClassName, testMethodName); in runSingleDeviceTest()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMediaHostSideTest.java74 String pkgName, @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
76 RemoteAndroidTestRunner testRunner = getTestRunner(pkgName, testClassName, testMethodName); in runDeviceTests()
113 String pkgName, String testClassName, String testMethodName) { in getTestRunner() argument
123 if (testClassName != null && testMethodName != null) { in getTestRunner()
124 testRunner.setMethodName(testClassName, testMethodName); in getTestRunner()
/cts/hostsidetests/settings/src/com/google/android/cts/settings/
DPrivacyDeviceOwnerTest.java154 private void executeDeviceOwnerTest(String testMethodName) throws Exception { in executeDeviceOwnerTest() argument
158 runDeviceTests(DEVICE_OWNER_PKG, testClass, testMethodName)); in executeDeviceOwnerTest()
180 String pkgName, @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
191 if (testClassName != null && testMethodName != null) { in runDeviceTests()
192 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
198 CLog.i("Running %s.%s on user %d", testClassName, testMethodName, mTestUserId); in runDeviceTests()
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/
DPackageManagerMultiUserTestBase.java69 @Nullable String testMethodName, int userId, in runDeviceTestAsUser() argument
80 testMethodName, in runDeviceTestAsUser() local
90 protected void runDeviceTestAsUser(String testMethodName, int userId, in runDeviceTestAsUser() argument
93 runDeviceTestAsUser(TEST_PACKAGE, TEST_CLASS, testMethodName, userId, params); in runDeviceTestAsUser()
/cts/tests/tests/sdksandbox/webkit/src/android/sdksandbox/webkit/cts/
DWebViewSandboxTestRule.java69 public void assertSdkTestRunPasses(String testMethodName, Bundle params) throws Throwable { in assertSdkTestRunPasses() argument
72 super.assertSdkTestRunPasses(testMethodName, params); in assertSdkTestRunPasses()
/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
DBaseContextCrossProfileTest.java140 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument
150 if (testClassName != null && testMethodName != null) { in runDeviceTests()
151 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java84 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
86 return internalRunDeviceTests(device, pkgName, testClassName, testMethodName, null); in runDeviceTests()
102 @Nullable String testClassName, @Nullable String testMethodName, in runDeviceTests() argument
105 return internalRunDeviceTests(device, pkgName, testClassName, testMethodName, listener); in runDeviceTests()
109 @Nullable String testClassName, @Nullable String testMethodName, in internalRunDeviceTests() argument
118 if (testClassName != null && testMethodName != null) { in internalRunDeviceTests()
119 testRunner.setMethodName(testClassName, testMethodName); in internalRunDeviceTests()
161 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTestsOnStatsdApp() argument
163 return runDeviceTests(device, STATSD_ATOM_TEST_PKG, testClassName, testMethodName); in runDeviceTestsOnStatsdApp()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DBug_261036568.java79 String testMethodName, Map<String, String> testArgs) in runDeviceTestsWithArgs() argument
88 testMethodName, in runDeviceTestsWithArgs()
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java330 private void runTest(String testMethodName) throws DeviceNotAvailableException { in runTest() argument
331 runTestAsUser(testMethodName, getUserIdForTesting()); in runTest()
334 private void runTestAsUser(String testMethodName, int userId) in runTestAsUser() argument
336 runDeviceTests(DEVICE_SIDE_TEST_PKG, DEVICE_SIDE_TEST_CLASS, testMethodName, userId); in runTestAsUser()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DEndToEndImeTestBase.java123 final String testMethodName = mTestName.getMethodName(); in verifyAppModeConsistency() local
124 final String fullTestMethodName = thisClass.getSimpleName() + "#" + testMethodName; in verifyAppModeConsistency()
128 testMethod = thisClass.getMethod(testMethodName); in verifyAppModeConsistency()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DUtils.java55 String testClassName, String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument
63 if (testClassName != null && testMethodName != null) { in runDeviceTests()
64 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/hostsidetests/accounts/src/android/host/accounts/
DAccountManagerXUserTest.java209 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument
219 if (testClassName != null && testMethodName != null) { in runDeviceTests()
220 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
/cts/hostsidetests/packagemanager/preferredactivity/src/com/android/cts/packagemanager/preferredactivity/host/
DPreferredActivityTests.java116 String testMethodName, Map<String, String> testArgs) throws Exception { in runDeviceTestsWithArgs() argument
120 return runDeviceTests(getDevice(), testRunner, pkgName, testClassName, testMethodName, in runDeviceTestsWithArgs()

123