/dalvik/dx/src/com/android/dx/cf/direct/ |
H A D | MethodListParser.java | 28 * Parser for lists of methods in a class file. 32 final private StdMethodList methods; field in class:MethodListParser 45 methods = new StdMethodList(getCount()); 55 return methods; 83 methods.set(n, meth);
|
H A D | DirectClassFile.java | 133 * {@code null-ok;} the class file field {@code methods}; only ever 136 private MethodList methods; field in class:DirectClassFile 306 return methods; 542 methods = mlParser.getList();
|
/dalvik/tools/ |
H A D | deadcode.py | 54 methods = [] 61 return methods 64 methods.append(result.group(1)) 112 methods = FindMethods(sections['method code index']) 119 for method in methods:
|
/dalvik/vm/native/ |
H A D | dalvik_system_VMStack.cpp | 61 * Create an array of classes for the methods on the stack, skipping the 62 * first two and all reflection methods. If "stopAtPrivileged" is set, 78 UniquePtr<const Method*[]> methods(new const Method*[depth]); 79 dvmFillStackTraceArray(fp, methods.get(), depth); 85 const Method* meth = methods[i]; 116 if (dvmIsReflectionMethod(methods[i])) { 119 Object* klass = (Object *)methods[i]->clazz;
|
H A D | java_lang_Class.cpp | 281 ArrayObject* methods; local 283 methods = dvmGetDeclaredMethods(clazz, publicOnly); 284 dvmReleaseTrackedAlloc((Object*) methods, NULL); 286 RETURN_PTR(methods);
|
/dalvik/vm/ |
H A D | InitRefs.cpp | 356 } methods[] = { local 384 for (i = 0; methods[i].method != NULL; i++) { 385 if (!initDirectMethodReference(methods[i].method, methods[i].className, 386 methods[i].name, methods[i].descriptor)) { 421 } methods[] = { local 436 for (i = 0; methods[i].offset != NULL; i++) { 437 if (!initVirtualMethodOffset(methods[i].offset, methods[ [all...] |
H A D | Native.cpp | 20 * Currently the "Dalvik native" methods are only used for internal methods. 89 /* start with our internal-native methods */ 484 * Un-register JNI native methods. 509 static void unregisterJNINativeMethods(Method* methods, size_t count) argument 514 Method* meth = &methods[count]; 523 * methods that were registered through JNI. In practice, any 539 * Un-register all JNI native methods from a class.
|
H A D | Jni.cpp | 31 Native methods and interaction with the GC 33 All JNI methods must start by changing their thread status to 682 static void dumpMethods(Method* methods, size_t methodCount, const char* name) { argument 685 Method* method = &methods[i]; 1056 * (The "internal native" methods are invoked the same way, but instead 1215 * be getting the class prior to registering native methods that will be 1619 * but static methods. 1624 * Dalvik also puts all private methods into the "direct" list, so we 1644 /* search private methods and constructors; non-hierarchical */ 2460 const JNINativeMethod* methods, jin 2459 RegisterNatives(JNIEnv* env, jclass jclazz, const JNINativeMethod* methods, jint nMethods) argument [all...] |
H A D | CheckJni.cpp | 23 * e.g. access to private methods is generally allowed from anywhere. 906 * make any JNI calls other than the Exception* methods. 1888 static jint Check_RegisterNatives(JNIEnv* env, jclass clazz, const JNINativeMethod* methods, argument 1891 CHECK_JNI_ENTRY(kFlag_Default, "EcpI", env, clazz, methods, nMethods); 1892 return CHECK_JNI_EXIT("I", baseEnv(env)->RegisterNatives(env, clazz, methods, nMethods));
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
H A D | Output.java | 129 * Prints the list of methods in a simple human-readable format. 134 MethodRef[] methods = classes[i].getMethodArray(); 136 for (int j = 0; j < methods.length; j++) { 137 MethodRef ref = methods[j]; 155 * the matching fields and methods. 204 * Prints the externally-visible methods in XML format. 207 MethodRef[] methods = cref.getMethodArray(); 208 for (int i = 0; i < methods.length; i++) { 209 MethodRef mref = methods[i];
|
/dalvik/tools/dmtracedump/ |
H A D | TraceDump.c | 147 struct MethodEntry **methods; /* list of methods in this class */ member in struct:ClassEntry 154 struct MethodEntry **methods; /* list of methods with same name */ member in struct:UniqueMethodEntry 175 int index; /* used after sorting to number methods */ 189 MethodEntry* methods; /* 2 extra methods: "toplevel" and "unknown" */ member in struct:DataKeys 327 * methods into decreasing order of exclusive elapsed time. 342 /* If the elapsed times of two methods are equal, then sort them 365 * methods int 2545 findMatch(MethodEntry** methods, int size, MethodEntry* matchThis) argument 2899 MethodEntry** methods = parseMethodEntries(dataKeys); local [all...] |
/dalvik/tests/044-proxy/src/ |
H A D | BasicTest.java | 72 Method[] methods = proxy.getClass().getDeclaredMethods(); 73 System.out.println("Proxy methods: " + Arrays.deepToString(methods)); 74 Method meth = methods[methods.length -1];
|
/dalvik/vm/oo/ |
H A D | Object.cpp | 387 Method* methods; local 392 methods = clazz->virtualMethods; 395 methods = clazz->directMethods; 400 Method* method = &methods[i]; 492 Method* methods = clazz->virtualMethods; local 497 if (strcmp(methods[i].name, methodName) == 0) 498 return &methods[i]; 603 * is only appropriate for static methods, but will work for all direct 604 * methods. 667 * For "direct" methods (privat [all...] |
/dalvik/dexlist/ |
H A D | Android.mk | 16 # dexlist -- list all concrete methods found in a DEX file
|
/dalvik/dx/src/com/android/dx/command/findusages/ |
H A D | FindUsages.java | 168 * Returns the methods with {@code memberNameIndex} declared by {@code 174 Set<Integer> methods = new HashSet<Integer>(); 179 methods.add(methodIndex); 183 return methods;
|
/dalvik/vm/reflect/ |
H A D | Proxy.cpp | 138 * Generate a temporary list of virtual methods. 141 Method **methods; local 142 if (!gatherMethods(interfaces, &methods, &throws, &methodCount)) { 150 createHandlerMethod(newClass, &newClass->virtualMethods[i], methods[i]); 152 free(methods); 230 * Generate a list of methods. The Method pointers returned point to the 243 Method** methods = NULL; local 251 * methods declared by each interface and all of its superinterfaces. 253 maxCount = 3; // 3 methods in java.lang.Object 274 methods [all...] |
H A D | Reflect.cpp | 344 * We use positive values starting from 0 for virtual methods, negative 345 * values starting from -1 for static methods. 469 * Count up the #of relevant methods. 609 * Get an array with all methods declared by a class. 611 * This includes both static and virtual methods, and can include private 612 * members if "publicOnly" is false. It does not include Miranda methods, 621 * Count up the #of relevant methods. 623 * Ignore virtual Miranda methods and direct class/object constructors. 714 static Object* findConstructorOrMethodInArray(int methodsCount, Method* methods, argument 722 method = &methods[ [all...] |
/dalvik/dx/src/com/android/dx/dex/cf/ |
H A D | AttributeTranslator.java | 50 * Utility methods that translate various classfile attributes 397 MethodList methods = cf.getMethods(); 398 int sz = methods.size(); 404 Method one = methods.get(i);
|
H A D | CfTranslator.java | 247 * Processes the methods of the given class. 257 MethodList methods = cf.getMethods(); 258 int sz = methods.size(); 261 Method one = methods.get(i); 274 // There's no code for native or abstract methods. 337 * ...but only native methods are actually allowed to be
|
/dalvik/tests/046-reflect/src/ |
H A D | Main.java | 391 Method[] methods; 393 methods = niuClass.getDeclaredMethods(); 394 System.out.println("got methods");
|
/dalvik/libdex/ |
H A D | DexSwapVerify.cpp | 1265 const DexMethodAnnotationsItem* methods = local 1268 dexGetMethodId(state->pDexFile, methods[0].methodIdx); 1470 /* Helper for verifyClassDataItem(), which checks a list of methods. */ 1472 DexMethod* methods, bool expectDirect) { 1476 DexMethod* method = &methods[i]; 1544 ALOGE("Trouble with direct methods"); 1552 ALOGE("Trouble with virtual methods"); 1471 verifyMethods(const CheckState* state, u4 size, DexMethod* methods, bool expectDirect) argument
|
/dalvik/dx/src/com/android/dx/merge/ |
H A D | DexMerger.java | 796 private void transformMethods(Dex in, IndexMap indexMap, ClassData.Method[] methods) { argument 798 for (ClassData.Method method : methods) {
|
/dalvik/vm/mterp/mips/ |
H A D | footer.S | 505 # (very few methods have > 10 args; could unroll for common cases)
|
/dalvik/vm/mterp/armv5te/ |
H A D | footer.S | 489 @ (very few methods have > 10 args; could unroll for common cases)
|
/dalvik/dx/etc/ |
H A D | jasmin.jar | ... .util.Vector vars java.util.Vector methods jas.SourceAttr source jas.SignatureAttr signature jas. ... |