Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsVerifierTestActivity.java61 Method testMethod = testMethodIt.next(); in executeTests() local
64 getTestLogger().logTestStart(testMethod.getName()); in executeTests()
65 SensorTestDetails testDetails = executeTest(testMethod); in executeTests()
75 testDetails = executeTest(testMethod); in executeTests()
105 private SensorTestDetails executeTest(Method testMethod) throws InterruptedException { in executeTest() argument
106 String testMethodName = testMethod.getName(); in executeTest()
108 mCurrentTestNode = new TestNode(testMethod); in executeTest()
112 String testSummary = (String) testMethod.invoke(this); in executeTest()
145 public TestNode(Method testMethod) { in TestNode() argument
146 mTestMethod = testMethod; in TestNode()
/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/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCddCoverage.java41 public void addCoverage(String cddRequirementId, TestMethod testMethod) { in addCoverage() argument
46 requirements.get(cddRequirementId).addTestMethod(testMethod); in addCoverage()
81 public void addTestMethod(TestMethod testMethod) { in addTestMethod() argument
82 mtestMethods.add(testMethod); in addTestMethod()
95 TestMethod(String testModule, String testClass, String testMethod) { in TestMethod() argument
98 this.mTestMethod = testMethod; in TestMethod()
DCtsApiCoverage.java402 CddCoverage.TestMethod testMethod = in addCddJarCoverage() local
405 cddCoverage.addCoverage(cddTest.requirement(), testMethod); in addCddJarCoverage() local
447 CddCoverage.TestMethod testMethod = in handleAnnotations() local
450 cddCoverage.addCoverage(cddRequirement, testMethod); in handleAnnotations()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DOverlayHostTest.java134 String testMethod)
149 runDeviceTests(TEST_APP_PACKAGE, TEST_APP_CLASS, testMethod);
249 String testMethod = "testSameSignatureNoOverlayableSucceeds";
251 OVERLAY_ALL_PACKAGE, testMethod);
260 String testMethod = "testOverlayPolicyAll";
262 testMethod);
293 String testMethod = "testFrameworkDoesNotDefineOverlayable";
294 runDeviceTests(TEST_APP_PACKAGE, TEST_APP_CLASS, testMethod);
300 String testMethod = "testCannotOverlayAssets";
302 testMethod);
/cts/tools/utils/
DCollectAllTests.java366 Method testMethod = testClass.getMethod(testName, (Class[])null); in getAnnotation() local
367 Annotation[] annotations = testMethod.getAnnotations(); in getAnnotation()
404 for (Method testMethod : testMethods) { in addToTests()
405 String testName = testMethod.getName(); in addToTests()
411 if (!Modifier.isPublic(testMethod.getModifiers())) { in addToTests()
414 if (!testMethod.getReturnType().equals(Void.TYPE)) { in addToTests()
417 if (testMethod.getParameterTypes().length != 0) { in addToTests()
422 || (!isJunit3Test && !isJunit4TestMethod(testMethod))) { in addToTests()
/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/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DCrossProfileAppsHostSideTest.java151 int fromUserId, int targetUserId, String testClass, @Nullable String testMethod) in runDeviceTest() argument
156 testMethod, in runDeviceTest()
DManagedProfileTest.java1651 final String testMethod = in verifyUnifiedPassword() local
1654 testMethod, mProfileUserId); in verifyUnifiedPassword()
/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/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DShellCommandFromAppTest.java71 .setTestMethodName(testInfo.testMethod)); in runDeviceTestMethodWithoutHiddenApiCheck()
DMultiUserTest.java416 .setTestMethodName(testInfo.testMethod) in runTestAsUser()
DInputMethodServiceLifecycleTest.java411 return runDeviceTests(deviceTest.testPackage, deviceTest.testClass, deviceTest.testMethod); in runDeviceTestMethod()