Home
last modified time | relevance | path

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

/art/libartbase/base/
Dfile_utils.cc113 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()
Dcommon_art_test.cc223 const char* android_root_from_env = getenv("ANDROID_ROOT"); in SetUpAndroidRootEnvVars() local
224 if (android_root_from_env == nullptr) { in SetUpAndroidRootEnvVars()
227 android_root_from_env = getenv("ANDROID_ROOT"); in SetUpAndroidRootEnvVars()