/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | CompatUtils.java | 42 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()
|
D | NotificationCompatUtils.java | 28 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");
|
D | ViewCompatUtils.java | 29 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(
|
D | LocaleListCompatUtils.java | 25 CompatUtils.getMethod(CLASS_LocaleList, "get", int.class); 27 CompatUtils.getMethod(CLASS_LocaleList, "isEmpty");
|
D | InputMethodManagerCompatWrapper.java | 28 private static final Method METHOD_switchToNextInputMethod = CompatUtils.getMethod( 34 CompatUtils.getMethod(InputMethodManager.class,
|
D | InputMethodSubtypeCompatUtils.java | 53 private static final Method METHOD_isAsciiCapable = CompatUtils.getMethod( 86 CompatUtils.getMethod(InputMethodSubtype.class, "getLanguageTag");
|
D | InputMethodServiceCompatUtils.java | 27 CompatUtils.getMethod(InputMethodService.class, "enableHardwareAcceleration");
|
D | LooperCompatUtils.java | 32 private static final Method METHOD_quitSafely = CompatUtils.getMethod(
|
D | ConnectivityManagerCompatUtils.java | 26 private static final Method METHOD_isActiveNetworkMetered = CompatUtils.getMethod(
|
D | CharacterCompat.java | 24 private static final Method METHOD_isAlphabetic = CompatUtils.getMethod(
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | TelephonyMangerCompat.java | 40 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/ |
D | BitmapUtils.java | 198 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()
|
D | HttpClientFactory.java | 59 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/ |
D | RunMethodInstrumentation.java | 127 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/ |
D | SSLSocketFactoryWrapper.java | 187 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/ |
D | WallpaperManagerCompatVN.java | 23 Method setStream = WallpaperManager.class.getMethod("setStream", InputStream.class, in setStream() 36 Method clear = WallpaperManager.class.getMethod("clear", int.class); in clear()
|
D | Utilities.java | 10 WallpaperManager.class.getMethod("getWallpaperFile", int.class); in isAtLeastN()
|
/packages/services/Car/car-lib/src/android/car/content/pm/ |
D | CarAppBlockingPolicy.java | 47 readBlob = parcelClass.getMethod("readBlob", new Class[] {}); 48 writeBlob = parcelClass.getMethod("writeBlob", new Class[] {byte[].class});
|
/packages/apps/Dialer/java/com/android/dialer/compat/ |
D | CompatUtils.java | 148 Class.forName(className).getMethod(methodName, parameterTypes); in isMethodAvailable() 190 .getMethod(methodName, parameterTypes) in invokeMethod()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsHttpClient.java | 476 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()
|
D | MmsNetworkManager.java | 299 final Method method = mConnectivityManager.getClass().getMethod( in startMmsConnectivity() 314 final Method method = mConnectivityManager.getClass().getMethod( in endMmsConnectivity()
|
D | MmsRequest.java | 334 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/ |
D | TelephonyManagerCompat.java | 195 .getMethod("setVisualVoicemailEnabled", PhoneAccountHandle.class, boolean.class) in setVisualVoicemailEnabled() 214 .getMethod("isVisualVoicemailEnabled", PhoneAccountHandle.class) in isVisualVoicemailEnabled()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | CompatUtils.java | 227 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/ |
D | SharedPreferencesCompat.java | 34 return cls.getMethod("apply"); in findApplyMethod()
|