Home
last modified time | relevance | path

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

/art/libartbase/base/
Dfile_utils.cc163 const char* android_dir = getenv(env_var); in GetAndroidDirSafe() local
164 if (android_dir == nullptr) { in GetAndroidDirSafe()
166 android_dir = default_dir; in GetAndroidDirSafe()
172 if (must_exist && !OS::DirectoryExists(android_dir)) { in GetAndroidDirSafe()
173 *error_msg = StringPrintf("Failed to find directory %s", android_dir); in GetAndroidDirSafe()
176 return android_dir; in GetAndroidDirSafe()
271 const char* android_dir = GetAndroidDirSafe(kAndroidDataEnvVar, in GetAndroidDataSafe() local
275 return (android_dir != nullptr) ? android_dir : ""; in GetAndroidDataSafe()