Home
last modified time | relevance | path

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

/art/libartbase/base/
Dfile_utils.cc159 bool must_exist, in GetAndroidDirSafe() argument
163 if (!must_exist || OS::DirectoryExists(default_dir)) { in GetAndroidDirSafe()
170 if (must_exist && !OS::DirectoryExists(android_dir)) { in GetAndroidDirSafe()
188 static std::string GetArtRootSafe(bool must_exist, /*out*/ std::string* error_msg) { in GetArtRootSafe() argument
191 UNUSED(must_exist); in GetArtRootSafe()
198 if (must_exist && !OS::DirectoryExists(android_art_root_from_env)) { in GetArtRootSafe()
232 if (must_exist && !OS::DirectoryExists(kAndroidArtApexDefaultPath)) { in GetArtRootSafe()