/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() 53 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument 55 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests() 58 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument 61 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests() 64 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument 66 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null); in runDeviceTests() [all …]
|
D | StorageHostTest.java | 227 public void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument 229 runDeviceTests(packageName, testClassName, testMethodName, userId, false); in runDeviceTests() 232 public void runDeviceTests(String packageName, String testClassName, String testMethodName, in runDeviceTests() argument 236 options.setTestClassName(testClassName); in runDeviceTests()
|
D | KeySetHostTest.java | 165 private boolean runDeviceTests(String pkgName, String testClassName, String testMethodName) in runDeviceTests() argument 167 TestRunResult runResult = doRunTests(pkgName, testClassName, testMethodName); in runDeviceTests() 178 private TestRunResult doRunTests(String pkgName, String testClassName, in doRunTests() argument 183 if (testClassName != null && testMethodName != null) { in doRunTests() 184 testRunner.setMethodName(testClassName, testMethodName); in doRunTests()
|
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 | DocumentsTestCase.java | 65 public void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument 67 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, in runDeviceTests() local
|
D | BaseAppSecurityTest.java | 69 protected void runDeviceTests(String packageName, String testClassName, in runDeviceTests() argument 78 Utils.runDeviceTestsAsCurrentUser(getDevice(), packageName, testClassName, testMethodName, in runDeviceTests() local
|
D | PrivilegedUpdateTests.java | 154 private void runDeviceTests(String packageName, String testClassName, String testMethodName) in runDeviceTests() argument 156 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName); in runDeviceTests() local
|
D | DirectBootHostTest.java | 206 String packageName, String testClassName, String testMethodName) in runDeviceTestsAsCurrentUser() argument 208 Utils.runDeviceTestsAsCurrentUser(getDevice(), packageName, testClassName, testMethodName); in runDeviceTestsAsCurrentUser() local
|
D | InstantAppUserTest.java | 240 private void runDeviceTestsAsUser(String packageName, String testClassName, in runDeviceTestsAsUser() argument 243 Utils.runDeviceTests(getDevice(), packageName, testClassName, testMethodName, userId); in runDeviceTestsAsUser() local
|
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | Utils.java | 35 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument 37 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, null); in runDeviceTests() 40 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument 43 runDeviceTests(device, packageName, testClassName, testMethodName, USER_SYSTEM, testArgs); in runDeviceTests() 46 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument 48 runDeviceTests(device, packageName, testClassName, testMethodName, userId, null); in runDeviceTests() 51 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument 55 runDeviceTests(device, packageName, testClassName, testMethodName, userId, testArgs, in runDeviceTests() 59 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() argument 63 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests() [all …]
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | BaseTestCase.java | 123 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument 125 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests() 126 testClassName = pkgName + testClassName; in runDeviceTests() 131 if (testClassName != null && testMethodName != null) { in runDeviceTests() 132 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests() 133 } else if (testClassName != null) { in runDeviceTests() 134 testRunner.setClassName(testClassName); in runDeviceTests()
|
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | BaseDumpsysTest.java | 162 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument 164 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests() 165 testClassName = pkgName + testClassName; in runDeviceTests() 170 if (testClassName != null && testMethodName != null) { in runDeviceTests() 171 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests() 172 } else if (testClassName != null) { in runDeviceTests() 173 testRunner.setClassName(testClassName); in runDeviceTests()
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTestBase.java | 137 String testClassName, String testMethodName) in runDeviceTests() argument 139 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests() 140 testClassName = pkgName + testClassName; in runDeviceTests() 146 if (testClassName != null && testMethodName != null) { in runDeviceTests() 147 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests() 148 } else if (testClassName != null) { in runDeviceTests() 149 testRunner.setClassName(testClassName); in runDeviceTests()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | ProtoDumpTestCase.java | 129 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument 131 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTests() 132 testClassName = pkgName + testClassName; in runDeviceTests() 137 if (testClassName != null && testMethodName != null) { in runDeviceTests() 138 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTests() 139 } else if (testClassName != null) { in runDeviceTests() 140 testRunner.setClassName(testClassName); in runDeviceTests()
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | BaseShortcutManagerHostTest.java | 120 String pkgName, @Nullable String testClassName, int userId) in runDeviceTestsAsUser() argument 122 runDeviceTestsAsUser(pkgName, testClassName, null /*testMethodName*/, userId); in runDeviceTestsAsUser() 127 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument 131 if (testClassName != null) { in runDeviceTestsAsUser() 132 if (testClassName.startsWith(".")) { in runDeviceTestsAsUser() 133 testClassName = pkgName + testClassName; in runDeviceTestsAsUser() 135 opts.setTestClassName(testClassName); in runDeviceTestsAsUser()
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 252 String pkgName, @Nullable String testClassName, in runDeviceTestsAsUser() argument 254 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTestsAsUser() 255 testClassName = pkgName + testClassName; in runDeviceTestsAsUser() 263 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser() 264 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser() 265 } else if (testClassName != null) { in runDeviceTestsAsUser() 266 testRunner.setClassName(testClassName); in runDeviceTestsAsUser()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerHostSideTransferTest.java | 233 protected void setSameAffiliationId(int profileUserId, String testClassName) in setSameAffiliationId() argument 236 testClassName, in setSameAffiliationId() 239 testClassName, in setSameAffiliationId() 244 String testClassName) throws Exception { in assertAffiliationIdsAreIntact() argument 246 testClassName, in assertAffiliationIdsAreIntact() 249 testClassName, in assertAffiliationIdsAreIntact()
|
D | BaseDevicePolicyTest.java | 474 String pkgName, @Nullable String testClassName, int userId) in runDeviceTestsAsUser() argument 476 runDeviceTestsAsUser(pkgName, testClassName, null /*testMethodName*/, userId); in runDeviceTestsAsUser() 480 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument 483 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, userId, params); in runDeviceTestsAsUser() 487 String pkgName, @Nullable String testClassName, String testMethodName) in runDeviceTests() argument 489 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, mPrimaryUserId); in runDeviceTests() 493 String pkgName, @Nullable String testClassName, in runDeviceTestsAsUser() argument 496 if (testClassName != null && testClassName.startsWith(".")) { in runDeviceTestsAsUser() 497 testClassName = pkgName + testClassName; in runDeviceTestsAsUser() 505 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser() [all …]
|
D | ProfileOwnerTest.java | 98 private void executeProfileOwnerTest(String testClassName) throws Exception { in executeProfileOwnerTest() argument 102 String testClass = PROFILE_OWNER_PKG + "." + testClassName; in executeProfileOwnerTest()
|
/cts/hostsidetests/webkit/src/com/android/cts/webkit/ |
D | WebViewHostSideStartupTest.java | 83 private TestRunResult runSingleDeviceTest(String packageName, String testClassName, in runSingleDeviceTest() argument 85 testClassName = packageName + "." + testClassName; in runSingleDeviceTest() 89 testRunner.setMethodName(testClassName, testMethodName); in runSingleDeviceTest()
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | HostsideNetworkTestCase.java | 124 protected void runDeviceTests(String packageName, String testClassName) in runDeviceTests() argument 126 runDeviceTests(packageName, testClassName, null); in runDeviceTests() 129 protected void runDeviceTests(String packageName, String testClassName, String methodName) in runDeviceTests() argument 134 if (testClassName != null) { in runDeviceTests() 136 testRunner.setMethodName(testClassName, methodName); in runDeviceTests() 138 testRunner.setClassName(testClassName); in runDeviceTests()
|
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/ |
D | CompatChangeGatingTestCase.java | 117 protected void runDeviceCompatTest(@Nonnull String pkgName, @Nonnull String testClassName, in runDeviceCompatTest() argument 130 if (testClassName.startsWith(".")) { in runDeviceCompatTest() 131 testClassName = pkgName + testClassName; in runDeviceCompatTest() 135 testRunner.setMethodName(testClassName, testMethodName); in runDeviceCompatTest()
|
/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
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | TestProcessService.java | 62 String testClassName = msg.getData().getString(TEST_CLASS_KEY); in handleMessage() local 63 Class testClass = Class.forName(testClassName); in handleMessage()
|
/cts/hostsidetests/angle/src/android/angle/cts/ |
D | CtsAngleCommon.java | 138 String testClassName, in waitThenRunDeviceTests() argument 143 return test.runDeviceTests(pkgName, testClassName, testMethodName); in waitThenRunDeviceTests()
|