Lines Matching refs:GetPath
365 if (files_to_keep.find(apex_file->GetPath()) != files_to_keep.end()) { in RemovePreviouslyActiveApexFiles()
370 LOG(DEBUG) << "Deleting previously active apex " << apex_file->GetPath(); in RemovePreviouslyActiveApexFiles()
371 if (unlink(apex_file->GetPath().c_str()) != 0) { in RemovePreviouslyActiveApexFiles()
372 return ErrnoError() << "Failed to unlink " << apex_file->GetPath(); in RemovePreviouslyActiveApexFiles()
431 << apex.GetPath(); in MountPackageImpl()
461 const std::string& full_path = apex.GetPath(); in MountPackageImpl()
494 MountedApexData apex_data(loopback_device.name, apex.GetPath(), mount_point, in MountPackageImpl()
689 gMountedApexes.RemoveMountedApex(apex.GetManifest().name(), apex.GetPath(), in RunVerifyFnInsideTempMount()
789 return shim::ValidateUpdate(system_apex_path, to.GetPath()); in ValidateStagingShimApex()
945 if (link(apex_file->GetPath().c_str(), dest_path.c_str()) != 0) { in BackupActivePackages()
946 return ErrnoError() << "Failed to backup " << apex_file->GetPath(); in BackupActivePackages()
1005 if (d.full_path == apex.GetPath()) { in UnmountPackage()
1013 return Error() << "Did not find " << apex.GetPath(); in UnmountPackage()
1020 return Error() << "Package " << apex.GetPath() << " is active"; in UnmountPackage()
1036 gMountedApexes.RemoveMountedApex(manifest.name(), apex.GetPath()); in UnmountPackage()
1251 LOG(ERROR) << "Failed to validate shim apex: " << apex_file.GetPath(); in ActivatePackageImpl()
1308 gMountedApexes.SetLatest(manifest.name(), apex_file.GetPath()); in ActivatePackageImpl()
1325 gMountedApexes.SetLatest(manifest.name(), apex_file.GetPath()); in ActivatePackageImpl()
1337 LOG(DEBUG) << "Successfully activated " << apex_file.GetPath() in ActivatePackageImpl()
1391 return apex.GetPath() == active_apex.GetPath(); in CalculateInactivePackages()
1587 ret.push_back(Error() << "Failed to activate " << apex->GetPath() << " : " in ActivateApexWorker()
2193 if (link(apex_file.GetPath().c_str(), dest_path.c_str()) != 0) { in StagePackages()
2194 return ErrnoError() << "Unable to link " << apex_file.GetPath() << " to " in StagePackages()
2200 LOG(DEBUG) << "Success linking " << apex_file.GetPath() << " to " in StagePackages()
2505 << apex_files[0].get().GetPath(); in SelectApexForActivation()
2542 << a.GetManifest().name() << " " << a.GetPath(); in SelectApexForActivation()
2550 << a.GetManifest().name() << " " << a.GetPath(); in SelectApexForActivation()
2555 << " " << a.GetPath(); in SelectApexForActivation()
2589 LOG(INFO) << "Processing compressed APEX " << capex.GetPath(); in ProcessCompressedApex()
2601 LOG(INFO) << "Skipping decompression for " << capex.GetPath(); in ProcessCompressedApex()
2676 return Error() << "Failed to decompress : " << capex.GetPath().c_str() in ProcessCompressedApex()
2734 << "APEX for " << apex.GetPath(); in ValidateDecompressedApex()
2740 << apex.GetPath(); in ValidateDecompressedApex()
2747 return Error() << "Root digest of " << apex.GetPath() in ValidateDecompressedApex()
2749 << " expected root digest in " << capex.GetPath(); in ValidateDecompressedApex()
2967 ReleaseF2fsCompressedBlocks(apex.GetPath()); in SubmitStagedSession()
3181 if (stat(apex.GetPath().c_str(), &stat_buf) == 0) { in CollectApexInfoList()
3184 PLOG(WARNING) << "Failed to stat " << apex.GetPath(); in CollectApexInfoList()
3187 apex.GetManifest().name(), apex.GetPath(), preinstalled_module_path, in CollectApexInfoList()
3323 return apex.GetPath() == active_apex.GetPath(); in OnOtaChrootBootstrap()
3457 return Error() << apex_file.GetPath() << " contains app inside"; in VerifyPackageNonStagedInstall()
3461 return Error() << apex_file.GetPath() << " contains priv-app inside"; in VerifyPackageNonStagedInstall()
3474 return Error() << new_apex.GetPath() in CheckSupportsNonStagedInstall()
3482 return Error() << new_apex.GetPath() << " is a shared libs APEX"; in CheckSupportsNonStagedInstall()
3488 return Error() << new_apex.GetPath() << " provides native libs"; in CheckSupportsNonStagedInstall()
3494 return Error() << new_apex.GetPath() << " requires shared apex libs"; in CheckSupportsNonStagedInstall()
3499 return Error() << new_apex.GetPath() << " requires JNI libs"; in CheckSupportsNonStagedInstall()
3516 return Error() << "Set of native libs required by " << new_apex.GetPath() in CheckSupportsNonStagedInstall()
3518 << cur_apex.GetPath(); in CheckSupportsNonStagedInstall()
3533 return Error() << new_apex.GetPath() in CheckSupportsNonStagedInstall()