Home
last modified time | relevance | path

Searched refs:android_data (Results 1 – 5 of 5) sorted by relevance

/art/libartbase/base/
Dcommon_art_test.cc267 void CommonArtTestImpl::SetUpAndroidDataDir(std::string& android_data) { in SetUpAndroidDataDir() argument
272 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() argument
315 ASSERT_EQ(rmdir(android_data.c_str()), 0); in TearDownAndroidDataDir()
[all …]
Dfile_utils.cc309 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() local
333 const std::string dalvik_cache_root = android_data + "/dalvik-cache"; in GetDalvikCache()
Dcommon_art_test.h175 static void SetUpAndroidDataDir(std::string& android_data);
177 static void TearDownAndroidDataDir(const std::string& android_data, bool fail_on_error);
/art/tools/ahat/
DAndroid.mk38 AHAT_TEST_DUMP_ANDROID_DATA := $(AHAT_TEST_DUMP_COMMON)/test-dump-android_data
39 AHAT_TEST_DUMP_BASE_ANDROID_DATA := $(AHAT_TEST_DUMP_COMMON)/test-dump-base-android_data
/art/runtime/gc/space/
Dimage_space_test.cc437 const char* android_data = getenv("ANDROID_DATA"); in SetUpRuntimeOptions() local
438 CHECK(android_data != nullptr); in SetUpRuntimeOptions()
439 old_android_data_ = android_data; in SetUpRuntimeOptions()