/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/layoutlib/bridge/src/android/animation/ |
H A D | PropertyValuesHolder_Delegate.java | 39 /*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 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); 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 D | android_media_RemoteDisplay.cpp | 100 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 D | ClassHasNativeVisitorTest.java | 70 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { argument 72 mMethodsFound.add(methodName); 74 super.setHasNativeMethods(hasNativeMethods, methodName);
|
H A D | DelegateClassAdapterTest.java | 369 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 D | TestMethod.java | 40 public TestMethod(String methodName, Class<? extends TestCase> enclosingClass) { argument 43 this.testMethodName = methodName;
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/ |
H A D | TestCaseCollector.java | 70 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 D | Trace.java | 140 * @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 D | com_android_server_UsbDeviceManager.cpp | 43 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 45 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
H A D | com_android_server_UsbHostManager.cpp | 46 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 48 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
H A D | com_android_server_power_PowerManagerService.cpp | 66 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 D | com_android_server_location_GpsLocationProvider.cpp | 63 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 D | ClassHasNativeVisitor.java | 44 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { argument
|
H A D | DelegateMethodAdapter2.java | 112 * @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 D | StubMethodAdapter.java | 51 public StubMethodAdapter(MethodVisitor mv, String methodName, Type returnType, argument 60 if (CONSTRUCTOR.equals(methodName) || CLASS_INIT.equals(methodName)) {
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 50 static status_t checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 52 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
H A D | android_mtp_MtpDevice.cpp | 93 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 95 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
H A D | android_mtp_MtpDatabase.cpp | 175 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 D | PropertyValuesHolder.java | 381 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 D | MenuInflater.java | 211 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 D | BluetoothTestUtils.java | 777 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 D | LoadedApk.java | 395 private void warn(String methodName) { argument 401 Slog.w(ActivityThread.TAG, "ClassLoader." + methodName + ": " +
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AudioEffect.java | 1225 public void checkState(String methodName) throws IllegalStateException { argument 1228 throw (new IllegalStateException(methodName
|