Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 19 of 19) sorted by relevance

/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DTestNgRunnerBuilder.java41 private static boolean isTestNgTestClass(Class<?> cls) { in isTestNgTestClass() argument
43 if (cls.getAnnotation(Test.class) != null) { in isTestNgTestClass()
48 for (Method m : cls.getDeclaredMethods()) { in isTestNgTestClass()
DTestNgRunner.java184 private Description generateTestNgDescription(Class<?> cls) { in generateTestNgDescription() argument
186 Description parent = Description.createSuiteDescription(cls); in generateTestNgDescription()
189 Log.d("TestNgRunner", "Generating TestNg Description for class " + cls.getName()); in generateTestNgDescription()
193 for (Method m : cls.getDeclaredMethods()) { in generateTestNgDescription()
213 Log.d("TestNgRunner", "Already added child " + cls.getName() + "#" + name); in generateTestNgDescription()
218 Description child = Description.createTestDescription(cls, name); in generateTestNgDescription()
223 Log.d("TestNgRunner", "Add child " + cls.getName() + "#" + name); in generateTestNgDescription()
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java194 Class<?> cls = loader.loadClass(e);
195 if (isTestClass(cls)) {
196 classes.add(cls);
219 private static boolean isTestClass(Class<?> cls) {
225 if (cls == null) {
228 for (Annotation a : cls.getAnnotations()) {
235 if (!hasPublicTestMethods(cls)) {
239 throw new RuntimeException(cls.toString(), exc);
243 int modifiers = cls.getModifiers();
244 return (Test.class.isAssignableFrom(cls)
[all …]
/cts/apps/CameraITS/tools/
Dhardware.py63 def __new__(cls, *args, **kwargs): argument
67 if not cls._instance:
68 cls._instance = super(Device, cls).__new__(cls, *args, **kwargs)
69 return cls._instance
169 cls = self._read_sys_hex_attr(inf_path, self._INF_CLASS)
172 if self._USB_CDC_ACM_CLASS != cls:
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTestCaseReport.java319 Class<?> cls = cl.loadClass(className); in getJarTestClasses() local
321 if (IRemoteTest.class.isAssignableFrom(cls) in getJarTestClasses()
322 || Test.class.isAssignableFrom(cls)) { in getJarTestClasses()
323 classes.add(cls); in getJarTestClasses()
324 } else if (!Modifier.isAbstract(cls.getModifiers()) in getJarTestClasses()
325 && hasJUnit4Annotation(cls)) { in getJarTestClasses()
326 classes.add(cls); in getJarTestClasses()
492 for (TestSuite.Package.Class cls : pkg.getClassesList()) { in printTestSuite()
493 for (TestSuite.Package.Class.Method mtd : cls.getMethodsList()) { in printTestSuite()
498 cls.getName(), in printTestSuite()
[all …]
DJarTestFinder.java60 Class<?> cls = cl.loadClass(className); in getClasses() local
61 int modifiers = cls.getModifiers(); in getClasses()
68 classes.add(cls); in getClasses()
DComparisonReport.java78 for (TestSuite.Package.Class cls : pkg.getClassesList()) { in writeComparsionReport()
79 for (TestSuite.Package.Class.Method mtd : cls.getMethodsList()) { in writeComparsionReport()
84 cls.getName(), in writeComparsionReport()
88 String testApkType = String.format("%s,%s", cls.getApk(), pkg.getType()); in writeComparsionReport()
/cts/hostsidetests/jvmti/base/jni/
Dtracking.cpp31 static std::string GetClassName(JNIEnv* jni_env, jclass cls) { in GetClassName() argument
32 ScopedLocalRef<jclass> class_class(jni_env, jni_env->GetObjectClass(cls)); in GetClassName()
35 jni_env, reinterpret_cast<jstring>(jni_env->CallObjectMethod(cls, mid))); in GetClassName()
/cts/tests/tests/os/jni/
Dandroid_os_cts_OSFeatures.cpp65 jclass cls = env->FindClass("java/lang/RuntimeException"); in android_os_cts_OSFeatures_hasSeccompSupport() local
66 env->ThrowNew(cls, "fork failed"); in android_os_cts_OSFeatures_hasSeccompSupport()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBroadcastTestStartActivity.java40 void startTest(String testCaseType, String pkg, String cls) { in startTest() argument
45 intent.setComponent(new ComponentName(pkg, cls)); in startTest()
DBusinessLogicDeviceExecutor.java59 protected ResolvedMethod getResolvedMethod(Class cls, String methodName, String... args) in getResolvedMethod() argument
61 List<Method> nameMatches = getMethodsWithName(cls, methodName); in getResolvedMethod()
DBroadcastTestBase.java99 String pkg, String cls) throws Exception { in startTestAndWaitForBroadcast() argument
102 mActivity.startTest(testCaseType.toString(), pkg, cls); in startTestAndWaitForBroadcast() local
/cts/tests/framework/base/activitymanager/appPrereleaseSdk/fake-framework/src/android/content/
DComponentName.java20 public ComponentName(String pkg, String cls) {} in ComponentName() argument
/cts/tests/tests/security/jni/
Dandroid_security_cts_LinuxRngTest.cpp39 jclass cls = env->FindClass("java/io/IOException"); in throwIOException() local
40 env->ThrowNew(cls, message); in throwIOException()
/cts/tests/openglperf2/
Dcob_exporter.py58 def poll(cls, context): argument
/cts/tests/libcore/javautilcollections/libs/
Dguava-testlib-20.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile172 valid-classmethod-first-arg=cls,class_
/cts/tests/tests/media/res/raw/
Dtestmp3_3.raw1 …ZRRnjPFTLmnbIpgQDq7xDVn3CYeBYGEABIDsMNU65HkAOyy0H/e8ab0GGjU///vT//0vsAABru/cls+v2/wHEJZB5gZGtPOcNW…