Home
last modified time | relevance | path

Searched refs:android_root (Results 1 – 13 of 13) sorted by relevance

/art/runtime/
Druntime_android.cc43 const char* android_root = getenv("ANDROID_ROOT"); in InitPlatformSignalHandlers() local
44 if (android_root != nullptr && strcmp(android_root, "/system") != 0) { in InitPlatformSignalHandlers()
Dexec_utils_test.cc33 std::string android_root(GetAndroidRoot()); in TEST_F() local
34 command.push_back(android_root + "/bin/id"); in TEST_F()
66 std::string android_root(GetAndroidRoot()); in TEST_F() local
67 command.push_back(android_root + "/bin/printenv"); in TEST_F()
90 std::string android_root(GetAndroidRoot()); in TEST_F() local
91 command.push_back(android_root + "/bin/printenv"); in TEST_F()
Dcommon_runtime_test.cc501 const char* android_root = getenv("ANDROID_ROOT"); in CompileBootImage() local
502 CHECK(android_root != nullptr); in CompileBootImage()
503 argv.push_back("--android-root=" + std::string(android_root)); in CompileBootImage()
/art/libartbase/base/
Dfile_utils.cc277 std::string GetDefaultBootImageLocation(const std::string& android_root) { in GetDefaultBootImageLocation() argument
283 android_root.c_str(), in GetDefaultBootImageLocation()
284 android_root.c_str()); in GetDefaultBootImageLocation()
288 std::string android_root = GetAndroidRootSafe(error_msg); in GetDefaultBootImageLocation() local
289 if (android_root.empty()) { in GetDefaultBootImageLocation()
292 return GetDefaultBootImageLocation(android_root); in GetDefaultBootImageLocation()
476 const char* android_root = GetAndroidDirSafe(kAndroidRootEnvVar, in ArtModuleRootDistinctFromAndroidRoot() local
484 return (android_root != nullptr) in ArtModuleRootDistinctFromAndroidRoot()
486 && (std::string_view(android_root) != std::string_view(art_root)); in ArtModuleRootDistinctFromAndroidRoot()
Dfile_utils_test.cc67 std::string android_root = GetAndroidRootSafe(&error_msg); in TEST_F() local
69 EXPECT_EQ(android_root, android_root_env) << error_msg; in TEST_F()
92 UniqueCPtr<char> real_root(realpath(android_root.c_str(), nullptr)); in TEST_F()
Dfile_utils.h66 std::string GetDefaultBootImageLocation(const std::string& android_root);
/art/tools/
Drun-jdwp-tests.sh31 android_root=${ART_TEST_ANDROID_ROOT:-/system}
54 art="$android_root/bin/art"
55 art_debugee="sh $android_root/bin/art"
305 dump_command="$android_root/xbin/su root $android_root/bin/debuggerd"
Drun-libcore-tests.sh27 android_root=${ART_TEST_ANDROID_ROOT:-/system}
258 vogar_args="$vogar_args --vm-command=$android_root/bin/art"
/art/tools/jfuzz/
Drun_dex_fuzz_test.py82 android_root = GetEnvVariableOrError('ANDROID_HOST_OUT')
83 self._dexfuzz_env['ANDROID_ROOT'] = android_root
84 self._dexfuzz_env['LD_LIBRARY_PATH'] = android_root + '/lib'
/art/tools/common/
Dcommon.py301 android_root = GetEnvVariableOrError('ANDROID_HOST_OUT')
302 android_i18n_root = android_root + '/com.android.i18n'
303 android_art_root = android_root + '/com.android.art'
304 android_tzdata_root = android_root + '/com.android.tzdata'
305 library_path = android_root + '/' + lib
306 path = android_root + '/bin'
309 self._shell_env['ANDROID_ROOT'] = android_root
/art/dex2oat/
Ddex2oat_image_test.cc160 const char* android_root = getenv("ANDROID_ROOT"); in AddAndroidRootToImageCompilerOptions() local
161 CHECK(android_root != nullptr); in AddAndroidRootToImageCompilerOptions()
163 "--android-root=" + std::string(android_root)); in AddAndroidRootToImageCompilerOptions()
Ddex2oat_test.cc236 const char* android_root = getenv("ANDROID_ROOT"); in Dex2Oat() local
237 CHECK(android_root != nullptr); in Dex2Oat()
238 argv.push_back("--android-root=" + std::string(android_root)); in Dex2Oat()
/art/test/
Drun-test162 android_root="/system"
404 android_root="$1"