Home
last modified time | relevance | path

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

/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DAnnotationIdTest.java92 MethodId<?, Void> methodId = generateVoidMethod(TypeId.BOOLEAN); in addMethodAnnotationWithBooleanElement()
108 MethodId<?, Void> methodId = generateVoidMethod(TypeId.BYTE); in addMethodAnnotationWithByteElement()
124 MethodId<?, Void> methodId = generateVoidMethod(TypeId.CHAR); in addMethodAnnotationWithCharElement()
140 MethodId<?, Void> methodId = generateVoidMethod(TypeId.DOUBLE); in addMethodAnnotationWithDoubleElement()
156 MethodId<?, Void> methodId = generateVoidMethod(TypeId.FLOAT); in addMethodAnnotationWithFloatElement()
172 MethodId<?, Void> methodId = generateVoidMethod(TypeId.INT); in addMethodAnnotationWithIntElement()
188 MethodId<?, Void> methodId = generateVoidMethod(TypeId.LONG); in addMethodAnnotationWithLongElement()
204 MethodId<?, Void> methodId = generateVoidMethod(TypeId.SHORT); in addMethodAnnotationWithShortElement()
220 MethodId<?, Void> methodId = generateVoidMethod(TypeId.STRING); in addMethodAnnotationWithStingElement()
238 MethodId<?, Void> methodId = generateVoidMethod(TypeId.get(Enum.class)); in addMethodAnnotationWithEnumElement()
[all …]
DDexMakerTest.java77 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(TypeId.OBJECT, "call");
111 MethodId<?, Constructable> methodId = GENERATED.getMethod( in testNewInstance()
116 MethodId<Constructable, Void> constructor in testNewInstance()
142 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call"); in testVoidNoArgMemberMethod()
162 MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TypeId.INT); in testInvokeStatic()
166 MethodId<?, Integer> staticMethod in testInvokeStatic()
181 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call", TypeId.INT); in testCreateLocalMethodAsNull()
209MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TEST_TYPE, TypeId.INT); in testInvokeVirtual()
214 MethodId<DexMakerTest, Integer> virtualMethod in testInvokeVirtual()
241 MethodId<G, Integer> directMethodId = generated.getMethod(TypeId.INT, "directMethod"); in testInvokeDirect()
[all …]
/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
110 return o instanceof MethodId in equals()
111 && ((MethodId<?, ?>) o).declaringType.equals(declaringType) in equals()
112 && ((MethodId<?, ?>) o).name.equals(name) in equals()
113 && ((MethodId<?, ?>) o).parameters.equals(parameters) in equals()
114 && ((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 MethodId<T, Void> getStaticInitializer() { in getStaticInitializer()
127 return new MethodId<>(this, VOID, "<clinit>", new TypeList(new TypeId[0])); in getStaticInitializer()
130 … public <R> MethodId<T, R> getMethod(TypeId<R> returnType, String name, TypeId<?>... parameters) { in getMethod()
131 return new MethodId<>(this, returnType, name, new TypeList(parameters)); in getMethod()
DCode.java181 private final MethodId<?, ?> method;
628 public <T> void newInstance(Local<T> target, MethodId<T, Void> constructor, Local<?>... args) { in newInstance()
645 public <R> void invokeStatic(MethodId<?, R> method, Local<? super R> target, Local<?>... args) { in invokeStatic() argument
658 public <D, R> void invokeVirtual(MethodId<D, R> method, Local<? super R> target, in invokeVirtual()
672 public <D, R> void invokeDirect(MethodId<D, R> method, Local<? super R> target, in invokeDirect()
684 public <D, R> void invokeSuper(MethodId<D, R> method, Local<? super R> target, in invokeSuper()
697 public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target, in invokeInterface()
702 private <D, R> void invoke(Rop rop, MethodId<D, R> method, Local<? super R> target, in invoke()
DDexMaker.java262 public Code declare(MethodId<?, ?> method, int flags) { in declare() argument
357 Set<MethodId> methodSet = decl.methods.keySet(); in generateFileName()
562 private final Map<MethodId, MethodDeclaration> methods = new LinkedHashMap<>();
629 final MethodId<?, ?> method;
633 public MethodDeclaration(MethodId<?, ?> method, int flags) { in MethodDeclaration() argument
DAnnotationId.java128 public void addToMethod(DexMaker dexMaker, MethodId<?, ?> method) { in addToMethod() argument
/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;
468 MethodId<AbstractMethodError, Void> abstractMethodErrorConstructor = in throwAbstractMethodError()
487 MethodId<InvocationHandler, Object> methodInvoke = handlerType.getMethod(TypeId.OBJECT, in generateCodeForAllMethods()
528 MethodId<?, ?> methodId = generatedType.getMethod(resultType, name, argTypes); in generateCodeForAllMethods()
552 MethodId<T, ?> superMethod = null; in generateCodeForAllMethods()
618 MethodId<G, ?> callsSuperMethod = generatedType.getMethod( in generateCodeForAllMethods()
646 private static void invokeSuper(MethodId superMethod, Code superCode, in invokeSuper()
652 MethodId<?, ?> unboxMethod = PRIMITIVE_TYPE_TO_UNBOX_METHOD.get(parameter.getType()); in boxIfRequired()
701 MethodId<?, ?> method = generatedType.getConstructor(types); in generateConstructorsAndFields()
708 MethodId<T, ?> superConstructor = superType.getConstructor(types); in generateConstructorsAndFields()
[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/libchrome/base/android/
Djni_android_unittest.cc34 TEST(JNIAndroidMicrobenchmark, MethodId) { in TEST() argument
/external/lzma/CPP/7zip/Bundles/Format7zExtractR/
Dmakefile29 $O\MethodId.obj \
/external/lzma/CPP/7zip/Bundles/Format7zR/
Dmakefile33 $O\MethodId.obj \
/external/lzma/CPP/7zip/Bundles/Alone7z/
Dmakefile53 $O\MethodId.obj \
DAlone.dsp625 SOURCE=..\..\Common\MethodId.cpp
629 SOURCE=..\..\Common\MethodId.h