/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
H A D | StdCatchBuilder.java | 38 /** {@code non-null;} method to build the list for */ 39 private final RopMethod method; field in class:StdCatchBuilder 51 * @param method {@code non-null;} method to build the list for 55 public StdCatchBuilder(RopMethod method, int[] order, argument 57 if (method == null) { 58 throw new NullPointerException("method == null"); 69 this.method = method; 76 return build(method, orde 122 build(RopMethod method, int[] order, BlockAddresses addresses) argument [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
H A D | StdCatchBuilder.java | 38 /** {@code non-null;} method to build the list for */ 39 private final RopMethod method; field in class:StdCatchBuilder 51 * @param method {@code non-null;} method to build the list for 55 public StdCatchBuilder(RopMethod method, int[] order, argument 57 if (method == null) { 58 throw new NullPointerException("method == null"); 69 this.method = method; 76 return build(method, orde 122 build(RopMethod method, int[] order, BlockAddresses addresses) argument [all...] |
/dalvik/vm/ |
H A D | InlineNative.cpp | 36 * These are NOT simply native implementations. A full method definition 42 * The difference between this and an "internal native" static method 44 * "secretly replaces" the other method, so you can't avoid having two 53 * method is invoked. This property is NOT preserved here. If you need 56 * resolve the method if it hasn't been). 58 * DO NOT replace "synchronized" methods. We do not support method 62 * garbage collection. The method arguments are not visible to the GC 85 * It's best to avoid inlining the overridden version of a method. For 92 * Because the actual method is not called, debugger breakpoints on these 94 * method an 828 Method* method = dvmFindDirectMethodByDescriptor(clazz, methodName, local 870 Method* method = gDvm.inlinedMethods[opIndex]; local 903 Method* method = dvmResolveInlineNative(opIndex); local [all...] |
H A D | JniInternal.h | 86 * Pop the JNI local stack when we return from a native method. "saveArea" 87 * points to the StackSaveArea for the method we're leaving. 107 const Method* method, Thread* self); 109 const Method* method, Thread* self); 112 * Configure "method" to use the JNI bridge to call "func". 114 void dvmUseJNIBridge(Method* method, void* func); 136 * Get the last method called on the interp stack. This is the method
|
H A D | Exception.cpp | 29 counter for the method now being executed, but that's only held in a local 85 executing a static method or accessing a static field. Attemping to access 198 * Find and return an exception constructor method that can take the 483 * method that doesn't declare it. 558 * For consistency we just invoke the Throwable printStackTrace method, 596 * Search the method's list of exceptions for a match. 600 static int findCatchInMethod(Thread* self, const Method* method, int relPc, argument 608 assert(!dvmIsNativeMethod(method)); 611 method->clazz->descriptor, method 850 const Method* method = saveArea->method; local 908 const Method* method = saveArea->method; local 1433 dvmThrowUnsatisfiedLinkError(const char* msg, const Method* method) argument [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | ClassDefItem.java | 293 * Adds a direct ({@code static} and/or {@code private}) method. 295 * @param method {@code non-null;} the method to add 297 public void addDirectMethod(EncodedMethod method) { argument 298 classData.addDirectMethod(method); 302 * Adds a virtual method. 304 * @param method {@code non-null;} the method to add 306 public void addVirtualMethod(EncodedMethod method) { argument 307 classData.addVirtualMethod(method); 349 addMethodAnnotations(CstMethodRef method, Annotations annotations) argument 360 addParameterAnnotations(CstMethodRef method, AnnotationsList list) argument 372 getMethodAnnotations(CstMethodRef method) argument 383 getParameterAnnotations(CstMethodRef method) argument [all...] |
H A D | AnnotationsDirectoryItem.java | 133 * It is only valid to call this method at most once per instance. 167 * Adds a method annotations item to this instance. 169 * @param method {@code non-null;} method in question 172 public void addMethodAnnotations(CstMethodRef method, argument 178 methodAnnotations.add(new MethodAnnotationStruct(method, 185 * @param method {@code non-null;} method in question 188 public void addParameterAnnotations(CstMethodRef method, argument 194 parameterAnnotations.add(new ParameterAnnotationStruct(method, lis 204 getMethodAnnotations(CstMethodRef method) argument 225 getParameterAnnotations(CstMethodRef method) argument [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
H A D | BasicBlocker.java | 32 /** {@code non-null;} method being converted */ 33 private final ConcreteMethod method; field in class:BasicBlocker 71 * Identifies and enumerates the basic blocks in the given method, 75 * @param method {@code non-null;} method to convert 78 public static ByteBlockList identifyBlocks(ConcreteMethod method) { argument 79 BasicBlocker bb = new BasicBlocker(method); 89 * @param method {@code non-null;} method to convert 91 private BasicBlocker(ConcreteMethod method) { argument [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | ClassDefItem.java | 291 * Adds a direct ({@code static} and/or {@code private}) method. 293 * @param method {@code non-null;} the method to add 295 public void addDirectMethod(EncodedMethod method) { argument 296 classData.addDirectMethod(method); 300 * Adds a virtual method. 302 * @param method {@code non-null;} the method to add 304 public void addVirtualMethod(EncodedMethod method) { argument 305 classData.addVirtualMethod(method); 347 addMethodAnnotations(CstMethodRef method, Annotations annotations) argument 358 addParameterAnnotations(CstMethodRef method, AnnotationsList list) argument 370 getMethodAnnotations(CstMethodRef method) argument 381 getParameterAnnotations(CstMethodRef method) argument [all...] |
H A D | AnnotationsDirectoryItem.java | 133 * It is only valid to call this method at most once per instance. 167 * Adds a method annotations item to this instance. 169 * @param method {@code non-null;} method in question 172 public void addMethodAnnotations(CstMethodRef method, argument 178 methodAnnotations.add(new MethodAnnotationStruct(method, 185 * @param method {@code non-null;} method in question 188 public void addParameterAnnotations(CstMethodRef method, argument 194 parameterAnnotations.add(new ParameterAnnotationStruct(method, lis 204 getMethodAnnotations(CstMethodRef method) argument 225 getParameterAnnotations(CstMethodRef method) argument [all...] |
/dalvik/dx/src/com/android/dx/command/grep/ |
H A D | Grep.java | 100 // find the strings in method bodies 101 for (ClassData.Method method : classData.allMethods()) { 102 currentMethod = method; 103 if (method.getCodeOffset() != 0) { 104 codeReader.visitAll(dex.readCode(method).getInstructions());
|
/dalvik/dx/src/com/android/dx/ssa/ |
H A D | LocalVariableInfo.java | 32 /** {@code >= 0;} the register count for the method */ 38 * max size for the method 55 * @param method {@code non-null;} the method being represented by this instance 57 public LocalVariableInfo(SsaMethod method) { argument 58 if (method == null) { 59 throw new NullPointerException("method == null"); 62 List<SsaBasicBlock> blocks = method.getBlocks(); 64 this.regCount = method.getRegCount(); 180 * method, sinc [all...] |
/dalvik/vm/analysis/ |
H A D | RegisterMap.h | 155 * Each entry is a 4-byte method index followed by the 32-bit-aligned 165 /* stream of per-method data starts here */ 197 * Get the register map for the next method. "*pPtr" will be advanced past 232 * Generate the register map for a method that has just been verified 241 * method. May update method->registerMap, possibly freeing the previous 249 const RegisterMap* dvmGetExpandedRegisterMap0(Method* method); 250 INLINE const RegisterMap* dvmGetExpandedRegisterMap(Method* method) argument 252 const RegisterMap* curMap = method->registerMap; 259 return dvmGetExpandedRegisterMap0(method); [all...] |
/dalvik/vm/compiler/template/armv5te/ |
H A D | TEMPLATE_INVOKE_METHOD_CHAIN.S | 5 * method through a dedicated chaining cell. 22 ldr r9, [r0, #offMethod_clazz] @ r9<- method->clazz 33 ldr r3, [r9, #offClassObject_pDvmDex] @ r3<- method->clazz->pDvmDex 35 @ Update "thread" values for the new method 36 str r0, [rSELF, #offThread_method] @ self->method = methodToCall
|
H A D | TEMPLATE_INVOKE_METHOD_NO_OPT.S | 19 ldr r9, [r0, #offMethod_clazz] @ r9<- method->clazz 40 ldr r3, [r9, #offClassObject_pDvmDex] @ r3<- method->clazz->pDvmDex 42 @ Update "thread" values for the new method 43 str r0, [rSELF, #offThread_method] @ self->method = methodToCall
|
/dalvik/vm/mterp/mips/ |
H A D | OP_CONST_CLASS.S | 19 LOAD_rSELF_method(a0) # a0 <- self->method 21 LOAD_base_offMethod_clazz(a0, a0) # a0 <- method->clazz
|
H A D | OP_CONST_CLASS_JUMBO.S | 22 LOAD_rSELF_method(a0) # a0 <- self->method 24 LOAD_base_offMethod_clazz(a0, a0) # a0 <- method->clazz
|
H A D | OP_CONST_STRING.S | 19 LOAD_rSELF_method(a0) # a0 <- self->method 20 LOAD_base_offMethod_clazz(a0, a0) # a0 <- method->clazz
|
H A D | OP_CONST_STRING_JUMBO.S | 22 LOAD_rSELF_method(a0) # a0 <- self->method 23 LOAD_base_offMethod_clazz(a0, a0) # a0 <- method->clazz
|
/dalvik/dx/src/com/android/dx/command/findusages/ |
H A D | FindUsages.java | 94 out.println(location() + ": method reference " + dex.methodIds().get(methodId) 135 for (ClassData.Method method : classData.allMethods()) { 136 currentMethod = method; 137 int methodIndex = method.getMethodIndex(); 139 out.println(location() + " method declared " + dex.methodIds().get(methodIndex)); 141 if (method.getCodeOffset() != 0) { 142 codeReader.visitAll(dex.readCode(method).getInstructions()); 177 for (MethodId method : dex.methodIds()) { 178 if (memberNameIndexes.contains(method.getNameIndex()) 179 && subtypes.contains(method [all...] |
/dalvik/dx/tests/103-verify-branch-ops/ |
H A D | run | 22 dx --debug --dex --dump-method="op_$1.test*" op_"$1".class
|
/dalvik/dx/tests/104-verify-return-ops/ |
H A D | run | 22 dx --debug --dex --dump-method="op_$1.test*" op_"$1".class
|
/dalvik/dx/tests/106-verify-object-ops/ |
H A D | run | 22 dx --debug --dex --dump-method="op_$1.test*" op_"$1".class
|
/dalvik/dx/tests/107-verify-stack-ops/ |
H A D | run | 22 dx --debug --dex --dump-method="op_$1.test*" op_"$1".class
|
/dalvik/tests/044-proxy/src/ |
H A D | BasicTest.java | 84 /* declare an object that will handle the method calls */ 222 public Object invoke(Object proxy, Method method, Object[] args) argument 229 if (method.getDeclaringClass() == java.lang.Object.class) { 230 //System.out.println("!!! object " + method.getName()); 231 if (method.getName().equals("toString")) 233 else if (method.getName().equals("hashCode")) 235 else if (method.getName().equals("equals")) 241 System.out.println("Invoke " + method); 251 result = method.invoke(mObj, args); 254 System.out.println("Success: method " [all...] |