Lines Matching refs:ErrnoError
79 using android::base::ErrnoError;
316 return ErrnoError() << "Failed to unlink " << apex_file->GetPath(); in RemovePreviouslyActiveApexFiles()
333 return ErrnoError() << "Can't open " << verity_device; in readVerityDevice()
340 return ErrnoError() << "Can't verify " << verity_device << "; corrupted?"; in readVerityDevice()
379 return ErrnoError() << "Could not create mount point " << mountPoint; in MountPackageImpl()
388 return ErrnoError() << mountPoint << " is not empty"; in MountPackageImpl()
493 return ErrnoError() << "Mounting failed for package " << full_path; in MountPackageImpl()
512 return ErrnoError() << "Failed to unlink " << hashtree_file; in VerifyAndTempMountPackage()
532 return ErrnoError() << "Failed to unmount directory " << data.mount_point; in Unmount()
803 return ErrnoError() << "Failed to backup " << apex_file->GetPath(); in BackupActivePackages()
824 return ErrnoError() << "Failed to access " << kActiveApexPackagesDataDir; in RestoreActivePackages()
837 return ErrnoError() << "Failed to rename " << kApexBackupDir << " to " in RestoreActivePackages()
844 return ErrnoError() << "Failed to restore original permissions for " in RestoreActivePackages()
878 return ErrnoError() << "Failed to unmount " << mount_point; in UnmountPackage()
1179 return ErrnoError() << "Cannot find matching package for: " << packageName; in getActivePackage()
1743 return ErrnoError() << "Failed to move " << new_hashtree_file << " to " in stagePackages()
1753 return ErrnoError() << "Failed to unlink " << dest_path; in stagePackages()
1758 return ErrnoError() << "Unable to link " << apex_file->GetPath() << " to " in stagePackages()
1784 return ErrnoError() << "Can't access " << path; in unstagePackages()
1790 return ErrnoError() << "Can't unlink " << path; in unstagePackages()