/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 | 56 * @param methodName 61 * The same kind of value that would normally be returned by calling {@code methodName} 64 * @throws IllegalArgumentException if {@code methodName} does not exist on the target class 68 public <K> K invoke(String methodName, Object... params) { argument 69 checkNotNull(methodName, "methodName must not be null"); 71 Method targetMethod = mMethods.get(methodName); 75 if (method.getName().equals(methodName) && 78 mMethods.put(methodName, targetMethod); 85 "Method " + methodName [all...] |
/frameworks/layoutlib/bridge/src/android/animation/ |
H A D | PropertyValuesHolder_Delegate.java | 64 private static long registerMethod(Class<?> targetClass, String methodName, Class[] types, argument 68 methodName, nArgs); 84 method = targetClass.getDeclaredMethod(methodName, args); 115 /*package*/ static long nGetIntMethod(Class<?> targetClass, String methodName) { argument 116 return nGetMultipleIntMethod(targetClass, methodName, 1); 120 /*package*/ static long nGetFloatMethod(Class<?> targetClass, String methodName) { argument 121 return nGetMultipleFloatMethod(targetClass, methodName, 1); 125 /*package*/ static long nGetMultipleIntMethod(Class<?> targetClass, String methodName, argument 127 return registerMethod(targetClass, methodName, INTEGER_VARIANTS, numParams); 131 /*package*/ static long nGetMultipleFloatMethod(Class<?> targetClass, String methodName, argument [all...] |
/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 | 224 * @param methodName The method name to appear in the trace. 228 public static void traceBegin(long traceTag, String methodName) { argument 230 nativeTraceBegin(traceTag, methodName); 256 * @param methodName The method name to appear in the trace. 261 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { argument 263 nativeAsyncTraceBegin(traceTag, methodName, cookie); 273 * @param methodName The method name to appear in the trace. 278 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { argument 280 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_media_RemoteDisplay.cpp | 101 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 103 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
/frameworks/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 | StubMethodAdapterTest.java | 46 final String methodName = "returnTrue"; 48 testBoolean((name, type) -> false, Assert::assertTrue, methodName); 50 testBoolean((name, type) -> methodName.equals(name) && 51 Type.BOOLEAN_TYPE.equals(type.getReturnType()), Assert::assertFalse, methodName); 58 String methodName) throws Exception { 68 Method method = aClass.getMethod(methodName); 57 testBoolean(BiPredicate<String, Type> methodPredicate, Consumer<Boolean> assertion, String methodName) argument
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 761 String methodName; 763 methodName = String.format("pair(device=%s)", device); 765 methodName = String.format("acceptPair(device=%s)", device); 769 fail(String.format("%s bluetooth not enabled", methodName)); 791 fail(String.format("%s invalid state: state=%d", methodName, state)); 801 writeOutput(String.format("%s completed in %d ms", methodName, 804 writeOutput(String.format("%s completed", methodName)); 815 methodName, state, BluetoothDevice.BOND_BONDED, firedFlags, mask)); 828 String methodName = String.format("unpair(device=%s)", device); 831 fail(String.format("%s bluetooth not enabled", methodName)); 901 connectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument 982 disconnectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument [all...] |
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
H A D | TestPredicatesTest.java | 44 private boolean hasExampleAnnotation(Class<? extends TestCase> aClass, String methodName) argument 46 Method method = aClass.getMethod(methodName);
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/solver/types/ |
H A D | CustomTypeConverterWrapper.kt | 40 custom.methodName, inputVarName) 44 custom.methodName, inputVarName)
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
H A D | Session.java | 77 String methodName = source.readString(); 78 return new Info(id, methodName); 382 StringBuilder methodName = new StringBuilder(); 383 methodName.append(getFullMethodPath(false /*truncatePath*/)); 385 methodName.append("(InCall package: "); 386 methodName.append(mOwnerInfo); 387 methodName.append(")"); 389 return methodName.toString() + "@" + getFullSessionId();
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_power_PowerManagerService.cpp | 71 static bool checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 73 ALOGE("An exception was thrown by callback '%s'.", methodName); 241 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 242 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 243 LOG_FATAL_IF(! (var), "Unable to find method " methodName);
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestMethod.java | 44 public TestMethod(String methodName, Class<? extends TestCase> enclosingClass) { argument 47 this.testMethodName = methodName;
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | MainActivityTest.java | 41 private Object invokeMethod(Class targetClass, Object target, String methodName, Object... params) argument 47 Method method = targetClass.getDeclaredMethod(methodName, paramClasses);
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/ |
H A D | AnnotationTypeUtil.java | 87 final String methodName = executableType.toString().substring(0, argStart); 90 return methodName + "(" + args + ")" + getDescription(
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/ |
H A D | BaseDataBinderTest.java | 115 protected void assertMethod(Class<?> klass, String methodName) throws NoSuchMethodException { argument 116 assertEquals(klass, mBinder.getClass().getDeclaredMethod(methodName).getReturnType());
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/vo/ |
H A D | CustomTypeConverter.kt | 35 val methodName by lazy { method.simpleName.toString() }
|
H A D | InsertionMethod.kt | 43 // methodName matches EntityInsertionAdapter methods 44 val methodName : String, val returnTypeName : TypeName) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatTextViewAutoSizeHelper.java | 614 final String methodName = "nullLayouts"; 616 Method method = getTextViewMethod(methodName); 621 Log.w(TAG, "Failed to invoke TextView#" + methodName + "() method", ex); 762 @NonNull final String methodName, @NonNull final T defaultValue) { 768 Method method = getTextViewMethod(methodName); 772 Log.w(TAG, "Failed to invoke TextView#" + methodName + "() method", ex); 783 private Method getTextViewMethod(@NonNull final String methodName) { argument 785 Method method = sTextViewMethodByNameCache.get(methodName); 787 method = TextView.class.getDeclaredMethod(methodName); 791 sTextViewMethodByNameCache.put(methodName, metho 761 invokeAndReturnWithDefault(@onNull Object object, @NonNull final String methodName, @NonNull final T defaultValue) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViews.java | 946 private Method getMethod(View view, String methodName, Class<?> paramType) { argument 957 mPair.first = methodName; 964 method = klass.getMethod(methodName); 966 method = klass.getMethod(methodName, paramType); 970 + methodName + getParameters(paramType)); 976 + methodName + getParameters(paramType)); 979 methods.put(new MutablePair<String, Class<?>>(methodName, paramType), method); 1119 final String methodName; field in class:RemoteViews.ReflectionActionWithoutParams 1121 ReflectionActionWithoutParams(int viewId, String methodName) { argument 1123 this.methodName 1238 String methodName; field in class:RemoteViews.BitmapReflectionAction 1240 BitmapReflectionAction(int viewId, String methodName, Bitmap bitmap) argument 1303 String methodName; field in class:RemoteViews.ReflectionAction 1307 ReflectionAction(int viewId, String methodName, int type, Object value) argument 3236 setBoolean(int viewId, String methodName, boolean value) argument 3247 setByte(int viewId, String methodName, byte value) argument 3258 setShort(int viewId, String methodName, short value) argument 3269 setInt(int viewId, String methodName, int value) argument 3280 setLong(int viewId, String methodName, long value) argument 3291 setFloat(int viewId, String methodName, float value) argument 3302 setDouble(int viewId, String methodName, double value) argument 3313 setChar(int viewId, String methodName, char value) argument 3324 setString(int viewId, String methodName, String value) argument 3335 setCharSequence(int viewId, String methodName, CharSequence value) argument 3346 setUri(int viewId, String methodName, Uri value) argument 3367 setBitmap(int viewId, String methodName, Bitmap value) argument 3378 setBundle(int viewId, String methodName, Bundle value) argument 3389 setIntent(int viewId, String methodName, Intent value) argument 3400 setIcon(int viewId, String methodName, Icon value) argument [all...] |
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | ClassHasNativeVisitor.java | 44 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { argument
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/writer/ |
H A D | SQLiteOpenHelperWriter.kt | 129 private fun MethodSpec.Builder.invokeCallbacks(scope: CodeGenScope, methodName: String) { 135 addStatement("mCallbacks.get($N).$N(_db)", iVar, methodName)
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
H A D | TestDelegates.java | 59 for (String methodName : methods) { 61 String className = methodName.substring(0, methodName.indexOf('#'));
|