Home
last modified time | relevance | path

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

/art/libartbase/base/
Dfile_utils.cc158 bool must_exist, in GetAndroidDirSafe() argument
162 if (!must_exist || OS::DirectoryExists(default_dir)) { in GetAndroidDirSafe()
169 if (must_exist && !OS::DirectoryExists(android_dir)) { in GetAndroidDirSafe()
187 static std::string GetArtRootSafe(bool must_exist, /*out*/ std::string* error_msg) { in GetArtRootSafe() argument
190 UNUSED(must_exist); in GetArtRootSafe()
197 if (must_exist && !OS::DirectoryExists(android_art_root_from_env)) { in GetArtRootSafe()
231 if (must_exist && !OS::DirectoryExists(kAndroidArtApexDefaultPath)) { in GetArtRootSafe()