/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 | 101 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 103 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/ex/camera2/public/src/com/android/ex/camera2/utils/ |
H A D | SysTrace.java | 99 * @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/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/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | TestCaseCollector.java | 67 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/services/jni/ |
H A D | com_android_server_UsbDeviceManager.cpp | 44 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 46 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
H A D | com_android_server_UsbHostManager.cpp | 47 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 49 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); 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);
|
/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/core/java/android/os/ |
H A D | Trace.java | 194 * @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/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/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 | 94 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 96 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | SupportMenuInflater.java | 219 public InflatedOnMenuItemClickListener(Object realOwner, String methodName) { argument 223 mMethod = c.getMethod(methodName, PARAM_TYPES); 226 "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 | 399 private void warn(String methodName) { argument 405 Slog.w(ActivityThread.TAG, "ClassLoader." + methodName + ": " +
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AudioEffect.java | 1249 public void checkState(String methodName) throws IllegalStateException { argument 1252 throw (new IllegalStateException(methodName
|