Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 25 of 79) sorted by relevance

1234

/aosp14/frameworks/base/core/java/com/android/internal/inputmethod/
H A DCompletableFutureUtil.java67 @Nullable String tag, @Nullable String methodName, in getValueOrNullInternal() argument
80 logCancellationInternal(tag, methodName); in getValueOrNullInternal()
83 logErrorInternal(tag, methodName, e.getMessage()); in getValueOrNullInternal()
86 logCancellationInternal(tag, methodName); in getValueOrNullInternal()
94 logErrorInternal(tag, methodName, e.getMessage()); in getValueOrNullInternal()
111 if (tag == null || methodName == null) { in logTimeoutInternal()
120 if (tag == null || methodName == null) { in logErrorInternal()
128 if (tag == null || methodName == null) { in logCancellationInternal()
131 Log.w(tag, methodName + " was cancelled."); in logCancellationInternal()
194 @Nullable String tag, @Nullable String methodName, in getResultOrFalse() argument
[all …]
/aosp14/frameworks/base/core/java/android/os/
H A DTrace.java220 public static void traceBegin(long traceTag, @NonNull String methodName) { in traceBegin() argument
222 nativeTraceBegin(traceTag, methodName); in traceBegin()
266 nativeAsyncTraceBegin(traceTag, methodName, cookie); in asyncTraceBegin()
288 nativeAsyncTraceEnd(traceTag, methodName, cookie); in asyncTraceEnd()
368 @NonNull String trackName, @NonNull String methodName, int cookie) { in asyncTraceForTrackBegin() argument
405 public static void instant(long traceTag, String methodName) { in instant() argument
407 nativeInstant(traceTag, methodName); in instant()
421 nativeInstantForTrack(traceTag, trackName, methodName); in instantForTrack()
482 asyncTraceBegin(TRACE_TAG_APP, methodName, cookie); in beginAsyncSection()
493 public static void endAsyncSection(@NonNull String methodName, int cookie) { in endAsyncSection() argument
[all …]
/aosp14/frameworks/base/core/jni/
H A Dandroid_animation_PropertyValuesHolder.cpp33 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName) in android_animation_PropertyValuesHolder_getIntMethod() argument
35 const char *nativeString = env->GetStringUTFChars(methodName, 0); in android_animation_PropertyValuesHolder_getIntMethod()
37 env->ReleaseStringUTFChars(methodName, nativeString); in android_animation_PropertyValuesHolder_getIntMethod()
42 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName) in android_animation_PropertyValuesHolder_getFloatMethod() argument
44 const char *nativeString = env->GetStringUTFChars(methodName, 0); in android_animation_PropertyValuesHolder_getFloatMethod()
46 env->ReleaseStringUTFChars(methodName, nativeString); in android_animation_PropertyValuesHolder_getFloatMethod()
50 static jlong getMultiparameterMethod(JNIEnv* env, jclass targetClass, jstring methodName, in getMultiparameterMethod() argument
53 const char *nativeString = env->GetStringUTFChars(methodName, 0); in getMultiparameterMethod()
60 env->ReleaseStringUTFChars(methodName, nativeString); in getMultiparameterMethod()
67 return getMultiparameterMethod(env, targetClass, methodName, parameterCount, 'F'); in android_animation_PropertyValuesHolder_getMultipleFloatMethod()
[all …]
H A Dandroid_hardware_input_InputApplicationHandle.cpp145 #define GET_METHOD_ID(var, clazz, methodName, methodSignature) \ argument
146 var = env->GetMethodID(clazz, methodName, methodSignature); \
147 LOG_ALWAYS_FATAL_IF(!(var), "Unable to find method " methodName);
/aosp14/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java67 String methodName = null; in addTestClass() local
69 methodName = className.substring(hashPos + 1); in addTestClass()
72 addTestClass(className, methodName); in addTestClass()
83 public void addTestClass(String className, String methodName) throws ClassNotFoundException { in addTestClass() argument
85 if (methodName != null) { in addTestClass()
86 addSingleTestMethod(clazz, methodName); in addTestClass()
/aosp14/frameworks/base/media/java/android/media/
H A DCallbackUtil.java126 static <T, S> Pair<ArrayList<ListenerInfo<T>>, S> addListener(String methodName, in addListener() argument
137 throw new IllegalArgumentException("attempt to call " + methodName in addListener()
150 Log.e(TAG, "Exception while creating stub in " + methodName, e); in addListener()
177 static <T, S> Pair<ArrayList<ListenerInfo<T>>, S> removeListener(String methodName, in removeListener() argument
185 throw new IllegalArgumentException("attempt to call " + methodName in removeListener()
271 void addListener(@NonNull Executor executor, @NonNull T listener, String methodName, in addListener() argument
275 CallbackUtil.addListener(methodName, in addListener()
290 void removeListener(@NonNull T listener, String methodName) { in removeListener() argument
293 CallbackUtil.removeListener(methodName, in removeListener()
/aosp14/frameworks/base/tests/utils/testutils/java/com/android/test/filters/
H A DSelectTest.java238 boolean accept(String className, @Nullable String methodName) { in accept() argument
244 return classSet == null || classSet.accept(className, methodName); in accept()
274 final String methodName = getMethodName(selectTestArg); in add() local
276 if (methodName == null) { in add()
297 methodSet.add(methodName); in add()
303 boolean accept(String className, @Nullable String methodName) { in accept() argument
308 return methodName == null || methodSet == null || methodSet.contains(methodName); in accept()
325 for (String methodName : methodSet) { in toString()
326 joiner.add(className + METHOD_SEPARATOR + methodName); in toString()
/aosp14/frameworks/base/media/java/android/media/tv/tuner/
H A DTunerVersionChecker.java139 @TunerVersion int version, String methodName) { in checkHigherOrEqualVersionTo() argument
144 + " does not support " + methodName + "."); in checkHigherOrEqualVersionTo()
151 public static boolean checkSupportVersion(@TunerVersion int version, String methodName) { in checkSupportVersion() argument
156 + " does not support " + methodName + "."); in checkSupportVersion()
/aosp14/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayActorEnforcer.java83 void enforceActor(@NonNull OverlayInfo overlayInfo, @NonNull String methodName, in enforceActor() argument
85 final ActorState actorState = isAllowedActor(methodName, overlayInfo, callingUid, userId); in enforceActor()
91 final String errorMessage = "UID" + callingUid + " is not allowed to call " + methodName in enforceActor()
104 public ActorState isAllowedActor(String methodName, OverlayInfo overlayInfo, in isAllowedActor() argument
144 android.Manifest.permission.CHANGE_OVERLAY_PACKAGES, methodName); in isAllowedActor()
174 android.Manifest.permission.CHANGE_OVERLAY_PACKAGES, methodName); in isAllowedActor()
/aosp14/frameworks/base/core/java/android/widget/
H A DRemoteViews.java551 public String methodName; field in RemoteViews.MethodKey
561 && Objects.equals(p.methodName, methodName); in equals()
573 this.methodName = methodName; in set()
1868 String methodName; field in RemoteViews.BitmapReflectionAction
1873 this.methodName = methodName; in BitmapReflectionAction()
1936 String methodName; field in RemoteViews.BaseReflectionAction
1941 this.methodName = methodName; in BaseReflectionAction()
2467 String methodName, in NightModeReflectionAction() argument
5253 methodName,
5291 methodName,
[all …]
/aosp14/frameworks/base/telecomm/java/android/telecom/Logging/
H A DSession.java106 String methodName = source.readString();
108 return new Info(id, methodName, ownerInfo);
462 StringBuilder methodName = new StringBuilder(); in toString() local
463 methodName.append(sessionToPrint.getFullMethodPath(false /*truncatePath*/)); in toString()
465 methodName.append("("); in toString()
466 methodName.append(sessionToPrint.getOwnerInfo()); in toString()
467 methodName.append(")"); in toString()
469 return methodName.toString() + "@" + sessionToPrint.getFullSessionId(); in toString()
/aosp14/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DBenchmarkResultsReporter.java46 final String methodName = description.getMethodName(); in apply()
57 Log.e(tag, "Test " + methodName + " failed.", error); in apply()
63 final String summary = getSummaryString(methodName, mRunner.getStatsToLog()); in apply()
72 final String failSummary = getSummaryString(methodName, in apply()
/aosp14/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
H A DMusicRecognitionManagerService.java163 private boolean isCalledByServiceAppLocked(@NonNull String methodName) { in isCalledByServiceAppLocked() argument
168 Slog.e(TAG, methodName + ": called by UID " + callingUid in isCalledByServiceAppLocked()
175 Slog.w(TAG, methodName + ": invalid service name: " + serviceName); in isCalledByServiceAppLocked()
187 Slog.w(TAG, methodName + ": could not verify UID for " + serviceName); in isCalledByServiceAppLocked()
191 Slog.e(TAG, methodName + ": called by UID " + callingUid + ", but service UID is " in isCalledByServiceAppLocked()
/aosp14/frameworks/base/tools/codegen/src/com/android/codegen/
H A DImportsProvider.kt91 val methodName = fullName.substringAfterLast(".") regex
97 className.substringAfterLast(".") + "." + methodName
99 classRef(className) + "." + methodName
/aosp14/frameworks/base/services/core/java/com/android/server/apphibernation/
H A DAppHibernationService.java227 String methodName = "isHibernatingForUser"; in isHibernatingForUser() local
233 "Caller did not have permission while calling " + methodName); in isHibernatingForUser()
234 userId = handleIncomingUser(userId, methodName); in isHibernatingForUser()
238 if (!checkUserStatesExist(userId, methodName, /* shouldLog= */ false)) { in isHibernatingForUser()
286 String methodName = "setHibernatingForUser"; in setHibernatingForUser() local
293 final int realUserId = handleIncomingUser(userId, methodName); in setHibernatingForUser()
379 String methodName = "getHibernatingPackagesForUser"; in getHibernatingPackagesForUser() local
386 userId = handleIncomingUser(userId, methodName); in getHibernatingPackagesForUser()
416 String methodName = "getHibernationStatsForUser"; in getHibernationStatsForUser() local
423 userId = handleIncomingUser(userId, methodName); in getHibernationStatsForUser()
[all …]
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_power_PowerManagerService.cpp83 static bool checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) { in checkAndClearExceptionFromCallback() argument
85 ALOGE("An exception was thrown by callback '%s'.", methodName); in checkAndClearExceptionFromCallback()
274 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ argument
275 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
276 LOG_FATAL_IF(! (var), "Unable to find method " methodName);
/aosp14/frameworks/base/services/core/java/com/android/server/power/
H A DShutdownCheckPoints.java228 String methodName = getMethodName(); in dumpDetails() local
229 printWriter.println(methodName == null ? "Failed to get method name" : methodName); in dumpDetails()
286 String methodName = getMethodName(); in dumpDetails() local
287 printWriter.println(methodName == null ? "Failed to get method name" : methodName); in dumpDetails()
/aosp14/frameworks/base/core/java/android/animation/
H A DPropertyValuesHolder.java698 String methodName = getMethodName(prefix, mPropertyName); in getPropertyFunction() local
702 returnVal = targetClass.getMethod(methodName, args); in getPropertyFunction()
722 returnVal = targetClass.getMethod(methodName, args); in getPropertyFunction()
1274 String methodName = getMethodName("set", mPropertyName); in setupSetter() local
1276 mJniSetter = nGetIntMethod(targetClass, methodName); in setupSetter()
1421 String methodName = getMethodName("set", mPropertyName); in setupSetter() local
1423 mJniSetter = nGetFloatMethod(targetClass, methodName); in setupSetter()
1526 String methodName = getMethodName("set", mPropertyName); in setupSetter() local
1633 String methodName = getMethodName("set", mPropertyName); in setupSetter() local
1712 native static private long nGetIntMethod(Class targetClass, String methodName); in nGetIntMethod() argument
[all …]
/aosp14/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/
H A DCallingIdentityTokenDetector.kt237 return psiMethod.getName() == method.methodName &&
359 val methodName: String,
604 methodName: String
606 "and returned into `$variableName`, so `$methodName` will be using your own " +
643 methodName: String
644 ): String = "You cleared the original identity with `$methodName` but did not store the " +
/aosp14/frameworks/base/services/translation/java/com/android/server/translation/
H A DTranslationManagerService.java121 private boolean isCalledByServiceAppLocked(int userId, @NonNull String methodName) { in isCalledByServiceAppLocked() argument
126 Slog.e(TAG, methodName + ": called by UID " + callingUid in isCalledByServiceAppLocked()
133 Slog.w(TAG, methodName + ": invalid service name: " + serviceName); in isCalledByServiceAppLocked()
143 Slog.w(TAG, methodName + ": could not verify UID for " + serviceName); in isCalledByServiceAppLocked()
147 Slog.e(TAG, methodName + ": called by UID " + callingUid + ", but service UID is " in isCalledByServiceAppLocked()
/aosp14/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DTestPredicatesTest.java44 private boolean hasExampleAnnotation(Class<? extends TestCase> aClass, String methodName) in hasExampleAnnotation() argument
46 Method method = aClass.getMethod(methodName); in hasExampleAnnotation()
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DBinderCallsStats.java562 final String methodName; in resolveBinderMethodNames() local
564 methodName = resolver.getMethodName(exported.binderClass, exported.transactionCode); in resolveBinderMethodNames()
566 methodName = previousMethodName; in resolveBinderMethodNames()
568 previousMethodName = methodName; in resolveBinderMethodNames()
569 exported.methodName = methodName; in resolveBinderMethodNames()
582 callStat.methodName = DEBUG_ENTRY_PREFIX + variableName; in createDebugEntry()
630 if (e.methodName != null && e.methodName.startsWith(DEBUG_ENTRY_PREFIX)) { in dumpLocked()
640 .append('#').append(e.methodName) in dumpLocked()
893 public String methodName; field in BinderCallsStats.ExportedCallStat
969 String methodName = new BinderTransactionNameResolver().getMethodName(binderClass, in toString() local
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastQueue.java84 static int traceBegin(@NonNull String methodName) { in traceBegin() argument
85 final int cookie = methodName.hashCode(); in traceBegin()
87 TAG, methodName, cookie); in traceBegin()
/aosp14/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DMainActivityTest.java41 … private Object invokeMethod(Class targetClass, Object target, String methodName, Object... params) in invokeMethod() argument
47 Method method = targetClass.getDeclaredMethod(methodName, paramClasses); in invokeMethod()
/aosp14/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestMethod.java44 public TestMethod(String methodName, Class<? extends TestCase> enclosingClass) { in TestMethod() argument
47 this.testMethodName = methodName; in TestMethod()

1234