/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
D | ModelMethod.java | 70 ModelClass[] parameterTypes = getParameterTypes(); in acceptsArguments() local 71 if ((!isVarArgs && args.size() != parameterTypes.length) || in acceptsArguments() 72 (isVarArgs && args.size() < parameterTypes.length - 1)) { in acceptsArguments() 77 ModelClass parameterType = getParameter(i, parameterTypes); in acceptsArguments() 88 final ModelClass[] parameterTypes = getParameterTypes(); in isBetterArgMatchThan() local 92 final ModelClass thisParameter = getParameter(i, parameterTypes); in isBetterArgMatchThan() 102 private ModelClass getParameter(int index, ModelClass[] parameterTypes) { in getParameter() argument 103 int normalParamCount = isVarArgs() ? parameterTypes.length - 1 : parameterTypes.length; in getParameter() 105 return parameterTypes[index]; in getParameter() 107 return parameterTypes[parameterTypes.length - 1].getComponentType(); in getParameter()
|
D | ModelClass.java | 504 ModelClass[] parameterTypes = method.getParameterTypes(); in findSetter() local 505 if (parameterTypes != null && parameterTypes.length == 1 && in findSetter() 506 parameterTypes[0].equals(param) && in findSetter()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/ |
D | JavaMethod.java | 42 Class[] parameterTypes = mMethod.getParameterTypes(); in getParameterTypes() local 43 ModelClass[] parameterClasses = new ModelClass[parameterTypes.length]; in getParameterTypes() 44 for (int i = 0; i < parameterTypes.length; i++) { in getParameterTypes() 45 parameterClasses[i] = new JavaClass(parameterTypes[i]); in getParameterTypes()
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestGrouping.java | 232 java.lang.Class[] parameterTypes = constructor.getParameterTypes(); in hasValidConstructor() local 233 if (parameterTypes.length == 0 || in hasValidConstructor() 234 (parameterTypes.length == 1 && parameterTypes[0] == String.class)) { in hasValidConstructor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ |
D | EventBus.java | 765 Class<?>[] parameterTypes = m.getParameterTypes(); in registerSubscriber() local 767 if (isValidEventBusHandlerMethod(m, parameterTypes, isInterprocessEvent)) { in registerSubscriber() 768 Class<? extends Event> eventType = (Class<? extends Event>) parameterTypes[0]; in registerSubscriber() 796 " event: " + parameterTypes[0].getSimpleName() + in registerSubscriber() 938 private boolean isValidEventBusHandlerMethod(Method method, Class<?>[] parameterTypes, in isValidEventBusHandlerMethod() argument 944 parameterTypes.length == 1) { in isValidEventBusHandlerMethod() 945 if (EventBus.InterprocessEvent.class.isAssignableFrom(parameterTypes[0]) && in isValidEventBusHandlerMethod() 949 } else if (EventBus.Event.class.isAssignableFrom(parameterTypes[0]) && in isValidEventBusHandlerMethod() 955 if (!EventBus.Event.class.isAssignableFrom(parameterTypes[0])) { in isValidEventBusHandlerMethod()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/ |
D | AnnotationMethod.java | 99 ModelClass[] parameterTypes = new ModelClass[parameters.size()]; in getParameterTypes() local 101 parameterTypes[i] = new AnnotationClass(parameters.get(i)); in getParameterTypes() 103 return parameterTypes; in getParameterTypes()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
D | SetterStore.java | 96 .findClass(o1.mKey.parameterTypes[index1], null); 98 .findClass(o2.mKey.parameterTypes[index2], null); 612 final String parameterTypeStr = adapter.parameterTypes[index]; in createMultiAttributeSetter() 818 ModelClass[] parameterTypes = method.getParameterTypes(); in getBestSetter() local 819 ModelClass param = parameterTypes[0]; in getBestSetter() 1063 public final String[] parameterTypes; field in SetterStore.MultiValueAdapterKey 1078 this.parameterTypes = new String[parameters.size() - argStart]; in MultiValueAdapterKey() 1082 this.parameterTypes[i] = getQualifiedName(typeMirror); in MultiValueAdapterKey() 1101 final String thisParameter = parameterTypes[i]; in equals() 1102 final String thatParameter = that.parameterTypes[thatIndex]; in equals() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | AppCompatActionBar.java | 175 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod() argument 177 return owner == null ? null : owner.getMethod(name, parameterTypes); in getMethod()
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDex.java | 301 private static Method findMethod(Object instance, String name, Class<?>... parameterTypes) in findMethod() argument 305 Method method = clazz.getDeclaredMethod(name, parameterTypes); in findMethod() 319 Arrays.asList(parameterTypes) + " not found in " + instance.getClass()); in findMethod()
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
D | LayoutBinderWriter.kt | 1025 val parameterTypes = listenerMethod.parameterTypes in <lambda>() constant 1026 val returnType = listenerMethod.getReturnType(parameterTypes.toArrayList()) in <lambda>() 1045 val args = parameterTypes.withIndex().map { in <lambda>()
|