Searched refs:methods (Results 1 - 25 of 28) sorted by relevance

12

/dalvik/dx/src/com/android/dx/cf/direct/
H A DMethodListParser.java28 * 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 DDirectClassFile.java132 * {@code null-ok;} the class file field {@code methods}; only ever
135 private MethodList methods; field in class:DirectClassFile
296 return methods;
532 methods = mlParser.getList();
/dalvik/tools/
H A Ddeadcode.py54 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 Ddalvik_system_VMStack.cpp61 * 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 Djava_lang_Class.cpp281 ArrayObject* methods; local
283 methods = dvmGetDeclaredMethods(clazz, publicOnly);
284 dvmReleaseTrackedAlloc((Object*) methods, NULL);
286 RETURN_PTR(methods);
/dalvik/vm/
H A DInitRefs.cpp359 } 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 DNative.cpp20 * Currently the "Dalvik native" methods are only used for internal methods.
89 /* start with our internal-native methods */
481 * Un-register JNI native methods.
506 static void unregisterJNINativeMethods(Method* methods, size_t count) argument
511 Method* meth = &methods[count];
520 * methods that were registered through JNI. In practice, any
536 * Un-register all JNI native methods from a class.
H A DJni.cpp30 Native methods and interaction with the GC
32 All JNI methods must start by changing their thread status to
685 static void dumpMethods(Method* methods, size_t methodCount, const char* name) { argument
688 Method* method = &methods[i];
1052 * (The "internal native" methods are invoked the same way, but instead
1211 * be getting the class prior to registering native methods that will be
1615 * but static methods.
1620 * Dalvik also puts all private methods into the "direct" list, so we
1640 /* search private methods and constructors; non-hierarchical */
2456 const JNINativeMethod* methods, jin
2455 RegisterNatives(JNIEnv* env, jclass jclazz, const JNINativeMethod* methods, jint nMethods) argument
[all...]
H A DCheckJni.cpp23 * e.g. access to private methods is generally allowed from anywhere.
894 * make any JNI calls other than the Exception* methods.
1875 static jint Check_RegisterNatives(JNIEnv* env, jclass clazz, const JNINativeMethod* methods, argument
1878 CHECK_JNI_ENTRY(kFlag_Default, "EcpI", env, clazz, methods, nMethods);
1879 return CHECK_JNI_EXIT("I", baseEnv(env)->RegisterNatives(env, clazz, methods, nMethods));
/dalvik/tools/dexdeps/src/com/android/dexdeps/
H A DOutput.java129 * 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 DTraceDump.c147 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
2895 MethodEntry** methods = parseMethodEntries(dataKeys); local
[all...]
/dalvik/tests/044-proxy/src/
H A DBasicTest.java72 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 DObject.cpp387 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 DAndroid.mk16 # dexlist -- list all concrete methods found in a DEX file
/dalvik/dx/src/com/android/dx/command/findusages/
H A DFindUsages.java169 * Returns the methods with {@code memberNameIndex} declared by {@code
175 Set<Integer> methods = new HashSet<Integer>();
180 methods.add(methodIndex);
184 return methods;
/dalvik/vm/reflect/
H A DProxy.cpp138 * 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);
231 * Generate a list of methods. The Method pointers returned point to the
244 Method** methods = NULL; local
252 * methods declared by each interface and all of its superinterfaces.
254 maxCount = 3; // 3 methods in java.lang.Object
275 methods
[all...]
H A DReflect.cpp343 * We use positive values starting from 0 for virtual methods, negative
344 * values starting from -1 for static methods.
467 * Count up the #of relevant methods.
606 * Get an array with all methods declared by a class.
608 * This includes both static and virtual methods, and can include private
609 * members if "publicOnly" is false. It does not include Miranda methods,
618 * Count up the #of relevant methods.
620 * Ignore virtual Miranda methods and direct class/object constructors.
711 static Object* findConstructorOrMethodInArray(int methodsCount, Method* methods, argument
719 method = &methods[
[all...]
/dalvik/dx/src/com/android/dx/dex/cf/
H A DAttributeTranslator.java51 * Utility methods that translate various classfile attributes
398 MethodList methods = cf.getMethods();
399 int sz = methods.size();
405 Method one = methods.get(i);
H A DCfTranslator.java217 * Processes the methods of the given class.
227 MethodList methods = cf.getMethods();
228 int sz = methods.size();
231 Method one = methods.get(i);
244 // There's no code for native or abstract methods.
307 * ...but only native methods are actually allowed to be
/dalvik/tests/046-reflect/src/
H A DMain.java391 Method[] methods;
393 methods = niuClass.getDeclaredMethods();
394 System.out.println("got methods");
/dalvik/libdex/
H A DDexSwapVerify.cpp1259 const DexMethodAnnotationsItem* methods = local
1262 dexGetMethodId(state->pDexFile, methods[0].methodIdx);
1463 /* Helper for verifyClassDataItem(), which checks a list of methods. */
1465 DexMethod* methods, bool expectDirect) {
1469 DexMethod* method = &methods[i];
1532 ALOGE("Trouble with direct methods");
1540 ALOGE("Trouble with virtual methods");
1464 verifyMethods(const CheckState* state, u4 size, DexMethod* methods, bool expectDirect) argument
/dalvik/dx/src/com/android/dx/merge/
H A DDexMerger.java767 private void transformMethods(DexBuffer in, IndexMap indexMap, ClassData.Method[] methods) { argument
769 for (ClassData.Method method : methods) {
/dalvik/vm/mterp/armv5te/
H A Dfooter.S489 @ (very few methods have > 10 args; could unroll for common cases)
/dalvik/dx/etc/
H A Djasmin.jar ... .util.Vector vars java.util.Vector methods jas.SourceAttr source jas.SignatureAttr signature jas. ...
/dalvik/vm/mterp/out/
H A DInterpAsm-armv5te-vfp.S16132 @ (very few methods have > 10 args; could unroll for common cases)

Completed in 702 milliseconds

12