/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/ |
D | TestInfo.java | 27 public final String testClass; field in TestInfo 30 public TestInfo(String testPackage, String testClass, String testMethod) { in TestInfo() argument 32 this.testClass = testClass; in TestInfo() 42 return testClass + "#" + testMethod; in getTestName()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestActivity.java | 64 protected SensorCtsTestActivity(Class<? extends SensorTestCase> testClass) { in SensorCtsTestActivity() argument 65 super(testClass); in SensorCtsTestActivity() 142 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass() argument 144 if (hasSuiteMethod(testClass)) { in runnerForClass() 145 Test test = SuiteMethod.testFromSuiteMethod(testClass); in runnerForClass() 150 testClass.getName() + "#suite() did not return a TestSuite."); in runnerForClass() 153 testSuite = new TestSuite(testClass); in runnerForClass() 160 private boolean hasSuiteMethod(Class<?> testClass) { in hasSuiteMethod() argument 162 testClass.getMethod("suite"); in hasSuiteMethod()
|
D | SensorCtsVerifierTestActivity.java | 49 Class<? extends SensorCtsVerifierTestActivity> testClass) { in SensorCtsVerifierTestActivity() argument 50 super(testClass); in SensorCtsVerifierTestActivity() 62 Class<? extends SensorCtsVerifierTestActivity> testClass, boolean enableRetry) { in SensorCtsVerifierTestActivity() argument 63 super(testClass); in SensorCtsVerifierTestActivity()
|
D | BaseSensorTestActivity.java | 111 protected BaseSensorTestActivity(Class testClass) { in BaseSensorTestActivity() argument 112 this(testClass, R.layout.sensor_test); in BaseSensorTestActivity() 123 protected BaseSensorTestActivity(Class testClass, int layoutId) { in BaseSensorTestActivity() argument 124 mTestClass = testClass; in BaseSensorTestActivity()
|
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/ |
D | GtestRunner.java | 42 public GtestRunner(Class testClass) { in GtestRunner() argument 50 mTargetClass = testClass; in GtestRunner() 51 TargetLibrary library = (TargetLibrary) testClass.getAnnotation(TargetLibrary.class); in GtestRunner() 56 mDescription = Description.createSuiteDescription(testClass); in GtestRunner() 59 nInitialize(testClass.getName(), mDescription); in GtestRunner()
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/ |
D | TestNgRunnerBuilder.java | 33 public Runner runnerForClass(Class<?> testClass) { in runnerForClass() argument 34 if (isTestNgTestClass(testClass)) { in runnerForClass() 35 return new TestNgRunner(testClass); in runnerForClass()
|
D | TestNgRunner.java | 54 TestNgRunner(Class<?> testClass) { in TestNgRunner() argument 55 mDescription = generateTestNgDescription(testClass); in TestNgRunner() 56 mClassName = testClass.getName(); in TestNgRunner()
|
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | BaseBlobStoreHostTest.java | 54 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 72 .setTestClassName(testClass) in runDeviceTestAsUser()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | ApiPresenceChecker.java | 141 private static Map<String, Field> buildFieldMap(Class<?> testClass) { in buildFieldMap() argument 143 return buildFieldMapImpl(testClass); in buildFieldMap() 145 LogHelper.loge("AbstractApiChecker: Could not retrieve fields of " + testClass, e); in buildFieldMap() 150 private static Map<String, Field> buildFieldMapImpl(Class<?> testClass) { in buildFieldMapImpl() argument 153 if (testClass.getSuperclass() != null) { in buildFieldMapImpl() 154 fieldMap.putAll(buildFieldMapImpl(testClass.getSuperclass())); in buildFieldMapImpl() 158 for (Class<?> interfaceClass : testClass.getInterfaces()) { in buildFieldMapImpl() 163 for (Field field : testClass.getDeclaredFields()) { in buildFieldMapImpl()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/ |
D | CameraPerformanceActivity.java | 74 private void executeTest(Class testClass, String testName) { in executeTest() argument 76 Log.v(TAG, String.format("Execute Test: %s#%s", testClass.getSimpleName(), testName)); in executeTest() 77 Request request = Request.method(testClass, testName); in executeTest() 192 for (Class testClass : TEST_CLASSES) { in initializeTestCases() 193 Log.v(TAG, String.format("Test class: %s", testClass.getSimpleName())); in initializeTestCases() 194 for (Method method : testClass.getMethods()) { in initializeTestCases() 200 mTestCaseMap.put(method.getName(), testClass); in initializeTestCases() local 236 Class testClass = mTestCaseMap.get(mTestId); in performTest() local 237 if (testClass == null) { in performTest() 245 executeTest(testClass, mTestId); in performTest()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | CustomDeviceOwnerTest.java | 55 String testClass = INTENT_RECEIVER_PKG + ".OwnerChangedBroadcastTest"; in testOwnerChangedBroadcast() local 59 runDeviceTestsAsUser(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast() 69 runDeviceTestsAsUser(INTENT_RECEIVER_PKG, testClass, in testOwnerChangedBroadcast()
|
D | CrossProfileAppsHostSideTest.java | 281 private void verifyCrossProfileAppsApi(int fromUserId, int targetUserId, String testClass) in verifyCrossProfileAppsApi() argument 283 verifyCrossProfileAppsApi(fromUserId, targetUserId, testClass, /* testMethod= */ null); in verifyCrossProfileAppsApi() 286 …private void verifyCrossProfileAppsApi(int fromUserId, int targetUserId, String testClass, String … in verifyCrossProfileAppsApi() argument 288 runDeviceTest(fromUserId, targetUserId, testClass, testMethod); in verifyCrossProfileAppsApi() 292 int fromUserId, int targetUserId, String testClass, @Nullable String testMethod) in runDeviceTest() argument 296 testClass, in runDeviceTest()
|
D | BaseDeviceOwnerTest.java | 90 String testClass = DEVICE_OWNER_PKG + "." + testClassName; in executeDeviceOwnerTestOnSpecificUser() local 91 runDeviceTestsAsUser(DEVICE_OWNER_PKG, testClass, userId); in executeDeviceOwnerTestOnSpecificUser()
|
D | ProfileOwnerTest.java | 112 String testClass = PROFILE_OWNER_PKG + "." + testClassName; in executeProfileOwnerTest() local 114 runDeviceTestsAsUser(PROFILE_OWNER_PKG, testClass, mUserId); in executeProfileOwnerTest()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | TestNameUtils.java | 52 public static void setCurrentTestClass(@Nullable String testClass) { in setCurrentTestClass() argument 53 sCurrentTestClass = testClass; in setCurrentTestClass()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorTestCase.java | 78 public TestClassNode(Class<?> testClass) { in TestClassNode() argument 79 mTestClass = testClass; in TestClassNode()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | TestProcessService.java | 63 Class testClass = Class.forName(testClassName); in handleMessage() local 65 (TestProcessClient.TestRunnable) testClass.newInstance(); in handleMessage()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | CddCoverage.java | 96 TestMethod(String testModule, String testClass, String testMethod) { in TestMethod() argument 98 this.mTestClass = testClass; in TestMethod()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CurrentApiHelperTest.java | 44 String testClass = mClazz.getSimpleName(); in setUp() local 45 mPublicApis = new HashSet<>(getPublicApis(testPackage, testClass)); in setUp()
|
/cts/hostsidetests/settings/src/com/google/android/cts/settings/ |
D | PrivacyDeviceOwnerTest.java | 153 String testClass = DEVICE_OWNER_PKG + ".DeviceOwnerTest"; in executeDeviceOwnerTest() local 155 testClass + " failed.", in executeDeviceOwnerTest() 156 runDeviceTests(DEVICE_OWNER_PKG, testClass, testMethodName)); in executeDeviceOwnerTest()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | TestHelper.java | 88 final Class<?> testClass = testMethod.getDeclaringClass(); in TestHelper() local 90 mTestInfo = new TestInfo(testContext.getPackageName(), testClass.getName(), in TestHelper()
|
/cts/hostsidetests/jvmti/base/run-test-based-app/src/android/jvmti/cts/ |
D | JvmtiRunTestBasedTest.java | 127 Class<?> testClass = Class.forName("art.Test" + nr); in testRunTest() local 128 final Method runMethod = testClass.getDeclaredMethod("run"); in testRunTest()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | BedsteadJUnit4.java | 282 public BedsteadJUnit4(Class<?> testClass) throws InitializationError { in BedsteadJUnit4() argument 283 super(testClass); in BedsteadJUnit4() 296 TestClass testClass = getTestClass(); in computeTestMethods() local 298 List<FrameworkMethod> basicTests = testClass.getAnnotatedMethods(Test.class); in computeTestMethods()
|
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | ShellCommandFromAppTest.java | 70 .setTestClassName(testInfo.testClass) in runDeviceTestMethodWithoutHiddenApiCheck()
|
/cts/tools/vm-tests-tf/lib/ |
D | junit.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/awtui/
junit/ ... |