/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 | 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 | 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 237 options.setTestMethodName(testMethodName); in runDeviceTests()
|
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 | 70 String testMethodName, boolean instant) throws DeviceNotAvailableException { in runDeviceTests() argument 78 Utils.runDeviceTestsAsCurrentUser(getDevice(), packageName, testClassName, testMethodName, in runDeviceTests() local
|
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() 179 String testMethodName) throws DeviceNotAvailableException { in doRunTests() argument 183 if (testClassName != null && testMethodName != null) { in doRunTests() 184 testRunner.setMethodName(testClassName, testMethodName); in doRunTests()
|
D | MajorVersionTest.java | 137 private void runVersionDeviceTests(String testMethodName) throws Exception { in runVersionDeviceTests() argument 138 runDeviceTests(PKG, PKG + ".VersionTest", testMethodName); in runVersionDeviceTests()
|
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
|
/cts/tools/utils/ |
D | VogarUtils.java | 35 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/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/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/session/cts/ |
D | MediaSessionManagerHostTest.java | 239 private void runTest(String testMethodName) throws DeviceNotAvailableException { in runTest() argument 240 runTestAsUser(testMethodName, getDevice().getPrimaryUserId()); in runTest() 243 private void runTestAsUser(String testMethodName, int userId) in runTestAsUser() argument 246 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
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | BaseTestCase.java | 123 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument 131 if (testClassName != null && testMethodName != null) { in runDeviceTests() 132 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()
|
D | ProtoDumpTestCase.java | 129 @Nullable String testClassName, @Nullable String testMethodName) in runDeviceTests() argument 137 if (testClassName != null && testMethodName != null) { in runDeviceTests() 138 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()
|
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | BaseDumpsysTest.java | 162 @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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsVerifierTestActivity.java | 106 String testMethodName = testMethod.getName(); in executeTest() local 107 String testName = String.format("%s#%s", getTestClassName(), testMethodName); in executeTest()
|
/cts/hostsidetests/angle/src/android/angle/cts/ |
D | CtsAngleCommon.java | 139 String testMethodName) throws Exception { in waitThenRunDeviceTests() argument 143 return test.runDeviceTests(pkgName, testClassName, testMethodName); in waitThenRunDeviceTests()
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | BaseShortcutManagerHostTest.java | 127 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument 137 if (testMethodName != null) { in runDeviceTestsAsUser() 138 opts.setTestMethodName(testMethodName); in runDeviceTestsAsUser()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | UserRestrictionsTest.java | 307 private void runGlobalRestrictionsTest(String testMethodName, int userId) throws Exception { in runGlobalRestrictionsTest() argument 308 runTests(GLOBAL_RESTRICTIONS_TEST_CLASS, testMethodName, userId); in runGlobalRestrictionsTest()
|
D | BaseDevicePolicyTest.java | 413 String pkgName, @Nullable String testClassName, String testMethodName, int userId) in runDeviceTestsAsUser() argument 416 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, userId, params); in runDeviceTestsAsUser() 420 String pkgName, @Nullable String testClassName, String testMethodName) in runDeviceTests() argument 422 runDeviceTestsAsUser(pkgName, testClassName, testMethodName, mPrimaryUserId); in runDeviceTests() 427 @Nullable String testMethodName, int userId, in runDeviceTestsAsUser() argument 438 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser() 439 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 252 @Nullable String testMethodName, int userId) throws DeviceNotAvailableException { in runDeviceTestsAsUser() argument 262 if (testClassName != null && testMethodName != null) { in runDeviceTestsAsUser() 263 testRunner.setMethodName(testClassName, testMethodName); in runDeviceTestsAsUser()
|