Home
last modified time | relevance | path

Searched refs:android_root (Results 1 – 20 of 20) 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.h224 const char* android_root = getenv("ANDROID_ROOT"); in Dex2Oat() local
225 CHECK(android_root != nullptr); in Dex2Oat()
226 argv.push_back("--android-root=" + std::string(android_root)); in Dex2Oat()
Dexec_utils_test.cc56 std::string android_root(GetAndroidRoot()); in GetBin() local
57 return android_root + "/bin/" + name; in GetBin()
Dcommon_runtime_test.cc508 const char* android_root = getenv("ANDROID_ROOT"); in CompileBootImage() local
509 CHECK(android_root != nullptr); in CompileBootImage()
510 argv.push_back("--android-root=" + std::string(android_root)); in CompileBootImage()
/art/libartbase/base/
Dfile_utils.cc314 static std::string GetPrebuiltPrimaryBootImageDir(const std::string& android_root) { in GetPrebuiltPrimaryBootImageDir() argument
315 return StringPrintf("%s/framework", android_root.c_str()); in GetPrebuiltPrimaryBootImageDir()
319 std::string android_root = GetAndroidRoot(); in GetPrebuiltPrimaryBootImageDir() local
320 if (android_root.empty()) { in GetPrebuiltPrimaryBootImageDir()
323 return GetPrebuiltPrimaryBootImageDir(android_root); in GetPrebuiltPrimaryBootImageDir()
372 static bool MaybeAppendBootImageMainlineExtension(const std::string& android_root, in MaybeAppendBootImageMainlineExtension() argument
407 "%s/framework/%s-%s.art", android_root.c_str(), kBootImageStem, library_name.c_str()); in MaybeAppendBootImageMainlineExtension()
421 std::string GetDefaultBootImageLocationSafe(const std::string& android_root, in GetDefaultBootImageLocationSafe() argument
445 android_root.c_str(), in GetDefaultBootImageLocationSafe()
447 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,
Dcommon_art_test.cc482 std::string android_root = GetAndroidRoot(); in GetLibCoreDexLocations() local
484 CHECK(android_root.starts_with(build_top)) in GetLibCoreDexLocations()
485 << " android_root=" << android_root << " build_top=" << build_top; in GetLibCoreDexLocations()
486 prefix = android_root.substr(build_top.size()); in GetLibCoreDexLocations()
/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.cc159 const char* android_root = getenv("ANDROID_ROOT"); in AddAndroidRootToImageCompilerOptions() local
160 CHECK(android_root != nullptr); in AddAndroidRootToImageCompilerOptions()
162 "--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/test/generate-boot-image/
Dgenerate-boot-image.cc93 std::string android_root = ""; member
135 GetLibCoreDexFileNames(options.android_root, options.core_only); in GenerateBootImage()
201 options.android_root = arg; in Main()
233 if (options.android_root.empty()) { in Main()
/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.cc241 std::string android_root = GetAndroidRootSafe(&error_msg); in ParseArgs() local
242 if (android_root.empty()) { in ParseArgs()
247 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
481 android_root = arg variable
Ddefault_run.py241 ANDROID_ROOT = args.android_root
/art/artd/
Dartd.cc1534 std::string android_root = GetAndroidRootSafe(&error_msg); in GetBootImageLocations() local
1538 location_str = GetDefaultBootImageLocation(android_root, DenyArtApexDataFilesLocked()); in GetBootImageLocations()