Home
last modified time | relevance | path

Searched refs:methodType (Results 1 – 25 of 45) sorted by relevance

12

/aosp12/art/test/956-methodhandles/src/
H A DMain.java206 MethodType.methodType(String.class, String.class)); in testExceptionDetailMessages()
308 MethodType.methodType(String.class)); in testfindVirtual()
331 MethodType.methodType(String.class)); in testfindVirtual()
345 MethodType.methodType(String.class)); in testfindVirtual()
354 MethodType.methodType(String.class)); in testfindVirtual()
361 MethodType.methodType(String.class)); in testfindVirtual()
368 MethodType.methodType(String.class)); in testfindVirtual()
803 String.class, MethodType.methodType(void.class)); in testStringConstructors()
918 String.class, MethodType.methodType(void.class)); in testStringConstructors()
1708 MethodType type = MethodType.methodType(String.class); in testRevealDirect()
[all …]
/aosp12/art/test/952-invoke-custom/src/
H A DTestVariableArityLinkerMethod.java58 MethodType methodType, in bsmWithStringArray() argument
61 printBsmArgs("bsmWithStringArray", lookup, methodName, methodType, arityArgs); in bsmWithStringArray()
129 MethodType methodType, in bsmWithIntAndStringArray() argument
137 methodType, in bsmWithIntAndStringArray()
215 MethodType methodType, in bsmWithLongAndIntArray() argument
253 MethodType methodType, in bsmWithFloatAndLongArray() argument
290 MethodType methodType, in bsmWithClassAndFloatArray() argument
329 MethodType methodType, in bsmWithDoubleArray() argument
364 MethodType methodType, in bsmWithClassArray() argument
367 printBsmArgs("bsmWithClassArray", lookup, methodName, methodType, arityArgs); in bsmWithClassArray()
[all …]
H A DTestInvocationKinds.java30 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupStaticFieldGetter() argument
33 lookup.findStaticGetter(TestInvocationKinds.class, name, methodType.returnType()); in lookupStaticFieldGetter()
52 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupStaticFieldSetter() argument
56 TestInvocationKinds.class, name, methodType.parameterType(0)); in lookupStaticFieldSetter()
76 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupInstanceFieldSetter() argument
79 lookup.findSetter(methodType.parameterType(0), name, methodType.parameterType(1)); in lookupInstanceFieldSetter()
99 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable { in lookupInstanceFieldGetter() argument
102 lookup.findGetter(methodType.parameterType(0), name, methodType.returnType()); in lookupInstanceFieldGetter()
146 MethodType mt = methodType.dropParameterTypes(0, 1); in lookupVirtual()
183 Class<?> cls = methodType.returnType(); in lookupConstructor()
[all …]
H A DTestLinkerMethodWithRange.java80 MethodType methodType, in primLinkerMethod() argument
92 System.out.println("Linking " + name + " " + methodType); in primLinkerMethod()
104 caller.findStatic(TestLinkerMethodWithRange.class, name, methodType); in primLinkerMethod()
150 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in refLinkerMethod() argument
151 System.out.println("Linking " + name + " " + methodType); in refLinkerMethod()
153 caller.findStatic(TestLinkerMethodWithRange.class, name, methodType); in refLinkerMethod()
H A DTestInvokeCustomWithConcurrentThreads.java86 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in linkerMethod() argument
88 caller.findStatic(TestInvokeCustomWithConcurrentThreads.class, name, methodType); in linkerMethod()
89 assertEquals(methodType, mh.type()); in linkerMethod()
94 assertEquals(methodType, mh.type()); in linkerMethod()
H A DTestLinkerMethodMinimalArguments.java60 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in linkerMethod() argument
63 caller.findStatic(TestLinkerMethodMinimalArguments.class, name, methodType); in linkerMethod()
67 "Returning null instead of CallSite for " + name + " " + methodType); in linkerMethod()
H A DTestBadBootstrapArguments.java31 MethodType methodType, in bsm() argument
40 System.out.print(methodType); in bsm()
46 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsm()
221 MethodType methodType, in bsmZBCS() argument
266 MethodType methodType, in bsmDJ() argument
275 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmDJ()
310 MethodType methodType, in bsmDoubleLong() argument
319 MethodHandle mh = lookup.findStatic(lookup.lookupClass(), methodName, methodType); in bsmDoubleLong()
H A DTestLinkerMethodMultipleArgumentTypes.java81 MethodType methodType, in linkerMethod() argument
93 System.out.println("Linking " + name + " " + methodType); in linkerMethod()
105 caller.findStatic(TestLinkerMethodMultipleArgumentTypes.class, name, methodType); in linkerMethod()
H A DUnrelatedBSM.java25 MethodHandles.Lookup lookup, String name, MethodType methodType, Class<?> target) in bsm() argument
27 MethodHandle mh = lookup.findStatic(target, name, methodType); in bsm()
H A DTestDynamicBootstrapArguments.java32 MethodType methodType, in bsm() argument
39 MethodHandle mh = lookup.findStatic(definingClass, methodName, methodType); in bsm()
H A DMain.java24 CallSite callSite = new MutableCallSite(MethodType.methodType(int.class)); in TestUninitializedCallSite()
32 callSite = new MutableCallSite(MethodType.methodType(String.class, int.class, char.class)); in TestUninitializedCallSite()
/aosp12/art/test/957-methodhandle-transforms/src/
H A DMain.java943 MethodType methodType = MethodType.methodType(int.class, in testSpreaders_reference() local
946 Main.class, "spreadReferences", methodType); in testSpreaders_reference()
1128 type = MethodType.methodType(int.class, in testSpreaders_primitive()
1145 type = MethodType.methodType(int.class, in testSpreaders_primitive()
1161 type = MethodType.methodType(int.class, in testSpreaders_primitive()
1177 type = MethodType.methodType(int.class, in testSpreaders_primitive()
1191 type = MethodType.methodType(int.class, in testSpreaders_primitive()
1206 type = MethodType.methodType(int.class, in testSpreaders_primitive()
1221 type = MethodType.methodType(int.class, in testSpreaders_primitive()
1233 MethodType methodType = MethodType.methodType(int.class, in testInvokeWithArguments() local
[all …]
/aosp12/art/test/958-methodhandle-stackframe/src-art/
H A DMain.java85 Main.class, "testDelegate_allTypes", MethodType.methodType(void.class, in main()
119 Main.class, "testDelegate_returnBoolean", MethodType.methodType(boolean.class)); in main()
127 Main.class, "testDelegate_returnChar", MethodType.methodType(char.class)); in main()
135 Main.class, "testDelegate_returnInt", MethodType.methodType(int.class)); in main()
143 Main.class, "testDelegate_returnLong", MethodType.methodType(long.class)); in main()
151 Main.class, "testDelegate_returnFloat", MethodType.methodType(float.class)); in main()
159 Main.class, "testDelegate_returnDouble", MethodType.methodType(double.class)); in main()
167 Main.class, "testDelegate_returnString", MethodType.methodType(String.class)); in main()
/aosp12/art/test/674-hiddenapi/src-ex/
H A DJLI.java67 MethodHandles.Lookup lookup, Class<?> klass, MethodType methodType) { in canDiscoverWithLookupFindConstructor() argument
69 return lookup.findConstructor(klass, methodType) != null; in canDiscoverWithLookupFindConstructor()
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()
H A DChildClass.java371 final MethodType methodType = MethodType.methodType(int.class); in checkMethod() local
372 if (JLI.canDiscoverWithLookupFindVirtual(lookup, klass, name, methodType) != canDiscover) { in checkMethod()
377 if (JLI.canDiscoverWithLookupFindStatic(lookup, klass, name, methodType) != canDiscover) { in checkMethod()
437 MethodType methodType = MethodType.methodType(void.class, args); in checkConstructor() local
470 if (JLI.canDiscoverWithLookupFindConstructor(lookup, klass, methodType) != canDiscover) { in checkConstructor()
476 if (JLI.canDiscoverWithLookupFindConstructor(publicLookup, klass, methodType) != canDiscover) { in checkConstructor()
/aosp12/art/test/953-invoke-polymorphic-compiler/src/
H A DMain.java116 Main.class, "Min2Print2", MethodType.methodType(int.class, int.class, int.class)); in $opt$BasicTest()
122 MethodType.methodType(int.class, int.class, int.class, int.class)); in $opt$BasicTest()
129 MethodType.methodType( in $opt$BasicTest()
151 MethodType.methodType( in $opt$BasicTest()
257 MethodType.methodType(char.class, char.class)); in $opt$ReturnCharTest()
275 MethodType.methodType(short.class, short.class, short.class)); in $opt$ReturnShortTest()
284 MethodType.methodType(int.class, int.class, int.class)); in $opt$ReturnIntTest()
293 MethodType.methodType(long.class, long.class, long.class)); in $opt$ReturnLongTest()
302 MethodType.methodType(float.class, float.class, float.class)); in $opt$ReturnFloatTest()
311 MethodType.methodType(double.class, double.class, double.class)); in $opt$ReturnDoubleTest()
[all …]
/aosp12/packages/modules/IPsec/src/java/android/net/eap/
H A DEapSessionConfig.java432 EapMethodConfig(@EapMethod int methodType) { in EapMethodConfig() argument
433 mMethodType = methodType; in EapMethodConfig()
445 int methodType = in.getInt(METHOD_TYPE); in fromPersistableBundle() local
446 switch (methodType) { in fromPersistableBundle()
458 throw new IllegalArgumentException("Invalid EAP Type: " + methodType); in fromPersistableBundle()
533 private EapUiccConfig(@EapMethod int methodType, int subId, @UiccAppType int apptype) { in EapUiccConfig() argument
534 super(methodType); in EapUiccConfig()
630 EapAkaConfig(int methodType, int subId, @UiccAppType int apptype) { in EapAkaConfig() argument
631 super(methodType, subId, apptype); in EapAkaConfig()
/aosp12/art/test/955-methodhandles-smali/smali/
H A DMain.smali59 # Call MethodType.methodType(rtype=String.class, ptype[0] = String.class)
60 …invoke-static {v1, v1}, Ljava/lang/invoke/MethodType;->methodType(Ljava/lang/Class;Ljava/lang/Clas…
63 # Call Main.getHandleForVirtual(String.class, "concat", methodType);
81 # Call MethodType.methodType(rtype=int.class, ptype[0] = Long.class)
82 …invoke-static {v1, v0}, Ljava/lang/invoke/MethodType;->methodType(Ljava/lang/Class;Ljava/lang/Clas…
86 # Call Main.getHandleForVirtual(Long.class, "compareTo", methodType);
106 # Call MethodType.methodType(rtype=String.class, ptype[0]=Object.class)
107 …invoke-static {v2, v0}, Ljava/lang/invoke/MethodType;->methodType(Ljava/lang/Class;Ljava/lang/Clas…
110 # Call Main.getHandleForStatic(String.class, "valueOf", methodType);
127 # Call MethodType.methodType(rtype=String.class, ptype[0]=Long.class)
[all …]
/aosp12/art/test/1948-obsolete-const-method-handle/util-src/src/art/
H A DTest1948.java36 Test1948.class, "getClassBase64", MethodType.methodType(String.class));
38 Test1948.class, "getDexBase64", MethodType.methodType(String.class));
/aosp12/art/test/713-varhandle-invokers/src/
H A DMain.java88 MethodType.methodType( in run()
192 MethodType.methodType( in run()
318 MethodType.methodType( in run()
392 MethodType.methodType( in run()
/aosp12/frameworks/base/telephony/java/android/telephony/mbms/
H A DInternalStreamingServiceCallback.java113 public void onStreamMethodUpdated(final int methodType) throws RemoteException { in onStreamMethodUpdated() argument
123 mAppCallback.onStreamMethodUpdated(methodType); in onStreamMethodUpdated()
/aosp12/art/test/952-invoke-custom/util-src/transformer/
H A DIndyTransformer.java116 String methodType = in visitMethod() local
117 MethodType.methodType( in visitMethod()
125 methodType, in visitMethod()
/aosp12/art/test/716-jli-jit-samples/src-art/
H A DMain.java84 Widget.class, MethodType.methodType(void.class, int.class)); in testMethodHandleCounters()
97 Widget.class, "getId", MethodType.methodType(int.class)); in testMethodHandleCounters()
/aosp12/build/blueprint/
H A Dpackage_ctx.go443 methodType := methodValue.Type()
444 if methodType.Kind() != reflect.Func {
448 if n := methodType.NumIn(); n != 1 {
452 if n := methodType.NumOut(); n != 1 {
456 if kind := methodType.Out(0).Kind(); kind != reflect.String {
/aosp12/frameworks/base/telephony/java/android/telephony/mbms/vendor/
H A DMbmsStreamingServiceBase.java217 public void onStreamMethodUpdated(final int methodType) { in startStreaming()
219 callback.onStreamMethodUpdated(methodType); in startStreaming()

12