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

12

/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/tools/layoutlib/bridge/src/android/animation/
H A DPropertyValuesHolder_Delegate.java39 /*package*/ static int nGetIntMethod(Class<?> targetClass, String methodName) { argument
45 /*package*/ static int nGetFloatMethod(Class<?> targetClass, String methodName) { argument
/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);
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
H A Dandroid_view_PointerIcon.cpp114 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \
115 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \
116 LOG_FATAL_IF(! var, "Unable to find method " methodName);
118 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
119 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
120 LOG_FATAL_IF(! var, "Unable to find method " methodName);
H A Dandroid_view_InputDevice.cpp84 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
85 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
86 LOG_FATAL_IF(! var, "Unable to find method " methodName);
H A Dandroid_view_KeyEvent.cpp126 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \
127 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \
128 LOG_FATAL_IF(! var, "Unable to find static method" methodName);
130 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \
131 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \
132 LOG_FATAL_IF(! var, "Unable to find method" methodName);
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);
H A Dandroid_view_GLES20DisplayList.cpp362 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
363 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
364 LOG_FATAL_IF(! var, "Unable to find method " methodName);
367 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor)
H A Dandroid_view_DisplayEventReceiver.cpp268 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
269 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
270 LOG_FATAL_IF(! var, "Unable to find method " methodName);
H A Dandroid_view_InputChannel.cpp283 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
284 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
285 LOG_FATAL_IF(! var, "Unable to find method " methodName);
H A Dandroid_view_InputQueue.cpp265 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \
267 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \
268 LOG_FATAL_IF(! var, "Unable to find method" methodName); \
H A Dandroid_view_KeyCharacterMap.cpp228 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
229 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
230 LOG_FATAL_IF(! var, "Unable to find method " methodName);
/frameworks/base/core/java/android/os/
H A DTrace.java194 * @param methodName The method name to appear in the trace.
198 public static void traceBegin(long traceTag, String methodName) { argument
200 nativeTraceBegin(traceTag, methodName);
226 * @param methodName The method name to appear in the trace.
231 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { argument
233 nativeAsyncTraceBegin(traceTag, methodName, cookie);
243 * @param methodName The method name to appear in the trace.
248 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { argument
250 nativeAsyncTraceEnd(traceTag, methodName, cookie);
/frameworks/testing/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/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/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);
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java777 String methodName;
779 methodName = String.format("pair(device=%s)", device);
781 methodName = String.format("acceptPair(device=%s)", device);
785 fail(String.format("%s bluetooth not enabled", methodName));
807 fail(String.format("%s invalid state: state=%d", methodName, state));
817 writeOutput(String.format("%s completed in %d ms", methodName,
820 writeOutput(String.format("%s completed", methodName));
831 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask));
844 String methodName = String.format("unpair(device=%s)", device);
847 fail(String.format("%s bluetooth not enabled", methodName));
906 connectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument
987 disconnectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java749 private Method getMethod(View view, String methodName, Class<?> paramType) { argument
760 mPair.first = methodName;
767 method = klass.getMethod(methodName);
769 method = klass.getMethod(methodName, paramType);
773 + methodName + getParameters(paramType));
779 + methodName + getParameters(paramType));
782 methods.put(new MutablePair<String, Class<?>>(methodName, paramType), method);
894 final String methodName; field in class:RemoteViews.ReflectionActionWithoutParams
898 ReflectionActionWithoutParams(int viewId, String methodName) { argument
900 this.methodName
1008 String methodName; field in class:RemoteViews.BitmapReflectionAction
1010 BitmapReflectionAction(int viewId, String methodName, Bitmap bitmap) argument
1075 String methodName; field in class:RemoteViews.ReflectionAction
1079 ReflectionAction(int viewId, String methodName, int type, Object value) argument
2197 setBoolean(int viewId, String methodName, boolean value) argument
2208 setByte(int viewId, String methodName, byte value) argument
2219 setShort(int viewId, String methodName, short value) argument
2230 setInt(int viewId, String methodName, int value) argument
2241 setLong(int viewId, String methodName, long value) argument
2252 setFloat(int viewId, String methodName, float value) argument
2263 setDouble(int viewId, String methodName, double value) argument
2274 setChar(int viewId, String methodName, char value) argument
2285 setString(int viewId, String methodName, String value) argument
2296 setCharSequence(int viewId, String methodName, CharSequence value) argument
2307 setUri(int viewId, String methodName, Uri value) argument
2328 setBitmap(int viewId, String methodName, Bitmap value) argument
2339 setBundle(int viewId, String methodName, Bundle value) argument
2350 setIntent(int viewId, String methodName, Intent value) argument
[all...]
/frameworks/base/services/jni/
H A Dcom_android_server_power_PowerManagerService.cpp66 static bool checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
68 ALOGE("An exception was thrown by callback '%s'.", methodName);
214 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
215 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
216 LOG_FATAL_IF(! var, "Unable to find method " methodName);
H A Dcom_android_server_UsbDeviceManager.cpp44 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
46 ALOGE("An exception was thrown by callback '%s'.", methodName);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
H A DTestDelegates.java57 String methodName = methods[i];
60 String className = methodName.substring(0, methodName.indexOf('#'));
/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/core/java/android/animation/
H A DPropertyValuesHolder.java381 String methodName = getMethodName(prefix, mPropertyName);
385 returnVal = targetClass.getMethod(methodName, args);
405 returnVal = targetClass.getMethod(methodName, args);
856 String methodName = getMethodName("set", mPropertyName);
857 mJniSetter = nGetIntMethod(targetClass, methodName);
993 String methodName = getMethodName("set", mPropertyName);
994 mJniSetter = nGetFloatMethod(targetClass, methodName);
1018 native static private int nGetIntMethod(Class targetClass, String methodName); argument
1019 native static private int nGetFloatMethod(Class targetClass, String methodName); argument
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DClassHasNativeVisitor.java44 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { argument

Completed in 546 milliseconds

12