Home
last modified time | relevance | path

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

123

/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 …]
DDocumentsTestCase.java57 public void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument
59 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, in runDeviceTests() local
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.java232 public void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument
234 runDeviceTests(packageName, testClassName, testMethodName, userId, false); in runDeviceTests()
237 public void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument
242 options.setTestMethodName(testMethodName); in runDeviceTests()
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.java70 String testMethodName, boolean instant) throws DeviceNotAvailableException { in runDeviceTests() argument
78 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/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/packagemanager/dynamicmime/src/android/dynamicmime/cts/
DRebootTestCases.java213 private void runTestWithReboot(String testClassName, String testMethodName) in runTestWithReboot() argument
215 runPreReboot(testClassName, testMethodName); in runTestWithReboot()
217 runPostReboot(testClassName, testMethodName); in runTestWithReboot()
220 private void runPostReboot(String testClassName, String testMethodName) in runPostReboot() argument
223 testMethodName); in runPostReboot()
226 private void runPreReboot(String testClassName, String testMethodName) in runPreReboot() argument
229 testMethodName); in runPreReboot()
DPreferredActivitiesTestCases.java71 private void runDeviceTest(String testMethodName) throws DeviceNotAvailableException { in runDeviceTest() argument
73 testMethodName); in runDeviceTest()
/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/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/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/
DPackageManagerMultiUserTestBase.java67 @Nullable String testMethodName, int userId, in runDeviceTestAsUser() argument
78 testMethodName, in runDeviceTestAsUser() local
88 protected void runDeviceTestAsUser(String testMethodName, int userId, in runDeviceTestAsUser() argument
91 runDeviceTestAsUser(TEST_PACKAGE, TEST_CLASS, testMethodName, userId, params); in runDeviceTestAsUser()
/cts/hostsidetests/settings/src/com/google/android/cts/settings/
DPrivacyDeviceOwnerTest.java151 private void executeDeviceOwnerTest(String testMethodName) throws Exception { in executeDeviceOwnerTest() argument
155 runDeviceTests(DEVICE_OWNER_PKG, testClass, testMethodName)); in executeDeviceOwnerTest()
177 String pkgName, @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
188 if (testClassName != null && testMethodName != null) { in runDeviceTests()
189 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
195 CLog.i("Running %s.%s on user %d", testClassName, testMethodName, mTestUserId); in runDeviceTests()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DEndToEndImeTestBase.java50 final String testMethodName = mTestName.getMethodName(); in verifyAppModeConsistency() local
51 final String fullTestMethodName = thisClass.getSimpleName() + "#" + testMethodName; in verifyAppModeConsistency()
55 testMethod = thisClass.getMethod(testMethodName); in verifyAppModeConsistency()
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java287 private void runTest(String testMethodName) throws DeviceNotAvailableException { in runTest() argument
288 runTestAsUser(testMethodName, getDevice().getPrimaryUserId()); in runTest()
291 private void runTestAsUser(String testMethodName, int userId) in runTestAsUser() argument
293 runDeviceTests(DEVICE_SIDE_TEST_PKG, DEVICE_SIDE_TEST_CLASS, 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
DBaseContextCrossProfileTest.java142 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument
152 if (testClassName != null && testMethodName != null) { in runDeviceTests()
153 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DBaseTestCase.java130 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
138 if (testClassName != null && testMethodName != null) { in runDeviceTests()
139 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()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DUtils.java57 String testClassName, String testMethodName, Map<String, String> testArgs) in runDeviceTests() argument
65 if (testClassName != null && testMethodName != null) { in runDeviceTests()
66 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java78 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument
86 if (testClassName != null && testMethodName != null) { in runDeviceTests()
87 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
122 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTestsOnStatsdApp() argument
124 return runDeviceTests(device, STATSD_ATOM_TEST_PKG, testClassName, testMethodName); in runDeviceTestsOnStatsdApp()
/cts/hostsidetests/accounts/src/android/host/accounts/
DAccountManagerXUserTest.java207 String testMethodName, int userId, Map<String, String> testArgs, long timeout, in runDeviceTests() argument
217 if (testClassName != null && testMethodName != null) { in runDeviceTests()
218 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()

123