Searched refs:must_exist (Results 1 – 1 of 1) sorted by relevance
161 bool must_exist, in GetAndroidDirSafe() argument165 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() argument183 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() argument195 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()