Lines Matching full:android_data
141 // ANDROID_DATA needs to be set
142 CHECK_NE(static_cast<char*>(nullptr), getenv("ANDROID_DATA")) <<
144 filename_ = getenv("ANDROID_DATA");
257 void CommonRuntimeTestImpl::SetUpAndroidData(std::string& android_data) {
262 android_data = tmpdir;
264 android_data = "/tmp";
267 android_data = "/data/dalvik-cache";
269 android_data += "/art-data-XXXXXX";
270 if (mkdtemp(&android_data[0]) == nullptr) {
271 PLOG(FATAL) << "mkdtemp(\"" << &android_data[0] << "\") failed";
273 setenv("ANDROID_DATA", android_data.c_str(), 1);
276 void CommonRuntimeTestImpl::TearDownAndroidData(const std::string& android_data,
279 ASSERT_EQ(rmdir(android_data.c_str()), 0);
281 rmdir(android_data.c_str());
498 const char* android_data = getenv("ANDROID_DATA");
499 ASSERT_TRUE(android_data != nullptr);