Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 14 of 14) sorted by relevance

/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DInstanceMethod.java31 final String receiverName, final String methodName) { in InstanceMethod() argument
35 this.name = methodName; in InstanceMethod()
62 public static InstanceMethod newInstance(final Class<?> receiverClass, final String methodName, in newInstance() argument
69 receiverClass.getMethod(methodName, parameterTypes), className, methodName); in newInstance()
71 return new InstanceMethod(receiverClass, null, className, methodName); in newInstance()
75 public static InstanceMethod newInstance(final String className, final String methodName, in newInstance() argument
78 return newInstance(Class.forName(className), methodName, parameterTypes); in newInstance()
80 return new InstanceMethod(null, null, className, methodName); in newInstance()
/packages/apps/Contacts/src/com/android/contacts/compat/
DCompatUtils.java220 public static boolean isMethodAvailable(@Nullable String className, @Nullable String methodName, in isMethodAvailable() argument
222 if (TextUtils.isEmpty(className) || TextUtils.isEmpty(methodName)) { in isMethodAvailable()
227 Class.forName(className).getMethod(methodName, parameterTypes); in isMethodAvailable()
231 Log.v(TAG, "Could not find method: " + className + "#" + methodName); in isMethodAvailable()
236 + methodName + " exists at runtime", t); in isMethodAvailable()
253 public static Object invokeMethod(@Nullable Object instance, @Nullable String methodName, in invokeMethod() argument
255 if (instance == null || TextUtils.isEmpty(methodName)) { in invokeMethod()
261 return Class.forName(className).getMethod(methodName, parameterTypes) in invokeMethod()
266 Log.v(TAG, "Could not invoke method: " + className + "#" + methodName); in invokeMethod()
271 + "#" + methodName + " at runtime", t); in invokeMethod()
/packages/apps/Contacts/tests/src/com/android/contacts/
DRunMethodInstrumentation.java50 private String methodName; field in RunMethodInstrumentation
61 methodName = arguments.getString("method"); in onCreate()
65 Log.d(TAG, "Running " + className + "." + methodName); in onCreate()
82 if (className == null || methodName == null) { in onStart()
99 invokeMethod(args, className, methodName); in onStart()
109 private void invokeMethod(Bundle args, String className, String methodName) throws in invokeMethod() argument
128 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/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DApiHelper.java214 private static boolean hasMethod(String className, String methodName, in hasMethod() argument
218 klass.getDeclaredMethod(methodName, parameterTypes); in hasMethod()
226 Class<?> klass, String methodName, Class<?> ... paramTypes) { in hasMethod() argument
228 klass.getDeclaredMethod(methodName, paramTypes); in hasMethod()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth.h35 CallbackEnv(const char *methodName) : mName(methodName) { in CallbackEnv() argument
Dcom_android_bluetooth_btservice_AdapterService.cpp830 const char* methodName) { in callByteArrayGetter() argument
832 jmethodID myMethod = env->GetMethodID(myClass, methodName, "()[B"); in callByteArrayGetter()
/packages/apps/Camera2/src/com/android/camera/util/
DQuickActivity.java202 private void logLifecycle(String methodName, boolean start) { in logLifecycle() argument
204 Log.v(TAG, prefix + " " + methodName + ": Activity = " + toString()); in logLifecycle()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DBaseTestingActivity.java102 String methodName = cmd.getStringExtra(EXTRA_METHOD); in handleCommand() local
106 if (methodName.equals(m.getName()) && in handleCommand()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSessionTest.java238 private Session createTestSession(String name, String methodName) { in createTestSession() argument
239 return new Session(name, methodName, 0, false, null); in createTestSession()
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/
DTelephonyManagerTestApp.java112 String methodName = (parameters == null) ? (method.getName() + "()") : method.getName(); in getView() local
115 ((TextView) convertView.findViewById(R.id.method_name)).setText(methodName); in getView()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionServiceImpl.java319 final Action action, final String methodName) { in createLoggingTimer() argument
320 return new LoggingTimer(TAG, action.getClass().getSimpleName() + methodName, in createLoggingTimer()
/packages/modules/NetworkStack/tests/unit/src/com/android/net/module/util/
DTrackRecordTest.kt229 assertTrue(e.stackTrace[0].methodName.contains("testInterpreter")) in <lambda>()
230 assertTrue(e.stackTrace[0].methodName.contains("thread1")) in <lambda>()
/packages/apps/Messaging/src/com/android/messaging/util/
DDebugUtils.java423 String methodName = trace[i].getMethodName();
424 if ("getCaller".equals(methodName)) {
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java461 @NonNull final String methodName) { in callVoidMethodIfExists() argument
463 final Method method = target.getClass().getDeclaredMethod(methodName); in callVoidMethodIfExists()