Searched refs:must_exist (Results 1 – 1 of 1) sorted by relevance
120 bool must_exist, in GetAndroidDirSafe() argument124 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() argument142 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() argument210 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()