Home
last modified time | relevance | path

Searched refs:interfaces (Results 1 – 20 of 20) sorted by relevance

/dalvik/dx/src/com/android/dx/dex/file/
DClassDefItem.java61 private TypeListItem interfaces; field in ClassDefItem
91 CstType superclass, TypeList interfaces, CstUtf8 sourceFile) { in ClassDefItem() argument
101 if (interfaces == null) { in ClassDefItem()
108 this.interfaces = in ClassDefItem()
109 (interfaces.size() == 0) ? null : new TypeListItem(interfaces); in ClassDefItem()
154 if (interfaces != null) { in addContents()
155 interfaces = typeLists.intern(interfaces); in addContents()
179 int interOff = OffsettedItem.getAbsoluteOffsetOr0(interfaces); in writeTo()
198 TypeList list = interfaces.getList(); in writeTo()
257 if (interfaces == null) { in getInterfaces()
[all …]
DClassDefsSection.java177 TypeList interfaces = c.getInterfaces(); in orderItems0() local
178 int sz = interfaces.size(); in orderItems0()
180 idx = orderItems0(interfaces.getType(i), idx, maxDepth); in orderItems0()
/dalvik/vm/native/
Djava_lang_reflect_Proxy.c35 ArrayObject* interfaces = (ArrayObject*) args[1]; in Dalvik_java_lang_reflect_Proxy_generateProxy() local
39 result = dvmGenerateProxyClass(str, interfaces, loader); in Dalvik_java_lang_reflect_Proxy_generateProxy()
Djava_lang_Class.c284 ArrayObject* interfaces; in Dalvik_java_lang_Class_getInterfaces() local
286 interfaces = dvmGetInterfaces(clazz); in Dalvik_java_lang_Class_getInterfaces()
287 dvmReleaseTrackedAlloc((Object*) interfaces, NULL); in Dalvik_java_lang_Class_getInterfaces()
289 RETURN_PTR(interfaces); in Dalvik_java_lang_Class_getInterfaces()
/dalvik/vm/reflect/
DProxy.c32 static bool gatherMethods(ArrayObject* interfaces, Method*** pMethods,\
130 ClassObject* dvmGenerateProxyClass(StringObject* str, ArrayObject* interfaces, in dvmGenerateProxyClass() argument
148 nameStr, loader, interfaces->length); in dvmGenerateProxyClass()
175 if (!gatherMethods(interfaces, &methods, &throws, &methodCount)) in dvmGenerateProxyClass()
225 int interfaceCount = interfaces->length; in dvmGenerateProxyClass()
226 ClassObject** ifArray = (ClassObject**) interfaces->contents; in dvmGenerateProxyClass()
228 newClass->interfaces = (ClassObject**)dvmLinearAlloc(newClass->classLoader, in dvmGenerateProxyClass()
231 newClass->interfaces[i] = ifArray[i]; in dvmGenerateProxyClass()
232 dvmLinearReadOnly(newClass->classLoader, newClass->interfaces); in dvmGenerateProxyClass()
301 static bool gatherMethods(ArrayObject* interfaces, Method*** pMethods, in gatherMethods() argument
[all …]
DReflect.h119 ClassObject* dvmGenerateProxyClass(StringObject* str, ArrayObject* interfaces,
DReflect.c844 memcpy(interfaceArray->contents, clazz->interfaces, in dvmGetInterfaces()
/dalvik/vm/oo/
DArray.c464 newClass->interfaces = (ClassObject**)dvmLinearAlloc(newClass->classLoader, in createArrayClass()
466 memset(newClass->interfaces, 0, sizeof(ClassObject*) * 2); in createArrayClass()
467 newClass->interfaces[0] = in createArrayClass()
469 newClass->interfaces[1] = in createArrayClass()
471 dvmLinearReadOnly(newClass->classLoader, newClass->interfaces); in createArrayClass()
472 if (newClass->interfaces[0] == NULL || newClass->interfaces[1] == NULL) { in createArrayClass()
490 newClass->iftable[0].clazz = newClass->interfaces[0]; in createArrayClass()
491 newClass->iftable[1].clazz = newClass->interfaces[1]; in createArrayClass()
DClass.c1724 newClass->interfaces = (ClassObject**) dvmLinearAlloc(classLoader, in loadClassFromDex0()
1729 newClass->interfaces[i] = (ClassObject*)(u4) pType->typeIdx; in loadClassFromDex0()
1731 dvmLinearReadOnly(classLoader, newClass->interfaces); in loadClassFromDex0()
1996 NULL_AND_LINEAR_FREE(clazz->interfaces); in dvmFreeClassInnards()
2483 assert(sizeof(*interfaceIdxArray) == sizeof(*clazz->interfaces)); in dvmLinkClass()
2490 memcpy(interfaceIdxArray, clazz->interfaces, len); in dvmLinkClass()
2492 dvmLinearReadWrite(clazz->classLoader, clazz->interfaces); in dvmLinkClass()
2493 memset(clazz->interfaces, 0, len); in dvmLinkClass()
2494 dvmLinearReadOnly(clazz->classLoader, clazz->interfaces); in dvmLinkClass()
2527 dvmLinearReadWrite(clazz->classLoader, clazz->interfaces); in dvmLinkClass()
[all …]
DObject.h447 ClassObject** interfaces; member
/dalvik/dx/tests/006-interfaces/
Dinfo.txt6 interfaces list.
Dsmall-class.txt28 0008 0009 000a # interfaces
Dexpected.txt24 interfaces:
/dalvik/dx/src/com/android/dx/cf/direct/
DDirectClassFile.java120 private TypeList interfaces; field in DirectClassFile
281 return interfaces; in getInterfaces()
495 interfaces = makeTypeList(at, count); in parse0()
/dalvik/vm/alloc/
DVisitInlines.h80 (*visitor)(&clazz->interfaces[i], arg); in visitInterfaces()
DMarkSweep.c351 markObject((Object *)obj->interfaces[i], ctx); in scanClassObject()
DCopying.c952 scavengeReference((Object **) &obj->interfaces[i]); in scavengeClassObject()
/dalvik/libdex/
DDexSwapVerify.c1003 const DexTypeList* interfaces = in crossVerifyClassDefItem() local
1005 if (interfaces != NULL) { in crossVerifyClassDefItem()
1006 u4 size = interfaces->size; in crossVerifyClassDefItem()
1015 dexTypeListGetIdx(interfaces, i)); in crossVerifyClassDefItem()
1030 u4 idx1 = dexTypeListGetIdx(interfaces, i); in crossVerifyClassDefItem()
1033 u4 idx2 = dexTypeListGetIdx(interfaces, j); in crossVerifyClassDefItem()
/dalvik/libnativehelper/
DNOTICE58 separable from, or merely link (or bind by name) to the interfaces of,
/dalvik/
DNOTICE58 separable from, or merely link (or bind by name) to the interfaces of,