Home
last modified time | relevance | path

Searched refs:ApiClass (Results 1 – 13 of 13) sorted by relevance

/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiPackage.java31 private final Map<String, ApiClass> mApiClassMap = new HashMap<String, ApiClass>();
42 public void addClass(ApiClass apiClass) { in addClass()
46 public ApiClass getClass(String name) { in getClass()
50 public Collection<ApiClass> getClasses() { in getClasses()
56 for (ApiClass apiClass : mApiClassMap.values()) { in getNumCoveredMethods()
64 for (ApiClass apiClass : mApiClassMap.values()) { in getTotalMethods()
82 Iterator<Entry<String, ApiClass>> it = mApiClassMap.entrySet().iterator(); in resolveSuperClasses()
84 Map.Entry<String, ApiClass> entry = it.next(); in resolveSuperClasses()
85 ApiClass apiClass = entry.getValue(); in resolveSuperClasses()
89 ApiClass superClass = findClass(packageMap, superClassName); in resolveSuperClasses()
[all …]
DApiClass.java29 class ApiClass implements Comparable<ApiClass>, HasCoverage { class
45 private ApiClass mSuperClass;
47 private Map<String, ApiClass> mInterfaceMap = new HashMap<String, ApiClass>();
55 ApiClass( in ApiClass() method in ApiClass
67 public int compareTo(ApiClass another) { in compareTo()
88 public void setSuperClass(ApiClass superClass) { mSuperClass = superClass; } in setSuperClass()
94 public void resolveInterface(String interfaceName, ApiClass apiInterface) { in resolveInterface()
132 for (ApiClass mInterface : mInterfaceMap.values()) { in markMethodCovered()
DCurrentXmlHandler.java82 ApiClass apiClass = new ApiClass( in startElement()
116 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
120 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
133 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
DTextReport.java51 List<ApiClass> classes = new ArrayList<ApiClass>(apiPackage.getClasses()); in printTextReport()
53 for (ApiClass apiClass : classes) { in printTextReport()
81 private static void printClass(ApiClass apiClass, PrintStream out) { in printClass()
DXmlReport.java74 List<ApiClass> classes = new ArrayList<ApiClass>(pkg.getClasses()); in printXmlReport()
77 for (ApiClass apiClass : classes) { in printXmlReport()
DDexDepsXmlHandler.java74 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
82 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
DCtsApiCoverage.java309 ApiClass apiClass = apiPackage.getClass(className); in addNdkSymArrToApiCoverage()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DSoParser.java41 private HashMap<String, ApiClass.Builder> mExternalApiClassBuilderMap;
136 mExternalApiClassBuilderMap = new HashMap<String, ApiClass.Builder>(); in parse()
162 ApiClass.Builder mInternalApiClassBuilder = ApiClass.newBuilder(); in parseApi()
186 ApiClass.Builder apiClassBuilder = in parseApi()
205 private ApiClass.Builder getApiClassBuilder( in getApiClassBuilder()
206 HashMap<String, ApiClass.Builder> apiClassBuilderMap, String name) { in getApiClassBuilder()
207 ApiClass.Builder builder = apiClassBuilderMap.get(name); in getApiClassBuilder()
209 builder = ApiClass.newBuilder().setName(ClassUtils.getCanonicalName(name)); in getApiClassBuilder()
DClassUtils.java179 public static ApiClass.Builder getApiClassBuilder( in getApiClassBuilder()
180 HashMap<String, ApiClass.Builder> apiClassBuilderMap, String name) { in getApiClassBuilder()
181 ApiClass.Builder builder = apiClassBuilderMap.get(name); in getApiClassBuilder()
183 builder = ApiClass.newBuilder().setName(ClassUtils.getCanonicalName(name)); in getApiClassBuilder()
196 HashMap<String, ApiClass.Builder> apiClassBuilderMap, in addAllApiClasses()
DDexParser.java52 private HashMap<String, ApiClass.Builder> mExternalApiClassBuilderMap;
54 private HashMap<String, ApiClass.Builder> mInternalApiClassBuilderMap;
94 mExternalApiClassBuilderMap = new HashMap<String, ApiClass.Builder>(); in parse()
97 mInternalApiClassBuilderMap = new HashMap<String, ApiClass.Builder>(); in parse()
108 ApiClass.Builder classBuilder = in parse()
252 ApiClass.Builder classBuilder = in processField()
264 ApiClass.Builder classBuilder = in processMethod()
DTestSuiteParser.java226 ApiClass.Builder tClassBuilder = ApiClass.newBuilder(); in parseApkTestCase()
323 ApiClass.Builder tClassBuilder = ApiClass.newBuilder(); in parseJavaHostTest()
505 for (ApiClass cls : pkg.getClassesList()) { in writeCsvFile()
544 for (ApiClass cls : pkg.getClassesList()) { in writeModuleCsvFile()
DJsonPrinter.java212 for (ApiClass clazz : pkg.getClassesList()) { in writeApiPkg()
228 private String getApiSignature(ApiPackage pkg, ApiClass clazz, ApiMethod method) { in getApiSignature()
/cts/tools/release-parser/proto/
Drelease.proto86 message ApiClass { message
104 repeated ApiClass classes = 5;