Lines Matching defs:method
127 { &gDvm.classJavaLangReflectMethod, "Ljava/lang/reflect/Method;" },
128 { &gDvm.classJavaLangReflectMethodArray, "[Ljava/lang/reflect/Method;"},
269 { "Ljava/lang/reflect/Method;", infoMethod },
297 static bool initDirectMethodReferenceByClass(Method** pMethod, ClassObject* clazz,
299 Method* method = dvmFindDirectMethodByDescriptor(clazz, name, descriptor);
301 if (method == NULL) {
302 ALOGE("Could not find essential direct method %s.%s with descriptor %s",
307 *pMethod = method;
311 static bool initDirectMethodReference(Method** pMethod, const char* className,
316 ALOGE("Could not find essential class %s for direct method lookup", className);
324 static struct { Method** method; const char* name; const char* descriptor; } constructors[] = {
331 { &gDvm.methJavaLangReflectMethod_init, "Ljava/lang/reflect/Method;",
338 "(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/reflect/Method;)V" },
343 for (i = 0; constructors[i].method != NULL; i++) {
344 if (!initDirectMethodReference(constructors[i].method, constructors[i].name,
355 Method** method;
384 for (i = 0; methods[i].method != NULL; i++) {
385 if (!initDirectMethodReference(methods[i].method, methods[i].className,
399 ALOGE("Could not find essential class %s for virtual method lookup", className);
403 Method* method = dvmFindVirtualMethodByDescriptor(clazz, name, descriptor);
405 if (method == NULL) {
406 ALOGE("Could not find essential virtual method %s.%s with descriptor %s",
411 *pOffset = method->methodIndex;