Lines Matching refs:GetPath
344 if (files_to_keep.find(apex_file->GetPath()) != files_to_keep.end()) { in RemovePreviouslyActiveApexFiles()
349 LOG(DEBUG) << "Deleting previously active apex " << apex_file->GetPath(); in RemovePreviouslyActiveApexFiles()
350 if (unlink(apex_file->GetPath().c_str()) != 0) { in RemovePreviouslyActiveApexFiles()
352 << "Failed to unlink " << apex_file->GetPath()); in RemovePreviouslyActiveApexFiles()
401 const std::string& full_path = apex.GetPath(); in mountNonFlattened()
432 MountedApexData apex_data(loopbackDevice.name, apex.GetPath(), mountPoint, in mountNonFlattened()
507 if (!isPathForBuiltinApexes(apex.GetPath())) { in mountFlattened()
509 << apex.GetPath()); in mountFlattened()
512 if (mount(apex.GetPath().c_str(), mountPoint.c_str(), nullptr, MS_BIND, in mountFlattened()
515 << apex.GetPath() << " on " << mountPoint; in mountFlattened()
517 MountedApexData apex_data("" /* loop_name */, apex.GetPath(), mountPoint, in mountFlattened()
522 << apex.GetPath()); in mountFlattened()
706 return shim::ValidateUpdate(system_apex_path, to.GetPath()); in ValidateStagingShimApex()
746 << apex_file.GetPath() in VerifyPackageInstall()
885 if (link(apex_file->GetPath().c_str(), dest_path.c_str()) != 0) { in BackupActivePackages()
887 << "Failed to backup " << apex_file->GetPath()); in BackupActivePackages()
1034 if (d.full_path == apex.GetPath()) { in UnmountPackage()
1042 return Status::Fail(StringLog() << "Did not find " << apex.GetPath()); in UnmountPackage()
1048 << "Package " << apex.GetPath() << " is active"); in UnmountPackage()
1062 gMountedApexes.RemoveMountedApex(manifest.name(), apex.GetPath()); in UnmountPackage()
1189 gMountedApexes.SetLatest(manifest.name(), apex_file.GetPath()); in activatePackageImpl()
1192 LOG(DEBUG) << "Successfully activated " << apex_file.GetPath() in activatePackageImpl()
1574 if (link(apex_file->GetPath().c_str(), dest_path.c_str()) != 0) { in stagePackages()
1577 << "Unable to link " << apex_file->GetPath() << " to " in stagePackages()
1583 LOG(DEBUG) << "Success linking " << apex_file->GetPath() << " to " in stagePackages()