• Home
  • Raw
  • Download

Lines Matching refs:ApexFile

124 bool isBootstrapApex(const ApexFile& apex) {  in isBootstrapApex()
139 auto apexFile = ApexFile::Open(path); in preAllocateLoopDevices()
332 StatusOr<ApexFile> apex_file = ApexFile::Open(path); in RemovePreviouslyActiveApexFiles()
384 Status VerifyMountedImage(const ApexFile& apex, in VerifyMountedImage()
396 StatusOr<MountedApexData> mountNonFlattened(const ApexFile& apex, in mountNonFlattened()
504 StatusOr<MountedApexData> mountFlattened(const ApexFile& apex, in mountFlattened()
525 StatusOr<MountedApexData> MountPackageImpl(const ApexFile& apex, in MountPackageImpl()
570 const ApexFile& apex, const std::string& mount_point) { in VerifyAndTempMountPackage()
618 Status RunVerifyFnInsideTempMount(const ApexFile& apex, in RunVerifyFnInsideTempMount()
646 Status PrePostinstallPackages(const std::vector<ApexFile>& apexes, HookFn fn, in PrePostinstallPackages()
654 for (const ApexFile& apex_file : apexes) { in PrePostinstallPackages()
672 Status PreinstallPackages(const std::vector<ApexFile>& apexes) { in PreinstallPackages()
677 Status PostinstallPackages(const std::vector<ApexFile>& apexes) { in PostinstallPackages()
685 std::vector<ApexFile> apex_files; in HandlePackages()
687 StatusOr<ApexFile> apex_file = ApexFile::Open(path); in HandlePackages()
698 Status ValidateStagingShimApex(const ApexFile& to) { in ValidateStagingShimApex()
700 auto system_shim = ApexFile::Open( in ValidateStagingShimApex()
714 Status VerifyPackageBoot(const ApexFile& apex_file) { in VerifyPackageBoot()
739 Status VerifyPackageInstall(const ApexFile& apex_file) { in VerifyPackageInstall()
758 StatusOr<std::vector<ApexFile>> verifyPackages( in verifyPackages()
761 return StatusOr<std::vector<ApexFile>>::MakeError("Empty set of inputs"); in verifyPackages()
765 using StatusT = StatusOr<std::vector<ApexFile>>; in verifyPackages()
766 auto verify_fn = [&](std::vector<ApexFile>& apexes) { in verifyPackages()
767 for (const ApexFile& apex_file : apexes) { in verifyPackages()
778 StatusOr<ApexFile> verifySessionDir(const int session_id) { in verifySessionDir()
787 return StatusOr<ApexFile>::MakeError(scan.ErrorMessage()); in verifySessionDir()
791 return StatusOr<ApexFile>::MakeError( in verifySessionDir()
797 return StatusOr<ApexFile>::MakeError(verified.ErrorStatus()); in verifySessionDir()
799 return StatusOr<ApexFile>(std::move((*verified)[0])); in verifySessionDir()
864 auto backup_path_fn = [](const ApexFile& apex_file) { in BackupActivePackages()
880 StatusOr<ApexFile> apex_file = ApexFile::Open(path); in BackupActivePackages()
1025 Status UnmountPackage(const ApexFile& apex, bool allow_latest) { in UnmountPackage()
1070 Status MountPackage(const ApexFile& apex, const std::string& mountPoint) { in MountPackage()
1083 Status UnmountPackage(const ApexFile& apex) { in UnmountPackage()
1123 Status activatePackageImpl(const ApexFile& apex_file) { in activatePackageImpl()
1145 StatusOr<ApexFile> otherApex = ApexFile::Open(data.full_path); in activatePackageImpl()
1201 StatusOr<ApexFile> apex_file = ApexFile::Open(full_path); in activatePackage()
1211 StatusOr<ApexFile> apexFile = ApexFile::Open(full_path); in deactivatePackage()
1219 std::vector<ApexFile> getActivePackages() { in getActivePackages()
1220 std::vector<ApexFile> ret; in getActivePackages()
1227 StatusOr<ApexFile> apexFile = ApexFile::Open(data.full_path); in getActivePackages()
1240 std::vector<ApexFile> active_packages = getActivePackages(); in GetActivePackagesMap()
1251 std::vector<ApexFile> getFactoryPackages() { in getFactoryPackages()
1252 std::vector<ApexFile> ret; in getFactoryPackages()
1260 StatusOr<ApexFile> apex_file = ApexFile::Open(path); in getFactoryPackages()
1271 StatusOr<ApexFile> getActivePackage(const std::string& packageName) { in getActivePackage()
1272 std::vector<ApexFile> packages = getActivePackages(); in getActivePackage()
1273 for (ApexFile& apex : packages) { in getActivePackage()
1275 return StatusOr<ApexFile>(std::move(apex)); in getActivePackage()
1279 return StatusOr<ApexFile>::MakeError( in getActivePackage()
1327 StatusOr<ApexFile> apex_file = ApexFile::Open(name); in scanPackagesDirAndActivate()
1478 std::string StageDestPath(const ApexFile& apex_file) { in StageDestPath()
1489 auto apex_file = ApexFile::Open(path); in FilterUnnecessaryStagingPaths()
1568 StatusOr<ApexFile> apex_file = ApexFile::Open(path); in stagePackages()
1790 StatusOr<std::vector<ApexFile>> submitStagedSession( in submitStagedSession()
1795 return StatusOr<std::vector<ApexFile>>::MakeError(cleanup_status); in submitStagedSession()
1815 return StatusOr<std::vector<ApexFile>>::MakeError(backup_status); in submitStagedSession()
1826 std::vector<ApexFile> ret; in submitStagedSession()
1830 return StatusOr<std::vector<ApexFile>>::MakeError(verified.ErrorStatus()); in submitStagedSession()
1838 return StatusOr<std::vector<ApexFile>>::MakeError(preinstall_status); in submitStagedSession()
1843 return StatusOr<std::vector<ApexFile>>::MakeError(session.ErrorMessage()); in submitStagedSession()
1849 return StatusOr<std::vector<ApexFile>>::MakeError(commit_status); in submitStagedSession()
1852 return StatusOr<std::vector<ApexFile>>(std::move(ret)); in submitStagedSession()