Home
last modified time | relevance | path

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

/art/libartbase/base/
Dfile_utils.cc120 bool must_exist, in GetAndroidDirSafe() argument
124 if (!must_exist || OS::DirectoryExists(default_dir)) { in GetAndroidDirSafe()
131 if (must_exist && !OS::DirectoryExists(android_dir)) { in GetAndroidDirSafe()
140 bool must_exist = true) { in GetAndroidDir() argument
142 const char* dir = GetAndroidDirSafe(env_var, default_dir, must_exist, &error_msg); in GetAndroidDir()
207 static std::string GetArtRootSafe(bool must_exist, /*out*/ std::string* error_msg) { in GetArtRootSafe() argument
210 UNUSED(must_exist); in GetArtRootSafe()
217 if (must_exist && !OS::DirectoryExists(android_art_root_from_env)) { in GetArtRootSafe()
250 if (must_exist && !OS::DirectoryExists(kAndroidArtApexDefaultPath)) { in GetArtRootSafe()