/art/runtime/ |
dexopt_test.cc | 53 std::string dalvik_cache = GetDalvikCache(GetInstructionSetString(kRuntimeISA)); local 54 std::string dalvik_cache_tmp = dalvik_cache + ".redirected"; 59 ASSERT_EQ(0, rename(dalvik_cache.c_str(), dalvik_cache_tmp.c_str())) << strerror(errno); 61 size_t pos = oat_location.find(dalvik_cache); 63 oat_location = oat_location.replace(pos, dalvik_cache.length(), dalvik_cache_tmp); 97 ASSERT_EQ(0, rename(dalvik_cache_tmp.c_str(), dalvik_cache.c_str())) << strerror(errno);
|
utils.cc | 791 void GetDalvikCache(const char* subdir, const bool create_if_absent, std::string* dalvik_cache, 805 *dalvik_cache = dalvik_cache_root + subdir; 806 *dalvik_cache_exists = OS::DirectoryExists(dalvik_cache->c_str()); 811 (mkdir(dalvik_cache->c_str(), 0700) == 0 || errno == EEXIST)); 819 const std::string dalvik_cache = dalvik_cache_root + subdir; local 820 if (!OS::DirectoryExists(dalvik_cache.c_str())) { 824 return dalvik_cache;
|
/art/cmdline/ |
cmdline.h | 57 std::string dalvik_cache; local 58 GetDalvikCache(GetInstructionSetString(isa), false, &dalvik_cache, local 69 if (GetDalvikCacheFilename(location.c_str(), dalvik_cache.c_str(),
|
/frameworks/native/cmds/installd/ |
otapreopt.cpp | 661 std::string dalvik_cache = GetOTADataDirectory() + "/" + DALVIK_CACHE; local 662 std::string isa_path = dalvik_cache + "/" + isa; 679 if (access(dalvik_cache.c_str(), F_OK) != 0) { 680 if (!CreatePath(dalvik_cache)) { 681 PLOG(ERROR) << "Could not create dalvik-cache dir " << dalvik_cache; [all...] |
/art/runtime/gc/space/ |
image_space.cc | 161 std::string* dalvik_cache, 165 DCHECK(dalvik_cache != nullptr); 181 dalvik_cache, local 194 dalvik_cache->c_str(), 378 const std::string dalvik_cache = GetDalvikCache(GetInstructionSetString(isa)); local 379 if (access(dalvik_cache.c_str(), O_RDWR) == 0) { 1479 std::string dalvik_cache; local [all...] |