Home
last modified time | relevance | path

Searched refs:classDef (Results 1 – 5 of 5) sorted by relevance

/cts/tools/release-parser/src/com/android/cts/releaseparser/
DTestSuiteParser.java216 for (ClassDef classDef : dexFile.getClasses()) { in parseApkTestCase()
218 String className = classDef.getType().replace('/', '.'); in parseApkTestCase()
225 TestClassType cType = chkTestClassType(classDef); in parseApkTestCase()
232 for (Method method : classDef.getMethods()) { in parseApkTestCase()
263 for (Method method : classDef.getMethods()) { in parseApkTestCase()
275 for (Method method : classDef.getMethods()) { in parseApkTestCase()
367 private static TestClassType chkTestClassType(ClassDef classDef) { in chkTestClassType() argument
369 if ((classDef.getAccessFlags() & AccessFlags.PUBLIC.getValue()) == 0) { in chkTestClassType()
373 for (Annotation annotation : classDef.getAnnotations()) { in chkTestClassType()
388 System.err.printf("Unknown test class type: %s\n", classDef.getType()); in chkTestClassType()
[all …]
DDexParser.java121 for (DexBackedClassDef classDef : dexFile.getClasses()) { in parse()
125 mInternalApiClassBuilderMap, classDef.getType()); in parse()
127 classBuilder.setAccessFlags(classDef.getAccessFlags()); in parse()
129 ClassUtils.getCanonicalName(classDef.getSuperclass())); in parse()
131 classDef.getInterfaces() in parse()
136 List<ApiAnnotation> annLst = getAnnotationList(classDef.getAnnotations()); in parse()
141 for (DexBackedField dxField : classDef.getFields()) { in parse()
153 for (DexBackedMethod dxMethod : classDef.getMethods()) { in parse()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTestCaseReport.java159 private static TestSuite.Package.Class.ClassType chkTestType(ClassDef classDef) { in chkTestType() argument
161 if ((classDef.getAccessFlags() & AccessFlags.PUBLIC.getValue()) == 0) { in chkTestType()
165 for (Annotation annotation : classDef.getAnnotations()) { in chkTestType()
182 if (classDef.getType().endsWith(TEST_TAG) || classDef.getType().endsWith(TESTS_TAG)) { in chkTestType()
218 for (ClassDef classDef : dexFile.getClasses()) { in parseApkTestCase()
220 String className = classDef.getType().replace('/','.'); in parseApkTestCase()
227 cType = chkTestType(classDef); in parseApkTestCase()
235 for (Method method : classDef.getMethods()) { in parseApkTestCase()
258 for (Method method : classDef.getMethods()) { in parseApkTestCase()
275 for (Method method : classDef.getMethods()) { in parseApkTestCase()
DCtsApiCoverage.java469 for (ClassDef classDef : dexFile.getClasses()) {
470 String className = classDef.getType();
473 classDef.getAnnotations());
475 for (Method method : classDef.getMethods()) {
/cts/hostsidetests/classpath/src/android/classpath/cts/
DClasspathDeviceInfo.java193 for (ClassDef classDef : defs) { in collectClassInfo()
195 store.addResult("name", classDef.getType()); in collectClassInfo()