Home
last modified time | relevance | path

Searched refs:MethodProfile (Results 1 – 7 of 7) sorted by relevance

/cts/tools/cts-api-coverage/src/com/android/cts/ctsprofiles/
DMethodProfile.java26 public class MethodProfile { class
39 private final HashMap<String, MethodProfile> mCommonMethodCalls = new HashMap<>();
42 private final HashMap<String, MethodProfile> mApiMethodCalls = new HashMap<>();
45 private final HashMap<String, MethodProfile> mApiConstructorCalls = new HashMap<>();
70 public MethodProfile( in MethodProfile() method in MethodProfile
97 public Map<String, MethodProfile> getApiMethodCalls() { in getApiMethodCalls()
101 public Map<String, MethodProfile> getApiConstructorCalls() { in getApiConstructorCalls()
105 public Map<String, MethodProfile> getCommonMethodCalls() { in getCommonMethodCalls()
115 public void addApiMethodCall(MethodProfile apiMethod) { in addApiMethodCall()
120 public void addApiConstructorCall(MethodProfile apiConstructor) { in addApiConstructorCall()
[all …]
DClassProfile.java45 private final Map<String, MethodProfile> mMethods = new HashMap<>();
48 private Map<String, MethodProfile> mTestMethods = null;
103 public Map<String, MethodProfile> getMethods() { in getMethods()
108 public MethodProfile getOrCreateMethod( in getOrCreateMethod()
112 mMethods.put(methodSignature, new MethodProfile(this, methodName, params)); in getOrCreateMethod()
132 public Map<String, MethodProfile> getTestMethods() { in getTestMethods()
199 for (MethodProfile method : mMethods.values()) { in isJunit4Class()
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/
DCallGraphManager.java23 import com.android.cts.ctsprofiles.MethodProfile;
45 private final Map<String, MethodProfile> mApiConstructors = new HashMap<>();
47 private final Map<String, MethodProfile> mApiMethods = new HashMap<>();
54 public void addMethods(Map<String, MethodProfile> methods) { in addMethods()
58 public void addConstructors(Map<String, MethodProfile> constructors) { in addConstructors()
62 public Map<String, MethodProfile> getApiConstructors() { in getApiConstructors()
66 public Map<String, MethodProfile> getApiMethods() { in getApiMethods()
87 for (MethodProfile methodProfile : classProfile.getTestMethods().values()) { in resolveCoveredApis()
107 List<MethodProfile> methods = tarjan.getComponent(stack.peek()); in resolveMethodCoveredApis()
114 for (MethodProfile method: methods) { in resolveMethodCoveredApis()
[all …]
DTarJan.java20 import com.android.cts.ctsprofiles.MethodProfile;
38 private final Map<Integer, List<MethodProfile>> mComponentNodes = new HashMap<>();
42 final MethodProfile mMethod;
46 Node(int index, MethodProfile method) { in Node()
52 public TarJan(MethodProfile testMethod, Set<String> resolvedMethods) { in TarJan()
63 public List<MethodProfile> getComponent(int id) { in getComponent()
67 private Node tarjan(MethodProfile method) { in tarjan()
76 for (MethodProfile callee: method.getCommonMethodCalls().values()) { in tarjan()
DMethodAnalyzer.java23 import com.android.cts.ctsprofiles.MethodProfile;
43 private final MethodProfile mMethod;
53 MethodProfile methodProfile, in MethodAnalyzer()
115 MethodProfile callMethod = classProfile.getOrCreateMethod(name, params); in handleMethodCall()
DClassAnalyzer.java22 import com.android.cts.ctsprofiles.MethodProfile;
23 import com.android.cts.ctsprofiles.MethodProfile.MethodType;
99 MethodProfile method = mClass.getOrCreateMethod(name, params); in visitMethod()
DXmlWriter.java26 import com.android.cts.ctsprofiles.MethodProfile;
248 for (MethodProfile testMethod : classProfile.getTestMethods().values()) { in createTestClassElement()
257 private Element createTestMethodElement(MethodProfile methodProfile) { in createTestMethodElement()