/aosp12/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/ |
H A D | DexBuilderTest.java | 48 Method method = clazz.getMethod("return5"); in return5() 56 Method method = clazz.getMethod("returnInteger5"); in returnInteger5() 64 Method method = clazz.getMethod("returnParam", int.class); in returnParam() 73 Method method = clazz.getMethod("returnStringLength", String.class); in returnStringLength() 81 Method method = clazz.getMethod("returnIfZero", int.class); in returnIfZero() 90 Method method = clazz.getMethod("returnIfNotZero", int.class); in returnIfNotZero() 99 Method method = clazz.getMethod("backwardsBranch"); in backwardsBranch() 107 Method method = clazz.getMethod("returnNull"); in returnNull() 115 Method method = clazz.getMethod("makeString"); in makeString() 178 Method method = clazz.getMethod("readStaticField"); in readStaticField() [all …]
|
/aosp12/art/test/563-checker-fakestring/src/ |
H A D | Main.java | 47 Method m = c.getMethod("vregAliasing", byte[].class); in main() 53 c.getMethod("compareNewInstance").invoke(null, (Object[]) null); in main() 59 Method m = c.getMethod("deoptimizeNewInstance", int[].class, byte[].class); in main() 72 Method m = c.getMethod("removeNewInstance", byte[].class); in main() 99 Method m = c.getMethod("loopAndStringInit", byte[].class, boolean.class); in main() 106 Method m = c.getMethod("loopAndStringInitAlias", byte[].class, boolean.class); in main() 122 Method m = c.getMethod( in main() 135 Method m = c.getMethod("loopAndStringInitAndPhi", byte[].class, boolean.class); in main() 150 Method m = c.getMethod("stringAndCatch", byte[].class, boolean.class); in main() 155 Method m = c.getMethod("stringAndCatch2", byte[].class, boolean.class); in main() [all …]
|
/aosp12/art/test/660-store-8-16/src/ |
H A D | Main.java | 27 cls.getMethod("setByteStaticField").invoke(null); in main() 30 cls.getMethod("setShortStaticField").invoke(null); in main() 33 cls.getMethod("setCharStaticField").invoke(null); in main() 38 cls.getMethod("setByteArray", byte[].class).invoke(null, args); in main() 43 cls.getMethod("setShortArray", short[].class).invoke(null, args); in main() 48 cls.getMethod("setCharArray", char[].class).invoke(null, args); in main() 54 cls.getMethod("setByteInstanceField", cls).invoke(null, args); in main() 57 cls.getMethod("setShortInstanceField", cls).invoke(null, args); in main() 60 cls.getMethod("setCharInstanceField", cls).invoke(null, args); in main()
|
/aosp12/art/test/685-shifts/src/ |
H A D | Main.java | 50 m = c.getMethod("shrZero", long.class); in main() 54 m = c.getMethod("ushrZero", long.class); in main() 58 m = c.getMethod("shlOne", long.class); in main() 62 m = c.getMethod("shrOne", long.class); in main() 66 m = c.getMethod("ushrOne", long.class); in main() 72 m = c.getMethod("shlZero", long.class); in main() 76 m = c.getMethod("shrZero", long.class); in main() 80 m = c.getMethod("ushrZero", long.class); in main() 84 m = c.getMethod("shlOne", long.class); in main() 88 m = c.getMethod("shrOne", long.class); in main() [all …]
|
/aosp12/art/test/559-checker-irreducible-loop/src/ |
H A D | Main.java | 26 Method m = c.getMethod("simpleLoop", int.class); in main() 32 Method m = c.getMethod("lse", int.class, Main.class); in main() 38 Method m = c.getMethod("dce", int.class); in main() 44 Method m = c.getMethod("liveness", int.class); in main() 50 Method m = c.getMethod("gvn"); in main() 56 Method m = c.getMethod("licm1", int.class); in main() 62 Method m = c.getMethod("licm2", int.class); in main()
|
/aosp12/art/test/1965-get-set-local-primitive-no-tables/src/art/ |
H A D | Test1965.java | 169 public static Method getMethod(String name) throws Exception { 177 new TestCase(getMethod("IntMethod")), new TestCase(getMethod("LongMethod")), 178 new TestCase(getMethod("FloatMethod")), new TestCase(getMethod("DoubleMethod")), 179 new TestCase(getMethod("ObjectMethod")), new TestCase(getMethod("NullObjectMethod")), 203 new TestCase(getMethod("BooleanMethod")) 205 new TestCase(getMethod("ByteMethod")) 208 new TestCase(getMethod("CharMethod")) 210 new TestCase(getMethod("ShortMethod"))
|
/aosp12/art/test/1966-get-set-local-objects-no-table/src/art/ |
H A D | Test1966.java | 203 public static Method getMethod(String name) throws Exception { 210 new TestCase(getMethod("ObjectMethod")), 211 new TestCase(getMethod("CastInterfaceMethod")), 212 new TestCase(getMethod("CastExactMethod")), 213 new TestCase(getMethod("InterfaceMethod")), 214 new TestCase(getMethod("ExactClassMethod")), 215 new TestCase(getMethod("PrimitiveMethod")), 216 new TestCase(getMethod("NullMethod")), 217 new TestCase(getMethod("CastExactNullMethod")), 218 new TestCase(getMethod("CastInterfaceNullMethod")),
|
/aosp12/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnectionInspector.java | 156 final Method method = clazz.getMethod("getSelectedText", int.class); in hasGetSelectedText() 165 final Method method = clazz.getMethod("setComposingRegion", int.class, int.class); in hasSetComposingRegion() 174 final Method method = clazz.getMethod("commitCorrection", CorrectionInfo.class); in hasCommitCorrection() 183 final Method method = clazz.getMethod("requestCursorUpdates", int.class); in hasRequestCursorUpdate() 192 final Method method = clazz.getMethod("deleteSurroundingTextInCodePoints", int.class, in hasDeleteSurroundingTextInCodePoints() 202 final Method method = clazz.getMethod("getHandler"); in hasGetHandler() 211 final Method method = clazz.getMethod("closeConnection"); in hasCloseConnection() 220 final Method method = clazz.getMethod("commitContent", InputContentInfo.class, in hasCommitContent() 230 final Method method = clazz.getMethod("getSurroundingText", int.class, int.class, in hasGetSurroundingText()
|
/aosp12/art/test/442-checker-constant-folding/src/ |
H A D | Main.java | 58 Method m = testCmp.getMethod("$opt$CmpLongConstants"); in smaliCmpLongConstants() 62 Method m = testCmp.getMethod("$opt$CmpGtFloatConstants"); in smaliCmpGtFloatConstants() 66 Method m = testCmp.getMethod("$opt$CmpLtFloatConstants"); in smaliCmpLtFloatConstants() 70 Method m = testCmp.getMethod("$opt$CmpGtDoubleConstants"); in smaliCmpGtDoubleConstants() 74 Method m = testCmp.getMethod("$opt$CmpLtDoubleConstants"); in smaliCmpLtDoubleConstants() 79 Method m = testCmp.getMethod("$opt$CmpLongSameConstant"); in smaliCmpLongSameConstant() 83 Method m = testCmp.getMethod("$opt$CmpGtFloatSameConstant"); in smaliCmpGtFloatSameConstant() 87 Method m = testCmp.getMethod("$opt$CmpLtFloatSameConstant"); in smaliCmpLtFloatSameConstant() 91 Method m = testCmp.getMethod("$opt$CmpGtDoubleSameConstant"); in smaliCmpGtDoubleSameConstant() 95 Method m = testCmp.getMethod("$opt$CmpLtDoubleSameConstant"); in smaliCmpLtDoubleSameConstant() [all …]
|
/aosp12/art/test/1912-get-set-local-primitive/src/art/ |
H A D | Test1912.java | 220 public static Method getMethod(String name) throws Exception { 227 new TestCase(getMethod("IntMethod")), new TestCase(getMethod("LongMethod")), 228 new TestCase(getMethod("FloatMethod")), new TestCase(getMethod("DoubleMethod")), 229 new TestCase(getMethod("ObjectMethod")), new TestCase(getMethod("NullObjectMethod")), 253 new TestCase(getMethod("BooleanMethod")) 255 new TestCase(getMethod("ByteMethod")) 258 new TestCase(getMethod("CharMethod")) 260 new TestCase(getMethod("ShortMethod"))
|
/aosp12/art/test/457-regs/src/ |
H A D | Main.java | 28 Method m = c.getMethod("mergeOk", boolean.class, byte.class); in main() 33 m = c.getMethod("mergeNotOk", boolean.class, float.class); in main() 38 m = c.getMethod("mergeReferences", Main.class); in main() 43 m = c.getMethod("phiEquivalent"); in main() 48 m = c.getMethod("phiAllEquivalents", Main.class); in main()
|
/aosp12/art/test/503-dead-instructions/src/ |
H A D | Main.java | 24 Method m = c.getMethod("method1"); in main() 29 m = c.getMethod("method2", long.class); in main() 33 m = c.getMethod("method3"); in main() 37 m = c.getMethod("method4"); in main()
|
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | AppCompatActionBar.java | 79 invoke(getMethod(parentView.getClass(), "setWindowCallback", in AppCompatActionBar() 158 Method setTitle = getMethod(mWindowActionBarClass, "setTitle", CharSequence.class); in setTitle() 166 … Method setSubtitle = getMethod(mWindowActionBarClass, "setSubtitle", CharSequence.class); in setSubtitle() 175 if (invoke(getMethod(mWindowActionBarClass, "hasIcon"), mWindowDecorActionBar) in setIcon() 179 Method setIcon = getMethod(mWindowActionBarClass, "setIcon", Drawable.class); in setIcon() 189 Method setHomeAsUp = getMethod(mWindowActionBarClass, in setHomeAsUp() 222 getMethod(mWindowActionBarClass, "getThemedContext"), in inflateMenus() 225 Menu menuBuilder = (Menu)invoke(getMethod(mDecorToolbarClass, "getMenu"), mDecorToolbar); in inflateMenus() 239 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod() method in AppCompatActionBar 241 return owner == null ? null : owner.getMethod(name, parameterTypes); in getMethod()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/ |
H A D | MainActivity.java | 218 Method getConfig = canaryClass.getMethod("getConfig"); in initLeakCanary() 220 Method setConfig = canaryClass.getMethod("setConfig", configClass); in initLeakCanary() 221 Method copy = configClass.getMethod("copy", boolean.class, boolean.class, in initLeakCanary() 230 .getMethod("getDumpHeap").invoke(currentConfig); in initLeakCanary() 232 .getMethod("getDumpHeapWhenDebugging").invoke(currentConfig); in initLeakCanary() 234 .getMethod("getReferenceMatchers").invoke(currentConfig); in initLeakCanary() 236 .getMethod("getObjectInspectors").invoke(currentConfig); in initLeakCanary() 238 .getMethod("getOnHeapAnalyzedListener").invoke(currentConfig); in initLeakCanary() 241 .getMethod("getMetatadaExtractor").invoke(currentConfig); in initLeakCanary() 243 .getMethod("getComputeRetainedHeapSize").invoke(currentConfig); in initLeakCanary() [all …]
|
/aosp12/art/test/173-missing-field-type/src-art/ |
H A D | Main.java | 25 c.getMethod("storeStaticNull").invoke(null); in main() 26 c.getMethod("storeInstanceNull").invoke(null); in main() 38 c.getMethod(methodName).invoke(null); in testLoadObject() 43 c.getMethod(methodName).invoke(null); in testStoreObject()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | NotificationCompatUtils.java | 28 CompatUtils.getMethod(Notification.Builder.class, "setColor", int.class); 30 CompatUtils.getMethod(Notification.Builder.class, "setVisibility", int.class); 32 CompatUtils.getMethod(Notification.Builder.class, "setCategory", String.class); 34 CompatUtils.getMethod(Notification.Builder.class, "setPriority", int.class); 36 CompatUtils.getMethod(Notification.Builder.class, "build");
|
H A D | CompatUtils.java | 42 public static Method getMethod(final Class<?> targetClass, final String name, in getMethod() method in CompatUtils 48 return targetClass.getMethod(name, parameterTypes); in getMethod() 145 public <T> ToObjectMethodWrapper<T> getMethod(final String name, in getMethod() method in CompatUtils.ClassWrapper 147 return new ToObjectMethodWrapper<>(CompatUtils.getMethod(mClass, name, parameterTypes), in getMethod() 153 return new ToIntMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod() 159 return new ToFloatMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod() 165 return new ToBooleanMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod()
|
/aosp12/art/test/412-new-array/src/ |
H A D | Main.java | 162 Method m = c.getMethod("newRef", Object.class, Object.class); in testSmaliFilledNewArray() 171 Method m = c.getMethod("newArray", int[].class, int[].class); in testSmaliFilledNewArray() 190 Method m = c.getMethod("newRefRange", Object.class, Object.class); in testSmaliFilledNewArray() 199 Method m = c.getMethod("newArrayRange", int[].class, int[].class); in testSmaliFilledNewArray() 223 Method m = c.getMethod("emptyIntArray", int[].class); in testSmaliFillArrayData() 255 Method m = c.getMethod("intArray", int[].class); in testSmaliFillArrayData() 333 Method m = c.getMethod("shortArray", short[].class); in testSmaliFillArrayData() 372 Method m = c.getMethod("longArray", long[].class); in testSmaliFillArrayData() 411 Method m = c.getMethod("charArray", char[].class); in testSmaliFillArrayData() 450 Method m = c.getMethod("byteArray", byte[].class); in testSmaliFillArrayData() [all …]
|
/aosp12/art/test/1913-get-set-local-objects/src/art/ |
H A D | Test1913.java | 250 public static Method getMethod(String name) throws Exception { 257 new TestCase(getMethod("ObjectMethod")), new TestCase(getMethod("InterfaceMethod")), 258 new TestCase(getMethod("SpecificClassMethod")), new TestCase(getMethod("PrimitiveMethod")), 259 new TestCase(getMethod("NullObjectMethod")), 260 new TestCase(getMethod("NullInterfaceMethod")), 261 new TestCase(getMethod("NullSpecificClassMethod")),
|
/aosp12/art/test/530-checker-lse3/src/ |
H A D | Main.java | 27 Method m = c.getMethod("test", int.class); in main() 32 m = c.getMethod("test2", int.class); in main() 48 m = c.getMethod("test3", int.class); in main() 54 m = c.getMethod("test4", int.class); in main()
|
/aosp12/art/test/1914-get-local-instance/src/art/ |
H A D | Test1914.java | 167 public static Method getMethod(Class<?> klass, String name) throws Exception { 193 new TestCase(null, getMethod(Test1914.class, "StaticMethod")), 194 new TestCase(null, getMethod(Test1914.class, "NativeStaticMethod")), 196 getMethod(TargetClass.class, "InstanceMethod")), 198 getMethod(TargetClass.class, "NativeInstanceMethod")), 200 getMethod(Foo.class, "InterfaceProxyMethod")),
|
/aosp12/art/test/816-illegal-new-array/src/ |
H A D | Main.java | 24 Method m = c.getMethod("filledNewArray"); in main() 34 m = c.getMethod("filledNewArrayRange"); in main() 44 m = c.getMethod("newArray"); in main()
|
/aosp12/art/test/723-string-init-range/src/ |
H A D | Main.java | 24 Method m = c.getMethod("initRange", String.class); in main() 30 m = c.getMethod("initRange", byte[].class, int.class, int.class, int.class); in main() 37 m = c.getMethod("initRangeWithAlias", String.class); in main()
|
/aosp12/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/service/chat/ |
H A D | MinimalCpmChatService.java | 116 if (!TextUtils.equals(msg.getMethod(), Request.ACK)) { in sendSipRequest() 120 if (TextUtils.equals(msg.getMethod(), Request.BYE)) { in sendSipRequest() 130 if (TextUtils.equals(msg.getCSeq().getMethod(), Request.BYE)) { in sendSipResponse() 132 } else if (TextUtils.equals(msg.getCSeq().getMethod(), Request.INVITE) in sendSipResponse() 147 } else if (TextUtils.equals(request.getMethod(), Request.INVITE)) { in handleRequest() 188 if (TextUtils.equals(response.getCSeq().getMethod(), Request.INVITE) in handleResponse()
|
/aosp12/art/test/201-built-in-except-detail-messages/src/ |
H A D | Main.java | 385 Method m = A.class.getMethod("m", int.class, String.class); in reflection() 395 Method m = A.class.getMethod("m", int.class, String.class); in reflection() 403 Method m = String.class.getMethod("charAt", int.class); in reflection() 410 Method m = String.class.getMethod("charAt", int.class); in reflection() 418 Method m = String.class.getMethod("charAt", int.class); in reflection() 426 Method m = String.class.getMethod("charAt", int.class); in reflection() 434 Method m = String.class.getMethod("charAt", int.class); in reflection()
|