Home
last modified time | relevance | path

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

/art/runtime/base/
Dfile_utils.cc141 const char* android_dir = getenv("ANDROID_ROOT"); in GetAndroidRootSafe() local
142 if (android_dir != nullptr) { in GetAndroidRootSafe()
143 if (!OS::DirectoryExists(android_dir)) { in GetAndroidRootSafe()
144 *error_msg = StringPrintf("Failed to find ANDROID_ROOT directory %s", android_dir); in GetAndroidRootSafe()
147 return android_dir; in GetAndroidRootSafe()
190 const char* android_dir = getenv(env_var); in GetAndroidDirSafe() local
191 if (android_dir == nullptr) { in GetAndroidDirSafe()
193 android_dir = default_dir; in GetAndroidDirSafe()
199 if (!OS::DirectoryExists(android_dir)) { in GetAndroidDirSafe()
200 *error_msg = StringPrintf("Failed to find %s directory %s", env_var, android_dir); in GetAndroidDirSafe()
[all …]