Home
last modified time | relevance | path

Searched refs:getTotalMethods (Results 1 – 6 of 6) sorted by relevance

/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/
DApiPackage.java62 public int getTotalMethods() { in getTotalMethods() method in ApiPackage
65 total += apiClass.getTotalMethods(); in getTotalMethods()
72 return (float) getNumCoveredMethods() / getTotalMethods() * 100; in getCoveragePercentage()
77 return getTotalMethods(); in getMemberSize()
DApiClass.java195 public int getTotalMethods() { in getTotalMethods() method in ApiClass
201 if (getTotalMethods() == 0) { in getCoveragePercentage()
204 return (float) getNumCoveredMethods() / getTotalMethods() * 100; in getCoveragePercentage()
210 return getTotalMethods(); in getMemberSize()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTextReport.java46 if (packageFilter.accept(apiPackage.getName()) && apiPackage.getTotalMethods() > 0) { in printTextReport()
61 if (apiClass.getTotalMethods() > 0) { in printTextReport()
85 + apiPackage.getNumCoveredMethods() + "/" + apiPackage.getTotalMethods() + ")"); in printPackage()
91 + apiClass.getNumCoveredMethods() + "/" + apiClass.getTotalMethods() + ") "); in printClass()
DXmlReport.java70 if (packageFilter.accept(pkg.getName()) && pkg.getTotalMethods() > 0) { in printXmlReport()
71 int pkgTotal = pkg.getTotalMethods(); in printXmlReport()
86 if (apiClass.getTotalMethods() > 0) { in printXmlReport()
89 + "\" numTotal=\"" + apiClass.getTotalMethods() in printXmlReport()
DCtsApiCoverage.java213 napiPackage.getTotalMethods(), in main()
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/
DXmlWriter.java102 if (pkg.getTotalMethods() > 0) { in generateApiMapData()
196 element.setAttribute("numTotal", String.valueOf(pkg.getTotalMethods())); in createApiPackageElement()
199 statistics.mTotalMethods += pkg.getTotalMethods(); in createApiPackageElement()
205 if (apiClass.getTotalMethods() > 0) { in createApiPackageElement()
216 element.setAttribute("numTotal", String.valueOf(apiClass.getTotalMethods())); in createApiClassElement()