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

12

/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/support/
H A DMethodLogger.java29 * The names of the invoked methods, in order.
31 private List<String> methods = new ArrayList<String>(); field in class:MethodLogger
34 * The parameter lists of the invoked methods, in order.
45 methods.add(method);
53 return methods.size();
60 return methods.get(index);
91 methods.clear();
/dalvik/vm/native/
H A Djava_security_AccessController.c28 * methods on the stack. Ignore reflection frames. Stop at the first
36 const Method** methods = NULL; local
42 if (!dvmCreateStackTraceArray(dvmThreadSelf()->curFrame, &methods, &length))
52 // LOGI(" %2d: %s.%s\n", i, methods[i]->clazz->name, methods[i]->name);
56 * we're interested in. Skip the first two methods (this method, and
72 free(methods);
78 const Method* meth = methods[idx];
87 while (++idx < length && dvmIsReflectionMethod(methods[idx]))
90 meth = methods[id
[all...]
H A Ddalvik_system_VMStack.c76 * Create an array of classes for the methods on the stack, skipping the
77 * first two and all reflection methods. If "stopAtPrivileged" is set,
88 const Method** methods = NULL; local
94 if (!dvmCreateStackTraceArray(dvmThreadSelf()->curFrame, &methods,
106 // i, methods[i]->clazz->descriptor, methods[i]->name);
114 const Method* meth = methods[idx];
157 const Method* meth = methods[idx];
167 free(methods);
H A Djava_lang_Class.c267 ArrayObject* methods; local
269 methods = dvmGetDeclaredMethods(clazz, publicOnly);
270 dvmReleaseTrackedAlloc((Object*) methods, NULL);
272 RETURN_PTR(methods);
/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.java129 * {@code null-ok;} the class file field {@code methods}; only ever
132 private MethodList methods; field in class:DirectClassFile
293 return methods;
529 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/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DMethodTest.java637 Method[] methods = null;
662 // Test same method. but this time pull it from the list of methods
664 methods = cl.getDeclaredMethods();
667 for (i = 0; i < methods.length; i++)
668 if (methods[i].getName().equals("parmTest")) {
669 mth = methods[i];
670 i = methods.length + 1;
672 if (i < methods.length) {
834 Method methods[] = cl.getMethods();
835 for (int i = 0; i < methods
[all...]
/dalvik/libcore/annotation/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
H A DAnnotationTypeMismatchExceptionTest.java64 Method[] methods = Class.forName("java.lang.String").getMethods();
65 Method m = methods[0];
H A DAnnotationTest.java87 List<Method> methods = Arrays.asList(AnnotatedClass.class.getDeclaredMethods());
90 for (Method m : methods) {
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
H A DClassCache.java35 * methods.
37 * <p><b>Note:</b> None of the methods perform access checks. It is up
59 /** null-ok; list of all declared methods */
62 /** null-ok; list of all public declared methods */
65 /** null-ok; list of all methods, both direct and inherited */
68 /** null-ok; list of all public methods, both direct and inherited */
147 * Gets the list of all declared methods.
149 * @return non-null; the list of all declared methods
160 * Gets the list of all declared public methods.
162 * @return non-null; the list of all declared public methods
241 findAllMethods(Class<?> clazz, ArrayList<Method> methods, HashSet<String> seen, boolean publicOnly) argument
[all...]
H A DClass.java747 Method[] methods = getClassCache().getDeclaredMethods();
748 Method method = findMethodByName(methods, name, parameterTypes);
758 * Returns an array containing {@code Method} objects for all methods
760 * methods or if this {@code Class} represents an array class, a primitive
763 * @return an array with the methods declared in the class represented by
774 Method[] methods = getClassCache().getDeclaredMethods();
775 return ClassCache.deepCopy(methods);
779 * Returns the list of methods without performing any security checks
780 * first. If no methods exist, an empty array is returned.
984 Method[] methods
[all...]
/dalvik/tools/dexdeps/src/com/android/dexdeps/
H A DOutput.java81 * Prints the list of methods in a simple human-readable format.
86 MethodRef[] methods = classes[i].getMethodArray();
88 for (int j = 0; j < methods.length; j++) {
89 MethodRef ref = methods[j];
110 * the matching fields and methods.
158 * Prints the externally-visible methods in XML format.
161 MethodRef[] methods = cref.getMethodArray();
162 for (int i = 0; i < methods.length; i++) {
163 MethodRef mref = methods[i];
/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.c387 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];
558 * is only appropriate for static methods, but will work for all direct
559 * methods.
/dalvik/dexlist/
H A DAndroid.mk16 # dexlist -- list all concrete methods found in a DEX file
/dalvik/tools/dmtracedump/
H A DTraceDump.c158 struct MethodEntry **methods; /* list of methods in this class */ member in struct:ClassEntry
165 struct MethodEntry **methods; /* list of methods with same name */ member in struct:UniqueMethodEntry
186 int index; /* used after sorting to number methods */
200 MethodEntry* methods; /* 2 extra methods: "toplevel" and "unknown" */ member in struct:DataKeys
371 * methods into decreasing order of exclusive elapsed time.
386 /* If the elapsed times of two methods are equal, then sort them
409 * methods int
3262 findMatch(MethodEntry** methods, int size, MethodEntry* matchThis) argument
3621 MethodEntry** methods = parseMethodEntries(dataKeys); local
[all...]
/dalvik/dx/src/junit/framework/
H A DTestSuite.java23 * This constructor creates a suite with all the methods
49 * Constructs a TestSuite from the given class. Adds all the methods
71 Method[] methods= superClass.getDeclaredMethods();
72 for (int i= 0; i < methods.length; i++) {
73 addTestMethod(methods[i], names, theClass);
/dalvik/libcore/junit/src/main/java/junit/framework/
H A DTestSuite.java25 * This constructor creates a suite with all the methods
51 * Constructs a TestSuite from the given class. Adds all the methods
73 Method[] methods= superClass.getDeclaredMethods();
74 for (int i= 0; i < methods.length; i++) {
75 addTestMethod(methods[i], names, theClass);
/dalvik/libcore/luni-kernel/src/main/native/
H A Djava_lang_ProcessManager.cpp410 static JNINativeMethod methods[] = { variable
421 env, "java/lang/ProcessManager", methods, NELEM(methods));
/dalvik/vm/reflect/
H A DProxy.c58 * Standard methods we must provide in our proxy.
134 Method** methods = NULL; local
171 * Generate a temporary list of virtual methods.
174 if (!gatherMethods(interfaces, &methods, &throws, &methodCount))
211 createHandlerMethod(newClass, &newClass->virtualMethods[i],methods[i]);
264 free(methods);
284 * Generate a list of methods. The Method pointers returned point to the
297 Method** methods = NULL; local
305 * methods declared by each interface and all of its superinterfaces.
307 maxCount = 3; // 3 methods i
[all...]
/dalvik/dx/src/com/android/dx/dex/cf/
H A DAttributeTranslator.java53 * Utility methods that translate various classfile attributes
388 MethodList methods = cf.getMethods();
389 int sz = methods.size();
395 Method one = methods.get(i);
H A DCfTranslator.java214 * Processes the methods of the given class.
223 MethodList methods = cf.getMethods();
224 int sz = methods.size();
227 Method one = methods.get(i);
240 // There's no code for native or abstract methods.
303 * ...but only native methods are actually allowed to be
/dalvik/libcore/luni/src/main/java/java/io/
H A DObjectStreamClass.java511 * Normally constructors come before methods (because <init> <
561 Method[] methods = cl.getDeclaredMethods();
562 if (methods.length > 1) {
575 Arrays.sort(methods, methodComparator);
579 for (int i = 0; i < methods.length; i++) {
580 Method method = methods[i];
/dalvik/tests/046-reflect/src/
H A DMain.java337 Method[] methods;
339 methods = niuClass.getDeclaredMethods();
340 System.out.println("got methods");

Completed in 692 milliseconds

12