/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_app_NativeActivity.cpp | 549 static bool checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 551 LOGE("An exception was thrown by callback '%s'.", methodName); 1057 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ 1058 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \ 1059 LOG_FATAL_IF(! var, "Unable to find method" 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/services/jni/ |
H A D | com_android_server_UsbDeviceManager.cpp | 43 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 45 LOGE("An exception was thrown by callback '%s'.", methodName);
|
H A D | com_android_server_PowerManagerService.cpp | 57 static bool checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 59 LOGE("An exception was thrown by callback '%s'.", methodName); 147 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 148 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 149 LOG_FATAL_IF(! var, "Unable to find method " methodName);
|
H A D | com_android_server_UsbHostManager.cpp | 46 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 48 LOGE("An exception was thrown by callback '%s'.", methodName);
|
H A D | com_android_server_location_GpsLocationProvider.cpp | 63 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 65 LOGE("An exception was thrown by callback '%s'.", methodName);
|
/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/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | ClassHasNativeVisitor.java | 41 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, 128 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 59 if (CONSTRUCTOR.equals(methodName) || CLASS_INIT.equals(methodName)) {
|
/frameworks/base/core/java/android/animation/ |
H A D | PropertyValuesHolder.java | 381 String methodName = getMethodName(prefix, mPropertyName); 385 returnVal = targetClass.getMethod(methodName, args); 406 returnVal = targetClass.getMethod(methodName, args); 846 String methodName = getMethodName("set", mPropertyName); 847 mJniSetter = nGetIntMethod(targetClass, methodName); 982 String methodName = getMethodName("set", mPropertyName); 983 mJniSetter = nGetFloatMethod(targetClass, methodName); 1006 native static private int nGetIntMethod(Class targetClass, String methodName); argument 1007 native static private int nGetFloatMethod(Class targetClass, String methodName); argument
|
/frameworks/base/core/java/android/view/ |
H A D | MenuInflater.java | 196 public InflatedOnMenuItemClickListener(Context context, String methodName) { argument 200 mMethod = c.getMethod(methodName, PARAM_TYPES); 203 "Couldn't resolve menu item onClick handler " + methodName +
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 49 static status_t checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 51 LOGE("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 LOGE("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 LOGE("An exception was thrown by callback '%s'.", 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/tests/hosttests/src/android/content/pm/ |
H A D | PackageManagerHostTestUtils.java | 127 * @param methodName (optional) The method in the class of which to test 138 String methodName, String runnerName, Map<String, String> params) throws IOException, 143 if (className != null && methodName != null) { 144 testRunner.setMethodName(className, methodName); 168 * @param methodName The method in the class of which to test 174 String methodName, String runnerName, Map<String, String> params) throws IOException, 176 CollectingTestRunListener listener = doRunTests(pkgName, className, methodName, 137 doRunTests(String pkgName, String className, String methodName, String runnerName, Map<String, String> params) argument 173 runDeviceTestsDidAllTestsPass(String pkgName, String className, String methodName, String runnerName, Map<String, String> params) argument
|
/frameworks/base/core/java/android/app/ |
H A D | LoadedApk.java | 378 private void warn(String methodName) { argument 384 Slog.w(ActivityThread.TAG, "ClassLoader." + methodName + ": " +
|
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViews.java | 575 String methodName; field in class:RemoteViews.ReflectionActionWithoutParams 579 ReflectionActionWithoutParams(int viewId, String methodName) { argument 581 this.methodName = methodName; 586 this.methodName = in.readString(); 592 out.writeString(this.methodName); 603 method = klass.getMethod(this.methodName); 606 + this.methodName + "()"); 612 + this.methodName + "()"); 619 + this.methodName 650 String methodName; field in class:RemoteViews.ReflectionAction 654 ReflectionAction(int viewId, String methodName, int type, Object value) argument 1399 setBoolean(int viewId, String methodName, boolean value) argument 1410 setByte(int viewId, String methodName, byte value) argument 1421 setShort(int viewId, String methodName, short value) argument 1432 setInt(int viewId, String methodName, int value) argument 1443 setLong(int viewId, String methodName, long value) argument 1454 setFloat(int viewId, String methodName, float value) argument 1465 setDouble(int viewId, String methodName, double value) argument 1476 setChar(int viewId, String methodName, char value) argument 1487 setString(int viewId, String methodName, String value) argument 1498 setCharSequence(int viewId, String methodName, CharSequence value) argument 1509 setUri(int viewId, String methodName, Uri value) argument 1523 setBitmap(int viewId, String methodName, Bitmap value) argument 1534 setBundle(int viewId, String methodName, Bundle value) argument 1545 setIntent(int viewId, String methodName, Intent value) argument [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | AudioEffect.java | 1209 public void checkState(String methodName) throws IllegalStateException { argument 1212 throw (new IllegalStateException(methodName
|