Home
last modified time | relevance | path

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

/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiPackage.java42 public void addClass(ApiClass apiClass) { in addClass() argument
43 mApiClassMap.put(apiClass.getName(), apiClass); in addClass() local
56 for (ApiClass apiClass : mApiClassMap.values()) { in getNumCoveredMethods()
57 covered += apiClass.getNumCoveredMethods(); in getNumCoveredMethods()
64 for (ApiClass apiClass : mApiClassMap.values()) { in getTotalMethods()
65 total += apiClass.getTotalMethods(); in getTotalMethods()
85 ApiClass apiClass = entry.getValue(); in resolveSuperClasses() local
86 if (apiClass.getSuperClassName() != null) { in resolveSuperClasses()
87 String superClassName = apiClass.getSuperClassName(); in resolveSuperClasses()
97 apiClass.setSuperClass(superClass); in resolveSuperClasses()
DTextReport.java53 for (ApiClass apiClass : classes) { in printTextReport()
54 if (apiClass.getTotalMethods() > 0) { in printTextReport()
55 printClass(apiClass, out); in printTextReport()
58 new ArrayList<ApiConstructor>(apiClass.getConstructors()); in printTextReport()
64 List<ApiMethod> methods = new ArrayList<ApiMethod>(apiClass.getMethods()); in printTextReport()
81 private static void printClass(ApiClass apiClass, PrintStream out) { in printClass() argument
82 out.println(" " + apiClass.getName() + " " in printClass()
83 + Math.round(apiClass.getCoveragePercentage()) + "% (" in printClass()
84 + apiClass.getNumCoveredMethods() + "/" + apiClass.getTotalMethods() + ") "); in printClass()
DXmlReport.java75 for (ApiClass apiClass : classes) { in printXmlReport()
76 if (apiClass.getTotalMethods() > 0) { in printXmlReport()
77 out.println("<class name=\"" + apiClass.getName() in printXmlReport()
78 + "\" numCovered=\"" + apiClass.getNumCoveredMethods() in printXmlReport()
79 + "\" numTotal=\"" + apiClass.getTotalMethods() in printXmlReport()
80 + "\" deprecated=\"" + apiClass.isDeprecated() in printXmlReport()
82 + Math.round(apiClass.getCoveragePercentage()) in printXmlReport()
85 for (ApiConstructor constructor : apiClass.getConstructors()) { in printXmlReport()
102 for (ApiMethod method : apiClass.getMethods()) { in printXmlReport()
DDexDepsXmlHandler.java74 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local
75 if (apiClass != null) { in endElement()
76 apiClass.markConstructorCovered(mCurrentParameterTypes); in endElement()
82 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local
83 if (apiClass != null) { in endElement()
84 apiClass.markMethodCovered( in endElement()
DCurrentXmlHandler.java79 ApiClass apiClass = new ApiClass( in startElement() local
82 apiPackage.addClass(apiClass); in startElement()
118 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local
119 apiClass.addConstructor(apiConstructor); in endElement()
131 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local
132 apiClass.addMethod(apiMethod); in endElement()