/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | CompatUtils.java | 93 public static Object invoke(final Object receiver, final Object defaultValue, in invoke() method in CompatUtils 99 return method.invoke(receiver, args); in invoke() 178 public T invoke(final Object receiver, final Object... args) { in invoke() method in CompatUtils.ToObjectMethodWrapper 179 return (T) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke() 190 public int invoke(final Object receiver, final Object... args) { in invoke() method in CompatUtils.ToIntMethodWrapper 191 return (int) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke() 202 public float invoke(final Object receiver, final Object... args) { in invoke() method in CompatUtils.ToFloatMethodWrapper 203 return (float) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke() 214 public boolean invoke(final Object receiver, final Object... args) { in invoke() method in CompatUtils.ToBooleanMethodWrapper 215 return (boolean) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke()
|
D | NotificationCompatUtils.java | 59 CompatUtils.invoke(builder, null, METHOD_setColor, color); in setColor() 63 CompatUtils.invoke(builder, null, METHOD_setVisibility, VISIBILITY_SECRET); in setVisibilityToSecret() 67 CompatUtils.invoke(builder, null, METHOD_setCategory, CATEGORY_RECOMMENDATION); in setCategoryToRecommendation() 71 CompatUtils.invoke(builder, null, METHOD_setPriority, PRIORITY_LOW); in setPriorityToLow() 78 return (Notification) CompatUtils.invoke(builder, null, METHOD_build); in build()
|
D | ViewCompatUtils.java | 46 return (Integer)CompatUtils.invoke(view, 0, METHOD_getPaddingEnd); in getPaddingEnd() 55 CompatUtils.invoke(view, null, METHOD_setPaddingRelative, start, top, end, bottom); in setPaddingRelative() 68 CompatUtils.invoke(view, null, METHOD_setTextAlignment, textAlignment); in setTextAlignment()
|
D | LocaleListCompatUtils.java | 34 return (Boolean) CompatUtils.invoke(localeList, Boolean.FALSE, METHOD_isEmpty); in isEmpty() 38 return (Locale) CompatUtils.invoke(localeList, null, METHOD_get, index); in get()
|
D | InputMethodManagerCompatWrapper.java | 44 return (Boolean)CompatUtils.invoke(mImm, false /* defaultValue */, in switchToNextInputMethod() 49 return (Boolean)CompatUtils.invoke(mImm, false /* defaultValue */, in shouldOfferSwitchingToNextInputMethod()
|
D | InputMethodSubtypeCompatUtils.java | 91 final String languageTag = (String) CompatUtils.invoke(subtype, null, GET_LANGUAGE_TAG); in getLocaleObject() 101 return (Boolean)CompatUtils.invoke(subtype, false, METHOD_isAsciiCapable); in isAsciiCapableWithAPI()
|
D | InputMethodServiceCompatUtils.java | 34 return (Boolean)CompatUtils.invoke(ims, false /* defaultValue */, in enableHardwareAcceleration()
|
D | LooperCompatUtils.java | 37 CompatUtils.invoke(looper, null /* default return value */, METHOD_quitSafely); in quitSafely()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/ |
D | DvbDeviceAccessor.java | 76 List dvbDeviceInfoList = (List) sGetDvbDeviceListMethod.invoke(mTvInputManager); in getDvbDeviceList() 98 List dvbDeviceInfoList = (List) sGetDvbDeviceListMethod.invoke(mTvInputManager); in isDvbDeviceAvailable() 112 sOpenDvbDeviceMethod.invoke( in openDvbDevice() 177 return (int) sGetAdapterIdMethod.invoke(mDvbDeviceInfo); in initAdapterId() 192 return (int) sGetDeviceIdMethod.invoke(mDvbDeviceInfo); in initDeviceId()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 199 method.invoke(instance, filePath); 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 | 60 Object instance = newInstance.invoke(null, userAgent); in newHttpClient() 96 method.invoke(client, (Object[]) null); in close()
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | SystemPropertiesProxy.java | 38 return (boolean) getBooleanMethod.invoke(SystemPropertiesClass, key, def); in getBoolean() 54 return (int) getIntMethod.invoke(SystemPropertiesClass, key, def); in getInt() 70 return (String) getIntMethod.invoke(SystemPropertiesClass, key, def); in getString()
|
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
D | InstanceMethod.java | 39 public Object invoke(final Object receiverObject, final Object... args) { in invoke() method in InstanceMethod 47 return method.invoke(receiverObject); in invoke() 49 return method.invoke(clazz, args); in invoke()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | RunMethodInstrumentation.java | 134 method.invoke(clazz, methodArgs); in invokeMethod() 145 method.invoke(clazz, methodArgs); in invokeMethod() 150 method.invoke(clazz); in invokeMethod()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsNetworkManager.java | 302 return (Integer) method.invoke( in startMmsConnectivity() 317 method.invoke( in endMmsConnectivity() 376 return (Boolean) method.invoke(mConnectivityManager); in isMobileDataEnabled()
|
D | MmsHttpClient.java | 478 return (Integer) method.invoke(null, subId); in getSlotId() 496 return (String) method.invoke(mTelephonyManager, slotId); in getNaiBySystemApi() 515 return (String) method.invoke(null, NAI_PROPERTY); in getNaiBySystemProperty()
|
D | MmsRequest.java | 337 return (Boolean) method.invoke(connMgr, TYPE_MOBILE_MMS, inetAddr); in requestRouteToHostAddress() 348 return (Boolean) method.invoke(connMgr, TYPE_MOBILE_MMS, in requestRouteToHostAddress()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | SSLSocketFactoryWrapper.java | 187 sslSocket.getClass().getMethod("setHostname", String.class).invoke(sslSocket, hostname); in potentiallyEnableSni() 206 .invoke(sslSocket, true); in potentiallyEnableSessionTickets() 252 sslSocket.getClass().getMethod("setHandshakeTimeout", int.class).invoke(sslSocket, in setHandshakeTimeout()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
D | WallpaperManagerCompatVN.java | 25 setStream.invoke(mWallpaperManager, data, visibleCropHint, allowBackup, whichWallpaper); in setStream() 37 clear.invoke(mWallpaperManager, whichWallpaper); in clear()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
D | TestNotificationManager.java | 37 private final Answer<Void> mAnswer = this::invoke; 54 private Void invoke(InvocationOnMock invocation) { in invoke() method in TestNotificationManager
|
/packages/apps/Dialer/java/com/android/dialer/compat/telephony/ |
D | TelephonyManagerCompat.java | 162 .invoke(telephonyManager, handle, enabled); in setVisualVoicemailEnabled() 178 .invoke(telephonyManager, handle); in isVisualVoicemailEnabled()
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewBrowserActivity.java | 142 mCallback.invoke(mOrigin, true, false); in grant() 147 mCallback.invoke(mOrigin, false, false); in deny() 376 callback.invoke(origin, true, false); in createAndInitializeWebView() 606 summary.append(method.getName() + " : " + method.invoke(settings) + "\n"); in about()
|
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/ |
D | CallingMethodActivity.java | 99 Object result = mMethod.invoke(new TelephonyManager(this, subId), mParameterValues); in executeCallMethod() 108 mMethod.invoke(new TelephonyManager(this, subId), mParameterValues); in executeCallMethod()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | TestUtils.java | 97 method.invoke(null, adapterService); in setAdapterService() 119 method.invoke(null, adapterService); in clearAdapterService()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AsyncRingtonePlayer.java | 502 mSetLoopingMethod.invoke(mRingtone, true); 579 mSetVolumeMethod.invoke(mRingtone, volume);
|