Home
last modified time | relevance | path

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

/art/libartbase/base/
Dfile_utils.cc160 const char* android_dir = getenv(env_var); in GetAndroidDirSafe() local
161 if (android_dir == nullptr) { in GetAndroidDirSafe()
163 android_dir = default_dir; in GetAndroidDirSafe()
169 if (must_exist && !OS::DirectoryExists(android_dir)) { in GetAndroidDirSafe()
170 *error_msg = StringPrintf("Failed to find directory %s", android_dir); in GetAndroidDirSafe()
173 return android_dir; in GetAndroidDirSafe()
266 const char* android_dir = GetAndroidDirSafe(kAndroidDataEnvVar, in GetAndroidDataSafe() local
270 return (android_dir != nullptr) ? android_dir : ""; in GetAndroidDataSafe()