/dalvik/dx/src/com/android/dx/gen/ |
D | MethodId.java | 28 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()
|
D | Type.java | 116 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()
|
D | DexGenerator.java | 79 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
|
D | Code.java | 47 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/ |
D | MethodId.java | 21 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()
|
D | DexBuffer.java | 108 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);
|
D | DexIndexPrinter.java | 80 for (MethodId methodId : dexBuffer.methodIds()) { in printMethodIds()
|
/dalvik/vm/jdwp/ |
D | Jdwp.h | 41 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 */
|
D | JdwpHandler.cpp | 104 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/ |
D | HelloWorldMaker.java | 22 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/ |
D | DexGeneratorTest.java | 51 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/ |
D | Debugger.h | 200 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,
|
D | Debugger.cpp | 323 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/ |
D | Grep.java | 24 import com.android.dx.io.MethodId; 73 MethodId methodId = dex.methodIds().get(currentMethod.getMethodIndex());
|
/dalvik/dx/src/com/android/dx/merge/ |
D | IndexMap.java | 26 import com.android.dx.io.MethodId; 148 public MethodId adjust(MethodId methodId) { in adjust() 149 return new MethodId(target, in adjust()
|
D | DexMerger.java | 28 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/ |
D | FindUsages.java | 24 import com.android.dx.io.MethodId; 104 MethodId methodId = dex.methodIds().get(currentMethod.getMethodIndex()); in location() 177 for (MethodId method : dex.methodIds()) { in getMethodIds()
|