Home | History | Annotate | Download | only in runtime

Lines Matching refs:android_data

55   // ANDROID_DATA needs to be set
56 CHECK_NE(static_cast<char*>(nullptr), getenv("ANDROID_DATA")) <<
58 filename_ = getenv("ANDROID_DATA");
149 void CommonRuntimeTest::SetUpAndroidData(std::string& android_data) {
154 android_data = tmpdir;
156 android_data = "/tmp";
159 android_data = "/data/dalvik-cache";
161 android_data += "/art-data-XXXXXX";
162 if (mkdtemp(&android_data[0]) == nullptr) {
163 PLOG(FATAL) << "mkdtemp(\"" << &android_data[0] << "\") failed";
165 setenv("ANDROID_DATA", android_data.c_str(), 1);
168 void CommonRuntimeTest::TearDownAndroidData(const std::string& android_data, bool fail_on_error) {
170 ASSERT_EQ(rmdir(android_data.c_str()), 0);
172 rmdir(android_data.c_str());
265 const char* android_data = getenv("ANDROID_DATA");
266 ASSERT_TRUE(android_data != nullptr);