Lines Matching refs:cacheDir
65 static std::string findSharedObjectName(const char *cacheDir, in findSharedObjectName() argument
68 std::string scriptSOName(cacheDir); in findSharedObjectName()
74 ALOGE("Found peculiar cacheDir (missing \"cache\"): %s", cacheDir); in findSharedObjectName()
124 const char *cacheDir, in createSharedLibrary() argument
128 std::string sharedLibName = findSharedObjectName(cacheDir, resName, reuse); in createSharedLibrary()
132 std::string objFileName = cacheDir; in createSharedLibrary()
194 void* SharedLibraryUtils::loadSharedLibrary(const char *cacheDir, in loadSharedLibrary() argument
203 std::string scriptSOName = findSharedObjectName(cacheDir, resName); in loadSharedLibrary()
208 loaded = loadSOHelper(scriptSOName.c_str(), cacheDir, resName, alreadyLoaded); in loadSharedLibrary()
223 loaded = loadSOHelper(scriptSONameApk.c_str(), cacheDir, resName); in loadSharedLibrary()
237 loaded = loadSOHelper(scriptSONameSystem.c_str(), cacheDir, resName); in loadSharedLibrary()
298 void* SharedLibraryUtils::loadSOHelper(const char *origName, const char *cacheDir, in loadSOHelper() argument
333 std::string newName(cacheDir); in loadSOHelper()
344 ALOGE("Could not verify or create cache dir: %s", cacheDir); in loadSOHelper()