Home
last modified time | relevance | path

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

/cts/libs/migration/src/com/android/cts/migration/
DMigrationHelper.java26 Class<?> cls = Class.forName(COMPATIBILITY_BUILD_HELPER); in getTestFile() local
27 Constructor<?> cons = cls.getConstructor(IBuildInfo.class); in getTestFile()
29 Method method = cls.getMethod("getTestsDir"); in getTestFile()
42 Class<?> cls = Class.forName(CTS_BUILD_HELPER); in getTestFile() local
43 Method builder = cls.getMethod("createBuildHelper", IBuildInfo.class); in getTestFile()
45 Method method = cls.getMethod("getTestApp", String.class); in getTestFile()
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DTestNgRunner.java169 private Description generateTestNgDescription(Class<?> cls) { in generateTestNgDescription() argument
171 Description parent = Description.createSuiteDescription(cls); in generateTestNgDescription()
174 Log.d("TestNgRunner", "Generating TestNg Description for class " + cls.getName()); in generateTestNgDescription()
178 for (Method m : cls.getDeclaredMethods()) { in generateTestNgDescription()
198 Log.d("TestNgRunner", "Already added child " + cls.getName() + "#" + name); in generateTestNgDescription()
203 Description child = Description.createTestDescription(cls, name); in generateTestNgDescription()
208 Log.d("TestNgRunner", "Add child " + cls.getName() + "#" + name); in generateTestNgDescription()
DTestNgRunnerBuilder.java55 private static boolean isTestNgTestClass(Class<?> cls) { in isTestNgTestClass() argument
57 if (cls.getAnnotation(Test.class) != null) { in isTestNgTestClass()
62 for (Method m : cls.getDeclaredMethods()) { in isTestNgTestClass()
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java169 Class<?> cls = loader.loadClass(e);
170 if (isTestClass(cls)) {
171 classes.add(cls);
188 private static boolean isTestClass(Class<?> cls) {
194 if (cls == null) {
197 for (Annotation a : cls.getAnnotations()) {
203 if (!hasPublicTestMethods(cls)) {
208 int modifiers = cls.getModifiers();
209 return (Test.class.isAssignableFrom(cls)
216 private static boolean hasPublicTestMethods(Class<?> cls) {
[all …]
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DJarHostTest.java113 Class<?> cls = cl.loadClass(className); in getClasses() local
114 int modifiers = cls.getModifiers(); in getClasses()
115 if ((IRemoteTest.class.isAssignableFrom(cls) in getClasses()
116 || Test.class.isAssignableFrom(cls)) in getClasses()
122 classes.add(cls); in getClasses()
/cts/tests/core/runner/src/com/android/cts/core/runner/
DTestClassFinder.java104 Class<?> cls = testLoader.loadIfTest(className); in getClasses() local
105 if (cls != null) { in getClasses()
106 classes.add(cls); in getClasses()
DCoreTestRunner.java255 for (Class cls : classes) { in onStart()
256 Log.d(TAG, "Found class to run: " + cls.getName()); in onStart()
/cts/tests/tests/os/jni/
Dandroid_os_cts_OSFeatures.cpp70 jclass cls = env->FindClass("java/lang/RuntimeException"); in android_os_cts_OSFeatures_hasSeccompSupport() local
71 env->ThrowNew(cls, "fork failed"); in android_os_cts_OSFeatures_hasSeccompSupport()
/cts/libs/deviceutil/src/android/cts/util/
DBroadcastTestStartActivity.java42 void startTest(String testCaseType, String pkg, String cls) { in startTest() argument
47 intent.setComponent(new ComponentName(pkg, cls)); in startTest()
DBroadcastTestBase.java101 String pkg, String cls) throws Exception { in startTestAndWaitForBroadcast() argument
104 mActivity.startTest(testCaseType.toString(), pkg, cls); in startTestAndWaitForBroadcast() local
/cts/tests/tests/security/jni/
Dandroid_security_cts_LinuxRngTest.cpp38 jclass cls = env->FindClass("java/io/IOException"); in throwIOException() local
39 env->ThrowNew(cls, message); in throwIOException()
/cts/tests/core/runner/src/com/android/cts/core/internal/runner/
DTestLoader.java228 private static boolean isTestNgTestClass(Class<?> cls) { in isTestNgTestClass() argument
230 for (Annotation a : cls.getAnnotations()) { in isTestNgTestClass()
237 for (Method m : cls.getDeclaredMethods()) { in isTestNgTestClass()
/cts/tests/openglperf2/
Dcob_exporter.py58 def poll(cls, context): argument
/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…
Dfootball_qvga.yuv93 …��zkehkea^VPRVY]`bdcbbca_abbbfghjjjigfgijihijiikigfedeb_ahnrvxuoh\TOJGHKOU\cls{������}rfYTPQTSTVVV…
289 …qrtqpqqrqrrppqpopnmljikkhhjihhgggec-07>DHRX[`ehkmpruwx{|{{{||}||xurmkhdc_^^cls{������������������…
297 …jhijhjhffgfdddcaaaaabcedggijhhihggggfgfdeddeeedffgfeeghfda_]XTNLI?4037;DOY^cls|������������������|…