Searched defs:methods (Results 1 - 14 of 14) sorted by relevance

/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/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 */
482 * Un-register JNI native methods.
507 static void unregisterJNINativeMethods(Method* methods, size_t count) argument
512 Method* meth = &methods[count];
521 * methods that were registered through JNI. In practice, any
537 * Un-register all JNI native methods from a class.
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));
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...]
/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/vm/native/
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/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/merge/
H A DDexMerger.java777 private void transformMethods(DexBuffer in, IndexMap indexMap, ClassData.Method[] methods) { argument
779 for (ClassData.Method method : 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/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/dx/etc/
H A Djasmin.jar ... .util.Vector vars java.util.Vector methods jas.SourceAttr source jas.SignatureAttr signature jas. ...

Completed in 7777 milliseconds