Searched refs:interfaces (Results 1 - 19 of 19) sorted by relevance

/dalvik/vm/native/
H A Djava_lang_reflect_Proxy.cpp25 * static Class generateProxy(String name, Class[] interfaces,
35 ArrayObject* interfaces = (ArrayObject*) args[1]; local
39 result = dvmGenerateProxyClass(str, interfaces, loader);
H A Djava_lang_Class.cpp315 ArrayObject* interfaces; local
317 interfaces = dvmGetInterfaces(clazz);
318 dvmReleaseTrackedAlloc((Object*) interfaces, NULL);
320 RETURN_PTR(interfaces);
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DClassDefItem.java60 /** {@code null-ok;} list of implemented interfaces */
61 private TypeListItem interfaces; field in class:ClassDefItem
86 * @param interfaces {@code non-null;} list of implemented interfaces
91 CstType superclass, TypeList interfaces, CstUtf8 sourceFile) {
101 if (interfaces == null) {
102 throw new NullPointerException("interfaces == null");
108 this.interfaces =
109 (interfaces.size() == 0) ? null : new TypeListItem(interfaces);
90 ClassDefItem(CstType thisClass, int accessFlags, CstType superclass, TypeList interfaces, CstUtf8 sourceFile) argument
[all...]
H A DClassDefsSection.java177 TypeList interfaces = c.getInterfaces();
178 int sz = interfaces.size();
180 idx = orderItems0(interfaces.getType(i), idx, maxDepth);
/dalvik/dx/src/com/android/dx/dex/file/
H A DClassDefItem.java57 /** {@code null-ok;} list of implemented interfaces */
58 private TypeListItem interfaces; field in class:ClassDefItem
83 * @param interfaces {@code non-null;} list of implemented interfaces
88 CstType superclass, TypeList interfaces, CstString sourceFile) {
98 if (interfaces == null) {
99 throw new NullPointerException("interfaces == null");
105 this.interfaces =
106 (interfaces.size() == 0) ? null : new TypeListItem(interfaces);
87 ClassDefItem(CstType thisClass, int accessFlags, CstType superclass, TypeList interfaces, CstString sourceFile) argument
[all...]
H A DClassDefsSection.java176 TypeList interfaces = c.getInterfaces();
177 int sz = interfaces.size();
179 idx = orderItems0(interfaces.getType(i), idx, maxDepth);
/dalvik/vm/oo/
H A DArray.cpp391 * interfaces. We need to set that up here, so that stuff like
403 * copy of "interfaces" and "iftable" somewhere near the start and
407 newClass->interfaces = (ClassObject**)dvmLinearAlloc(newClass->classLoader,
409 memset(newClass->interfaces, 0, sizeof(ClassObject*) * 2);
410 newClass->interfaces[0] =
412 newClass->interfaces[1] =
414 dvmLinearReadOnly(newClass->classLoader, newClass->interfaces);
415 if (newClass->interfaces[0] == NULL || newClass->interfaces[1] == NULL) {
416 ALOGE("Unable to create array class '%s': missing interfaces",
[all...]
H A DClass.cpp43 and interfaces are available, prepare its fields, and return it. This gets
49 load superclasses and interfaces. Barring circular references (e.g. two
1800 * The elements of newClass->interfaces are not traversed or freed by
1807 newClass->interfaces = (ClassObject**) dvmLinearAlloc(classLoader,
1812 newClass->interfaces[i] = (ClassObject*)(u4) pType->typeIdx;
1814 dvmLinearReadOnly(classLoader, newClass->interfaces);
2080 NULL_AND_LINEAR_FREE(clazz->interfaces);
2499 * If clazz->status is CLASS_IDX, then clazz->super and interfaces[] are
2551 assert(sizeof(*interfaceIdxArray) == sizeof(*clazz->interfaces));
2558 memcpy(interfaceIdxArray, clazz->interfaces, le
[all...]
H A DObject.h185 * which holds the vtables for all interfaces declared by this class.
336 * classes and interfaces, including synthesized classes (arrays and
379 * interfaces and abstract classes this will be zero.)
404 /* array of interfaces this class implements directly */
406 ClassObject** interfaces; member in struct:ClassObject
429 * implement any interfaces.
443 * them all in a single pool for each class that implements interfaces,
/dalvik/vm/reflect/
H A DProxy.cpp32 static bool gatherMethods(ArrayObject* interfaces, Method*** pMethods,\
53 * Generate a proxy class with the specified name, interfaces, and loader.
54 * "interfaces" is an array of class objects.
57 * - Verified that "interfaces" contains only interfaces
60 * interfaces are non-public
66 ClassObject* dvmGenerateProxyClass(StringObject* str, ArrayObject* interfaces, argument
79 nameStr, loader, interfaces->length);
86 * - implements all listed interfaces (req'd for instanceof)
87 * - has one method for each method in the interfaces (fo
238 gatherMethods(ArrayObject* interfaces, Method*** pMethods, ArrayObject** pThrows, int* pMethodCount) argument
[all...]
H A DReflect.h60 * Get all interfaces a class implements. If this is unable to allocate
125 ClassObject* dvmGenerateProxyClass(StringObject* str, ArrayObject* interfaces,
H A DReflect.cpp813 * Get all interfaces a class implements. If this is unable to allocate
833 memcpy(interfaceArray->contents, clazz->interfaces,
/dalvik/dx/src/com/android/dx/cf/direct/
H A DDirectClassFile.java120 * {@code null-ok;} the class file field {@code interfaces}; only
124 private TypeList interfaces; field in class:DirectClassFile
294 return interfaces;
384 * the interfaces list.
503 observer.parsed(bytes, at + 8, 0, "interfaces:");
508 interfaces = makeTypeList(at, count);
529 * the file (through the interfaces list).
/dalvik/vm/alloc/
H A DVisitInlines.h68 * Visit the interfaces of a class object.
76 (*visitor)(&clazz->interfaces[i], arg);
H A DMarkSweep.cpp262 * Visit the interfaces of a class object.
269 markObject((const Object *)clazz->interfaces[i], ctx);
287 /* Do super and the interfaces contain Objects and not dex idx values? */
H A DCopying.cpp907 scavengeReference((Object **) &obj->interfaces[i]);
/dalvik/libdex/
H A DDexSwapVerify.cpp1011 const DexTypeList* interfaces = local
1013 if (interfaces != NULL) {
1014 u4 size = interfaces->size;
1018 * Ensure that all interfaces refer to classes (not arrays or
1023 dexTypeListGetIdx(interfaces, i));
1032 * but in practice the number of interfaces implemented by any
1038 u4 idx1 = dexTypeListGetIdx(interfaces, i);
1041 u4 idx2 = dexTypeListGetIdx(interfaces, j);
/dalvik/dx/etc/
H A Djasmin.jar ... .util.Hashtable cpe_index java.util.Vector interfaces java.util.Vector vars java.util. ...
/dalvik/vm/
H A DDebugger.cpp1262 * Output all interfaces directly implemented by the class.
1275 ClassObject* iface = clazz->interfaces[i];

Completed in 473 milliseconds