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.java106 for (DexBackedClassDef classDef : dexFile.getClasses()) { in parse()
110 mInternalApiClassBuilderMap, classDef.getType()); in parse()
112 classBuilder.setAccessFlags(classDef.getAccessFlags()); in parse()
114 ClassUtils.getCanonicalName(classDef.getSuperclass())); in parse()
116 classDef.getInterfaces() in parse()
121 List<ApiAnnotation> annLst = getAnnotationList(classDef.getAnnotations()); in parse()
126 for (DexBackedField dxField : classDef.getFields()) { in parse()
138 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.java424 for (ClassDef classDef : dexFile.getClasses()) { in addCddApkCoverage()
425 String className = classDef.getType(); in addCddApkCoverage()
428 classDef.getAnnotations()); in addCddApkCoverage()
430 for (Method method : classDef.getMethods()) { in addCddApkCoverage()
/cts/tools/dasm/src/dasm/
DDAsm.java101 ClassDefItem classDef; field in DAsm
327 classDef = new ClassDefItem(CstType.intern(Type in endHeader()
332 dexFile.add(classDef); in endHeader()
370 CstFieldRef field = new CstFieldRef(classDef.getThisClass(), nat); in addField()
377 classDef.addStaticField(ef, null); in addField()
379 classDef.addInstanceField(ef); in addField()
444 CstMethodRef meth = new CstMethodRef(classDef.getThisClass(), in endMethod()
456 classDef.addDirectMethod(enc_method); in endMethod()
458 classDef.addVirtualMethod(enc_method); in endMethod()
1609 classDef = null; in readD()