Home
last modified time | relevance | path

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

/art/runtime/
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()
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()
/art/libartbase/base/
Dfile_utils.cc206 std::string GetDefaultBootImageLocation(const std::string& android_root) { in GetDefaultBootImageLocation() argument
207 return StringPrintf("%s/framework/boot.art", android_root.c_str()); in GetDefaultBootImageLocation()
211 std::string android_root = GetAndroidRootSafe(error_msg); in GetDefaultBootImageLocation() local
212 if (android_root.empty()) { in GetDefaultBootImageLocation()
215 return GetDefaultBootImageLocation(android_root); in GetDefaultBootImageLocation()
394 const char* android_root = GetAndroidDirSafe(kAndroidRootEnvVar, in RuntimeModuleRootDistinctFromAndroidRoot() local
402 return (android_root != nullptr) in RuntimeModuleRootDistinctFromAndroidRoot()
404 && (std::string_view(android_root) != std::string_view(runtime_root)); in RuntimeModuleRootDistinctFromAndroidRoot()
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()
90 UniqueCPtr<char> real_root(realpath(android_root.c_str(), nullptr)); in TEST_F()
Dfile_utils.h52 std::string GetDefaultBootImageLocation(const std::string& android_root);
/art/tools/
Drun-jdwp-tests.sh41 android_root=${ART_TEST_ANDROID_ROOT:-/system}
64 art="$android_root/bin/art"
65 art_debugee="sh $android_root/bin/art"
279 dump_command="$android_root/xbin/su root $android_root/bin/debuggerd"
Drun-libcore-tests.sh33 android_root=${ART_TEST_ANDROID_ROOT:-/system}
173 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_runtime_root = android_root + '/com.android.runtime'
303 android_tzdata_root = android_root + '/com.android.tzdata'
304 library_path = android_root + '/' + lib
305 path = android_root + '/bin'
308 self._shell_env['ANDROID_ROOT'] = android_root
/art/dex2oat/
Ddex2oat_image_test.cc181 const char* android_root = getenv("ANDROID_ROOT"); in CompileBootImage() local
182 CHECK(android_root != nullptr); in CompileBootImage()
183 argv.push_back("--android-root=" + std::string(android_root)); in CompileBootImage()
Ddex2oat_test.cc222 const char* android_root = getenv("ANDROID_ROOT"); in Dex2Oat() local
223 CHECK(android_root != nullptr); in Dex2Oat()
224 argv.push_back("--android-root=" + std::string(android_root)); in Dex2Oat()
/art/test/
Drun-test161 android_root="/system"
398 android_root="$1"