Searched refs:android_dir (Results 1 – 1 of 1) sorted by relevance
141 const char* android_dir = getenv("ANDROID_ROOT"); in GetAndroidRootSafe() local142 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() local191 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 …]