Searched refs:android_dir (Results 1 – 1 of 1) sorted by relevance
155 const char* android_dir = getenv(env_var); in GetAndroidDirSafe() local156 if (android_dir == nullptr) { in GetAndroidDirSafe()158 android_dir = default_dir; in GetAndroidDirSafe()164 if (must_exist && !OS::DirectoryExists(android_dir)) { in GetAndroidDirSafe()165 *error_msg = StringPrintf("Failed to find %s directory %s", env_var, android_dir); in GetAndroidDirSafe()168 return android_dir; in GetAndroidDirSafe()183 const char* android_dir = GetAndroidDirSafe(kAndroidRuntimeRootEnvVar, in GetAndroidRuntimeRootSafe() local187 return (android_dir != nullptr) ? android_dir : ""; in GetAndroidRuntimeRootSafe()195 const char* android_dir = GetAndroidDirSafe(kAndroidDataEnvVar, in GetAndroidDataSafe() local199 return (android_dir != nullptr) ? android_dir : ""; in GetAndroidDataSafe()