Lines Matching refs:GetPath
408 if (files_to_keep.find(apex_file->GetPath()) != files_to_keep.end()) { in RemovePreviouslyActiveApexFiles()
413 LOG(DEBUG) << "Deleting previously active apex " << apex_file->GetPath(); in RemovePreviouslyActiveApexFiles()
414 if (unlink(apex_file->GetPath().c_str()) != 0) { in RemovePreviouslyActiveApexFiles()
415 return ErrnoError() << "Failed to unlink " << apex_file->GetPath(); in RemovePreviouslyActiveApexFiles()
476 << apex.GetPath(); in MountPackageImpl()
506 const std::string& full_path = apex.GetPath(); in MountPackageImpl()
541 auto root_digest = instance.GetBlockApexRootDigest(apex.GetPath()); in MountPackageImpl()
552 MountedApexData apex_data(loopback_device.name, apex.GetPath(), mount_point, in MountPackageImpl()
843 gMountedApexes.RemoveMountedApex(apex.GetManifest().name(), apex.GetPath(), in RunVerifyFnInsideTempMount()
884 return shim::ValidateUpdate(system_apex_path, to.GetPath()); in ValidateStagingShimApex()
1045 if (link(apex_file->GetPath().c_str(), dest_path.c_str()) != 0) { in BackupActivePackages()
1046 return ErrnoError() << "Failed to backup " << apex_file->GetPath(); in BackupActivePackages()
1105 if (d.full_path == apex.GetPath()) { in UnmountPackage()
1113 return Error() << "Did not find " << apex.GetPath(); in UnmountPackage()
1120 return Error() << "Package " << apex.GetPath() << " is active"; in UnmountPackage()
1136 gMountedApexes.RemoveMountedApex(manifest.name(), apex.GetPath()); in UnmountPackage()
1364 LOG(ERROR) << "Failed to validate shim apex: " << apex_file.GetPath(); in ActivatePackageImpl()
1422 gMountedApexes.SetLatest(manifest.name(), apex_file.GetPath()); in ActivatePackageImpl()
1439 gMountedApexes.SetLatest(manifest.name(), apex_file.GetPath()); in ActivatePackageImpl()
1451 LOG(DEBUG) << "Successfully activated " << apex_file.GetPath() in ActivatePackageImpl()
1573 return apex.GetPath() == active_apex.GetPath(); in CalculateInactivePackages()
1772 ret.push_back(Error() << "Failed to activate " << apex->GetPath() << "(" in ActivateApexWorker()
2363 if (link(apex_file.GetPath().c_str(), dest_path.c_str()) != 0) { in StagePackages()
2364 return ErrnoError() << "Unable to link " << apex_file.GetPath() << " to " in StagePackages()
2370 LOG(DEBUG) << "Success linking " << apex_file.GetPath() << " to " in StagePackages()
2700 << apex_files[0].get().GetPath(); in SelectApexForActivation()
2737 << a.GetManifest().name() << " " << a.GetPath(); in SelectApexForActivation()
2745 << a.GetManifest().name() << " " << a.GetPath(); in SelectApexForActivation()
2750 << " " << a.GetPath(); in SelectApexForActivation()
2791 LOG(INFO) << "Processing compressed APEX " << capex.GetPath(); in ProcessCompressedApex()
2803 LOG(INFO) << "Skipping decompression for " << capex.GetPath(); in ProcessCompressedApex()
2878 return Error() << "Failed to decompress : " << capex.GetPath().c_str() in ProcessCompressedApex()
2937 << "APEX for " << apex.GetPath(); in ValidateDecompressedApex()
2943 << apex.GetPath(); in ValidateDecompressedApex()
2950 return Error() << "Root digest of " << apex.GetPath() in ValidateDecompressedApex()
2952 << " expected root digest in " << capex.GetPath(); in ValidateDecompressedApex()
3140 LOG(DEBUG) << verified->GetPath() << " is verified"; in SubmitStagedSession()
3170 ReleaseF2fsCompressedBlocks(apex.GetPath()); in SubmitStagedSession()
3440 instance.GetBlockApexLastUpdateSeconds(apex.GetPath()); in CollectApexInfoList()
3443 if (stat(apex.GetPath().c_str(), &stat_buf) == 0) { in CollectApexInfoList()
3446 PLOG(WARNING) << "Failed to stat " << apex.GetPath(); in CollectApexInfoList()
3450 apex.GetManifest().name(), apex.GetPath(), preinstalled_module_path, in CollectApexInfoList()
3654 return apex.GetPath() == active_apex.GetPath(); in OnOtaChrootBootstrap()
3789 return Error() << apex_file.GetPath() << " contains app inside"; in VerifyPackageNonStagedInstall()
3793 return Error() << apex_file.GetPath() << " contains priv-app inside"; in VerifyPackageNonStagedInstall()
3806 return Error() << new_apex.GetPath() in CheckSupportsNonStagedInstall()
3814 return Error() << new_apex.GetPath() << " is a shared libs APEX"; in CheckSupportsNonStagedInstall()
3820 return Error() << new_apex.GetPath() << " provides native libs"; in CheckSupportsNonStagedInstall()
3826 return Error() << new_apex.GetPath() << " requires shared apex libs"; in CheckSupportsNonStagedInstall()
3831 return Error() << new_apex.GetPath() << " requires JNI libs"; in CheckSupportsNonStagedInstall()
3848 return Error() << "Set of native libs required by " << new_apex.GetPath() in CheckSupportsNonStagedInstall()
3850 << cur_apex.GetPath(); in CheckSupportsNonStagedInstall()
3865 return Error() << new_apex.GetPath() in CheckSupportsNonStagedInstall()