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

12

/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.cpp113 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \
114 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \
115 LOG_FATAL_IF(! var, "Unable to find method " methodName);
117 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
118 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
119 LOG_FATAL_IF(! var, "Unable to find method " methodName);
H A Dandroid_view_InputDevice.cpp80 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
81 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
82 LOG_FATAL_IF(! var, "Unable to find method " methodName);
H A Dandroid_view_KeyEvent.cpp125 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \
126 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \
127 LOG_FATAL_IF(! var, "Unable to find static method" methodName);
129 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \
130 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \
131 LOG_FATAL_IF(! var, "Unable to find method" methodName);
H A Dandroid_media_RemoteDisplay.cpp100 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
102 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_hardware_SensorManager.cpp239 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
240 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
241 LOG_FATAL_IF(! var, "Unable to find method " methodName);
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.java192 * @param methodName The method name to appear in the trace.
196 public static void traceBegin(long traceTag, String methodName) { argument
198 nativeTraceBegin(traceTag, methodName);
224 * @param methodName The method name to appear in the trace.
229 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { argument
231 nativeAsyncTraceBegin(traceTag, methodName, cookie);
241 * @param methodName The method name to appear in the trace.
246 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { argument
248 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.java814 String methodName; field in class:RemoteViews.ReflectionActionWithoutParams
818 ReflectionActionWithoutParams(int viewId, String methodName) { argument
820 this.methodName = methodName;
825 this.methodName = in.readString();
831 out.writeString(this.methodName);
842 method = klass.getMethod(this.methodName);
845 + this.methodName + "()");
851 + this.methodName + "()");
858 + this.methodName
946 String methodName; field in class:RemoteViews.BitmapReflectionAction
948 BitmapReflectionAction(int viewId, String methodName, Bitmap bitmap) argument
1013 String methodName; field in class:RemoteViews.ReflectionAction
1017 ReflectionAction(int viewId, String methodName, int type, Object value) argument
2158 setBoolean(int viewId, String methodName, boolean value) argument
2169 setByte(int viewId, String methodName, byte value) argument
2180 setShort(int viewId, String methodName, short value) argument
2191 setInt(int viewId, String methodName, int value) argument
2202 setLong(int viewId, String methodName, long value) argument
2213 setFloat(int viewId, String methodName, float value) argument
2224 setDouble(int viewId, String methodName, double value) argument
2235 setChar(int viewId, String methodName, char value) argument
2246 setString(int viewId, String methodName, String value) argument
2257 setCharSequence(int viewId, String methodName, CharSequence value) argument
2268 setUri(int viewId, String methodName, Uri value) argument
2289 setBitmap(int viewId, String methodName, Bitmap value) argument
2300 setBundle(int viewId, String methodName, Bundle value) argument
2311 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);
234 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
235 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
236 LOG_FATAL_IF(! var, "Unable to find method " methodName);
H A Dcom_android_server_UsbDeviceManager.cpp43 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
45 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 1450 milliseconds

12