Lines Matching refs:android_root
314 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()
476 android_root.c_str(), in GetDefaultBootImageLocationSafe()
492 GetPrebuiltPrimaryBootImageDir(android_root).c_str(), in GetDefaultBootImageLocationSafe()
496 android_root.c_str(), in GetDefaultBootImageLocationSafe()
503 GetPrebuiltPrimaryBootImageDir(android_root).c_str(), in GetDefaultBootImageLocationSafe()
507 android_root.c_str(), in GetDefaultBootImageLocationSafe()
509 android_root.c_str(), in GetDefaultBootImageLocationSafe()
514 if (!MaybeAppendBootImageMainlineExtension(android_root, in GetDefaultBootImageLocationSafe()
524 std::string GetDefaultBootImageLocation(const std::string& android_root, in GetDefaultBootImageLocation() argument
528 GetDefaultBootImageLocationSafe(android_root, deny_art_apex_data_files, &error_msg); in GetDefaultBootImageLocation()
549 std::string android_root = GetAndroidRootSafe(error_msg); in GetBootImageLocationForDefaultBcp() local
553 return GetDefaultBootImageLocationSafe(android_root, deny_art_apex_data_files, error_msg); in GetBootImageLocationForDefaultBcp()
908 const char* android_root = GetAndroidDirSafe(kAndroidRootEnvVar, in ArtModuleRootDistinctFromAndroidRoot() local
916 return (android_root != nullptr) && (art_root != nullptr) && in ArtModuleRootDistinctFromAndroidRoot()
917 (std::string_view(android_root) != std::string_view(art_root)); in ArtModuleRootDistinctFromAndroidRoot()