HomeSort by relevance Sort by last modified time
    Searched refs:MethodId (Results 1 - 20 of 20) sorted by null

  /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 110 private final List<MethodId> methodIds = new AbstractList<MethodId>() {
111 @Override public MethodId get(int index) {
250 public List<MethodId> methodIds() {
411 public MethodId readMethodId() {
415 return new MethodId(DexBuffer.this, declaringClassIndex, protoIndex, nameIndex);
DexIndexPrinter.java 80 for (MethodId methodId : dexBuffer.methodIds()) {
81 System.out.println("methodId " + index + ": " + methodId);
  /external/dexmaker/src/main/java/com/google/dexmaker/
MethodId.java 31 public final class MethodId<D, R> {
41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) {
101 return o instanceof MethodId
102 && ((MethodId<?, ?>) o).declaringType.equals(declaringType)
103 && ((MethodId<?, ?>) o).name.equals(name)
104 && ((MethodId<?, ?>) o).parameters.equals(parameters)
105 && ((MethodId<?, ?>) o).returnType.equals(returnType);
TypeId.java 124 public MethodId<T, Void> getConstructor(TypeId<?>... parameters) {
125 return new MethodId<T, Void>(this, VOID, "<init>", new TypeList(parameters));
128 public <R> MethodId<T, R> getMethod(TypeId<R> returnType, String name, TypeId<?>... parameters) {
129 return new MethodId<T, R>(this, returnType, name, new TypeList(parameters));
DexMaker.java 121 * <p>We look up the {@code MethodId} for the method on the declaring type. This
128 * MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT);
248 public Code declare(MethodId<?, ?> method, int flags) {
410 private final Map<MethodId, MethodDeclaration> methods
411 = new LinkedHashMap<MethodId, MethodDeclaration>();
476 final MethodId<?, ?> method;
480 public MethodDeclaration(MethodId<?, ?> method, int flags) {
Code.java 179 private final MethodId<?, ?> method;
615 public <T> void newInstance(Local<T> target, MethodId<T, Void> constructor, Local<?>... args) {
632 public <R> void invokeStatic(MethodId<?, R> method, Local<? super R> target, Local<?>... args) {
645 public <D, R> void invokeVirtual(MethodId<D, R> method, Local<? super R> target,
659 public <D, R> void invokeDirect(MethodId<D, R> method, Local<? super R> target,
671 public <D, R> void invokeSuper(MethodId<D, R> method, Local<? super R> target,
684 public <D, R> void invokeInterface(MethodId<D, R> method, Local<? super R> target,
689 private <D, R> void invoke(Rop rop, MethodId<D, R> method, Local<? super R> target,
    [all...]
  /external/dexmaker/src/test/java/com/google/dexmaker/examples/
HelloWorldMaker.java 24 import com.google.dexmaker.MethodId;
66 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello");
89 MethodId<Integer, String> toHexString
96 MethodId<PrintStream, Void> printlnMethod = printStreamType.getMethod(
FibonacciMaker.java 25 import com.google.dexmaker.MethodId;
39 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT);
  /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 ALOGV(" 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));
757 MethodId methodId = dvmReadMethodId(&buf)
    [all...]
  /external/dexmaker/src/test/java/com/google/dexmaker/
DexMakerTest.java 55 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(TypeId.OBJECT, "call");
79 MethodId<?, Constructable> methodId = GENERATED.getMethod(
81 Code code = dexMaker.declare(methodId, PUBLIC | STATIC);
84 MethodId<Constructable, Void> constructor
109 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call");
110 Code code = dexMaker.declare(methodId, PUBLIC);
128 MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TypeId.INT)
    [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());
  /external/dexmaker/src/main/java/com/google/dexmaker/stock/
ProxyBuilder.java 25 import com.google.dexmaker.MethodId;
360 MethodId<InvocationHandler, Object> methodInvoke = handlerType.getMethod(TypeId.OBJECT,
415 MethodId<T, ?> superMethod = superclassType.getMethod(resultType, name, argTypes);
416 MethodId<?, ?> methodId = generatedType.getMethod(resultType, name, argTypes);
417 Code code = dexMaker.declare(methodId, PUBLIC);
487 MethodId<G, ?> callsSuperMethod = generatedType.getMethod(
507 private static void invokeSuper(MethodId superMethod, Code superCode,
513 MethodId<?, ?> unboxMethod = PRIMITIVE_TYPE_TO_UNBOX_METHOD.get(parameter.getType());
562 MethodId<?, ?> method = generatedType.getConstructor(types)
    [all...]
  /dalvik/dx/src/com/android/dx/merge/
IndexMap.java 26 import com.android.dx.io.MethodId;
162 public MethodId adjust(MethodId methodId) {
163 return new MethodId(target,
164 adjustType(methodId.getDeclaringClassIndex()),
165 adjustProto(methodId.getProtoIndex()),
166 adjustString(methodId.getNameIndex()));
DexMerger.java 28 import com.android.dx.io.MethodId;
488 new IdMerger<MethodId>(idsDefsOut) {
493 @Override MethodId read(DexBuffer.Section in, IndexMap indexMap, int index) {
504 @Override void write(MethodId methodId) {
505 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()) {
  /prebuilts/sdk/tools/lib/
dx.jar 

Completed in 206 milliseconds