/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | DeviceOwnerHelper.java | 87 Class<?>[] parameterTypes = null; in runManagerMethod() local 90 parameterTypes = new Class<?>[numberArgs]; in runManagerMethod() 93 getArg(extras, args, parameterTypes, i); in runManagerMethod() 96 + Arrays.toString(parameterTypes) + ")"); in runManagerMethod() 101 Method method = findMethod(managerClass, methodName, parameterTypes); in runManagerMethod() 161 private static Method findMethod(Class<?> clazz, String methodName, Class<?>[] parameterTypes) in findMethod() argument 166 if (parameterTypes != null && parameterTypes.length == 2) { in findMethod() 184 Method method = findMethodWithNullParameterCall(clazz, methodName, parameterTypes); in findMethod() 188 return clazz.getDeclaredMethod(methodName, parameterTypes); in findMethod() 193 Class<?>[] parameterTypes) { in findMethodWithNullParameterCall() argument [all …]
|
D | DataFormatter.java | 265 static void getArg(Bundle extras, Object[] args, @Nullable Class<?>[] parameterTypes, in getArg() argument 324 if (parameterTypes != null) { in getArg() 360 parameterTypes[index] = parameterType; in getArg()
|
/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()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/ |
D | MethodSignature.java | 186 List<TypeMirror> parameterTypes, Set<TypeMirror> exceptions) { in MethodSignature() argument 190 mParameterTypes = ImmutableList.copyOf(parameterTypes.stream() in MethodSignature()
|