Home
last modified time | relevance | path

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

/art/libartbase/base/
Dfile_utils.cc161 bool must_exist, in GetAndroidDirSafe() argument
165 if (!must_exist || OS::DirectoryExists(default_dir)) { in GetAndroidDirSafe()
172 if (must_exist && !OS::DirectoryExists(android_dir)) { in GetAndroidDirSafe()
181 bool must_exist = true) { in GetAndroidDir() argument
183 const char* dir = GetAndroidDirSafe(env_var, default_dir, must_exist, &error_msg); in GetAndroidDir()
192 static std::string GetArtRootSafe(bool must_exist, /*out*/ std::string* error_msg) { in GetArtRootSafe() argument
195 UNUSED(must_exist); in GetArtRootSafe()
202 if (must_exist && !OS::DirectoryExists(android_art_root_from_env)) { in GetArtRootSafe()
236 if (must_exist && !OS::DirectoryExists(kAndroidArtApexDefaultPath)) { in GetArtRootSafe()