Home
last modified time | relevance | path

Searched refs:android_root (Results 1 – 18 of 18) 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()
Ddex2oat_environment_test.h214 const char* android_root = getenv("ANDROID_ROOT"); in Dex2Oat() local
215 CHECK(android_root != nullptr); in Dex2Oat()
216 argv.push_back("--android-root=" + std::string(android_root)); in Dex2Oat()
Dexec_utils_test.cc51 std::string android_root(GetAndroidRoot()); in GetBin() local
52 return android_root + "/bin/" + name; in GetBin()
Dcommon_runtime_test.cc507 const char* android_root = getenv("ANDROID_ROOT"); in CompileBootImage() local
508 CHECK(android_root != nullptr); in CompileBootImage()
509 argv.push_back("--android-root=" + std::string(android_root)); in CompileBootImage()
/art/libartbase/base/
Dfile_utils.cc310 static std::string GetPrebuiltPrimaryBootImageDir(const std::string& android_root) { in GetPrebuiltPrimaryBootImageDir() argument
311 return StringPrintf("%s/framework", android_root.c_str()); in GetPrebuiltPrimaryBootImageDir()
315 std::string android_root = GetAndroidRoot(); in GetPrebuiltPrimaryBootImageDir() local
316 if (android_root.empty()) { in GetPrebuiltPrimaryBootImageDir()
319 return GetPrebuiltPrimaryBootImageDir(android_root); in GetPrebuiltPrimaryBootImageDir()
368 static bool MaybeAppendBootImageMainlineExtension(const std::string& android_root, in MaybeAppendBootImageMainlineExtension() argument
400 "%s/framework/%s-%s.art", android_root.c_str(), kBootImageStem, library_name.c_str()); in MaybeAppendBootImageMainlineExtension()
414 std::string GetDefaultBootImageLocationSafe(const std::string& android_root, in GetDefaultBootImageLocationSafe() argument
438 android_root.c_str(), in GetDefaultBootImageLocationSafe()
440 if (!MaybeAppendBootImageMainlineExtension(android_root, in GetDefaultBootImageLocationSafe()
[all …]
Dfile_utils_test.cc81 std::string android_root = GetAndroidRootSafe(&error_msg); in TEST_F() local
83 EXPECT_EQ(android_root, android_root_env) << error_msg; in TEST_F()
107 UniqueCPtr<char> real_root(realpath(android_root.c_str(), nullptr)); in TEST_F()
189 ScopedUnsetEnvironmentVariable android_root("ANDROID_ROOT"); in TEST_F() local
208 ScopedUnsetEnvironmentVariable android_root("ANDROID_ROOT"); in TEST_F() local
231 ScopedUnsetEnvironmentVariable android_root("ANDROID_ROOT"); in TEST_F() local
251 ScopedUnsetEnvironmentVariable android_root("ANDROID_ROOT"); in TEST_F() local
295 ScopedUnsetEnvironmentVariable android_root("ANDROID_ROOT"); in TEST_F() local
322 ScopedUnsetEnvironmentVariable android_root("ANDROID_ROOT"); in TEST_F() local
Dfile_utils.h93 std::string GetDefaultBootImageLocationSafe(const std::string& android_root,
98 std::string GetDefaultBootImageLocation(const std::string& android_root,
/art/dex2oat/
Ddex2oat_cts_test.cc45 const char* android_root = getenv("ANDROID_ROOT"); in Dex2Oat() local
46 CHECK(android_root != nullptr); in Dex2Oat()
47 argv.push_back("--android-root=" + std::string(android_root)); in 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()
/art/tools/
Drun-jdwp-tests.sh31 android_root=${ART_TEST_ANDROID_ROOT:-/system}
60 art="$android_root/bin/art"
62 art_debugee="sh $android_root/bin/art"
306 dump_command="$android_root/xbin/su root $android_root/bin/debuggerd"
Dcompile-jar.py212 android_root = os.path.expandvars("$ANDROID_HOST_OUT")
224 android_root = os.path.expandvars("$OUT/system")
233 extra.append("--android-root={}".format(android_root))
/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/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/dexoptanalyzer/
Ddexoptanalyzer.cc242 std::string android_root = GetAndroidRootSafe(&error_msg); in ParseArgs() local
243 if (android_root.empty()) { in ParseArgs()
248 android_root, /*deny_art_apex_data_files=*/false, &error_msg); in ParseArgs()
/art/test/dexpreopt/
Ddexpreopt_test.cc110 std::string android_root = GetAndroidRoot(); in GetZygoteExpectedArtifacts() local
117 android_root + "/framework"; in GetZygoteExpectedArtifacts()
/art/test/
Drun-test215 android_root = "/system" variable
483 android_root = arg variable
Ddefault_run.py244 ANDROID_ROOT = args.android_root
/art/artd/
Dartd.cc1135 std::string android_root = GetAndroidRootSafe(&error_msg); in GetBootImageLocations() local
1139 location_str = GetDefaultBootImageLocation(android_root, DenyArtApexDataFilesLocked()); in GetBootImageLocations()