/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | CompletableFutureUtil.java | 67 @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() 91 logTimeoutInternal(tag, methodName, timeoutMillis); in getValueOrNullInternal() 94 logErrorInternal(tag, methodName, e.getMessage()); in getValueOrNullInternal() 109 private static void logTimeoutInternal(@Nullable String tag, @Nullable String methodName, in logTimeoutInternal() argument 111 if (tag == null || methodName == null) { in logTimeoutInternal() 114 Log.w(tag, methodName + " didn't respond in " + timeout + " msec."); in logTimeoutInternal() 118 private static void logErrorInternal(@Nullable String tag, @Nullable String methodName, in logErrorInternal() argument [all …]
|
/frameworks/libs/systemui/tracinglib/core/android/src-public-api/src/ |
D | TraceProxy.jetpack.kt | 31 internal actual fun traceBegin(methodName: String) { in traceBegin() 32 Trace.beginSection(methodName) in traceBegin() 39 internal actual fun asyncTraceBegin(methodName: String, cookie: Int) { in asyncTraceBegin() 40 Trace.beginAsyncSection(methodName, cookie) in asyncTraceBegin() 43 internal actual fun asyncTraceEnd(methodName: String, cookie: Int) { in asyncTraceEnd() 44 Trace.endAsyncSection(methodName, cookie) in asyncTraceEnd() 47 private fun namedSlice(trackName: String, methodName: String) = "$trackName:$methodName" in namedSlice() 50 internal actual fun asyncTraceForTrackBegin(trackName: String, methodName: String, cookie: Int) { in namedSlice() 52 asyncTraceBegin(namedSlice(trackName, methodName), cookie) in namedSlice() 57 internal actual fun asyncTraceForTrackEnd(trackName: String, methodName: String, cookie: Int) { in asyncTraceForTrackEnd() [all …]
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/ |
D | InMemoryOutputFilter.kt | 43 private fun getMethodKey(className: String, methodName: String, signature: String): String { in getMethodKey() 44 return getClassKey(className) + "." + methodName + ";" + signature in getMethodKey() 65 methodName: String, in checkMethod() 68 if (classes.findMethod(className, methodName, descriptor) == null) { in checkMethod() 90 methodName: String, in getPolicyForMethod() 93 return mPolicies[getMethodKey(className, methodName, descriptor)] in getPolicyForMethod() 94 ?: super.getPolicyForMethod(className, methodName, descriptor) in getPolicyForMethod() 99 methodName: String, in setPolicyForMethod() 103 checkMethod(className, methodName, descriptor) in setPolicyForMethod() 104 mPolicies[getMethodKey(className, methodName, descriptor)] = policy in setPolicyForMethod() [all …]
|
D | DelegatingFilter.kt | 61 methodName: String, in getPolicyForMethod() 64 return fallback.getPolicyForMethod(className, methodName, descriptor) in getPolicyForMethod() 69 methodName: String, in getRenameTo() 72 return fallback.getRenameTo(className, methodName, descriptor) in getRenameTo() 85 methodName: String, in getMethodCallHooks() 88 return fallback.getMethodCallHooks(className, methodName, descriptor) in getMethodCallHooks()
|
D | ImplicitOutputFilter.kt | 76 methodName: String, in <lambda>() 79 val fallback = super.getPolicyForMethod(className, methodName, descriptor) in <lambda>() 86 (methodName == "<init>") && // Constructor? in <lambda>() 88 classes.findMethod(className, methodName, descriptor)?.let { mn -> in <lambda>() 102 methodName == CLASS_INITIALIZER_NAME && descriptor == CLASS_INITIALIZER_DESC) { in <lambda>() 116 val mn = classes.findMethod(className, methodName, descriptor) in <lambda>()
|
D | AnnotationBasedFilter.kt | 237 methodName: String, in <lambda>() 242 if (methodName == CLASS_INITIALIZER_NAME && descriptor == CLASS_INITIALIZER_DESC) { in <lambda>() 249 cn.methods?.firstOrNull { it.name == methodName && it.desc == descriptor }?.let { mn -> in <lambda>() 263 methodName, in <lambda>() 269 return super.getPolicyForMethod(className, methodName, descriptor) in <lambda>() 274 methodName: String, in <lambda>() 280 cn.methods?.firstOrNull { it.name == methodName && it.desc == descriptor }?.let { mn -> in <lambda>() 321 fun getPolicyFromSubstitution(cn: ClassNode, methodName: String, descriptor: String): in <lambda>() 324 return policiesFromSubstitution[MethodKey(methodName, descriptor)] in <lambda>() 327 fun getRenameTo(cn: ClassNode, methodName: String, descriptor: String): String? { in <lambda>() [all …]
|
D | OutputFilter.kt | 49 methodName: String, in getPolicyForClass() 58 open fun getRenameTo(className: String, methodName: String, descriptor: String): String? { in getPolicyForClass() 88 open fun getMethodCallHooks(className: String, methodName: String, descriptor: String): in getMethodCallHooks()
|
D | StubIntersectingFilter.kt | 84 methodName: String, in <lambda>() 87 return intersectWithStub(super.getPolicyForMethod(className, methodName, descriptor)) { in <lambda>() 88 exists { classes -> classes.findMethod(className, methodName, descriptor) != null } in <lambda>()
|
/frameworks/libs/systemui/tracinglib/core/host/src-fake/ |
D | TraceProxy.fake.kt | 89 internal actual fun traceBegin(methodName: String) { in traceBegin() 90 debug("traceBegin: name=$methodName") in traceBegin() 91 FakeTraceState.begin(methodName) in traceBegin() 99 internal actual fun asyncTraceBegin(methodName: String, cookie: Int) { in asyncTraceBegin() 100 debug("asyncTraceBegin: name=$methodName cookie=${cookie.toHexString()}") in asyncTraceBegin() 103 internal actual fun asyncTraceEnd(methodName: String, cookie: Int) { in asyncTraceEnd() 104 debug("asyncTraceEnd: name=$methodName cookie=${cookie.toHexString()}") in asyncTraceEnd() 108 internal actual fun asyncTraceForTrackBegin(trackName: String, methodName: String, cookie: Int) { in asyncTraceForTrackBegin() 110 "asyncTraceForTrackBegin: track=$trackName name=$methodName cookie=${cookie.toHexString()}" in asyncTraceForTrackBegin() 115 internal actual fun asyncTraceForTrackEnd(trackName: String, methodName: String, cookie: Int) { in asyncTraceForTrackEnd() [all …]
|
/frameworks/libs/systemui/tracinglib/core/android/src-platform-api/ |
D | TraceProxy.platform.kt | 30 internal actual fun traceBegin(methodName: String) { in traceBegin() 31 Trace.traceBegin(Trace.TRACE_TAG_APP, methodName) in traceBegin() 38 internal actual fun asyncTraceBegin(methodName: String, cookie: Int) { in asyncTraceBegin() 39 Trace.asyncTraceBegin(Trace.TRACE_TAG_APP, methodName, cookie) in asyncTraceBegin() 42 internal actual fun asyncTraceEnd(methodName: String, cookie: Int) { in asyncTraceEnd() 43 Trace.asyncTraceEnd(Trace.TRACE_TAG_APP, methodName, cookie) in asyncTraceEnd() 47 internal actual fun asyncTraceForTrackBegin(trackName: String, methodName: String, cookie: Int) { in asyncTraceForTrackBegin() 48 Trace.asyncTraceForTrackBegin(Trace.TRACE_TAG_APP, trackName, methodName, cookie) in asyncTraceForTrackBegin() 52 internal actual fun asyncTraceForTrackEnd(trackName: String, methodName: String, cookie: Int) { in asyncTraceForTrackEnd()
|
/frameworks/base/core/java/android/os/ |
D | Trace.java | 238 public static void traceBegin(long traceTag, @NonNull String methodName) { in traceBegin() argument 240 nativeTraceBegin(traceTag, methodName); in traceBegin() 282 public static void asyncTraceBegin(long traceTag, @NonNull String methodName, int cookie) { in asyncTraceBegin() argument 284 nativeAsyncTraceBegin(traceTag, methodName, cookie); in asyncTraceBegin() 304 public static void asyncTraceEnd(long traceTag, @NonNull String methodName, int cookie) { in asyncTraceEnd() argument 306 nativeAsyncTraceEnd(traceTag, methodName, cookie); in asyncTraceEnd() 386 @NonNull String trackName, @NonNull String methodName, int cookie) { in asyncTraceForTrackBegin() argument 388 nativeAsyncTraceForTrackBegin(traceTag, trackName, methodName, cookie); in asyncTraceForTrackBegin() 423 public static void instant(long traceTag, String methodName) { in instant() argument 425 nativeInstant(traceTag, methodName); in instant() [all …]
|
/frameworks/base/core/jni/ |
D | android_animation_PropertyValuesHolder.cpp | 33 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() 65 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName, jint parameterCount) in android_animation_PropertyValuesHolder_getMultipleFloatMethod() argument [all …]
|
/frameworks/base/tools/hoststubgen/hoststubgen/helper-runtime-src/com/android/hoststubgen/hosthelper/ |
D | HostTestUtils.java | 77 String methodName, in callMethodCallHook() argument 82 methodName, methodDescriptor); in callMethodCallHook() 94 String methodName, in logMethodCall() argument 101 + methodName + methodDescriptor); in logMethodCall() 153 String methodName, in onNonStubMethodCalled() argument 162 logPrintStream.println("! " + methodClass + "." + methodName + methodDescriptor in onNonStubMethodCalled() 196 final String methodName = classAndMethodName.substring(lastPeriod + 1); in callStaticMethodByName() local 221 method = clazz.getMethod(methodName, argTypes); in callStaticMethodByName() 227 description, className, methodName), e); in callStaticMethodByName() 233 description, methodName, className)); in callStaticMethodByName() [all …]
|
/frameworks/libs/systemui/tracinglib/core/common/src/ |
D | TraceProxy.kt | 23 internal expect fun traceBegin(methodName: String) 27 internal expect fun asyncTraceBegin(methodName: String, cookie: Int) 29 internal expect fun asyncTraceEnd(methodName: String, cookie: Int) 31 internal expect fun asyncTraceForTrackBegin(trackName: String, methodName: String, cookie: Int) 33 internal expect fun asyncTraceForTrackEnd(trackName: String, methodName: String, cookie: Int)
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | TestCaseCollector.java | 67 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()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
D | SysTrace.java | 102 public static void beginSectionAsync(String methodName, int cookie) { in beginSectionAsync() argument 104 Log.v(TAG, "beginSectionAsync " + methodName + " " + cookie); in beginSectionAsync() 116 public static void endSectionAsync(String methodName, int cookie) { in endSectionAsync() argument 118 Log.v(TAG, "endSectionAsync " + methodName + " " + cookie); in endSectionAsync()
|
/frameworks/base/media/java/android/media/ |
D | CallbackUtil.java | 126 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()
|
/frameworks/base/tests/utils/testutils/java/com/android/test/filters/ |
D | SelectTest.java | 238 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()
|
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | StubMethodAdapterTest.java | 46 final String methodName = "returnTrue"; in testBoolean() local 48 testBoolean((name, type) -> false, Assert::assertTrue, methodName); in testBoolean() local 50 testBoolean((name, type) -> methodName.equals(name) && in testBoolean() 51 Type.BOOLEAN_TYPE.equals(type.getReturnType()), Assert::assertFalse, methodName); in testBoolean() local 58 String methodName) throws Exception { in testBoolean() argument 68 Method method = aClass.getMethod(methodName); in testBoolean()
|
D | ClassHasNativeVisitorTest.java | 70 protected void setHasNativeMethods(boolean hasNativeMethods, String methodName) { in setHasNativeMethods() argument 72 mMethodsFound.add(methodName); in setHasNativeMethods() 74 super.setHasNativeMethods(hasNativeMethods, methodName); in setHasNativeMethods()
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/dumper/ |
D | ApiDumper.kt | 69 methodName: String, in <lambda>() 79 csvEscape(methodName), in <lambda>() 87 private fun isDuplicate(methodName: String, methodDesc: String): Boolean { in <lambda>() 88 val methodKey = MethodKey(methodName, methodDesc) in <lambda>() 187 val methodName = method.name in <lambda>() constant 191 if (isDuplicate(methodName, methodDesc)) { in <lambda>() 196 methodName, methodDesc, javaStandardApiPolicy) in <lambda>()
|
/frameworks/base/media/java/android/media/tv/tuner/ |
D | TunerVersionChecker.java | 139 @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()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayActorEnforcer.java | 83 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()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | BenchmarkResultsReporter.java | 46 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()
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
D | Session.java | 106 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()
|