/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/core/java/android/hardware/camera2/dispatch/ |
H A D | MethodNameInvoker.java | 54 * @param methodName 59 * The same kind of value that would normally be returned by calling {@code methodName} 62 * @throws IllegalArgumentException if {@code methodName} does not exist on the target class 66 public <K> K invoke(String methodName, Object... params) { argument 67 checkNotNull(methodName, "methodName must not be null"); 69 Method targetMethod = mMethods.get(methodName); 73 if (method.getName().equals(methodName) && 76 mMethods.put(methodName, targetMethod); 83 "Method " + methodName [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
H A D | PropertyValuesHolder_Delegate.java | 39 /*package*/ static long nGetIntMethod(Class<?> targetClass, String methodName) { argument 45 /*package*/ static long nGetFloatMethod(Class<?> targetClass, String methodName) { argument 51 /*package*/ static long nGetMultipleIntMethod(Class<?> targetClass, String methodName, argument 58 /*package*/ static long nGetMultipleFloatMethod(Class<?> targetClass, String methodName, argument
|
/frameworks/base/cmds/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/core/java/android/os/ |
H A D | Trace.java | 200 * @param methodName The method name to appear in the trace. 204 public static void traceBegin(long traceTag, String methodName) { argument 206 nativeTraceBegin(traceTag, methodName); 232 * @param methodName The method name to appear in the trace. 237 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { argument 239 nativeAsyncTraceBegin(traceTag, methodName, cookie); 249 * @param methodName The method name to appear in the trace. 254 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { argument 256 nativeAsyncTraceEnd(traceTag, methodName, cookie);
|
/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); 50 static jlong getMultiparameterMethod(JNIEnv* env, jclass targetClass, jstring methodName, argument 53 const char *nativeString = env->GetStringUTFChars(methodName, 0); 60 env->ReleaseStringUTFChars(methodName, nativeString); 65 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName, jin 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 64 android_animation_PropertyValuesHolder_getMultipleFloatMethod( JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName, jint parameterCount) argument 70 android_animation_PropertyValuesHolder_getMultipleIntMethod( JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName, jint parameterCount) argument [all...] |
H A D | android_view_PointerIcon.cpp | 114 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 115 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \ 116 LOG_FATAL_IF(! var, "Unable to find method " methodName); 118 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 119 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 120 LOG_FATAL_IF(! var, "Unable to find method " methodName);
|
H A D | android_view_InputDevice.cpp | 84 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 85 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 86 LOG_FATAL_IF(! var, "Unable to find method " methodName);
|
H A D | android_server_FingerprintManager.cpp | 32 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ 33 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \ 34 LOG_FATAL_IF(! var, "Unable to find static method" methodName); 36 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ 37 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \ 38 LOG_FATAL_IF(! var, "Unable to find method" methodName);
|
H A D | android_view_KeyEvent.cpp | 132 #define GET_STATIC_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ 133 var = env->GetStaticMethodID(clazz, methodName, fieldDescriptor); \ 134 LOG_FATAL_IF(! var, "Unable to find static method" methodName); 136 #define GET_METHOD_ID(var, clazz, methodName, fieldDescriptor) \ 137 var = env->GetMethodID(clazz, methodName, fieldDescriptor); \ 138 LOG_FATAL_IF(! var, "Unable to find method" methodName);
|
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);
|
H A D | android_view_DisplayEventReceiver.cpp | 268 #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 D | android_view_InputChannel.cpp | 283 #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 D | android_view_InputQueue.cpp | 265 #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 D | android_view_KeyCharacterMap.cpp | 228 #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/test-runner/tests/src/android/test/suitebuilder/annotation/ |
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
|
H A D | HasAnnotationTest.java | 44 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 D | ClassHasNativeVisitorTest.java | 70 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 D | BluetoothTestUtils.java | 778 String methodName; 780 methodName = String.format("pair(device=%s)", device); 782 methodName = String.format("acceptPair(device=%s)", device); 786 fail(String.format("%s bluetooth not enabled", methodName)); 808 fail(String.format("%s invalid state: state=%d", methodName, state)); 818 writeOutput(String.format("%s completed in %d ms", methodName, 821 writeOutput(String.format("%s completed", methodName)); 832 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask)); 845 String methodName = String.format("unpair(device=%s)", device); 848 fail(String.format("%s bluetooth not enabled", methodName)); 918 connectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument 999 disconnectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_power_PowerManagerService.cpp | 60 static bool checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 62 ALOGE("An exception was thrown by callback '%s'.", methodName); 181 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 182 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 183 LOG_FATAL_IF(! var, "Unable to find method " methodName);
|
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);
|
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViews.java | 748 private Method getMethod(View view, String methodName, Class<?> paramType) { argument 759 mPair.first = methodName; 766 method = klass.getMethod(methodName); 768 method = klass.getMethod(methodName, paramType); 772 + methodName + getParameters(paramType)); 778 + methodName + getParameters(paramType)); 781 methods.put(new MutablePair<String, Class<?>>(methodName, paramType), method); 893 final String methodName; field in class:RemoteViews.ReflectionActionWithoutParams 897 ReflectionActionWithoutParams(int viewId, String methodName) { argument 899 this.methodName 1007 String methodName; field in class:RemoteViews.BitmapReflectionAction 1009 BitmapReflectionAction(int viewId, String methodName, Bitmap bitmap) argument 1075 String methodName; field in class:RemoteViews.ReflectionAction 1079 ReflectionAction(int viewId, String methodName, int type, Object value) argument 2363 setBoolean(int viewId, String methodName, boolean value) argument 2374 setByte(int viewId, String methodName, byte value) argument 2385 setShort(int viewId, String methodName, short value) argument 2396 setInt(int viewId, String methodName, int value) argument 2407 setLong(int viewId, String methodName, long value) argument 2418 setFloat(int viewId, String methodName, float value) argument 2429 setDouble(int viewId, String methodName, double value) argument 2440 setChar(int viewId, String methodName, char value) argument 2451 setString(int viewId, String methodName, String value) argument 2462 setCharSequence(int viewId, String methodName, CharSequence value) argument 2473 setUri(int viewId, String methodName, Uri value) argument 2494 setBitmap(int viewId, String methodName, Bitmap value) argument 2505 setBundle(int viewId, String methodName, Bundle value) argument 2516 setIntent(int viewId, String methodName, Intent value) argument [all...] |
/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/core/java/android/animation/ |
H A D | PropertyValuesHolder.java | 675 String methodName = getMethodName(prefix, mPropertyName); 679 returnVal = targetClass.getMethod(methodName, args); 699 returnVal = targetClass.getMethod(methodName, args); 1194 String methodName = getMethodName("set", mPropertyName); 1196 mJniSetter = nGetIntMethod(targetClass, methodName); 1332 String methodName = getMethodName("set", mPropertyName); 1334 mJniSetter = nGetFloatMethod(targetClass, methodName); 1437 String methodName = getMethodName("set", mPropertyName); 1442 mJniSetter = nGetMultipleFloatMethod(targetClass, methodName, numParams); 1544 String methodName 1605 nGetIntMethod(Class targetClass, String methodName) argument 1606 nGetFloatMethod(Class targetClass, String methodName) argument 1607 nGetMultipleIntMethod(Class targetClass, String methodName, int numParams) argument 1609 nGetMultipleFloatMethod(Class targetClass, String methodName, int numParams) argument [all...] |
/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
|