/dalvik/dx/src/com/android/dx/dex/file/ |
D | ClassDefItem.java | 61 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 …]
|
D | ClassDefsSection.java | 177 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/ |
D | java_lang_reflect_Proxy.c | 35 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()
|
D | java_lang_Class.c | 284 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/ |
D | Proxy.c | 32 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 …]
|
D | Reflect.h | 119 ClassObject* dvmGenerateProxyClass(StringObject* str, ArrayObject* interfaces,
|
D | Reflect.c | 844 memcpy(interfaceArray->contents, clazz->interfaces, in dvmGetInterfaces()
|
/dalvik/vm/oo/ |
D | Array.c | 464 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()
|
D | Class.c | 1724 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 …]
|
D | Object.h | 447 ClassObject** interfaces; member
|
/dalvik/dx/tests/006-interfaces/ |
D | info.txt | 6 interfaces list.
|
D | small-class.txt | 28 0008 0009 000a # interfaces
|
D | expected.txt | 24 interfaces:
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | DirectClassFile.java | 120 private TypeList interfaces; field in DirectClassFile 281 return interfaces; in getInterfaces() 495 interfaces = makeTypeList(at, count); in parse0()
|
/dalvik/vm/alloc/ |
D | VisitInlines.h | 80 (*visitor)(&clazz->interfaces[i], arg); in visitInterfaces()
|
D | MarkSweep.c | 351 markObject((Object *)obj->interfaces[i], ctx); in scanClassObject()
|
D | Copying.c | 952 scavengeReference((Object **) &obj->interfaces[i]); in scavengeClassObject()
|
/dalvik/libdex/ |
D | DexSwapVerify.c | 1003 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/ |
D | NOTICE | 58 separable from, or merely link (or bind by name) to the interfaces of,
|
/dalvik/ |
D | NOTICE | 58 separable from, or merely link (or bind by name) to the interfaces of,
|