Searched defs:methodName (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
H A DHasAnnotationTest.java44 private boolean hasExampleAnnotation(Class<? extends TestCase> aClass, String methodName) argument
46 Method method = aClass.getMethod(methodName);
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
/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_media_RemoteDisplay.cpp100 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
102 ALOGE("An exception was thrown by callback '%s'.", 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);
H A DDelegateClassAdapterTest.java369 public <T> T callMethod(Object instance, String methodName, boolean makePublic) throws Exception { argument
370 Method m = instance.getClass().getDeclaredMethod(methodName, (Class<?>[])null);
/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/testing/uiautomator/library/src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java70 String methodName = null;
72 methodName = className.substring(hashPos + 1);
75 addTestClass(className, methodName);
82 * @param methodName may be null, in which case all "public void testNNN(void)" functions
86 public void addTestClass(String className, String methodName) throws ClassNotFoundException { argument
88 if (methodName != null) {
89 addSingleTestMethod(clazz, methodName);
/frameworks/base/core/java/android/os/
H A DTrace.java140 * @param methodName The method name to appear in the trace.
142 public static void traceBegin(long traceTag, String methodName) { argument
144 nativeTraceBegin(traceTag, methodName);
/frameworks/base/services/jni/
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);
H A Dcom_android_server_UsbHostManager.cpp46 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
48 ALOGE("An exception was thrown by callback '%s'.", methodName);
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_location_GpsLocationProvider.cpp63 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
65 ALOGE("An exception was thrown by callback '%s'.", methodName);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DClassHasNativeVisitor.java44 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { argument
H A DDelegateMethodAdapter2.java112 * @param methodName The simple name of the method.
121 String methodName,
129 mMethodName = methodName;
117 DelegateMethodAdapter2(Log log, MethodVisitor mvOriginal, MethodVisitor mvDelegate, String className, String methodName, String desc, boolean isStatic) argument
H A DStubMethodAdapter.java51 public StubMethodAdapter(MethodVisitor mv, String methodName, Type returnType, argument
60 if (CONSTRUCTOR.equals(methodName) || CLASS_INIT.equals(methodName)) {
/frameworks/base/media/jni/
H A Dandroid_media_MediaScanner.cpp50 static status_t checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
52 ALOGE("An exception was thrown by callback '%s'.", methodName);
H A Dandroid_mtp_MtpDevice.cpp93 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
95 ALOGE("An exception was thrown by callback '%s'.", methodName);
H A Dandroid_mtp_MtpDatabase.cpp175 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument
177 ALOGE("An exception was thrown by callback '%s'.", 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/core/java/android/view/
H A DMenuInflater.java211 public InflatedOnMenuItemClickListener(Object realOwner, String methodName) { argument
215 mMethod = c.getMethod(methodName, PARAM_TYPES);
218 "Couldn't resolve menu item onClick handler " + 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/app/
H A DLoadedApk.java395 private void warn(String methodName) { argument
401 Slog.w(ActivityThread.TAG, "ClassLoader." + methodName + ": " +
/frameworks/base/media/java/android/media/audiofx/
H A DAudioEffect.java1225 public void checkState(String methodName) throws IllegalStateException { argument
1228 throw (new IllegalStateException(methodName

Completed in 422 milliseconds

12