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()
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.java76 for (ApiClass apiClass : classes) { in printXmlReport()
77 if (apiClass.getTotalMethods() > 0) { in printXmlReport()
78 out.println("<class name=\"" + apiClass.getName() in printXmlReport()
79 + "\" numCovered=\"" + apiClass.getNumCoveredMethods() in printXmlReport()
80 + "\" numTotal=\"" + apiClass.getTotalMethods() in printXmlReport()
81 + "\" deprecated=\"" + apiClass.isDeprecated() in printXmlReport()
83 + Math.round(apiClass.getCoveragePercentage()) in printXmlReport()
86 for (ApiConstructor constructor : apiClass.getConstructors()) { in printXmlReport()
103 for (ApiMethod method : apiClass.getMethods()) { in printXmlReport()
DDexDepsXmlHandler.java74 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local
75 if (apiClass != null) { in endElement()
76 ApiConstructor apiConstructor = apiClass.getConstructor(mCurrentParameterTypes); in endElement()
85 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local
86 if (apiClass != null) { in endElement()
87 ApiMethod apiMethod = apiClass.getMethod(mCurrentMethodName, in endElement()
DCurrentXmlHandler.java72 … ApiClass apiClass = new ApiClass(mCurrentClassName, mDeprecated, isAbstract(attributes)); in startElement() local
74 apiPackage.addClass(apiClass); in startElement()
107 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local
108 apiClass.addConstructor(apiConstructor); in endElement()
116 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local
117 apiClass.addMethod(apiMethod); in endElement()