Home
last modified time | relevance | path

Searched refs:invoke (Results 1 – 25 of 91) 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()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/
DMainActivity.java227 Object currentConfig = getConfig.invoke(canary); in initLeakCanary()
230 .getMethod("getDumpHeap").invoke(currentConfig); in initLeakCanary()
232 .getMethod("getDumpHeapWhenDebugging").invoke(currentConfig); in initLeakCanary()
234 .getMethod("getReferenceMatchers").invoke(currentConfig); in initLeakCanary()
236 .getMethod("getObjectInspectors").invoke(currentConfig); in initLeakCanary()
238 .getMethod("getOnHeapAnalyzedListener").invoke(currentConfig); in initLeakCanary()
241 .getMethod("getMetatadaExtractor").invoke(currentConfig); in initLeakCanary()
243 .getMethod("getComputeRetainedHeapSize").invoke(currentConfig); in initLeakCanary()
245 .getMethod("getMaxStoredHeapDumps").invoke(currentConfig); in initLeakCanary()
247 .getMethod("getUseExperimentalLeakFinders").invoke(currentConfig); in initLeakCanary()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/
DDvbDeviceAccessor.java83 List dvbDeviceInfoList = (List) sGetDvbDeviceListMethod.invoke(mTvInputManager); in getDvbDeviceList()
108 List dvbDeviceInfoList = (List) sGetDvbDeviceListMethod.invoke(mTvInputManager); in isDvbDeviceAvailable()
125 sOpenDvbDeviceMethod.invoke( in openDvbDevice()
190 return (int) sGetAdapterIdMethod.invoke(mDvbDeviceInfo); in initAdapterId()
205 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/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/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/registration/
DMessageConverter.java89 method.invoke( in toStackMessage()
101 return (Message) method.invoke(new StringMsgParser(), message.toEncodedMessage()); in toStackMessage()
/packages/apps/Dialer/java/com/android/dialer/compat/telephony/
DTelephonyManagerCompat.java162 .invoke(telephonyManager, handle, enabled); in setVisualVoicemailEnabled()
178 .invoke(telephonyManager, handle); in isVisualVoicemailEnabled()
/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/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/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerListTest.java98 method.invoke(null, mockConnector); in setUp()
117 method.invoke(null, (BrowsablePlayerConnector) null); in tearDown()
/packages/services/Car/cpp/watchdog/car-watchdog-lib/src/android/car/watchdoglib/
DCarWatchdogDaemonHelper.java89 void invoke(ICarWatchdog daemon) throws RemoteException; in invoke() method
302 r.invoke(daemon); in invokeDaemonMethod()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java98 method.invoke(null, adapterService); in setAdapterService()
120 method.invoke(null, adapterService); in clearAdapterService()

1234