Home
last modified time | relevance | path

Searched refs:invoke (Results 1 – 25 of 77) sorted by relevance

1234

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java93 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()
DNotificationCompatUtils.java59 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()
DViewCompatUtils.java46 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()
DLocaleListCompatUtils.java34 return (Boolean) CompatUtils.invoke(localeList, Boolean.FALSE, METHOD_isEmpty); in isEmpty()
38 return (Locale) CompatUtils.invoke(localeList, null, METHOD_get, index); in get()
DInputMethodManagerCompatWrapper.java44 return (Boolean)CompatUtils.invoke(mImm, false /* defaultValue */, in switchToNextInputMethod()
49 return (Boolean)CompatUtils.invoke(mImm, false /* defaultValue */, in shouldOfferSwitchingToNextInputMethod()
DInputMethodSubtypeCompatUtils.java91 final String languageTag = (String) CompatUtils.invoke(subtype, null, GET_LANGUAGE_TAG); in getLocaleObject()
101 return (Boolean)CompatUtils.invoke(subtype, false, METHOD_isAsciiCapable); in isAsciiCapableWithAPI()
DInputMethodServiceCompatUtils.java34 return (Boolean)CompatUtils.invoke(ims, false /* defaultValue */, in enableHardwareAcceleration()
DLooperCompatUtils.java37 CompatUtils.invoke(looper, null /* default return value */, METHOD_quitSafely); in quitSafely()
/packages/apps/TV/tuner/src/com/android/tv/tuner/
DDvbDeviceAccessor.java76 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/
DBitmapUtils.java199 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()
DHttpClientFactory.java60 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/
DSystemPropertiesProxy.java38 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/
DInstanceMethod.java39 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/
DRunMethodInstrumentation.java134 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/
DMmsNetworkManager.java302 return (Integer) method.invoke( in startMmsConnectivity()
317 method.invoke( in endMmsConnectivity()
376 return (Boolean) method.invoke(mConnectivityManager); in isMobileDataEnabled()
DMmsHttpClient.java478 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()
DMmsRequest.java337 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/
DSSLSocketFactoryWrapper.java187 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/
DWallpaperManagerCompatVN.java25 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/
DTestNotificationManager.java37 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/
DTelephonyManagerCompat.java162 .invoke(telephonyManager, handle, enabled); in setVisualVoicemailEnabled()
178 .invoke(telephonyManager, handle); in isVisualVoicemailEnabled()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java142 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/
DCallingMethodActivity.java99 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/
DTestUtils.java97 method.invoke(null, adapterService); in setAdapterService()
119 method.invoke(null, adapterService); in clearAdapterService()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.java502 mSetLoopingMethod.invoke(mRingtone, true);
579 mSetVolumeMethod.invoke(mRingtone, volume);

1234