/frameworks/base/core/java/android/hardware/camera2/dispatch/ |
H A D | MethodNameInvoker.java | 54 * @param methodName 59 * The same kind of value that would normally be returned by calling {@code methodName} 62 * @throws IllegalArgumentException if {@code methodName} does not exist on the target class 66 public <K> K invoke(String methodName, Object... params) { argument 67 checkNotNull(methodName, "methodName must not be null"); 69 Method targetMethod = mMethods.get(methodName); 73 if (method.getName().equals(methodName) && 76 mMethods.put(methodName, targetMethod); 83 "Method " + methodName [all...] |
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/ |
H A D | HasAnnotationTest.java | 44 private boolean hasExampleAnnotation(Class<? extends TestCase> aClass, String methodName) argument 46 Method method = aClass.getMethod(methodName);
|
H A D | HasMethodAnnotationTest.java | 39 String methodName, 42 Method method = aClass.getMethod(methodName); 38 methodHasAnnotation(Class<? extends TestCase> aClass, String methodName, Class<? extends Annotation> expectedClassification ) argument
|
/frameworks/base/tools/aapt2/java/ |
H A D | ProguardRules.h | 38 inline void addMethod(const Source& source, const std::u16string& methodName) { argument 39 mKeepMethodSet[methodName].insert(source);
|
H A D | ProguardRules.cpp | 65 void addMethod(size_t lineNumber, const std::u16string& methodName) { argument 66 mKeepSet->addMethod(Source(mSource.path, lineNumber), methodName); local
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | MainActivityTest.java | 41 private Object invokeMethod(Class targetClass, Object target, String methodName, Object... params) argument 47 Method method = targetClass.getDeclaredMethod(methodName, paramClasses);
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
H A D | ClassHasNativeVisitorTest.java | 70 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { argument 72 mMethodsFound.add(methodName); 74 super.setHasNativeMethods(hasNativeMethods, methodName);
|
H A D | StubMethodAdapterTest.java | 46 final String methodName = "returnTrue"; 48 testBoolean((name, type) -> false, Assert::assertTrue, methodName); 50 testBoolean((name, type) -> methodName.equals(name) && 51 Type.BOOLEAN_TYPE.equals(type.getReturnType()), Assert::assertFalse, methodName); 58 String methodName) throws Exception { 68 Method method = aClass.getMethod(methodName); 57 testBoolean(BiPredicate<String, Type> methodPredicate, Consumer<Boolean> assertion, String methodName) argument
|
H A D | DelegateClassAdapterTest.java | 442 public <T> T callMethod(Object instance, String methodName, boolean makePublic) throws Exception { argument 443 Method m = instance.getClass().getDeclaredMethod(methodName, (Class<?>[])null);
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
H A D | SysTrace.java | 99 * @param methodName The method name to appear in the trace. 102 public static void beginSectionAsync(String methodName, int cookie) { argument 104 Log.v(TAG, "beginSectionAsync " + methodName + " " + cookie); 113 * @param methodName The method name to appear in the trace. 116 public static void endSectionAsync(String methodName, int cookie) { argument 118 Log.v(TAG, "endSectionAsync " + methodName + " " + cookie);
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | TestCaseCollector.java | 67 String methodName = null; 69 methodName = className.substring(hashPos + 1); 72 addTestClass(className, methodName); 79 * @param methodName may be null, in which case all "public void testNNN(void)" functions 83 public void addTestClass(String className, String methodName) throws ClassNotFoundException { argument 85 if (methodName != null) { 86 addSingleTestMethod(clazz, methodName);
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestMethod.java | 40 public TestMethod(String methodName, Class<? extends TestCase> enclosingClass) { argument 43 this.testMethodName = methodName;
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/ |
H A D | BaseDataBinderTest.java | 115 protected void assertMethod(Class<?> klass, String methodName) throws NoSuchMethodException { argument 116 assertEquals(klass, mBinder.getClass().getDeclaredMethod(methodName).getReturnType());
|
/frameworks/base/core/jni/ |
H A D | android_animation_PropertyValuesHolder.cpp | 33 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName) 35 const char *nativeString = env->GetStringUTFChars(methodName, 0); 37 env->ReleaseStringUTFChars(methodName, nativeString); 42 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName) 44 const char *nativeString = env->GetStringUTFChars(methodName, 0); 46 env->ReleaseStringUTFChars(methodName, nativeString); 50 static jlong getMultiparameterMethod(JNIEnv* env, jclass targetClass, jstring methodName, argument 53 const char *nativeString = env->GetStringUTFChars(methodName, 0); 60 env->ReleaseStringUTFChars(methodName, nativeString); 65 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName, jin 32 android_animation_PropertyValuesHolder_getIntMethod( JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName) argument 41 android_animation_PropertyValuesHolder_getFloatMethod( JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName) argument 64 android_animation_PropertyValuesHolder_getMultipleFloatMethod( JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName, jint parameterCount) argument 70 android_animation_PropertyValuesHolder_getMultipleIntMethod( JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName, jint parameterCount) argument [all...] |
H A D | android_media_RemoteDisplay.cpp | 101 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 103 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_power_PowerManagerService.cpp | 60 static bool checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 62 ALOGE("An exception was thrown by callback '%s'.", methodName); 191 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 192 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 193 LOG_FATAL_IF(! var, "Unable to find method " methodName);
|
H A D | com_android_server_UsbHostManager.cpp | 50 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 52 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
H A D | PropertyValuesHolder_Delegate.java | 64 private static long registerMethod(Class<?> targetClass, String methodName, Class[] types, argument 68 methodName, nArgs); 84 method = targetClass.getDeclaredMethod(methodName, args); 117 /*package*/ static long nGetIntMethod(Class<?> targetClass, String methodName) { argument 118 return nGetMultipleIntMethod(targetClass, methodName, 1); 122 /*package*/ static long nGetFloatMethod(Class<?> targetClass, String methodName) { argument 123 return nGetMultipleFloatMethod(targetClass, methodName, 1); 127 /*package*/ static long nGetMultipleIntMethod(Class<?> targetClass, String methodName, argument 129 return registerMethod(targetClass, methodName, INTEGER_VARIANTS, numParams); 133 /*package*/ static long nGetMultipleFloatMethod(Class<?> targetClass, String methodName, argument [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | ClassHasNativeVisitor.java | 44 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { argument
|
H A D | DelegateMethodAdapter.java | 114 * @param methodName The simple name of the method. 123 String methodName, 132 mMethodName = methodName; 119 DelegateMethodAdapter(Log log, MethodVisitor mvOriginal, MethodVisitor mvDelegate, String className, String methodName, String desc, boolean isStatic, boolean isStaticClass) argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatViewInflater.java | 276 public DeclaredOnClickListener(@NonNull View hostView, @NonNull String methodName) { argument 278 mMethodName = methodName;
|
/frameworks/base/cmds/hid/jni/ |
H A D | com_android_commands_hid_Device.cpp | 57 static void checkAndClearException(JNIEnv* env, const char* methodName) { argument 59 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
/frameworks/base/core/java/android/os/ |
H A D | Trace.java | 208 * @param methodName The method name to appear in the trace. 212 public static void traceBegin(long traceTag, String methodName) { argument 214 nativeTraceBegin(traceTag, methodName); 240 * @param methodName The method name to appear in the trace. 245 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { argument 247 nativeAsyncTraceBegin(traceTag, methodName, cookie); 257 * @param methodName The method name to appear in the trace. 262 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { argument 264 nativeAsyncTraceEnd(traceTag, methodName, cookie);
|
/frameworks/base/core/java/android/view/ |
H A D | MenuInflater.java | 236 public InflatedOnMenuItemClickListener(Object realOwner, String methodName) { argument 240 mMethod = c.getMethod(methodName, PARAM_TYPES); 243 "Couldn't resolve menu item onClick handler " + methodName +
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 51 static status_t checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 53 ALOGE("An exception was thrown by callback '%s'.", methodName);
|