Home
last modified time | relevance | path

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

/art/libartbase/base/
Dfile_utils.cc296 void GetDalvikCache(const char* subdir, const bool create_if_absent, std::string* dalvik_cache, in GetDalvikCache() argument
301 UNUSED(dalvik_cache); in GetDalvikCache()
319 *dalvik_cache = dalvik_cache_root + '/' + subdir; in GetDalvikCache()
320 *dalvik_cache_exists = OS::DirectoryExists(dalvik_cache->c_str()); in GetDalvikCache()
325 (mkdir(dalvik_cache->c_str(), 0700) == 0 || errno == EEXIST)); in GetDalvikCache()
334 const std::string dalvik_cache = dalvik_cache_root + '/' + subdir; in GetDalvikCache() local
335 if (!OS::DirectoryExists(dalvik_cache.c_str())) { in GetDalvikCache()
339 return dalvik_cache; in GetDalvikCache()
Dfile_utils.h80 void GetDalvikCache(const char* subdir, bool create_if_absent, std::string* dalvik_cache,
/art/cmdline/
Dcmdline.h60 std::string dalvik_cache; in LocationToFilename() local
61 GetDalvikCache(GetInstructionSetString(isa), false, &dalvik_cache, in LocationToFilename()
72 if (GetDalvikCacheFilename(location.c_str(), dalvik_cache.c_str(), in LocationToFilename()
/art/runtime/gc/space/
Dimage_space.cc210 std::string* dalvik_cache, in FindImageFilenameImpl() argument
214 DCHECK(dalvik_cache != nullptr); in FindImageFilenameImpl()
230 dalvik_cache, in FindImageFilenameImpl()
244 dalvik_cache->c_str(), in FindImageFilenameImpl()
311 const std::string dalvik_cache = GetDalvikCache(GetInstructionSetString(isa)); in CanWriteToDalvikCache() local
312 if (access(dalvik_cache.c_str(), O_RDWR) == 0) { in CanWriteToDalvikCache()
1667 bool LoadFromDalvikCache(const std::string& dalvik_cache, /*out*/std::string* error_msg) { in LoadFromDalvikCache() argument
1668 return LoadOrValidateFromDalvikCache(dalvik_cache, /*oat_checksums=*/ nullptr, error_msg); in LoadFromDalvikCache()
1671 bool ValidateFromDalvikCache(const std::string& dalvik_cache, in ValidateFromDalvikCache() argument
1675 return LoadOrValidateFromDalvikCache(dalvik_cache, oat_checksums, error_msg); in ValidateFromDalvikCache()
[all …]