/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | Utils.java | 41 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 …]
|
D | DocumentsTestCase.java | 57 public void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument 59 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, in runDeviceTests() local
|
D | AccessSerialNumberTest.java | 37 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument 39 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
|
D | StorageHostTest.java | 232 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()
|
D | PermissionEscalationTest.java | 80 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument 82 Utils.runDeviceTestsAsCurrentUser(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
|
D | RoleSecurityTest.java | 79 String testMethodName, int userId) throws Exception { in runDeviceTestsAsUser() argument 80 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId); in runDeviceTestsAsUser() local
|
D | BaseAppSecurityTest.java | 70 String testMethodName, boolean instant) throws DeviceNotAvailableException { in runDeviceTests() argument 78 Utils.runDeviceTestsAsCurrentUser(getDevice(), packageName, testClassName, testMethodName, in runDeviceTests() local
|
D | KeySetHostTest.java | 167 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/ |
D | Utils.java | 36 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/ |
D | RebootTestCases.java | 213 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()
|
D | PreferredActivitiesTestCases.java | 71 private void runDeviceTest(String testMethodName) throws DeviceNotAvailableException { in runDeviceTest() argument 73 testMethodName); in runDeviceTest()
|
/cts/hostsidetests/webkit/src/com/android/cts/webkit/ |
D | WebViewHostSideStartupTest.java | 70 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/ |
D | BaseMediaHostSideTest.java | 74 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/ |
D | PackageManagerMultiUserTestBase.java | 67 @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/ |
D | PrivacyDeviceOwnerTest.java | 151 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/ |
D | EndToEndImeTestBase.java | 50 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/ |
D | MediaSessionManagerHostTest.java | 287 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/ |
D | InvalidSyncAuthoritiesHostTest.java | 75 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument 77 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
|
D | BaseContextCrossProfileTest.java | 142 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/ |
D | BaseTestCase.java | 130 @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/ |
D | AppWidgetIncidentTest.java | 108 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/ |
D | Utils.java | 57 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/ |
D | DeviceUtils.java | 78 @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/ |
D | AccountManagerXUserTest.java | 207 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/ |
D | AtraceHostTestBase.java | 137 String testClassName, String testMethodName) in runDeviceTests() argument 146 if (testClassName != null && testMethodName != null) { in runDeviceTests() 147 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests()
|