/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
D | InstanceMethod.java | 31 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/ |
D | CompatUtils.java | 220 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/ |
D | RunMethodInstrumentation.java | 50 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/ |
D | ApiHelper.java | 214 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/ |
D | com_android_bluetooth.h | 35 CallbackEnv(const char *methodName) : mName(methodName) { in CallbackEnv() argument
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 830 const char* methodName) { in callByteArrayGetter() argument 832 jmethodID myMethod = env->GetMethodID(myClass, methodName, "()[B"); in callByteArrayGetter()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | QuickActivity.java | 202 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/ |
D | BaseTestingActivity.java | 102 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/ |
D | SessionTest.java | 238 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/ |
D | TelephonyManagerTestApp.java | 112 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/ |
D | ActionServiceImpl.java | 319 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/ |
D | TrackRecordTest.kt | 229 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/ |
D | DebugUtils.java | 423 String methodName = trace[i].getMethodName(); 424 if ("getCaller".equals(methodName)) {
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 461 @NonNull final String methodName) { in callVoidMethodIfExists() argument 463 final Method method = target.getClass().getDeclaredMethod(methodName); in callVoidMethodIfExists()
|