/dalvik/dx/src/com/android/dx/io/ |
MethodId.java | 21 public final class MethodId implements Comparable<MethodId> { 27 public MethodId(DexBuffer buffer, int declaringClassIndex, int protoIndex, int nameIndex) { 46 public int compareTo(MethodId other) {
|
DexBuffer.java | 108 private final List<MethodId> methodIds = new AbstractList<MethodId>() { 109 @Override public MethodId get(int index) { 248 public List<MethodId> methodIds() { 404 public MethodId readMethodId() { 408 return new MethodId(DexBuffer.this, declaringClassIndex, protoIndex, nameIndex);
|
DexIndexPrinter.java | 80 for (MethodId methodId : dexBuffer.methodIds()) { 81 System.out.println("methodId " + index + ": " + methodId);
|
/dalvik/dx/src/com/android/dx/gen/ |
MethodId.java | 28 public final class MethodId<D, R> { 38 MethodId(Type<D> declaringType, Type<R> returnType, String name, TypeList parameters) { 88 return o instanceof MethodId 89 && ((MethodId<?, ?>) o).declaringType.equals(declaringType) 90 && ((MethodId<?, ?>) o).name.equals(name) 91 && ((MethodId<?, ?>) o).parameters.equals(parameters) 92 && ((MethodId<?, ?>) o).returnType.equals(returnType);
|
DexGenerator.java | 79 public Code declare(MethodId<?, ?> method, int flags) { 167 private final Map<MethodId, MethodDeclaration> methods 168 = new LinkedHashMap<MethodId, MethodDeclaration>(); 233 final MethodId<?, ?> method; 237 public MethodDeclaration(MethodId<?, ?> method, int flags) {
|
Type.java | 116 public MethodId<T, Void> getConstructor(Type<?>... parameters) { 117 return new MethodId<T, Void>(this, VOID, "<init>", new TypeList(parameters)); 120 public <R> MethodId<T, R> getMethod(Type<R> returnType, String name, Type<?>... parameters) { 121 return new MethodId<T, R>(this, returnType, name, new TypeList(parameters));
|
Code.java | 47 private final MethodId<?, ?> method; 415 public <T> void newInstance(Local<T> target, MethodId<T, Void> constructor, Local<?>... args) { 425 public <R> void invokeStatic(MethodId<?, R> method, Local<? super R> target, Local<?>... args) { 429 public <D, R> void invokeVirtual(MethodId<D, R> method, Local<? super R> target, 434 public <D, R> void invokeDirect(MethodId<D, R> method, Local<? super R> target, 439 public <D, R> void invokeSuper(MethodId<D, R> method, Local<? super R> target, 444 public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target, 449 private <D, R> void invoke(Rop rop, MethodId<D, R> method, Local<? super R> target,
|
/dalvik/dx/junit-tests/ |
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");
|
/dalvik/vm/jdwp/ |
Jdwp.h | 41 typedef u4 MethodId; /* any kind of method, including constructors */ 51 INLINE MethodId dvmReadMethodId(const u1** pBuf) { return read4BE(pBuf); } 56 INLINE void dvmSetMethodId(u1* buf, MethodId val) { return set4BE(buf, val); } 63 INLINE void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { 83 MethodId methodId; /* method in which "idx" resides */
|
JdwpHandler.cpp | 49 pLoc->methodId = dvmReadMethodId(pBuf); 60 expandBufAddMethodId(pReply, pLoc->methodId); 104 ObjectId threadId, ObjectId objectId, RefTypeId classId, MethodId methodId, 112 LOGV(" classId=%llx methodId=%x %s.%s", 113 classId, methodId, 115 dvmDbgGetMethodName(classId, methodId)); 140 JdwpError err = dvmDbgInvokeMethod(threadId, objectId, classId, methodId, 308 expandBufAdd4BE(pReply, sizeof(MethodId)); 756 MethodId methodId = dvmReadMethodId(&buf) [all...] |
/dalvik/dx/src/com/android/dx/command/grep/ |
Grep.java | 24 import com.android.dx.io.MethodId; 73 MethodId methodId = dex.methodIds().get(currentMethod.getMethodIndex()); 74 return className + "." + dex.strings().get(methodId.getNameIndex());
|
/dalvik/dx/junit-tests/com/android/dx/gen/ |
DexGeneratorTest.java | 51 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(Type.OBJECT, "call"); 75 MethodId<?, Constructable> methodId = GENERATED.getMethod( 77 Code code = generator.declare(methodId, ACC_PUBLIC | ACC_STATIC); 80 MethodId<Constructable, Void> constructor 107 MethodId<?, Integer> methodId = GENERATED.getMethod(Type.INT, "call", Type.INT); 108 Code code = generator.declare(methodId, ACC_PUBLIC | ACC_STATIC); 111 MethodId<?, Integer> staticMethod 131 MethodId<?, Integer> methodId = GENERATED.getMethod(Type.INT, "call", TEST_TYPE, Type.INT) [all...] |
/dalvik/dx/src/com/android/dx/merge/ |
IndexMap.java | 26 import com.android.dx.io.MethodId; 148 public MethodId adjust(MethodId methodId) { 149 return new MethodId(target, 150 adjustType(methodId.getDeclaringClassIndex()), 151 adjustProto(methodId.getProtoIndex()), 152 adjustString(methodId.getNameIndex()));
|
DexMerger.java | 28 import com.android.dx.io.MethodId; 480 new IdMerger<MethodId>(idsDefsOut) { 485 @Override MethodId read(DexBuffer.Section in, IndexMap indexMap, int index) { 493 @Override void write(MethodId methodId) { 494 methodId.writeTo(idsDefsOut); [all...] |
/dalvik/vm/ |
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,
|
Debugger.cpp | 318 * Convert to/from a MethodId. 323 static MethodId methodToMethodId(const Method* meth) 325 return (MethodId)(u4) meth; 327 static Method* methodIdToMethod(RefTypeId refTypeId, MethodId id) 1142 * Get the method name from a MethodId. 1144 const char* dvmDbgGetMethodName(RefTypeId refTypeId, MethodId id) [all...] |
/dalvik/dx/src/com/android/dx/command/findusages/ |
FindUsages.java | 24 import com.android.dx.io.MethodId; 92 int methodId = one.getIndex(); 93 if (methodIds.contains(methodId)) { 94 out.println(location() + ": method reference " + dex.methodIds().get(methodId) 104 MethodId methodId = dex.methodIds().get(currentMethod.getMethodIndex()); 105 return className + "." + dex.strings().get(methodId.getNameIndex()); 177 for (MethodId method : dex.methodIds()) {
|
/prebuilt/sdk/tools/lib/ |
dx.jar | |