Lines Matching refs:android_data
183 void CommonRuntimeTestImpl::SetUpAndroidData(std::string& android_data) {
188 android_data = tmpdir;
190 android_data = "/tmp";
193 android_data = "/data/dalvik-cache";
195 android_data += "/art-data-XXXXXX";
196 if (mkdtemp(&android_data[0]) == nullptr) {
197 PLOG(FATAL) << "mkdtemp(\"" << &android_data[0] << "\") failed";
199 setenv("ANDROID_DATA", android_data.c_str(), 1);
202 void CommonRuntimeTestImpl::TearDownAndroidData(const std::string& android_data,
205 ASSERT_EQ(rmdir(android_data.c_str()), 0);
207 rmdir(android_data.c_str());
416 const char* android_data = getenv("ANDROID_DATA");
417 ASSERT_TRUE(android_data != nullptr);