Home
last modified time | relevance | path

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

/dalvik/vm/oo/
DArray.c343 ClassObject* newClass = NULL; in createArrayClass() local
386 dvmFreeClassInnards(newClass); in createArrayClass()
387 dvmReleaseTrackedAlloc((Object*) newClass, NULL); in createArrayClass()
412 newClass = dvmLookupClass(descriptor, elementClass->classLoader, false); in createArrayClass()
413 if (newClass != NULL) { in createArrayClass()
416 return newClass; in createArrayClass()
431 newClass = (ClassObject*) dvmMalloc(sizeof(*newClass), ALLOC_DEFAULT); in createArrayClass()
432 if (newClass == NULL) in createArrayClass()
434 DVM_OBJECT_INIT(&newClass->obj, gDvm.unlinkedJavaLangClass); in createArrayClass()
435 dvmSetClassSerialNumber(newClass); in createArrayClass()
[all …]
DClass.c1645 ClassObject* newClass = NULL; in loadClassFromDex0() local
1671 newClass = (ClassObject*) dvmMalloc(sizeof(*newClass), ALLOC_DEFAULT); in loadClassFromDex0()
1672 if (newClass == NULL) in loadClassFromDex0()
1681 DVM_OBJECT_INIT(&newClass->obj, gDvm.unlinkedJavaLangClass); in loadClassFromDex0()
1683 dvmSetClassSerialNumber(newClass); in loadClassFromDex0()
1684 newClass->descriptor = descriptor; in loadClassFromDex0()
1685 assert(newClass->descriptorAlloc == NULL); in loadClassFromDex0()
1686 newClass->accessFlags = pClassDef->accessFlags; in loadClassFromDex0()
1687 newClass->classLoader = classLoader; in loadClassFromDex0()
1688 newClass->pDvmDex = pDvmDex; in loadClassFromDex0()
[all …]
/dalvik/vm/reflect/
DProxy.c136 ClassObject* newClass = NULL; in dvmGenerateProxyClass() local
180 newClass = (ClassObject*) dvmMalloc(sizeof(*newClass), ALLOC_DEFAULT); in dvmGenerateProxyClass()
181 if (newClass == NULL) in dvmGenerateProxyClass()
183 DVM_OBJECT_INIT(&newClass->obj, gDvm.unlinkedJavaLangClass); in dvmGenerateProxyClass()
184 dvmSetClassSerialNumber(newClass); in dvmGenerateProxyClass()
185 newClass->descriptorAlloc = dvmNameToDescriptor(nameStr); in dvmGenerateProxyClass()
186 newClass->descriptor = newClass->descriptorAlloc; in dvmGenerateProxyClass()
187 newClass->accessFlags = ACC_PUBLIC | ACC_FINAL; in dvmGenerateProxyClass()
188 newClass->super = gDvm.classJavaLangReflectProxy; in dvmGenerateProxyClass()
189 newClass->primitiveType = PRIM_NOT; in dvmGenerateProxyClass()
[all …]
/dalvik/libcore/luni/src/main/java/java/lang/reflect/
DProxy.java173 Class<?> newClass; in getProxyClass() local
190 newClass = generateProxy(nextClassName.replace('.', '/'), in getProxyClass()
196 newClass)); in getProxyClass()
199 proxyCache.put(newClass, ""); //$NON-NLS-1$ in getProxyClass()
202 newClass = ref.get(); in getProxyClass()
204 return newClass; in getProxyClass()
/dalvik/vm/analysis/
DDexOptimize.c1290 ClassObject* newClass; in loadAllClasses() local
1299 newClass = dvmFindSystemClassNoInit(classDescriptor); in loadAllClasses()
1300 if (newClass == NULL) { in loadAllClasses()
1303 } else if (newClass->pDvmDex != pDvmDex) { in loadAllClasses()
1311 SET_CLASS_FLAG(newClass, CLASS_MULTIPLE_DEFS); in loadAllClasses()