Home
last modified time | relevance | path

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

/art/libartbase/base/
Dcommon_art_test.cc237 void CommonArtTestImpl::SetUpAndroidDataDir(std::string& android_data) { in SetUpAndroidDataDir() argument
242 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() argument
273 ASSERT_EQ(rmdir(android_data.c_str()), 0); in TearDownAndroidDataDir()
[all …]
Dfile_utils.cc308 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() local
332 const std::string dalvik_cache_root = android_data + "/dalvik-cache"; in GetDalvikCache()
Dcommon_art_test.h174 static void SetUpAndroidDataDir(std::string& android_data);
176 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.cc433 const char* android_data = getenv("ANDROID_DATA"); in SetUpRuntimeOptions() local
434 CHECK(android_data != nullptr); in SetUpRuntimeOptions()
435 old_android_data_ = android_data; in SetUpRuntimeOptions()