Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/gen/
DMethodId.java28 public final class MethodId<D, R> { class
38 MethodId(Type<D> declaringType, Type<R> returnType, String name, TypeList parameters) { in MethodId() method in MethodId
88 return o instanceof MethodId in equals()
89 && ((MethodId<?, ?>) o).declaringType.equals(declaringType) in equals()
90 && ((MethodId<?, ?>) o).name.equals(name) in equals()
91 && ((MethodId<?, ?>) o).parameters.equals(parameters) in equals()
92 && ((MethodId<?, ?>) o).returnType.equals(returnType); in equals()
DType.java116 public MethodId<T, Void> getConstructor(Type<?>... parameters) { in getConstructor()
117 return new MethodId<T, Void>(this, VOID, "<init>", new TypeList(parameters)); in getConstructor()
120 public <R> MethodId<T, R> getMethod(Type<R> returnType, String name, Type<?>... parameters) { in getMethod()
121 return new MethodId<T, R>(this, returnType, name, new TypeList(parameters)); in getMethod()
DDexGenerator.java79 public Code declare(MethodId<?, ?> method, int flags) { in declare() argument
167 private final Map<MethodId, MethodDeclaration> methods
168 = new LinkedHashMap<MethodId, MethodDeclaration>();
233 final MethodId<?, ?> method;
237 public MethodDeclaration(MethodId<?, ?> method, int flags) { in MethodDeclaration() argument
DCode.java47 private final MethodId<?, ?> method;
415 public <T> void newInstance(Local<T> target, MethodId<T, Void> constructor, Local<?>... args) { in newInstance()
425 public <R> void invokeStatic(MethodId<?, R> method, Local<? super R> target, Local<?>... args) { in invokeStatic() argument
429 public <D, R> void invokeVirtual(MethodId<D, R> method, Local<? super R> target, in invokeVirtual()
434 public <D, R> void invokeDirect(MethodId<D, R> method, Local<? super R> target, in invokeDirect()
439 public <D, R> void invokeSuper(MethodId<D, R> method, Local<? super R> target, in invokeSuper()
444 public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target, in invokeInterface()
449 private <D, R> void invoke(Rop rop, MethodId<D, R> method, Local<? super R> target, in invoke()
/dalvik/dx/src/com/android/dx/io/
DMethodId.java21 public final class MethodId implements Comparable<MethodId> { class
27 public MethodId(DexBuffer buffer, int declaringClassIndex, int protoIndex, int nameIndex) { in MethodId() method in MethodId
46 public int compareTo(MethodId other) { in compareTo()
DDexBuffer.java108 private final List<MethodId> methodIds = new AbstractList<MethodId>() {
109 @Override public MethodId get(int index) {
248 public List<MethodId> methodIds() { in methodIds()
404 public MethodId readMethodId() {
408 return new MethodId(DexBuffer.this, declaringClassIndex, protoIndex, nameIndex);
DDexIndexPrinter.java80 for (MethodId methodId : dexBuffer.methodIds()) { in printMethodIds()
/dalvik/vm/jdwp/
DJdwp.h41 typedef u4 MethodId; /* any kind of method, including constructors */ typedef
51 INLINE MethodId dvmReadMethodId(const u1** pBuf) { return read4BE(pBuf); } in dvmReadMethodId()
56 INLINE void dvmSetMethodId(u1* buf, MethodId val) { return set4BE(buf, val); } in dvmSetMethodId()
63 INLINE void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { in expandBufAddMethodId()
83 MethodId methodId; /* method in which "idx" resides */
DJdwpHandler.cpp104 ObjectId threadId, ObjectId objectId, RefTypeId classId, MethodId methodId, in finishInvoke()
308 expandBufAdd4BE(pReply, sizeof(MethodId)); in handleVM_IDSizes()
756 MethodId methodId = dvmReadMethodId(&buf); in handleCT_InvokeMethod()
774 MethodId methodId = dvmReadMethodId(&buf); in handleCT_NewInstance()
812 MethodId methodId = dvmReadMethodId(&buf); in handleM_LineTable()
830 MethodId methodId = dvmReadMethodId(&buf); in handleM_VariableTableWithGeneric()
935 MethodId methodId = dvmReadMethodId(&buf); in handleOR_InvokeMethod()
/dalvik/dx/junit-tests/
DHelloWorldMaker.java22 import com.android.dx.gen.MethodId;
31 private static final MethodId<Integer, String> TO_HEX_STRING
33 private static final MethodId<PrintStream, Void> PRINTLN
57 MethodId hello = helloWorld.getMethod(Type.VOID, "hello"); in main()
/dalvik/dx/junit-tests/com/android/dx/gen/
DDexGeneratorTest.java51 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(Type.OBJECT, "call");
75 MethodId<?, Constructable> methodId = GENERATED.getMethod( in testNewInstance()
80 MethodId<Constructable, Void> constructor in testNewInstance()
107 MethodId<?, Integer> methodId = GENERATED.getMethod(Type.INT, "call", Type.INT); in testInvokeStatic()
111 MethodId<?, Integer> staticMethod in testInvokeStatic()
131 MethodId<?, Integer> methodId = GENERATED.getMethod(Type.INT, "call", TEST_TYPE, Type.INT); in testInvokeVirtual()
136 MethodId<DexGeneratorTest, Integer> virtualMethod in testInvokeVirtual()
162 MethodId<G, Integer> directMethodId = generated.getMethod(Type.INT, "directMethod"); in testInvokeDirect()
169 MethodId<G, Integer> methodId = generated.getMethod(Type.INT, "call", generated); in testInvokeDirect()
195 MethodId<Object, Integer> objectHashCode = Type.OBJECT.getMethod(Type.INT, "hashCode"); in testInvokeSuper()
[all …]
/dalvik/vm/
DDebugger.h200 const char* dvmDbgGetMethodName(RefTypeId refTypeId, MethodId id);
206 void dvmDbgOutputLineTable(RefTypeId refTypeId, MethodId methodId,
208 void dvmDbgOutputVariableTable(RefTypeId refTypeId, MethodId id,
286 RefTypeId classId, MethodId methodId, u4 numArgs, u8* argArray,
DDebugger.cpp323 static MethodId methodToMethodId(const Method* meth) in methodToMethodId()
325 return (MethodId)(u4) meth; in methodToMethodId()
327 static Method* methodIdToMethod(RefTypeId refTypeId, MethodId id) in methodIdToMethod()
1144 const char* dvmDbgGetMethodName(RefTypeId refTypeId, MethodId id) in dvmDbgGetMethodName()
1308 void dvmDbgOutputLineTable(RefTypeId refTypeId, MethodId methodId, in dvmDbgOutputLineTable()
1414 void dvmDbgOutputVariableTable(RefTypeId refTypeId, MethodId methodId, in dvmDbgOutputVariableTable()
2622 RefTypeId classId, MethodId methodId, u4 numArgs, ObjectId* argArray, in dvmDbgInvokeMethod()
/dalvik/dx/src/com/android/dx/command/grep/
DGrep.java24 import com.android.dx.io.MethodId;
73 MethodId methodId = dex.methodIds().get(currentMethod.getMethodIndex());
/dalvik/dx/src/com/android/dx/merge/
DIndexMap.java26 import com.android.dx.io.MethodId;
148 public MethodId adjust(MethodId methodId) { in adjust()
149 return new MethodId(target, in adjust()
DDexMerger.java28 import com.android.dx.io.MethodId;
480 new IdMerger<MethodId>(idsDefsOut) { in mergeMethodIds()
485 @Override MethodId read(DexBuffer.Section in, IndexMap indexMap, int index) { in mergeMethodIds()
493 @Override void write(MethodId methodId) { in mergeMethodIds()
/dalvik/dx/src/com/android/dx/command/findusages/
DFindUsages.java24 import com.android.dx.io.MethodId;
104 MethodId methodId = dex.methodIds().get(currentMethod.getMethodIndex()); in location()
177 for (MethodId method : dex.methodIds()) { in getMethodIds()