Home
last modified time | relevance | path

Searched refs:getMethod (Results 1 – 25 of 74) 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/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/service/chat/
DMinimalCpmChatService.java116 if (!TextUtils.equals(msg.getMethod(), Request.ACK)) { in sendSipRequest()
120 if (TextUtils.equals(msg.getMethod(), Request.BYE)) { in sendSipRequest()
130 if (TextUtils.equals(msg.getCSeq().getMethod(), Request.BYE)) { in sendSipResponse()
132 } else if (TextUtils.equals(msg.getCSeq().getMethod(), Request.INVITE) in sendSipResponse()
147 } else if (TextUtils.equals(request.getMethod(), Request.INVITE)) { in handleRequest()
188 if (TextUtils.equals(response.getCSeq().getMethod(), Request.INVITE) in handleResponse()
/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.java128 method = clazz.getMethod(methodName, Context.class, Bundle.class); in invokeMethod()
139 method = clazz.getMethod(methodName, Context.class); in invokeMethod()
149 method = clazz.getMethod(methodName); in invokeMethod()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DRedirectListenerTest.java114 when(mIHTTPSession.getMethod()).thenReturn(NanoHTTPD.Method.PUT); in timeOutForKnownGetRequest()
134 when(mIHTTPSession.getMethod()).thenReturn(NanoHTTPD.Method.GET); in receiveUnknownGetRequest()
156 when(mIHTTPSession.getMethod()).thenReturn(NanoHTTPD.Method.GET); in receiveKnownGetRequest()
/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/packages/ScriptExecutor/src/
DJniUtils.cpp64 jmethodID getMethod = env->GetMethodID(persistableBundleClass.get(), "get", in pushBundleToLuaTable() local
73 ScopedLocalRef<jobject> value(env, env->CallObjectMethod(bundle, getMethod, key.get())); in pushBundleToLuaTable()
214 jmethodID getMethod = env->GetMethodID(listClass.get(), "get", "(I)Ljava/lang/Object;"); in pushBundleListToLuaTable() local
222 pushBundleToLuaTable(env, lua, env->CallObjectMethod(bundleList, getMethod, i)); in pushBundleListToLuaTable()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DAppActiveStreams.java53 public int getMethod() { in getMethod() method in AppActiveStreams.StreamCallbackWithState
118 int oldMethod = callbackWithState.getMethod(); in updateStreamingMethod()
/packages/apps/Dialer/java/com/android/dialer/compat/telephony/
DTelephonyManagerCompat.java161 .getMethod("setVisualVoicemailEnabled", PhoneAccountHandle.class, boolean.class) in setVisualVoicemailEnabled()
177 .getMethod("isVisualVoicemailEnabled", PhoneAccountHandle.class) in isVisualVoicemailEnabled()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/javatests/com/android/libraries/rcs/simpleclient/service/chat/
DSimpleChatSessionTest.java170 if (msg.getMethod().equals(Request.INVITE)) { in start_reply200_returnSuccessfulFuture()
199 if (msg.getMethod().equals(Request.INVITE)) { in start_reply404_returnFailedFuture()
/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/services/Car/car-test-lib/src/android/car/test/
DApiHelper.java47 Member member = getMethod(api); in resolve()
78 private static Method getMethod(String fullyQualifiedMethodName) { in getMethod() method in ApiHelper
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsNetworkManager.java299 final Method method = mConnectivityManager.getClass().getMethod( in startMmsConnectivity()
314 final Method method = mConnectivityManager.getClass().getMethod( in endMmsConnectivity()
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()

123