/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/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 | 228 * @param methodName The method name to appear in the trace. 232 public static void traceBegin(long traceTag, String methodName) { argument 234 nativeTraceBegin(traceTag, methodName); 260 * @param methodName The method name to appear in the trace. 265 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { argument 267 nativeAsyncTraceBegin(traceTag, methodName, cookie); 277 * @param methodName The method name to appear in the trace. 282 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { argument 284 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/androidx/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/support/room/compiler/src/main/kotlin/androidx/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/base/services/core/jni/ |
H A D | com_android_server_power_PowerManagerService.cpp | 73 static bool checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 75 ALOGE("An exception was thrown by callback '%s'.", methodName); 259 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 260 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 261 LOG_FATAL_IF(! (var), "Unable to find method " methodName);
|
H A D | com_android_server_UsbHostManager.cpp | 48 static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { argument 50 ALOGE("An exception was thrown by callback '%s'.", methodName);
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
H A D | RelationCollectorMethodWriter.kt | 55 override fun prepare(methodName: String, writer: ClassWriter, builder: MethodSpec.Builder) { 100 addStatement("$L($L)", methodName, tmpMapVar) 109 addStatement("$L($L)", methodName, tmpMapVar)
|
H A D | SQLiteOpenHelperWriter.kt | 134 private fun MethodSpec.Builder.invokeCallbacks(scope: CodeGenScope, methodName: String) { 140 addStatement("mCallbacks.get($N).$N(_db)", iVar, 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/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | AppCompatTextViewAutoSizeHelper.java | 616 final String methodName = "nullLayouts"; 618 Method method = getTextViewMethod(methodName); 623 Log.w(TAG, "Failed to invoke TextView#" + methodName + "() method", ex); 763 @NonNull final String methodName, @NonNull final T defaultValue) { 769 Method method = getTextViewMethod(methodName); 773 Log.w(TAG, "Failed to invoke TextView#" + methodName + "() method", ex); 784 private Method getTextViewMethod(@NonNull final String methodName) { argument 786 Method method = sTextViewMethodByNameCache.get(methodName); 788 method = TextView.class.getDeclaredMethod(methodName); 792 sTextViewMethodByNameCache.put(methodName, metho 762 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 | 294 public String methodName; field in class:RemoteViews.MethodKey 304 && Objects.equals(p.methodName, methodName); 310 ^ Objects.hashCode(methodName); 313 public void set(Class targetClass, Class paramClass, String methodName) { argument 316 this.methodName = methodName; 983 private MethodHandle getMethod(View view, String methodName, Class<?> paramType, argument 990 sLookupKey.set(klass, paramType, methodName); 997 method = klass.getMethod(methodName); 1209 String methodName; field in class:RemoteViews.BitmapReflectionAction 1211 BitmapReflectionAction(int viewId, String methodName, Bitmap bitmap) argument 1274 String methodName; field in class:RemoteViews.ReflectionAction 1278 ReflectionAction(int viewId, String methodName, int type, Object value) argument 3042 setBoolean(int viewId, String methodName, boolean value) argument 3053 setByte(int viewId, String methodName, byte value) argument 3064 setShort(int viewId, String methodName, short value) argument 3075 setInt(int viewId, String methodName, int value) argument 3088 setColorStateList(int viewId, String methodName, ColorStateList value) argument 3101 setLong(int viewId, String methodName, long value) argument 3112 setFloat(int viewId, String methodName, float value) argument 3123 setDouble(int viewId, String methodName, double value) argument 3134 setChar(int viewId, String methodName, char value) argument 3145 setString(int viewId, String methodName, String value) argument 3156 setCharSequence(int viewId, String methodName, CharSequence value) argument 3167 setUri(int viewId, String methodName, Uri value) argument 3188 setBitmap(int viewId, String methodName, Bitmap value) argument 3199 setBundle(int viewId, String methodName, Bundle value) argument 3210 setIntent(int viewId, String methodName, Intent value) argument 3221 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
|