Home
last modified time | relevance | path

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

/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/
DApiPackage.java31 private final Map<String, ApiClass> mApiClassMap = new ConcurrentHashMap<>();
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 public class ApiClass implements Comparable<ApiClass>, HasCoverage { class
46 private ApiClass mSuperClass;
48 private Map<String, ApiClass> mInterfaceMap = new HashMap<String, ApiClass>();
56 public ApiClass( in ApiClass() method in ApiClass
68 public int compareTo(ApiClass another) { in compareTo()
89 public void setSuperClass(ApiClass superClass) { in setSuperClass()
97 public void resolveInterface(String interfaceName, ApiClass apiInterface) { in resolveInterface()
138 for (ApiClass mInterface : mInterfaceMap.values()) { in markMethodCoveredTest()
166 for (ApiClass mInterface : mInterfaceMap.values()) { in markMethodCovered()
DApiXmlHandler.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()
/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.java67 private HashMap<String, ApiClass.Builder> mExternalApiClassBuilderMap;
69 private HashMap<String, ApiClass.Builder> mInternalApiClassBuilderMap;
109 mExternalApiClassBuilderMap = new HashMap<String, ApiClass.Builder>(); in parse()
112 mInternalApiClassBuilderMap = new HashMap<String, ApiClass.Builder>(); in parse()
123 ApiClass.Builder classBuilder = in parse()
267 ApiClass.Builder classBuilder = in processField()
279 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/cts-api-coverage/src/com/android/cts/apicoverage/
DTextReport.java19 import com.android.cts.apicommon.ApiClass;
58 List<ApiClass> classes = new ArrayList<ApiClass>(apiPackage.getClasses()); in printTextReport()
60 for (ApiClass apiClass : classes) { in printTextReport()
88 private static void printClass(ApiClass apiClass, PrintStream out) { in printClass()
DDexDepsXmlHandler.java19 import com.android.cts.apicommon.ApiClass;
79 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
87 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
DXmlReport.java19 import com.android.cts.apicommon.ApiClass;
82 List<ApiClass> classes = new ArrayList<ApiClass>(pkg.getClasses()); in printXmlReport()
85 for (ApiClass apiClass : classes) { in printXmlReport()
DCtsApiCoverage.java24 import com.android.cts.apicommon.ApiClass;
346 ApiClass apiClass = apiPackage.getClass(className); in addNdkSymArrToApiCoverage()
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/
DCallGraphManager.java19 import com.android.cts.apicommon.ApiClass;
139 private ApiClass getApiClass( in getApiClass()
154 ApiClass apiClass = getApiClass( in markCoveredApisWithoutCaller()
186 ApiClass apiClass = getApiClass( in markCoveredApisWithCaller()
199 ApiClass apiClass = getApiClass( in markCoveredApisWithCaller()
DXmlWriter.java19 import com.android.cts.apicommon.ApiClass;
201 List<ApiClass> classes = new ArrayList<>(pkg.getClasses()); in createApiPackageElement()
204 for (ApiClass apiClass : classes) { in createApiPackageElement()
212 private Element createApiClassElement(ApiClass apiClass, ApiStatistics statistics) { in createApiClassElement()
/cts/tools/cts-api-coverage/src/com/android/cts/ctsprofiles/
DModuleProfile.java19 import com.android.cts.apicommon.ApiClass;
44 ApiClass apiClass = apiPackage != null ? apiPackage.getClass(className) : null; in getOrCreateClass()
/cts/tools/release-parser/proto/
Drelease.proto86 message ApiClass { message
104 repeated ApiClass classes = 5;