Home
last modified time | relevance | path

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

12

/dalvik/vm/
DLinearAlloc.h48 LinearAllocHdr* dvmLinearAllocCreate(Object* classLoader);
53 void dvmLinearAllocDestroy(Object* classLoader);
60 void* dvmLinearAlloc(Object* classLoader, size_t size);
69 void* dvmLinearRealloc(Object* classLoader, void* mem, size_t newSize);
72 void dvmLinearSetReadOnly(Object* classLoader, void* mem);
73 void dvmLinearSetReadWrite(Object* classLoader, void* mem);
80 INLINE void dvmLinearReadOnly(Object* classLoader, void* mem) in dvmLinearReadOnly() argument
83 dvmLinearSetReadOnly(classLoader, mem); in dvmLinearReadOnly()
89 INLINE void dvmLinearReadWrite(Object* classLoader, void* mem) in dvmLinearReadWrite() argument
92 dvmLinearSetReadWrite(classLoader, mem); in dvmLinearReadWrite()
[all …]
DLinearAlloc.cpp84 static void checkAllFree(Object* classLoader);
91 static inline LinearAllocHdr* getHeader(Object* classLoader) in getHeader() argument
108 LinearAllocHdr* dvmLinearAllocCreate(Object* classLoader) in dvmLinearAllocCreate() argument
226 void dvmLinearAllocDestroy(Object* classLoader) in dvmLinearAllocDestroy() argument
231 LinearAllocHdr* pHdr = getHeader(classLoader); in dvmLinearAllocDestroy()
235 checkAllFree(classLoader); in dvmLinearAllocDestroy()
242 classLoader, pHdr->curOffset, pHdr->mapLength, in dvmLinearAllocDestroy()
265 void* dvmLinearAlloc(Object* classLoader, size_t size) in dvmLinearAlloc() argument
267 LinearAllocHdr* pHdr = getHeader(classLoader); in dvmLinearAlloc()
275 LOGVV("--- LinearAlloc(%p, %d)", classLoader, size); in dvmLinearAlloc()
[all …]
DNative.cpp153 Object* classLoader; /* ClassLoader we are associated with */ member
318 bool dvmLoadNativeCode(const char* pathName, Object* classLoader, in dvmLoadNativeCode() argument
330 ALOGD("Trying to load lib %s %p", pathName, classLoader); in dvmLoadNativeCode()
340 if (pEntry->classLoader != classLoader) { in dvmLoadNativeCode()
342 pathName, pEntry->classLoader, classLoader); in dvmLoadNativeCode()
347 pathName, classLoader); in dvmLoadNativeCode()
397 pNewEntry->classLoader = classLoader; in dvmLoadNativeCode()
407 pathName, classLoader); in dvmLoadNativeCode()
412 ALOGD("Added shared lib %s %p", pathName, classLoader); in dvmLoadNativeCode()
420 ALOGD("No JNI_OnLoad found in %s %p, skipping init", pathName, classLoader); in dvmLoadNativeCode()
[all …]
DNative.h65 bool dvmLoadNativeCode(const char* fileName, Object* classLoader,
DDebugger.cpp542 return objectToObjectId(clazz->classLoader); in dvmDbgGetClassLoader()
609 Object* classLoader; in dvmDbgGetVisibleClassList() local
612 classLoader = objectIdToObject(classLoaderId); in dvmDbgGetVisibleClassList()
615 LOGVV("GetVisibleList: comparing to %p", classLoader); in dvmDbgGetVisibleClassList()
632 if (clazz->classLoader == classLoader || in dvmDbgGetVisibleClassList()
633 dvmLoaderInInitiatingList(clazz, classLoader)) in dvmDbgGetVisibleClassList()
/dalvik/vm/oo/
DClass.cpp209 get_process_name(), (int) clazz->classLoader, clazz->descriptor, in logClassLoadWithTime()
1004 if (loader != clazz->classLoader) { in dvmAddInitiatingLoader()
1075 (clazz->classLoader == pCrit->loader || in hashcmpClassByCrit()
1096 (clazz->classLoader == addClazz->classLoader || in hashcmpClassByClass()
1097 (addClazz->classLoader != NULL && in hashcmpClassByClass()
1098 dvmLoaderInInitiatingList(clazz, addClazz->classLoader)) )); in hashcmpClassByClass()
1182 clazz->descriptor, clazz->classLoader, in dvmAddClassToHash()
1400 descriptor, clazz->classLoader, loader, clazz); in findClassFromLoaderNoInit()
1414 Object* classLoader) in dvmDefineClass() argument
1418 return findClassNoInit(descriptor, classLoader, pDvmDex); in dvmDefineClass()
[all …]
DArray.cpp103 arrayClass = dvmFindArrayClass(className, elemClassObj->classLoader); in dvmFindArrayClassForElement()
198 subArrayClass = dvmFindArrayClass(elemName, arrayClass->classLoader); in dvmAllocMultiArray()
343 if (loader != elementClass->classLoader) { in createArrayClass()
345 descriptor, loader, elementClass->classLoader); in createArrayClass()
346 newClass = dvmLookupClass(descriptor, elementClass->classLoader, false); in createArrayClass()
349 descriptor, elementClass->classLoader, loader); in createArrayClass()
382 OFFSETOF_MEMBER(ClassObject, classLoader), in createArrayClass()
383 (Object *)elementClass->classLoader); in createArrayClass()
407 newClass->interfaces = (ClassObject**)dvmLinearAlloc(newClass->classLoader, in createArrayClass()
414 dvmLinearReadOnly(newClass->classLoader, newClass->interfaces); in createArrayClass()
[all …]
DResolve.cpp79 classIdx, referrer->descriptor, referrer->classLoader); in dvmResolveClass()
95 resClass = dvmFindClassNoInit(className, referrer->classLoader); in dvmResolveClass()
126 resClassCheck->classLoader != NULL) in dvmResolveClass()
130 referrer->descriptor, referrer->classLoader, in dvmResolveClass()
133 resClassCheck->classLoader, resClassCheck->pDvmDex); in dvmResolveClass()
145 referrer->classLoader, classIdx); in dvmResolveClass()
397 ifieldIdx, referrer->descriptor, referrer->classLoader); in dvmResolveInstField()
DAccessCheck.cpp46 if (class1->classLoader != class2->classLoader) in dvmInSamePackage()
DClass.h111 Object* classLoader);
DObject.h397 Object* classLoader; member
/dalvik/vm/hprof/
DHprofClass.cpp47 hash = (u4)clazz->classLoader; in computeClassHash()
61 diff = (uintptr_t)c1->classLoader - (uintptr_t)c2->classLoader; in classCmp()
DHprofHeap.cpp290 hprofAddIdToRecord(rec, (hprof_object_id)thisClass->classLoader); in hprofDumpHeapObject()
/dalvik/vm/native/
Djava_lang_Runtime.cpp74 Object* classLoader = (Object*) args[1]; in Dalvik_java_lang_Runtime_nativeLoad() local
95 bool success = dvmLoadNativeCode(fileName, classLoader, &reason); in Dalvik_java_lang_Runtime_nativeLoad()
Djava_lang_reflect_Array.cpp121 arrayClass = dvmFindArrayClass(acDescriptor, elementClass->classLoader); in Dalvik_java_lang_reflect_Array_createMultiArray()
DInternalNative.cpp221 descriptor, doInit, clazz, clazz->classLoader); in dvmFindClassByName()
Ddalvik_system_VMStack.cpp39 RETURN_PTR(clazz->classLoader); in Dalvik_dalvik_system_VMStack_getCallingClassLoader()
Djava_lang_Class.cpp142 RETURN_PTR(clazz->classLoader); in Dalvik_java_lang_Class_getClassLoader()
166 thisPtr->classLoader)); in Dalvik_java_lang_Class_getComponentType()
/dalvik/vm/reflect/
DProxy.cpp121 OFFSETOF_MEMBER(ClassObject, classLoader), in dvmGenerateProxyClass()
128 newClass->directMethods = (Method*) dvmLinearAlloc(newClass->classLoader, in dvmGenerateProxyClass()
131 dvmLinearReadOnly(newClass->classLoader, newClass->directMethods); in dvmGenerateProxyClass()
148 (Method*)dvmLinearAlloc(newClass->classLoader, virtualMethodsSize); in dvmGenerateProxyClass()
153 dvmLinearReadOnly(newClass->classLoader, newClass->virtualMethods); in dvmGenerateProxyClass()
165 (ClassObject**)dvmLinearAlloc(newClass->classLoader, interfacesSize); in dvmGenerateProxyClass()
168 dvmLinearReadOnly(newClass->classLoader, newClass->interfaces); in dvmGenerateProxyClass()
724 baseClass = dvmFindClass(baseSig, baseMethod->clazz->classLoader); in returnTypesAreCompatible()
725 subClass = dvmFindClass(subSig, subMethod->clazz->classLoader); in returnTypesAreCompatible()
DReflect.cpp94 clazz = dvmFindArrayClass(*pSignature, defClass->classLoader); in convertSignaturePartToClass()
103 clazz = dvmFindClassNoInit(*pSignature, defClass->classLoader); in convertSignaturePartToClass()
1176 return dvmFindClass(sig, meth->clazz->classLoader); in dvmGetBoxedReturnType()
/dalvik/vm/analysis/
DOptimize.cpp402 assert(referrer->classLoader == NULL); in tweakLoader()
403 assert(resClass->classLoader == NULL); in tweakLoader()
410 resClass->classLoader = (Object*) 0xdead3333; in tweakLoader()
424 resClass->classLoader = NULL; in untweakLoader()
454 resClass = dvmFindClassNoInit(className, referrer->classLoader); in dvmOptResolveClass()
/dalvik/vm/alloc/
DVisitInlines.h99 (*visitor)(&asClass->classLoader, arg); in visitClassObject()
/dalvik/vm/compiler/
DCompilerIR.h123 Object *classLoader; member
DCompiler.h127 Object *classLoader; /* Class loader */ member
/dalvik/vm/compiler/codegen/x86/
DCodegenInterface.cpp121 workOrder->classLoader); in dvmCompilerPatchInlineCache()
380 gDvmJit.compilerICPatchQueue[index].classLoader = clazz->classLoader; in inlineCachePatchEnqueue()

12