Home
last modified time | relevance | path

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

/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiClass.java115 public void markConstructorCovered(List<String> parameterTypes, String coveredbyApk) { in markConstructorCovered() argument
118 mSuperClass.markConstructorCovered(parameterTypes, coveredbyApk); in markConstructorCovered()
120 Optional<ApiConstructor> apiConstructor = getConstructor(parameterTypes); in markConstructorCovered()
125 public void markMethodCovered(String name, List<String> parameterTypes, String coveredbyApk) { in markMethodCovered() argument
128 mSuperClass.markMethodCovered(name, parameterTypes, coveredbyApk); in markMethodCovered()
134 mInterface.markMethodCovered(name, parameterTypes, coveredbyApk); in markMethodCovered()
138 Optional<ApiMethod> apiMethod = getMethod(name, parameterTypes); in markMethodCovered()
179 private Optional<ApiMethod> getMethod(String name, List<String> parameterTypes) { in getMethod() argument
183 compareParameterTypes(method.getParameterTypes(), parameterTypes); in getMethod()
263 private Optional<ApiConstructor> getConstructor(List<String> parameterTypes) { in getConstructor() argument
[all …]
DTextReport.java92 List<String> parameterTypes = constructor.getParameterTypes(); in printConstructor() local
93 int numParameterTypes = parameterTypes.size(); in printConstructor()
95 builder.append(parameterTypes.get(i)); in printConstructor()
119 List<String> parameterTypes = method.getParameterTypes(); in printMethod() local
120 int numParameterTypes = parameterTypes.size(); in printMethod()
122 builder.append(parameterTypes.get(i)); in printMethod()
DApiConstructor.java37 ApiConstructor(String name, List<String> parameterTypes, boolean deprecated) { in ApiConstructor() argument
39 mParameterTypes = new ArrayList<String>(parameterTypes); in ApiConstructor()
DApiMethod.java50 List<String> parameterTypes, in ApiMethod() argument
58 mParameterTypes = new ArrayList<String>(parameterTypes); in ApiMethod()
DCtsApiCoverage.java298 final List<String> parameterTypes = new ArrayList<String>(); in addNdkSymArrToApiCoverage() local
313 parameterTypes, in addNdkSymArrToApiCoverage()
/cts/tests/tests/libcoreapievolution/src/android/apievolution/cts/
DApiEvolutionTest.java122 Class<? extends Buffer> bufferClass, String methodName, Class[] parameterTypes) in assertSyntheticBufferMethodOverloadExists() argument
124 assertSyntheticMethodOverloadExists(bufferClass, methodName, parameterTypes, in assertSyntheticBufferMethodOverloadExists()
131 Class<?> clazz, String methodName, Class[] parameterTypes, in assertSyntheticMethodOverloadExists() argument
135 if (parameterTypes == null) { in assertSyntheticMethodOverloadExists()
136 parameterTypes = new Class[0]; in assertSyntheticMethodOverloadExists()
141 Method declaredMethod = clazz.getDeclaredMethod(methodName, parameterTypes); in assertSyntheticMethodOverloadExists()
148 if (methodMatches(methodName, parameterTypes, method)) { in assertSyntheticMethodOverloadExists()
203 private static boolean methodMatches(String methodName, Class[] parameterTypes, Method method) { in methodMatches() argument
205 && Arrays.equals(parameterTypes, method.getParameterTypes()); in methodMatches()