Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java43 final Class<?>... parameterTypes) { in getMethod() argument
48 return targetClass.getMethod(name, parameterTypes); in getMethod()
146 final T defaultValue, final Class<?>... parameterTypes) { in getMethod() argument
147 return new ToObjectMethodWrapper<>(CompatUtils.getMethod(mClass, name, parameterTypes), in getMethod()
152 final Class<?>... parameterTypes) { in getPrimitiveMethod() argument
153 return new ToIntMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod()
158 final Class<?>... parameterTypes) { in getPrimitiveMethod() argument
159 return new ToFloatMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod()
164 final boolean defaultValue, final Class<?>... parameterTypes) { in getPrimitiveMethod() argument
165 return new ToBooleanMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DBasePreferenceControllerSignatureInspector.java87 final Class[] parameterTypes = constructor.getParameterTypes(); in hasValidConstructorSignature() local
88 if (parameterTypes.length == 1) { in hasValidConstructorSignature()
89 return Context.class.isAssignableFrom(parameterTypes[0]); in hasValidConstructorSignature()
90 } else if (parameterTypes.length == 2) { in hasValidConstructorSignature()
91 return Context.class.isAssignableFrom(parameterTypes[0]) in hasValidConstructorSignature()
92 && String.class.isAssignableFrom(parameterTypes[1]); in hasValidConstructorSignature()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DInstanceMethod.java63 final Class<?>... parameterTypes) { in newInstance() argument
69 receiverClass.getMethod(methodName, parameterTypes), className, methodName); in newInstance()
76 final Class<?>... parameterTypes) { in newInstance() argument
78 return newInstance(Class.forName(className), methodName, parameterTypes); in newInstance()
/packages/apps/Contacts/src/com/android/contacts/compat/
DCompatUtils.java221 Class<?>... parameterTypes) { in isMethodAvailable() argument
227 Class.forName(className).getMethod(methodName, parameterTypes); in isMethodAvailable()
254 Class<?>[] parameterTypes, Object[] parameters) { in invokeMethod() argument
261 return Class.forName(className).getMethod(methodName, parameterTypes) in invokeMethod()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DApiHelper.java215 Class<?>... parameterTypes) { in hasMethod() argument
218 klass.getDeclaredMethod(methodName, parameterTypes); in hasMethod()