Searched refs:methodName (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
H A DSysTrace.java99 * @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/core/java/android/hardware/camera2/dispatch/
H A DMethodNameInvoker.java54 * @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/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java67 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/core/java/android/os/
H A DTrace.java208 * @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/jni/
H A Dandroid_animation_PropertyValuesHolder.cpp33 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 Dandroid_media_RemoteDisplay.cpp101 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
103 ALOGE("An exception was thrown by callback '%s'.", methodName);
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
H A DHasMethodAnnotationTest.java39 String methodName,
42 Method method = aClass.getMethod(methodName);
38 methodHasAnnotation(Class<? extends TestCase> aClass, String methodName, Class<? extends Annotation> expectedClassification ) argument
H A DHasAnnotationTest.java44 private boolean hasExampleAnnotation(Class<? extends TestCase> aClass, String methodName) argument
46 Method method = aClass.getMethod(methodName);
/frameworks/base/tools/aapt2/java/
H A DProguardRules.h38 inline void addMethod(const Source& source, const std::u16string& methodName) { argument
39 mKeepMethodSet[methodName].insert(source);
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DClassHasNativeVisitorTest.java70 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { argument
72 mMethodsFound.add(methodName);
74 super.setHasNativeMethods(hasNativeMethods, methodName);
H A DStubMethodAdapterTest.java46 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
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java761 String methodName;
763 methodName = String.format("pair(device=%s)", device);
765 methodName = String.format("acceptPair(device=%s)", device);
769 fail(String.format("%s bluetooth not enabled", methodName));
791 fail(String.format("%s invalid state: state=%d", methodName, state));
801 writeOutput(String.format("%s completed in %d ms", methodName,
804 writeOutput(String.format("%s completed", methodName));
815 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask));
828 String methodName = String.format("unpair(device=%s)", device);
831 fail(String.format("%s bluetooth not enabled", methodName));
901 connectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument
982 disconnectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DPropertyValuesHolder_Delegate.java64 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/services/core/jni/
H A Dcom_android_server_power_PowerManagerService.cpp60 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 Dcom_android_server_AssetAtlasService.cpp201 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
202 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
203 LOG_FATAL_IF(!var, "Unable to find method " methodName);
H A Dcom_android_server_hdmi_HdmiCecController.cpp174 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
176 ALOGE("An exception was thrown by callback '%s'.", methodName);
285 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
286 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
287 LOG_FATAL_IF(! var, "Unable to find method " methodName);
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java828 private Method getMethod(View view, String methodName, Class<?> paramType) { argument
839 mPair.first = methodName;
846 method = klass.getMethod(methodName);
848 method = klass.getMethod(methodName, paramType);
852 + methodName + getParameters(paramType));
858 + methodName + getParameters(paramType));
861 methods.put(new MutablePair<String, Class<?>>(methodName, paramType), method);
1003 final String methodName; field in class:RemoteViews.ReflectionActionWithoutParams
1007 ReflectionActionWithoutParams(int viewId, String methodName) { argument
1009 this.methodName
1124 String methodName; field in class:RemoteViews.BitmapReflectionAction
1126 BitmapReflectionAction(int viewId, String methodName, Bitmap bitmap) argument
1193 String methodName; field in class:RemoteViews.ReflectionAction
1197 ReflectionAction(int viewId, String methodName, int type, Object value) argument
2918 setBoolean(int viewId, String methodName, boolean value) argument
2929 setByte(int viewId, String methodName, byte value) argument
2940 setShort(int viewId, String methodName, short value) argument
2951 setInt(int viewId, String methodName, int value) argument
2962 setLong(int viewId, String methodName, long value) argument
2973 setFloat(int viewId, String methodName, float value) argument
2984 setDouble(int viewId, String methodName, double value) argument
2995 setChar(int viewId, String methodName, char value) argument
3006 setString(int viewId, String methodName, String value) argument
3017 setCharSequence(int viewId, String methodName, CharSequence value) argument
3028 setUri(int viewId, String methodName, Uri value) argument
3049 setBitmap(int viewId, String methodName, Bitmap value) argument
3060 setBundle(int viewId, String methodName, Bundle value) argument
3071 setIntent(int viewId, String methodName, Intent value) argument
3082 setIcon(int viewId, String methodName, Icon value) argument
[all...]
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestMethod.java40 public TestMethod(String methodName, Class<? extends TestCase> enclosingClass) { argument
43 this.testMethodName = methodName;
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DMainActivityTest.java41 private Object invokeMethod(Class targetClass, Object target, String methodName, Object... params) argument
47 Method method = targetClass.getDeclaredMethod(methodName, paramClasses);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
H A DAnnotationTypeUtil.java87 final String methodName = executableType.toString().substring(0, argStart);
90 return methodName + "(" + args + ")" + getDescription(
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
H A DBaseDataBinderTest.java115 protected void assertMethod(Class<?> klass, String methodName) throws NoSuchMethodException { argument
116 assertEquals(klass, mBinder.getClass().getDeclaredMethod(methodName).getReturnType());
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DClassHasNativeVisitor.java44 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { argument
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
H A DTestDelegates.java59 for (String methodName : methods) {
61 String className = methodName.substring(0, methodName.indexOf('#'));
/frameworks/base/core/java/android/animation/
H A DPropertyValuesHolder.java698 String methodName = getMethodName(prefix, mPropertyName);
702 returnVal = targetClass.getMethod(methodName, args);
722 returnVal = targetClass.getMethod(methodName, args);
1275 String methodName = getMethodName("set", mPropertyName);
1277 mJniSetter = nGetIntMethod(targetClass, methodName);
1422 String methodName = getMethodName("set", mPropertyName);
1424 mJniSetter = nGetFloatMethod(targetClass, methodName);
1527 String methodName = getMethodName("set", mPropertyName);
1532 mJniSetter = nGetMultipleFloatMethod(targetClass, methodName, numParams);
1634 String methodName
1713 nGetIntMethod(Class targetClass, String methodName) argument
1714 nGetFloatMethod(Class targetClass, String methodName) argument
1715 nGetMultipleIntMethod(Class targetClass, String methodName, int numParams) argument
1717 nGetMultipleFloatMethod(Class targetClass, String methodName, int numParams) argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelClass.java396 for (String methodName : methodNames) {
397 ModelMethod[] methods = getMethods(methodName, new ArrayList<ModelClass>(), staticOnly);
418 final Callable result = new Callable(Callable.Type.METHOD, methodName,
464 for (String methodName : methodNames) {
465 ModelMethod[] methods = getMethods(methodName, new ArrayList<ModelClass>(), false);

Completed in 927 milliseconds

123