/art/runtime/ |
D | runtime_android.cc | 43 const char* android_root = getenv("ANDROID_ROOT"); in InitPlatformSignalHandlers() local 44 if (android_root != nullptr && strcmp(android_root, "/system") != 0) { in InitPlatformSignalHandlers()
|
D | dex2oat_environment_test.h | 214 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()
|
D | exec_utils_test.cc | 51 std::string android_root(GetAndroidRoot()); in GetBin() local 52 return android_root + "/bin/" + name; in GetBin()
|
D | common_runtime_test.cc | 507 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/ |
D | file_utils.cc | 310 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 …]
|
D | file_utils_test.cc | 81 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
|
D | file_utils.h | 93 std::string GetDefaultBootImageLocationSafe(const std::string& android_root, 98 std::string GetDefaultBootImageLocation(const std::string& android_root,
|
/art/dex2oat/ |
D | dex2oat_cts_test.cc | 45 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()
|
D | dex2oat_image_test.cc | 160 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/ |
D | run-jdwp-tests.sh | 31 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"
|
D | compile-jar.py | 212 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/ |
D | common.py | 301 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/ |
D | run_dex_fuzz_test.py | 82 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/ |
D | dexoptanalyzer.cc | 242 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/ |
D | dexpreopt_test.cc | 110 std::string android_root = GetAndroidRoot(); in GetZygoteExpectedArtifacts() local 117 android_root + "/framework"; in GetZygoteExpectedArtifacts()
|
/art/test/ |
D | run-test | 215 android_root = "/system" variable 483 android_root = arg variable
|
D | default_run.py | 244 ANDROID_ROOT = args.android_root
|
/art/artd/ |
D | artd.cc | 1135 std::string android_root = GetAndroidRootSafe(&error_msg); in GetBootImageLocations() local 1139 location_str = GetDefaultBootImageLocation(android_root, DenyArtApexDataFilesLocked()); in GetBootImageLocations()
|