Home
last modified time | relevance | path

Searched refs:newClass (Results 1 – 4 of 4) sorted by relevance

/dalvik/vm/oo/
DArray.cpp277 ClassObject* newClass = NULL; in createArrayClass() local
320 dvmFreeClassInnards(newClass); in createArrayClass()
321 dvmReleaseTrackedAlloc((Object*) newClass, NULL); in createArrayClass()
346 newClass = dvmLookupClass(descriptor, elementClass->classLoader, false); in createArrayClass()
347 if (newClass != NULL) { in createArrayClass()
350 return newClass; in createArrayClass()
365 newClass = (ClassObject*) dvmMalloc(sizeof(*newClass), ALLOC_NON_MOVING); in createArrayClass()
366 if (newClass == NULL) in createArrayClass()
368 DVM_OBJECT_INIT(newClass, gDvm.classJavaLangClass); in createArrayClass()
369 dvmSetClassSerialNumber(newClass); in createArrayClass()
[all …]
DClass.cpp341 ClassObject* newClass = (ClassObject*) dvmMalloc(sizeof(*newClass), ALLOC_NON_MOVING); in createPrimitiveType() local
342 if (newClass == NULL) { in createPrimitiveType()
346 DVM_OBJECT_INIT(newClass, gDvm.classJavaLangClass); in createPrimitiveType()
347 dvmSetClassSerialNumber(newClass); in createPrimitiveType()
348 SET_CLASS_FLAG(newClass, ACC_PUBLIC | ACC_FINAL | ACC_ABSTRACT); in createPrimitiveType()
349 newClass->primitiveType = primitiveType; in createPrimitiveType()
350 newClass->descriptorAlloc = NULL; in createPrimitiveType()
351 newClass->descriptor = descriptor; in createPrimitiveType()
352 newClass->super = NULL; in createPrimitiveType()
353 newClass->status = CLASS_INITIALIZED; in createPrimitiveType()
[all …]
/dalvik/vm/reflect/
DProxy.cpp107 ClassObject* newClass = in dvmGenerateProxyClass() local
109 if (newClass == NULL) in dvmGenerateProxyClass()
111 DVM_OBJECT_INIT(newClass, gDvm.classJavaLangClass); in dvmGenerateProxyClass()
112 dvmSetClassSerialNumber(newClass); in dvmGenerateProxyClass()
113 newClass->descriptorAlloc = dvmNameToDescriptor(nameStr); in dvmGenerateProxyClass()
114 newClass->descriptor = newClass->descriptorAlloc; in dvmGenerateProxyClass()
115 SET_CLASS_FLAG(newClass, ACC_PUBLIC | ACC_FINAL); in dvmGenerateProxyClass()
116 dvmSetFieldObject((Object *)newClass, in dvmGenerateProxyClass()
119 newClass->primitiveType = PRIM_NOT; in dvmGenerateProxyClass()
120 dvmSetFieldObject((Object *)newClass, in dvmGenerateProxyClass()
[all …]
/dalvik/vm/analysis/
DDexPrepare.cpp964 ClassObject* newClass; in loadAllClasses() local
973 newClass = dvmFindSystemClassNoInit(classDescriptor); in loadAllClasses()
974 if (newClass == NULL) { in loadAllClasses()
977 } else if (newClass->pDvmDex != pDvmDex) { in loadAllClasses()
985 SET_CLASS_FLAG(newClass, CLASS_MULTIPLE_DEFS); in loadAllClasses()