HomeSort by relevance Sort by last modified time
    Searched refs:methodType (Results 1 - 25 of 177) sorted by null

1 2 3 4 5 6 7 8

  /libcore/luni/src/test/java/libcore/java/lang/invoke/
MethodTypeTest.java 21 import java.lang.invoke.MethodType;
36 MethodType mt = MethodType.methodType(int.class,
43 MethodType.methodType(null, new Class<?>[] { String.class });
49 MethodType.methodType(int.class, (Class<?>[]) null);
55 MethodType.methodType(int.class, new Class<?>[] {void.class})
    [all...]
MethodHandleCombinersTest.java 22 import java.lang.invoke.MethodType;
61 MethodType.methodType(void.class, new Class<?>[]{String.class, long.class}));
99 transform = transform.asType(MethodType.methodType(void.class,
127 MethodType.methodType(void.class, new Class<?>[]{String.class, long.class}));
136 transform = transform.asType(MethodType.methodType(void.class,
175 MethodType
    [all...]
MethodHandlesTest.java 25 import java.lang.invoke.MethodType;
90 MethodType.methodType(String.class, char[].class));
103 MethodType.methodType(void.class));
111 MethodType.methodType(void.class));
119 MethodType.methodType(void.class));
127 MethodType.methodType(void.class))
    [all...]
CallSitesTest.java 26 import java.lang.invoke.MethodType;
35 final MethodType type = MethodType.methodType(int.class, int.class, int.class);
52 final MethodType type = MethodType.methodType(int.class, int.class, int.class);
60 final MethodType type = MethodType.methodType(int.class, int.class, int.class)
    [all...]
  /frameworks/base/telephony/java/android/telephony/mbms/
IStreamingServiceCallback.aidl 27 void onStreamMethodUpdated(int methodType);
  /art/test/674-hiddenapi/src-ex/
JLI.java 18 import java.lang.invoke.MethodType;
67 MethodHandles.Lookup lookup, Class<?> klass, MethodType methodType) {
69 return lookup.findConstructor(klass, methodType) != null;
78 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) {
80 return lookup.findVirtual(klass, methodName, methodType) != null;
89 MethodHandles.Lookup lookup, Class<?> klass, String methodName, MethodType methodType) {
91 return lookup.findStatic(klass, methodName, methodType) != null
    [all...]
  /libcore/ojluni/src/lambda/java/java/lang/invoke/
MethodType.java 31 class MethodType implements java.io.Serializable {
34 MethodType methodType(Class<?> rtype, Class<?>[] ptypes) {
39 MethodType methodType(Class<?> rtype, List<Class<?>> ptypes) {
44 MethodType methodType(Class<?> rtype, Class<?> ptype0, Class<?>... ptypes) { return null; }
47 MethodType methodType(Class<?> rtype) { return null; }
50 MethodType methodType(Class<?> rtype, Class<?> ptype0) { return null;
    [all...]
  /art/test/952-invoke-custom/src/
UnrelatedBSM.java 21 import java.lang.invoke.MethodType;
25 MethodHandles.Lookup lookup, String name, MethodType methodType, Class<?> target)
27 MethodHandle mh = lookup.findStatic(target, name, methodType);
TestInvocationKinds.java 23 import java.lang.invoke.MethodType;
30 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable {
31 // methodType = "()LfieldType;"
33 lookup.findStaticGetter(TestInvocationKinds.class, name, methodType.returnType());
52 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable {
53 // methodType = "(LfieldType;)V"
56 TestInvocationKinds.class, name, methodType.parameterType(0));
76 MethodHandles.Lookup lookup, String name, MethodType methodType) throws Throwable
    [all...]
TestLinkerMethodMinimalArguments.java 23 import java.lang.invoke.MethodType;
37 parameterTypes = {MethodHandles.Lookup.class, String.class, MethodType.class},
60 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable {
63 caller.findStatic(TestLinkerMethodMinimalArguments.class, name, methodType);
67 "Returning null instead of CallSite for " + name + " " + methodType);
TestLinkerMethodMultipleArgumentTypes.java 24 import java.lang.invoke.MethodType;
38 MethodType.class,
81 MethodType methodType,
93 System.out.println("Linking " + name + " " + methodType);
105 caller.findStatic(TestLinkerMethodMultipleArgumentTypes.class, name, methodType);
Main.java 18 import java.lang.invoke.MethodType;
24 CallSite callSite = new MutableCallSite(MethodType.methodType(int.class));
32 callSite = new MutableCallSite(MethodType.methodType(String.class, int.class, char.class));
TestInvokeCustomWithConcurrentThreads.java 23 import java.lang.invoke.MethodType;
72 parameterTypes = {MethodHandles.Lookup.class, String.class, MethodType.class}
86 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable {
88 caller.findStatic(TestInvokeCustomWithConcurrentThreads.class, name, methodType);
89 assertEquals(methodType, mh.type());
94 assertEquals(methodType, mh.type());
  /cts/tests/tests/telephony/EmbmsMiddlewareTestApp/aidl/android/telephony/cts/embmstestapp/
ICtsStreamingMiddlewareControl.aidl 37 void fireOnStreamMethodUpdated(int methodType);
  /dalvik/dx/tests/142-const-method-handle/src/
Main.java 20 import java.lang.invoke.MethodType;
27 .findStatic(ConstTest.class, "main", MethodType.methodType(void.class, String[].class));
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
MethodSignature.java 18 static MethodSignature fromExecutableType(String methodName, ExecutableType methodType) {
19 checkNotNull(methodType);
22 for (TypeMirror parameter : methodType.getParameterTypes()) {
25 for (TypeMirror thrownType : methodType.getThrownTypes()) {
  /art/test/958-methodhandle-stackframe/src-art/
Main.java 20 import java.lang.invoke.MethodType;
85 Main.class, "testDelegate_allTypes", MethodType.methodType(void.class,
119 Main.class, "testDelegate_returnBoolean", MethodType.methodType(boolean.class));
127 Main.class, "testDelegate_returnChar", MethodType.methodType(char.class));
135 Main.class, "testDelegate_returnInt", MethodType.methodType(int.class));
143 Main.class, "testDelegate_returnLong", MethodType.methodType(long.class))
    [all...]
  /libcore/luni/src/test/java/libcore/dalvik/system/
EmulatedStackFrameTest.java 21 import java.lang.invoke.MethodType;
28 EmulatedStackFrame stackFrame = EmulatedStackFrame.create(MethodType.methodType(
60 MethodType.methodType(boolean.class));
71 stackFrame = EmulatedStackFrame.create(MethodType.methodType(char.class));
78 stackFrame = EmulatedStackFrame.create(MethodType.methodType(short.class));
85 stackFrame = EmulatedStackFrame.create(MethodType.methodType(int.class))
    [all...]
  /art/test/957-methodhandle-transforms/src/
Main.java 20 import java.lang.invoke.MethodType;
74 MethodType.methodType(void.class, new Class<?>[] { String.class, long.class }));
111 transform = transform.asType(MethodType.methodType(void.class,
160 MethodType.methodType(String.class, new Class<?>[] { String.class, long.class, String.class }));
164 MethodType.methodType(String.class, new Class<?>[] { IllegalArgumentException.class,
188 MethodType.methodType(String.class, new Class<?>[] { IllegalArgumentException.class
    [all...]
  /art/test/956-methodhandles/src/
Main.java 21 import java.lang.invoke.MethodType;
116 MethodType.methodType(void.class), B.class /* specialCaller */);
146 MethodType.methodType(void.class), C.class /* specialCaller */);
152 MethodType.methodType(void.class), D.class /* specialCaller */);
160 MethodType.methodType(int.class), B.class /* specialCaller */);
166 MethodType.methodType(void.class), B.class /* specialCaller */)
    [all...]
  /art/test/1948-obsolete-const-method-handle/util-src/src/art/
Test1948.java 23 import java.lang.invoke.MethodType;
36 Test1948.class, "getClassBase64", MethodType.methodType(String.class));
38 Test1948.class, "getDexBase64", MethodType.methodType(String.class));
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
AndroidInterceptors.java 5 import static java.lang.invoke.MethodType.methodType;
11 import java.lang.invoke.MethodType;
61 public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodException, IllegalAccessException {
63 methodType(Object.class, LinkedHashMap.class));
92 public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodException, IllegalAccessException {
125 public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodException, IllegalAccessException {
129 "nanoTime", methodType(long.class));
132 "currentTimeMillis", methodType(long.class));
156 public MethodHandle getMethodHandle(String methodName, MethodType type) throws NoSuchMethodException, IllegalAccessException
    [all...]
  /art/test/953-invoke-polymorphic-compiler/src/
Main.java 20 import java.lang.invoke.MethodType;
116 Main.class, "Min2Print2", MethodType.methodType(int.class, int.class, int.class));
122 MethodType.methodType(int.class, int.class, int.class, int.class));
129 MethodType.methodType(
151 MethodType.methodType(
230 MethodType.methodType(boolean.class, boolean.class, boolean.class))
    [all...]
  /external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
InvokeDynamicSupport.java 10 import static java.lang.invoke.MethodType.methodType;
18 import java.lang.invoke.MethodType;
36 methodType(MethodHandle.class, MethodCallSite.class));
38 methodType(MethodHandle.class, RoboCallSite.class));
40 methodType(Throwable.class, Throwable.class));
42 GET_SHADOW = lookup.findVirtual(ShadowedObject.class, "$$robo$getData", methodType(Object.class));
49 public static CallSite bootstrapInit(MethodHandles.Lookup caller, String name, MethodType type) {
58 public static CallSite bootstrap(MethodHandles.Lookup caller, String name, MethodType type,
68 public static CallSite bootstrapStatic(MethodHandles.Lookup caller, String name, MethodType type
    [all...]
  /external/jacoco/org.jacoco.core.test/src-java8/org/jacoco/core/test/validation/
BootstrapMethodReferenceTest.java 19 import java.lang.invoke.MethodType;
71 final MethodType methodType = MethodType.methodType(CallSite.class,
72 MethodHandles.Lookup.class, String.class, MethodType.class);
75 "bootstrap", methodType.toMethodDescriptorString(), false);
116 final String name, final MethodType type) throws Exception {
118 "callTarget", MethodType.methodType(int.class)))
    [all...]

Completed in 437 milliseconds

1 2 3 4 5 6 7 8