Searched refs:android_data (Results 1 – 5 of 5) sorted by relevance
237 void CommonArtTestImpl::SetUpAndroidDataDir(std::string& android_data) { in SetUpAndroidDataDir() argument242 android_data = tmpdir; in SetUpAndroidDataDir()244 android_data = "/tmp"; in SetUpAndroidDataDir()247 android_data = "/data/dalvik-cache"; in SetUpAndroidDataDir()249 android_data += "/art-data-XXXXXX"; in SetUpAndroidDataDir()250 if (mkdtemp(&android_data[0]) == nullptr) { in SetUpAndroidDataDir()251 PLOG(FATAL) << "mkdtemp(\"" << &android_data[0] << "\") failed"; in SetUpAndroidDataDir()253 setenv("ANDROID_DATA", android_data.c_str(), 1); in SetUpAndroidDataDir()270 void CommonArtTestImpl::TearDownAndroidDataDir(const std::string& android_data, in TearDownAndroidDataDir() argument273 ASSERT_EQ(rmdir(android_data.c_str()), 0); in TearDownAndroidDataDir()[all …]
308 std::string android_data = GetAndroidDataSafe(&unused_error_msg); in GetDalvikCache()309 if (android_data.empty()) { in GetDalvikCache()317 const std::string dalvik_cache_root = android_data + "/dalvik-cache"; in GetDalvikCache()320 *is_global_cache = (android_data == kAndroidDataDefaultPath); in GetDalvikCache()331 std::string android_data = GetAndroidData(); in GetDalvikCache() local332 const std::string dalvik_cache_root = android_data + "/dalvik-cache"; in GetDalvikCache()
174 static void SetUpAndroidDataDir(std::string& android_data);176 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
433 const char* android_data = getenv("ANDROID_DATA"); in SetUpRuntimeOptions() local434 CHECK(android_data != nullptr); in SetUpRuntimeOptions()435 old_android_data_ = android_data; in SetUpRuntimeOptions()