Searched refs:apiClass (Results 1 – 10 of 10) sorted by relevance
/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/ |
D | ApiPackage.java | 42 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() 88 String superClassName = apiClass.getSuperClassName(); in resolveSuperClasses() 90 apiClass.setSuperClass(superClass); in resolveSuperClasses() [all …]
|
D | ApiXmlHandler.java | 82 ApiClass apiClass = new ApiClass( in startElement() local 85 apiPackage.addClass(apiClass); in startElement() 116 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local 117 apiClass.addConstructor(apiConstructor); in endElement() 120 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local 121 apiClass.addInterface(mCurrentInterfaceName); in endElement() 133 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local 134 apiClass.addMethod(apiMethod); in endElement()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | TextReport.java | 60 for (ApiClass apiClass : classes) { in printTextReport() 61 if (apiClass.getTotalMethods() > 0) { in printTextReport() 62 printClass(apiClass, out); in printTextReport() 65 new ArrayList<ApiConstructor>(apiClass.getConstructors()); in printTextReport() 71 List<ApiMethod> methods = new ArrayList<ApiMethod>(apiClass.getMethods()); in printTextReport() 88 private static void printClass(ApiClass apiClass, PrintStream out) { in printClass() argument 89 out.println(" " + apiClass.getName() + " " in printClass() 90 + Math.round(apiClass.getCoveragePercentage()) + "% (" in printClass() 91 + apiClass.getNumCoveredMethods() + "/" + apiClass.getTotalMethods() + ") "); in printClass()
|
D | DexDepsXmlHandler.java | 79 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local 80 if (apiClass != null) { in endElement() 81 apiClass.markConstructorCovered(mCurrentParameterTypes, mTestApkName); in endElement() 87 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement() local 88 if (apiClass != null) { in endElement() 89 apiClass.markMethodCovered( in endElement()
|
D | XmlReport.java | 85 for (ApiClass apiClass : classes) { in printXmlReport() 86 if (apiClass.getTotalMethods() > 0) { in printXmlReport() 87 out.println("<class name=\"" + apiClass.getName() in printXmlReport() 88 + "\" numCovered=\"" + apiClass.getNumCoveredMethods() in printXmlReport() 89 + "\" numTotal=\"" + apiClass.getTotalMethods() in printXmlReport() 90 + "\" deprecated=\"" + apiClass.isDeprecated() in printXmlReport() 92 + Math.round(apiClass.getCoveragePercentage()) in printXmlReport() 95 for (ApiConstructor constructor : apiClass.getConstructors()) { in printXmlReport() 117 for (ApiMethod method : apiClass.getMethods()) { in printXmlReport()
|
D | CtsApiCoverage.java | 346 ApiClass apiClass = apiPackage.getClass(className); in addNdkSymArrToApiCoverage() local 347 if (apiClass != null) { in addNdkSymArrToApiCoverage() 348 apiClass.markMethodCovered( in addNdkSymArrToApiCoverage()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | CallGraphManager.java | 154 ApiClass apiClass = getApiClass( in markCoveredApisWithoutCaller() local 159 if (apiClass == null) { in markCoveredApisWithoutCaller() 164 apiClass.markConstructorCovered( in markCoveredApisWithoutCaller() 169 apiClass.markMethodCovered( in markCoveredApisWithoutCaller() 186 ApiClass apiClass = getApiClass( in markCoveredApisWithCaller() local 191 if (apiClass != null) { in markCoveredApisWithCaller() 192 apiClass.markConstructorCoveredTest( in markCoveredApisWithCaller() 199 ApiClass apiClass = getApiClass( in markCoveredApisWithCaller() local 201 if (apiClass != null) { in markCoveredApisWithCaller() 202 apiClass.markMethodCoveredTest( in markCoveredApisWithCaller()
|
D | XmlWriter.java | 204 for (ApiClass apiClass : classes) { in createApiPackageElement() 205 if (apiClass.getTotalMethods() > 0) { in createApiPackageElement() 206 element.appendChild(createApiClassElement(apiClass, statistics)); in createApiPackageElement() 212 private Element createApiClassElement(ApiClass apiClass, ApiStatistics statistics) { in createApiClassElement() argument 214 element.setAttribute("name", apiClass.getName()); in createApiClassElement() 215 element.setAttribute("numCovered", String.valueOf(apiClass.getNumCoveredMethods())); in createApiClassElement() 216 element.setAttribute("numTotal", String.valueOf(apiClass.getTotalMethods())); in createApiClassElement() 217 element.setAttribute("deprecated", String.valueOf(apiClass.isDeprecated())); in createApiClassElement() 219 Math.round(apiClass.getCoveragePercentage()))); in createApiClassElement() 220 for (ApiConstructor constructor : apiClass.getConstructors()) { in createApiClassElement() [all …]
|
/cts/tools/cts-api-coverage/src/com/android/cts/ctsprofiles/ |
D | ModuleProfile.java | 44 ApiClass apiClass = apiPackage != null ? apiPackage.getClass(className) : null; in getOrCreateClass() local 48 new ClassProfile(mName, packageName, className, apiClass != null) in getOrCreateClass()
|
D | ClassProfile.java | 56 public ClassProfile(String moduleName, String packageName, String className, boolean apiClass) { in ClassProfile() argument 60 if (apiClass) { in ClassProfile()
|