Home
last modified time | relevance | path

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

/dalvik/dx/src/com/android/dx/dex/file/
DClassDefItem.java59 private TypeListItem interfaces; field in ClassDefItem
89 CstType superclass, TypeList interfaces, CstString sourceFile) { in ClassDefItem() argument
99 if (interfaces == null) { in ClassDefItem()
106 this.interfaces = in ClassDefItem()
107 (interfaces.size() == 0) ? null : new TypeListItem(interfaces); in ClassDefItem()
152 if (interfaces != null) { in addContents()
153 interfaces = typeLists.intern(interfaces); in addContents()
177 int interOff = OffsettedItem.getAbsoluteOffsetOr0(interfaces); in writeTo()
196 TypeList list = interfaces.getList(); in writeTo()
255 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/dexgen/src/com/android/dexgen/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.cpp35 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.cpp315 ArrayObject* interfaces; in Dalvik_java_lang_Class_getInterfaces() local
317 interfaces = dvmGetInterfaces(clazz); in Dalvik_java_lang_Class_getInterfaces()
318 dvmReleaseTrackedAlloc((Object*) interfaces, NULL); in Dalvik_java_lang_Class_getInterfaces()
320 RETURN_PTR(interfaces); in Dalvik_java_lang_Class_getInterfaces()
/dalvik/vm/oo/
DArray.cpp407 newClass->interfaces = (ClassObject**)dvmLinearAlloc(newClass->classLoader, in createArrayClass()
409 memset(newClass->interfaces, 0, sizeof(ClassObject*) * 2); in createArrayClass()
410 newClass->interfaces[0] = in createArrayClass()
412 newClass->interfaces[1] = in createArrayClass()
414 dvmLinearReadOnly(newClass->classLoader, newClass->interfaces); in createArrayClass()
415 if (newClass->interfaces[0] == NULL || newClass->interfaces[1] == NULL) { in createArrayClass()
433 newClass->iftable[0].clazz = newClass->interfaces[0]; in createArrayClass()
434 newClass->iftable[1].clazz = newClass->interfaces[1]; in createArrayClass()
DClass.cpp1804 newClass->interfaces = (ClassObject**) dvmLinearAlloc(classLoader, in loadClassFromDex0()
1809 newClass->interfaces[i] = (ClassObject*)(u4) pType->typeIdx; in loadClassFromDex0()
1811 dvmLinearReadOnly(classLoader, newClass->interfaces); in loadClassFromDex0()
2077 NULL_AND_LINEAR_FREE(clazz->interfaces); in dvmFreeClassInnards()
2548 assert(sizeof(*interfaceIdxArray) == sizeof(*clazz->interfaces)); in dvmLinkClass()
2555 memcpy(interfaceIdxArray, clazz->interfaces, len); in dvmLinkClass()
2557 dvmLinearReadWrite(clazz->classLoader, clazz->interfaces); in dvmLinkClass()
2558 memset(clazz->interfaces, 0, len); in dvmLinkClass()
2559 dvmLinearReadOnly(clazz->classLoader, clazz->interfaces); in dvmLinkClass()
2592 dvmLinearReadWrite(clazz->classLoader, clazz->interfaces); in dvmLinkClass()
[all …]
DObject.h408 ClassObject** interfaces; member
/dalvik/vm/reflect/
DProxy.cpp32 static bool gatherMethods(ArrayObject* interfaces, Method*** pMethods,\
66 ClassObject* dvmGenerateProxyClass(StringObject* str, ArrayObject* interfaces, in dvmGenerateProxyClass() argument
79 nameStr, loader, interfaces->length); in dvmGenerateProxyClass()
142 if (!gatherMethods(interfaces, &methods, &throws, &methodCount)) { in dvmGenerateProxyClass()
160 size_t interfaceCount = interfaces->length; in dvmGenerateProxyClass()
161 ClassObject** ifArray = (ClassObject**)(void*)interfaces->contents; in dvmGenerateProxyClass()
164 newClass->interfaces = in dvmGenerateProxyClass()
167 newClass->interfaces[i] = ifArray[i]; in dvmGenerateProxyClass()
168 dvmLinearReadOnly(newClass->classLoader, newClass->interfaces); in dvmGenerateProxyClass()
238 static bool gatherMethods(ArrayObject* interfaces, Method*** pMethods, in gatherMethods() argument
[all …]
DReflect.h125 ClassObject* dvmGenerateProxyClass(StringObject* str, ArrayObject* interfaces,
DReflect.cpp830 memcpy(interfaceArray->contents, clazz->interfaces, in dvmGetInterfaces()
/dalvik/tests/091-deep-interface-hierarchy/
Dinfo.txt2 hierarchy super-interfaces were recursively concatenated without looking for duplicates.
/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.java123 private TypeList interfaces; field in DirectClassFile
284 return interfaces; in getInterfaces()
498 interfaces = makeTypeList(at, count); in parse0()
/dalvik/vm/alloc/
DVisitInlines.h76 (*visitor)(&clazz->interfaces[i], arg); in visitInterfaces()
DMarkSweep.cpp269 markObject((const Object *)clazz->interfaces[i], ctx); in scanInterfaces()
DCopying.cpp907 scavengeReference((Object **) &obj->interfaces[i]); in scavengeClassObject()
/dalvik/libdex/
DDexSwapVerify.cpp1005 const DexTypeList* interfaces = in crossVerifyClassDefItem() local
1007 if (interfaces != NULL) { in crossVerifyClassDefItem()
1008 u4 size = interfaces->size; in crossVerifyClassDefItem()
1017 dexTypeListGetIdx(interfaces, i)); in crossVerifyClassDefItem()
1032 u4 idx1 = dexTypeListGetIdx(interfaces, i); in crossVerifyClassDefItem()
1035 u4 idx2 = dexTypeListGetIdx(interfaces, j); in crossVerifyClassDefItem()
/dalvik/dx/
DNOTICE58 separable from, or merely link (or bind by name) to the interfaces of,
/dalvik/dexdump/
DNOTICE58 separable from, or merely link (or bind by name) to the interfaces of,
/dalvik/
DNOTICE63 separable from, or merely link (or bind by name) to the interfaces of,
/dalvik/vm/
DDebugger.cpp1275 ClassObject* iface = clazz->interfaces[i]; in dvmDbgOutputAllInterfaces()