Searched refs:parameterTypes (Results 1 – 6 of 6) sorted by relevance
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiClass.java | 115 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 …]
|
D | TextReport.java | 92 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()
|
D | ApiConstructor.java | 39 ApiConstructor(String name, List<String> parameterTypes, boolean deprecated) { in ApiConstructor() argument 41 mParameterTypes = new ArrayList<String>(parameterTypes); in ApiConstructor()
|
D | ApiMethod.java | 52 List<String> parameterTypes, in ApiMethod() argument 60 mParameterTypes = new ArrayList<String>(parameterTypes); in ApiMethod()
|
D | CtsApiCoverage.java | 317 final List<String> parameterTypes = new ArrayList<String>(); in addNdkSymArrToApiCoverage() local 332 parameterTypes, in addNdkSymArrToApiCoverage()
|
/cts/tests/tests/libcoreapievolution/src/android/apievolution/cts/ |
D | ApiEvolutionTest.java | 148 Class<? extends Buffer> bufferClass, String methodName, Class[] parameterTypes) in assertSyntheticBufferMethodOverloadExists() argument 150 assertSyntheticMethodOverloadExists(bufferClass, methodName, parameterTypes, in assertSyntheticBufferMethodOverloadExists() 157 Class<?> clazz, String methodName, Class[] parameterTypes, in assertSyntheticMethodOverloadExists() argument 161 if (parameterTypes == null) { in assertSyntheticMethodOverloadExists() 162 parameterTypes = new Class[0]; in assertSyntheticMethodOverloadExists() 167 Method declaredMethod = clazz.getDeclaredMethod(methodName, parameterTypes); in assertSyntheticMethodOverloadExists() 174 if (methodMatches(methodName, parameterTypes, method)) { in assertSyntheticMethodOverloadExists() 229 private static boolean methodMatches(String methodName, Class[] parameterTypes, Method method) { in methodMatches() argument 231 && Arrays.equals(parameterTypes, method.getParameterTypes()); in methodMatches()
|