/aosp12/art/test/952-invoke-custom/src/ |
H A D | TestVariableArityLinkerMethod.java | 57 String methodName, in bsmWithStringArray() argument 61 printBsmArgs("bsmWithStringArray", lookup, methodName, methodType, arityArgs); in bsmWithStringArray() 128 String methodName, in bsmWithIntAndStringArray() argument 136 methodName, in bsmWithIntAndStringArray() 214 String methodName, in bsmWithLongAndIntArray() argument 252 String methodName, in bsmWithFloatAndLongArray() argument 289 String methodName, in bsmWithClassAndFloatArray() argument 328 String methodName, in bsmWithDoubleArray() argument 363 String methodName, in bsmWithClassArray() argument 367 printBsmArgs("bsmWithClassArray", lookup, methodName, methodType, arityArgs); in bsmWithClassArray() [all …]
|
/aosp12/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 810 String methodName; in pairOrAcceptPair() local 951 String methodName) { in connectProfile() argument 952 if (methodName == null) { in connectProfile() 1034 String methodName) { in disconnectProfile() argument 1035 if (methodName == null) { in disconnectProfile() 1140 String methodName; in connectPanOrIncomingPanConnection() local 1245 String methodName; in disconnectFromRemoteOrVerifyConnectNap() local 1346 String methodName; in startStopSco() local 1404 methodName, isScoOn, isStart, firedFlags, mask)); in startStopSco() 1427 String methodName = "getUnreadMessage"; in mceGetUnreadMessage() local [all …]
|
/aosp12/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
H A D | InstanceMethod.java | 31 final String receiverName, final String methodName) { in InstanceMethod() argument 35 this.name = methodName; in InstanceMethod() 62 public static InstanceMethod newInstance(final Class<?> receiverClass, final String methodName, in newInstance() argument 69 receiverClass.getMethod(methodName, parameterTypes), className, methodName); in newInstance() 71 return new InstanceMethod(receiverClass, null, className, methodName); in newInstance() 75 public static InstanceMethod newInstance(final String className, final String methodName, in newInstance() argument 78 return newInstance(Class.forName(className), methodName, parameterTypes); in newInstance() 80 return new InstanceMethod(null, null, className, methodName); in newInstance()
|
/aosp12/art/test/2230-profile-save-hotness/src-art/ |
H A D | Main.java | 51 String methodName = "$noinline$hotnessCount"; in main() local 52 Method appMethod = Main.class.getDeclaredMethod(methodName); in main() 55 getHotnessCounter(Main.class, methodName)); in main() 57 if (getHotnessCounter(Main.class, methodName) == 0) { in main() 59 getHotnessCounter(Main.class, methodName)); in main() 62 if (getHotnessCounter(Main.class, methodName) != 0) { in main() 63 System.out.println("Hotness should be zero " + getHotnessCounter(Main.class, methodName)); in main() 76 public static native boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument 77 public static native int getHotnessCounter(Class<?> cls, String methodName); in getHotnessCounter() argument
|
/aosp12/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
H A D | SoundTriggerMiddlewareLogging.java | 122 private void logException(String methodName, Exception ex, Object... args) { in logException() argument 123 logExceptionWithObject(this, IdentityContext.get(), methodName, ex, args); in logException() 126 private void logReturn(String methodName, Object retVal, Object... args) { in logReturn() argument 130 private void logVoidReturn(String methodName, Object... args) { in logVoidReturn() argument 131 logVoidReturnWithObject(this, IdentityContext.get(), methodName, args); in logVoidReturn() 289 private void logVoidReturn(String methodName, Object... args) { in logVoidReturn() argument 290 logVoidReturnWithObject(this, mOriginatorIdentity, methodName, args); in logVoidReturn() 350 private void logVoidReturn(String methodName, Object... args) { in logVoidReturn() argument 404 String methodName, in logReturnWithObject() argument 417 @Nullable Identity originatorIdentity, @NonNull String methodName, in logVoidReturnWithObject() argument [all …]
|
/aosp12/frameworks/base/core/jni/ |
H A 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() 67 return getMultiparameterMethod(env, targetClass, methodName, parameterCount, 'F'); in android_animation_PropertyValuesHolder_getMultipleFloatMethod() [all …]
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | Trace.java | 201 public static void traceBegin(long traceTag, String methodName) { in traceBegin() argument 203 nativeTraceBegin(traceTag, methodName); in traceBegin() 236 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) { in asyncTraceBegin() argument 238 nativeAsyncTraceBegin(traceTag, methodName, cookie); in asyncTraceBegin() 254 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) { in asyncTraceEnd() argument 256 nativeAsyncTraceEnd(traceTag, methodName, cookie); in asyncTraceEnd() 316 public static void beginAsyncSection(@NonNull String methodName, int cookie) { in beginAsyncSection() argument 317 asyncTraceBegin(TRACE_TAG_APP, methodName, cookie); in beginAsyncSection() 328 public static void endAsyncSection(@NonNull String methodName, int cookie) { in endAsyncSection() argument 329 asyncTraceEnd(TRACE_TAG_APP, methodName, cookie); in endAsyncSection()
|
/aosp12/art/tools/dmtracedump/ |
H A D | tracedump.cc | 301 method->methodName = methodName; in initMethodEntry() 343 result = strcmp(methodA->methodName, methodB->methodName); in compareElapsedExclusive() 373 result = strcmp(methodA->methodName, methodB->methodName); in compareElapsedInclusive() 405 result = strcmp(methodA->methodName, methodB->methodName); in compareTimedMethod() 469 int32_t result = strcmp(methodA->methodName, methodB->methodName); in compareMethodNames() 1266 const char* methodName = relative->methodName; in printInclusiveMethod() local 1276 methodName = htmlEscape(methodName, methodBuf, HTML_BUFSIZE); in printInclusiveMethod() 1391 const char* methodName = method->methodName; in printExclusiveProfile() local 1525 const char* methodName = method->methodName; in printInclusiveProfile() local 1777 const char* methodName = method->methodName; in printClassProfiles() local [all …]
|
/aosp12/frameworks/layoutlib/bridge/src/android/animation/ |
H A D | PropertyValuesHolder_Delegate.java | 62 private static long registerMethod(Class<?> targetClass, String methodName, Class[] types, in registerMethod() argument 66 methodName, nArgs); in registerMethod() 85 method = targetClass.getDeclaredMethod(methodName, args); in registerMethod() 119 /*package*/ static long nGetIntMethod(Class<?> targetClass, String methodName) { in nGetIntMethod() argument 120 return nGetMultipleIntMethod(targetClass, methodName, 1); in nGetIntMethod() 124 /*package*/ static long nGetFloatMethod(Class<?> targetClass, String methodName) { in nGetFloatMethod() argument 125 return nGetMultipleFloatMethod(targetClass, methodName, 1); in nGetFloatMethod() 129 /*package*/ static long nGetMultipleIntMethod(Class<?> targetClass, String methodName, in nGetMultipleIntMethod() argument 131 return registerMethod(targetClass, methodName, INTEGER_VARIANTS, numParams); in nGetMultipleIntMethod() 135 /*package*/ static long nGetMultipleFloatMethod(Class<?> targetClass, String methodName, in nGetMultipleFloatMethod() argument [all …]
|
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | RunMethodInstrumentation.java | 50 private String methodName; field in RunMethodInstrumentation 61 methodName = arguments.getString("method"); in onCreate() 65 Log.d(TAG, "Running " + className + "." + methodName); in onCreate() 82 if (className == null || methodName == null) { in onStart() 99 invokeMethod(args, className, methodName); in onStart() 109 private void invokeMethod(Bundle args, String className, String methodName) throws in invokeMethod() argument 128 method = clazz.getMethod(methodName, Context.class, Bundle.class); in invokeMethod() 139 method = clazz.getMethod(methodName, Context.class); in invokeMethod() 149 method = clazz.getMethod(methodName); in invokeMethod()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/compat/ |
H A D | CompatUtils.java | 220 public static boolean isMethodAvailable(@Nullable String className, @Nullable String methodName, in isMethodAvailable() argument 222 if (TextUtils.isEmpty(className) || TextUtils.isEmpty(methodName)) { in isMethodAvailable() 227 Class.forName(className).getMethod(methodName, parameterTypes); in isMethodAvailable() 231 Log.v(TAG, "Could not find method: " + className + "#" + methodName); in isMethodAvailable() 236 + methodName + " exists at runtime", t); in isMethodAvailable() 253 public static Object invokeMethod(@Nullable Object instance, @Nullable String methodName, in invokeMethod() argument 255 if (instance == null || TextUtils.isEmpty(methodName)) { in invokeMethod() 261 return Class.forName(className).getMethod(methodName, parameterTypes) in invokeMethod() 266 Log.v(TAG, "Could not invoke method: " + className + "#" + methodName); in invokeMethod() 271 + "#" + methodName + " at runtime", t); in invokeMethod()
|
/aosp12/art/test/1339-dead-reference-safe/src/ |
H A D | Main.java | 24 public static boolean ensureCompiled(Class cls, String methodName) throws NoSuchMethodException { in ensureCompiled() argument 25 Method m = cls.getDeclaredMethod(methodName); in ensureCompiled() 26 if (isAotCompiled(cls, methodName)) { in ensureCompiled() 30 if (hasJitCompiledEntrypoint(cls, methodName)) { in ensureCompiled() 63 public static native boolean hasJitCompiledEntrypoint(Class<?> cls, String methodName); in hasJitCompiledEntrypoint() argument 64 public static native boolean isAotCompiled(Class<?> cls, String methodName); in isAotCompiled() argument
|
/aosp12/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
H A 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()
|
/aosp12/frameworks/base/tests/utils/testutils/java/com/android/test/filters/ |
H A 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()
|
/aosp12/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
H A D | StubMethodAdapterTest.java | 46 final String methodName = "returnTrue"; in testBoolean() local 48 testBoolean((name, type) -> false, Assert::assertTrue, methodName); in testBoolean() 50 testBoolean((name, type) -> methodName.equals(name) && in testBoolean() 51 Type.BOOLEAN_TYPE.equals(type.getReturnType()), Assert::assertFalse, methodName); in testBoolean() 58 String methodName) throws Exception { in testBoolean() argument 68 Method method = aClass.getMethod(methodName); in testBoolean()
|
/aosp12/art/test/173-missing-field-type/src-art/ |
H A D | Main.java | 37 public static void testLoadObject(Class<?> c, String methodName) throws Throwable { in testLoadObject() argument 38 c.getMethod(methodName).invoke(null); in testLoadObject() 41 public static void testStoreObject(Class<?> c, String methodName) throws Throwable { in testStoreObject() argument 43 c.getMethod(methodName).invoke(null); in testStoreObject()
|
/aosp12/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
H A 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()
|
/aosp12/art/test/726-array-store/src/ |
H A D | Main.java | 37 static void check(ArrayStoreException ase, int mainLine, int methodLine, String methodName) { in check() argument 39 checkElement(trace[0], "Main", methodName, "Main.java", methodLine); in check() 44 String declaringClass, String methodName, in checkElement() argument 47 assertEquals(methodName, element.getMethodName()); in checkElement()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | RemoteViews.java | 485 public String methodName; field in RemoteViews.MethodKey 495 && Objects.equals(p.methodName, methodName); in equals() 507 this.methodName = methodName; in set() 1620 String methodName; field in RemoteViews.BitmapReflectionAction 1625 this.methodName = methodName; in BitmapReflectionAction() 1688 String methodName; field in RemoteViews.BaseReflectionAction 1693 this.methodName = methodName; in BaseReflectionAction() 2205 String methodName, in NightModeReflectionAction() argument 4972 methodName, 5010 methodName, [all …]
|
/aosp12/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
H A D | NewMethodCaller.java | 49 public String methodName; field in NewMethodCaller.AssociatedMutation 67 methodName, in getString() 79 methodName = elements[5]; in parseString() 130 mutation.methodName = "gc"; in generateMutation() 169 mutation.methodName, mutation.signature); in applyMutation() 180 mutation.className, mutation.methodName, mutation.signature, insertionPoint)); in applyMutation()
|
/aosp12/art/test/671-npe-field-opts/src/ |
H A D | Main.java | 59 static void check(NullPointerException npe, int mainLine, int methodLine, String methodName) { in check() argument 61 checkElement(trace[0], "Main", methodName, "Main.java", methodLine); in check() 66 String declaringClass, String methodName, in checkElement() argument 69 assertEquals(methodName, element.getMethodName()); in checkElement()
|
/aosp12/frameworks/base/media/java/android/media/tv/tuner/ |
H A D | TunerVersionChecker.java | 130 @TunerVersion int version, String methodName) { in checkHigherOrEqualVersionTo() argument 135 + " does not support " + methodName + "."); in checkHigherOrEqualVersionTo() 142 public static boolean checkSupportVersion(@TunerVersion int version, String methodName) { in checkSupportVersion() argument 147 + " does not support " + methodName + "."); in checkSupportVersion()
|
/aosp12/system/extras/simpleperf/scripts/inferno/ |
H A D | script.js | 65 let methodName = title.textContent.split(' | ')[0]; 68 for (numCharacters = methodName.length; numCharacters > 4; numCharacters--) { 76 if (numCharacters == methodName.length) { 77 text.textContent = methodName; 81 text.textContent = methodName.substring(0, numCharacters-2) + '..'; 256 let methodName = method_and_info[0]; 273 barTextElement.textContent = methodName;
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/ |
H A D | TestContentProvider.java | 82 public Bundle call(String methodName, String uriString, Bundle extras) { in call() argument 83 if (TextUtils.isEmpty(methodName)) { in call() 106 if (!methodName.equals(pathSegments.get(0))) { in call() 110 if (METHOD_GET_TEXT.equals(methodName)) { in call() 117 } else if (METHOD_GET_ICON.equals(methodName)) { in call()
|
/aosp12/art/test/674-hiddenapi/src-ex/ |
H A D | JLI.java | 78 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindVirtual() argument 80 return lookup.findVirtual(klass, methodName, methodType) != null; in canDiscoverWithLookupFindVirtual() 89 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) { in canDiscoverWithLookupFindStatic() argument 91 return lookup.findStatic(klass, methodName, methodType) != null; in canDiscoverWithLookupFindStatic()
|