Home
last modified time | relevance | path

Searched refs:testMethod (Results 1 – 20 of 20) sorted by relevance

/cts/hostsidetests/appsearch/src/android/appsearch/cts/
DAppSearchHostTestBase.java42 protected void runDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId) in runDeviceTestAsUserInPkgA() argument
44 assertWithMessage(testMethod + " failed").that( in runDeviceTestAsUserInPkgA()
45 runDeviceTests(getDevice(), TARGET_PKG_A, TEST_CLASS_A, testMethod, userId, in runDeviceTestAsUserInPkgA() local
49 protected void runDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId, in runDeviceTestAsUserInPkgA() argument
53 .setTestMethodName(testMethod) in runDeviceTestAsUserInPkgA()
59 assertWithMessage(testMethod + " failed").that( in runDeviceTestAsUserInPkgA()
63 protected void runStorageAugmenterDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId) in runStorageAugmenterDeviceTestAsUserInPkgA() argument
65 assertWithMessage(testMethod + " failed").that( in runStorageAugmenterDeviceTestAsUserInPkgA()
67 testMethod, userId, DEFAULT_INSTRUMENTATION_TIMEOUT_MS)).isTrue(); in runStorageAugmenterDeviceTestAsUserInPkgA() local
70 protected void runDeviceTestAsUserInPkgB(@Nonnull String testMethod, int userId) in runDeviceTestAsUserInPkgB() argument
[all …]
DAppSearchInstantAppTest.java55 private void runDeviceTestAsUserInPkgA(@Nonnull String testMethod, int userId) in runDeviceTestAsUserInPkgA() argument
57 assertWithMessage(testMethod + " failed").that( in runDeviceTestAsUserInPkgA()
58 runDeviceTests(getDevice(), TARGET_PKG_A, TEST_CLASS_A, testMethod, userId, in runDeviceTestAsUserInPkgA() local
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/
DTestInfo.java28 public final String testMethod; field in TestInfo
30 public TestInfo(String testPackage, String testClass, String testMethod) { in TestInfo() argument
33 this.testMethod = testMethod; in TestInfo()
42 return testClass + "#" + testMethod; in getTestName()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsVerifierTestActivity.java76 Method testMethod = testMethodIt.next(); in executeTests() local
78 getTestLogger().logTestStart(testMethod.getName()); in executeTests()
79 SensorTestDetails testDetails = executeTest(testMethod); in executeTests()
93 testDetails = executeTest(testMethod); in executeTests()
122 private SensorTestDetails executeTest(Method testMethod) throws InterruptedException { in executeTest() argument
123 String testMethodName = testMethod.getName(); in executeTest()
125 mCurrentTestNode = new TestNode(testMethod); in executeTest()
129 String testSummary = (String) testMethod.invoke(this); in executeTest()
164 public TestNode(Method testMethod) { in TestNode() argument
165 mTestMethod = testMethod; in TestNode()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DOverlayHostTest.java138 String testMethod)
153 runDeviceTests(TEST_APP_PACKAGE, TEST_APP_CLASS, testMethod, false /* instant */);
254 String testMethod = "testSameSignatureNoOverlayableSucceeds";
256 OVERLAY_ALL_PACKAGE, testMethod);
265 String testMethod = "testOverlayPolicyAll";
267 testMethod);
272 String testMethod = "testOverlayCodeNotLoaded";
274 testMethod);
305 String testMethod = "testFrameworkDoesNotDefineOverlayable";
306 runDeviceTests(TEST_APP_PACKAGE, TEST_APP_CLASS, testMethod, false /* instant */);
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCddCoverage.java42 public void addCoverage(String cddRequirementId, TestMethod testMethod) { in addCoverage() argument
47 requirements.get(cddRequirementId).addTestMethod(testMethod); in addCoverage()
82 public void addTestMethod(TestMethod testMethod) { in addTestMethod() argument
83 mtestMethods.add(testMethod); in addTestMethod()
96 TestMethod(String testModule, String testClass, String testMethod) { in TestMethod() argument
99 this.mTestMethod = testMethod; in TestMethod()
DCtsApiCoverage.java427 CddCoverage.TestMethod testMethod =
430 cddCoverage.addCoverage(cddTest.requirement(), testMethod);
472 CddCoverage.TestMethod testMethod =
475 cddCoverage.addCoverage(cddRequirement, testMethod);
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
DBaseBlobStoreHostTest.java54 protected void runDeviceTest(String testPkg, String testClass, String testMethod) in runDeviceTest() argument
56 runDeviceTest(testPkg, testClass, testMethod, null); in runDeviceTest()
59 protected void runDeviceTestAsUser(String testPkg, String testClass, String testMethod, in runDeviceTestAsUser() argument
61 runDeviceTestAsUser(testPkg, testClass, testMethod, null, userId); in runDeviceTestAsUser()
64 protected void runDeviceTest(String testPkg, String testClass, String testMethod, in runDeviceTest() argument
66 runDeviceTestAsUser(testPkg, testClass, testMethod, instrumentationArgs, -1); in runDeviceTest()
69 protected void runDeviceTestAsUser(String testPkg, String testClass, String testMethod, in runDeviceTestAsUser() argument
73 .setTestMethodName(testMethod) in runDeviceTestAsUser()
83 assertWithMessage(testMethod + " failed").that( in runDeviceTestAsUser()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DEndToEndImeTestBase.java53 final Method testMethod; in verifyAppModeConsistency() local
55 testMethod = thisClass.getMethod(testMethodName); in verifyAppModeConsistency()
60 final boolean hasAppModeFull = testMethod.getAnnotation(AppModeFull.class) != null; in verifyAppModeConsistency()
61 final boolean hasAppModeInstant = testMethod.getAnnotation(AppModeInstant.class) != null; in verifyAppModeConsistency()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DHeadlessSystemUserDeviceOwnerTest.java56 private void executeDeviceTest(String testMethod) throws Exception { in executeDeviceTest() argument
57 executeDeviceTestMethod(".HeadlessSystemUserTest", testMethod); in executeDeviceTest()
DCrossProfileAppsHostSideTest.java286 …id verifyCrossProfileAppsApi(int fromUserId, int targetUserId, String testClass, String testMethod) in verifyCrossProfileAppsApi() argument
288 runDeviceTest(fromUserId, targetUserId, testClass, testMethod); in verifyCrossProfileAppsApi()
292 int fromUserId, int targetUserId, String testClass, @Nullable String testMethod) in runDeviceTest() argument
297 testMethod, in runDeviceTest()
DManagedProfilePasswordTest.java224 final String testMethod = in verifyUnifiedPassword() local
227 testMethod, mProfileUserId); in verifyUnifiedPassword()
DDeviceOwnerTest.java1206 private void executeCreateAndManageUserTest(String testMethod) throws Exception { in executeCreateAndManageUserTest() argument
1210 executeDeviceOwnerTestMethod(".CreateAndManageUserTest", testMethod); in executeCreateAndManageUserTest()
1213 private void executeListForegroundAffiliatedUsersTest(String testMethod) throws Exception { in executeListForegroundAffiliatedUsersTest() argument
1217 executeDeviceOwnerTestMethod(".ListForegroundAffiliatedUsersTest", testMethod); in executeListForegroundAffiliatedUsersTest()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DTestHelper.java87 final Method testMethod = getTestMethod(); in TestHelper() local
88 final Class<?> testClass = testMethod.getDeclaringClass(); in TestHelper()
91 testMethod.getName()); in TestHelper()
/cts/tests/tests/content/HelloWorldApp/src_res_hardening/com/example/helloworld/
DTestActivity.java58 final Method testMethod = TestUtils.class.getMethod(testName, Resources.class, in runTest() local
60 testMethod.invoke(null, getResources(), in runTest()
/cts/hostsidetests/usb/src/com/android/cts/usb/
DTestUsbTest.java94 private void runTestOnDevice(String testMethod) throws DeviceNotAvailableException { in runTestOnDevice() argument
98 testRunner.setMethodName(TEST_CLASS_NAME, testMethod); in runTestOnDevice()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/
DAppExitHostTest.java117 private void performLogStatsdTest(String testMethod, String targetPackage, int expectedSize, in performLogStatsdTest() argument
126 DeviceUtils.runDeviceTests(getDevice(), TEST_PKG, TEST_CLASS, testMethod); in performLogStatsdTest() local
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DShellCommandFromAppTest.java71 .setTestMethodName(testInfo.testMethod)); in runDeviceTestMethodWithoutHiddenApiCheck()
DMultiUserTest.java422 .setTestMethodName(testInfo.testMethod) in runTestAsUser()
DInputMethodServiceLifecycleTest.java489 return runDeviceTests(deviceTest.testPackage, deviceTest.testClass, deviceTest.testMethod); in runDeviceTestMethod()