Home
last modified time | relevance | path

Searched refs:getMethod (Results 1 – 25 of 60) sorted by relevance

123

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java42 public static Method getMethod(final Class<?> targetClass, final String name, in getMethod() method in CompatUtils
48 return targetClass.getMethod(name, parameterTypes); in getMethod()
145 public <T> ToObjectMethodWrapper<T> getMethod(final String name, in getMethod() method in CompatUtils.ClassWrapper
147 return new ToObjectMethodWrapper<>(CompatUtils.getMethod(mClass, name, parameterTypes), in getMethod()
153 return new ToIntMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod()
159 return new ToFloatMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod()
165 return new ToBooleanMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod()
DNotificationCompatUtils.java28 CompatUtils.getMethod(Notification.Builder.class, "setColor", int.class);
30 CompatUtils.getMethod(Notification.Builder.class, "setVisibility", int.class);
32 CompatUtils.getMethod(Notification.Builder.class, "setCategory", String.class);
34 CompatUtils.getMethod(Notification.Builder.class, "setPriority", int.class);
36 CompatUtils.getMethod(Notification.Builder.class, "build");
DViewCompatUtils.java29 private static final Method METHOD_getPaddingEnd = CompatUtils.getMethod(
31 private static final Method METHOD_setPaddingRelative = CompatUtils.getMethod(
35 private static final Method METHOD_setTextAlignment = CompatUtils.getMethod(
DLocaleListCompatUtils.java25 CompatUtils.getMethod(CLASS_LocaleList, "get", int.class);
27 CompatUtils.getMethod(CLASS_LocaleList, "isEmpty");
DInputMethodManagerCompatWrapper.java28 private static final Method METHOD_switchToNextInputMethod = CompatUtils.getMethod(
34 CompatUtils.getMethod(InputMethodManager.class,
DInputMethodSubtypeCompatUtils.java53 private static final Method METHOD_isAsciiCapable = CompatUtils.getMethod(
86 CompatUtils.getMethod(InputMethodSubtype.class, "getLanguageTag");
DInputMethodServiceCompatUtils.java27 CompatUtils.getMethod(InputMethodService.class, "enableHardwareAcceleration");
DLooperCompatUtils.java32 private static final Method METHOD_quitSafely = CompatUtils.getMethod(
DConnectivityManagerCompatUtils.java26 private static final Method METHOD_isActiveNetworkMetered = CompatUtils.getMethod(
DCharacterCompat.java24 private static final Method METHOD_isAlphabetic = CompatUtils.getMethod(
/packages/apps/Dialer/java/com/android/voicemail/impl/
DTelephonyMangerCompat.java40 TelephonyManager.class.getMethod( in sendVisualVoicemailSms()
59 VisualVoicemailService.class.getMethod( in sendVisualVoicemailSms()
82 TelephonyManager.class.getMethod( in setVisualVoicemailSmsFilterSettings()
104 VisualVoicemailService.class.getMethod( in setVisualVoicemailSmsFilterSettings()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java198 Method method = clazz.getMethod("setDataSource", String.class); in createVideoThumbnail()
203 return (Bitmap) clazz.getMethod("captureFrame").invoke(instance); in createVideoThumbnail()
205 byte[] data = (byte[]) clazz.getMethod("getEmbeddedPicture").invoke(instance); in createVideoThumbnail()
210 return (Bitmap) clazz.getMethod("getFrameAtTime").invoke(instance); in createVideoThumbnail()
229 clazz.getMethod("release").invoke(instance); in createVideoThumbnail()
DHttpClientFactory.java59 Method newInstance = clazz.getMethod("newInstance", String.class); in newHttpClient()
95 Method method = clazz.getMethod("close", (Class<?>[]) null); in close()
/packages/apps/Contacts/tests/src/com/android/contacts/
DRunMethodInstrumentation.java127 method = clazz.getMethod(methodName, Context.class, Bundle.class); in invokeMethod()
138 method = clazz.getMethod(methodName, Context.class); in invokeMethod()
148 method = clazz.getMethod(methodName); in invokeMethod()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLSocketFactoryWrapper.java187 sslSocket.getClass().getMethod("setHostname", String.class).invoke(sslSocket, hostname); in potentiallyEnableSni()
205 sslSocket.getClass().getMethod("setUseSessionTickets", boolean.class) in potentiallyEnableSessionTickets()
252 sslSocket.getClass().getMethod("setHandshakeTimeout", int.class).invoke(sslSocket, in setHandshakeTimeout()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
DWallpaperManagerCompatVN.java23 Method setStream = WallpaperManager.class.getMethod("setStream", InputStream.class, in setStream()
36 Method clear = WallpaperManager.class.getMethod("clear", int.class); in clear()
DUtilities.java10 WallpaperManager.class.getMethod("getWallpaperFile", int.class); in isAtLeastN()
/packages/services/Car/car-lib/src/android/car/content/pm/
DCarAppBlockingPolicy.java47 readBlob = parcelClass.getMethod("readBlob", new Class[] {});
48 writeBlob = parcelClass.getMethod("writeBlob", new Class[] {byte[].class});
/packages/apps/Dialer/java/com/android/dialer/compat/
DCompatUtils.java148 Class.forName(className).getMethod(methodName, parameterTypes); in isMethodAvailable()
190 .getMethod(methodName, parameterTypes) in invokeMethod()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpClient.java476 final Method method = SubscriptionManager.class.getMethod("getSlotIndex", Integer.TYPE); in getSlotId()
494 final Method method = mTelephonyManager.getClass().getMethod("getNai", Integer.TYPE); in getNaiBySystemApi()
513 final Method method = systemPropertiesClass.getMethod("get", String.class); in getNaiBySystemProperty()
DMmsNetworkManager.java299 final Method method = mConnectivityManager.getClass().getMethod( in startMmsConnectivity()
314 final Method method = mConnectivityManager.getClass().getMethod( in endMmsConnectivity()
DMmsRequest.java334 final Method method = connMgr.getClass().getMethod("requestRouteToHostAddress", in requestRouteToHostAddress()
345 final Method method = connMgr.getClass().getMethod("requestRouteToHost", in requestRouteToHostAddress()
/packages/apps/Dialer/java/com/android/contacts/common/compat/
DTelephonyManagerCompat.java195 .getMethod("setVisualVoicemailEnabled", PhoneAccountHandle.class, boolean.class) in setVisualVoicemailEnabled()
214 .getMethod("isVisualVoicemailEnabled", PhoneAccountHandle.class) in isVisualVoicemailEnabled()
/packages/apps/Contacts/src/com/android/contacts/compat/
DCompatUtils.java227 Class.forName(className).getMethod(methodName, parameterTypes); in isMethodAvailable()
261 return Class.forName(className).getMethod(methodName, parameterTypes) in invokeMethod()
/packages/apps/Music/src/com/android/music/
DSharedPreferencesCompat.java34 return cls.getMethod("apply"); in findApplyMethod()

123