Lines Matching refs:package_path
482 std::string package_path = package->GetPath(); in TryUpdateBinary() local
487 ? SetUpAbUpdateCommands(package_path, zip, pipe_write.get(), &args) in TryUpdateBinary()
488 : SetUpNonAbUpdateCommands(package_path, zip, retry_count, pipe_write.get(), &args); in TryUpdateBinary()
590 LOG(ERROR) << "Error in " << package_path << " (status " << WEXITSTATUS(status) << ")"; in TryUpdateBinary()
594 LOG(ERROR) << "Error in " << package_path << " (killed by signal " << WTERMSIG(status) << ")"; in TryUpdateBinary()
747 bool SetupPackageMount(const std::string& package_path, bool* should_use_fuse) { in SetupPackageMount() argument
750 if (package_path.empty()) { in SetupPackageMount()
755 if (package_path[0] == '@') { in SetupPackageMount()
756 auto block_map_path = package_path.substr(1); in SetupPackageMount()
767 if (ensure_path_mounted(package_path) != 0) { in SetupPackageMount()
768 LOG(ERROR) << "Failed to mount " << package_path; in SetupPackageMount()
775 auto canonical_path = std::filesystem::canonical(package_path, ec); in SetupPackageMount()
777 LOG(ERROR) << "Failed to get canonical of " << package_path << ", " << ec.message(); in SetupPackageMount()
780 if (canonical_path.string() != package_path) { in SetupPackageMount()
782 << " doesn't equal the original path " << package_path; in SetupPackageMount()
787 if (android::base::StartsWith(package_path, CACHE_ROOT)) { in SetupPackageMount()