Home
last modified time | relevance | path

Searched refs:MethodId (Results 1 – 18 of 18) sorted by relevance

/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DMethodId.java31 public final class MethodId<D, R> { class
41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) { in MethodId() method in MethodId
102 return o instanceof MethodId in equals()
103 && ((MethodId<?, ?>) o).declaringType.equals(declaringType) in equals()
104 && ((MethodId<?, ?>) o).name.equals(name) in equals()
105 && ((MethodId<?, ?>) o).parameters.equals(parameters) in equals()
106 && ((MethodId<?, ?>) o).returnType.equals(returnType); in equals()
DTypeId.java122 public MethodId<T, Void> getConstructor(TypeId<?>... parameters) { in getConstructor()
123 return new MethodId<>(this, VOID, "<init>", new TypeList(parameters)); in getConstructor()
126 … public <R> MethodId<T, R> getMethod(TypeId<R> returnType, String name, TypeId<?>... parameters) { in getMethod()
127 return new MethodId<>(this, returnType, name, new TypeList(parameters)); in getMethod()
DDexMaker.java254 public Code declare(MethodId<?, ?> method, int flags) { in declare() argument
345 Set<MethodId> methodSet = decl.methods.keySet(); in generateFileName()
470 private final Map<MethodId, MethodDeclaration> methods = new LinkedHashMap<>();
535 final MethodId<?, ?> method;
539 public MethodDeclaration(MethodId<?, ?> method, int flags) { in MethodDeclaration() argument
DCode.java181 private final MethodId<?, ?> method;
617 public <T> void newInstance(Local<T> target, MethodId<T, Void> constructor, Local<?>... args) { in newInstance()
634 public <R> void invokeStatic(MethodId<?, R> method, Local<? super R> target, Local<?>... args) { in invokeStatic() argument
647 public <D, R> void invokeVirtual(MethodId<D, R> method, Local<? super R> target, in invokeVirtual()
661 public <D, R> void invokeDirect(MethodId<D, R> method, Local<? super R> target, in invokeDirect()
673 public <D, R> void invokeSuper(MethodId<D, R> method, Local<? super R> target, in invokeSuper()
686 public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target, in invokeInterface()
691 private <D, R> void invoke(Rop rop, MethodId<D, R> method, Local<? super R> target, in invoke()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java66 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(TypeId.OBJECT, "call");
100 MethodId<?, Constructable> methodId = GENERATED.getMethod( in testNewInstance()
105 MethodId<Constructable, Void> constructor in testNewInstance()
131 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call"); in testVoidNoArgMemberMethod()
151 MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TypeId.INT); in testInvokeStatic()
155 MethodId<?, Integer> staticMethod in testInvokeStatic()
170 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call", TypeId.INT); in testCreateLocalMethodAsNull()
198MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TEST_TYPE, TypeId.INT); in testInvokeVirtual()
203 MethodId<DexMakerTest, Integer> virtualMethod in testInvokeVirtual()
230 MethodId<G, Integer> directMethodId = generated.getMethod(TypeId.INT, "directMethod"); in testInvokeDirect()
[all …]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/
DHelloWorldMaker.java25 import com.android.dx.MethodId;
67 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello"); in generateHelloMethod()
90 MethodId<Integer, String> toHexString in generateHelloMethod()
97 MethodId<PrintStream, Void> printlnMethod = printStreamType.getMethod( in generateHelloMethod()
DFibonacciMaker.java24 import com.android.dx.MethodId;
40 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT); in main()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
DProxyBuilder.java25 import com.android.dx.MethodId;
396 MethodId<InvocationHandler, Object> methodInvoke = handlerType.getMethod(TypeId.OBJECT, in generateCodeForAllMethods()
451 MethodId<T, ?> superMethod = superclassType.getMethod(resultType, name, argTypes); in generateCodeForAllMethods()
452 MethodId<?, ?> methodId = generatedType.getMethod(resultType, name, argTypes); in generateCodeForAllMethods()
523 MethodId<G, ?> callsSuperMethod = generatedType.getMethod( in generateCodeForAllMethods()
543 private static void invokeSuper(MethodId superMethod, Code superCode, in invokeSuper()
549 MethodId<?, ?> unboxMethod = PRIMITIVE_TYPE_TO_UNBOX_METHOD.get(parameter.getType()); in boxIfRequired()
598 MethodId<?, ?> method = generatedType.getConstructor(types); in generateConstructorsAndFields()
605 MethodId<T, ?> superConstructor = superType.getConstructor(types); in generateConstructorsAndFields()
751 MethodId unboxingMethodFor = getUnboxMethodForPrimitive(methodReturnType); in generateCodeForReturnStatement()
[all …]
/external/dexmaker/
DREADME.md67 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello");
90 MethodId<Integer, String> toHexString
97 MethodId<PrintStream, Void> printlnMethod = printStreamType.getMethod(
/external/libmojo/base/android/
Djni_android_unittest.cc34 TEST(JNIAndroidMicrobenchmark, MethodId) { in TEST() argument
/external/lzma/CPP/7zip/Bundles/Format7zExtractR/
Dmakefile30 $O\MethodId.obj \
/external/lzma/CPP/7zip/Bundles/Format7zR/
Dmakefile34 $O\MethodId.obj \
/external/lzma/CPP/7zip/Bundles/Alone7z/
Dmakefile52 $O\MethodId.obj \
DAlone.dsp621 SOURCE=..\..\Common\MethodId.cpp
625 SOURCE=..\..\Common\MethodId.h
/external/dexmaker/lib/
Dlibcore-dex-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...