Searched refs:android_data (Results 1 – 5 of 5) sorted by relevance
267 void CommonArtTestImpl::SetUpAndroidDataDir(std::string& android_data) { in SetUpAndroidDataDir() argument272 android_data = tmpdir; in SetUpAndroidDataDir()274 android_data = "/tmp"; in SetUpAndroidDataDir()277 android_data = "/data/dalvik-cache"; in SetUpAndroidDataDir()279 android_data += "/art-data-XXXXXX"; in SetUpAndroidDataDir()280 if (mkdtemp(&android_data[0]) == nullptr) { in SetUpAndroidDataDir()281 PLOG(FATAL) << "mkdtemp(\"" << &android_data[0] << "\") failed"; in SetUpAndroidDataDir()283 setenv("ANDROID_DATA", android_data.c_str(), 1); in SetUpAndroidDataDir()312 void CommonArtTestImpl::TearDownAndroidDataDir(const std::string& android_data, in TearDownAndroidDataDir() argument315 ASSERT_EQ(rmdir(android_data.c_str()), 0); in TearDownAndroidDataDir()[all …]
309 std::string android_data = GetAndroidDataSafe(&unused_error_msg); in GetDalvikCache()310 if (android_data.empty()) { in GetDalvikCache()318 const std::string dalvik_cache_root = android_data + "/dalvik-cache"; in GetDalvikCache()321 *is_global_cache = (android_data == kAndroidDataDefaultPath); in GetDalvikCache()332 std::string android_data = GetAndroidData(); in GetDalvikCache() local333 const std::string dalvik_cache_root = android_data + "/dalvik-cache"; in GetDalvikCache()
175 static void SetUpAndroidDataDir(std::string& android_data);177 static void TearDownAndroidDataDir(const std::string& android_data, bool fail_on_error);
38 AHAT_TEST_DUMP_ANDROID_DATA := $(AHAT_TEST_DUMP_COMMON)/test-dump-android_data39 AHAT_TEST_DUMP_BASE_ANDROID_DATA := $(AHAT_TEST_DUMP_COMMON)/test-dump-base-android_data
437 const char* android_data = getenv("ANDROID_DATA"); in SetUpRuntimeOptions() local438 CHECK(android_data != nullptr); in SetUpRuntimeOptions()439 old_android_data_ = android_data; in SetUpRuntimeOptions()