Searched refs:android_root_from_env (Results 1 – 2 of 2) sorted by relevance
113 const char* android_root_from_env = getenv(kAndroidRootEnvVar); in GetAndroidRootSafe()114 if (android_root_from_env != nullptr) { in GetAndroidRootSafe()115 if (!OS::DirectoryExists(android_root_from_env)) { in GetAndroidRootSafe()117 StringPrintf("Failed to find %s directory %s", kAndroidRootEnvVar, android_root_from_env); in GetAndroidRootSafe()120 return android_root_from_env; in GetAndroidRootSafe()
223 const char* android_root_from_env = getenv("ANDROID_ROOT"); in SetUpAndroidRootEnvVars() local224 if (android_root_from_env == nullptr) { in SetUpAndroidRootEnvVars()227 android_root_from_env = getenv("ANDROID_ROOT"); in SetUpAndroidRootEnvVars()