Lines Matching refs:Fail
217 return Status::Fail(StringLog() in waitForDevice()
227 return Status::Fail(StringLog() << "Failed to delete device " << name in DeleteVerityDevice()
240 return Status::Fail(StringLog() in DeleteVerityDevice()
351 return Status::Fail(PStringLog() in RemovePreviouslyActiveApexFiles()
368 return Status::Fail(PStringLog() << "Can't open " << verity_device); in readVerityDevice()
375 return Status::Fail(PStringLog() << "Can't verify " << verity_device in readVerityDevice()
404 return StatusM::Fail(StringLog() in mountNonFlattened()
418 return StatusM::Fail(StringLog() in mountNonFlattened()
427 return StatusM::Fail(StringLog() in mountNonFlattened()
449 return StatusM::Fail(StringLog() in mountNonFlattened()
488 return StatusM::Fail(StringLog() << "Failed to verify " << full_path in mountNonFlattened()
499 return StatusM::Fail(StringLog() << "Mounting failed for package " in mountNonFlattened()
508 return StatusM::Fail(StringLog() << "Cannot activate flattened APEX " in mountFlattened()
521 return StatusM::Fail(PStringLog() << "Mounting failed for flattened package " in mountFlattened()
544 return StatusM::Fail(PStringLog() in MountPackageImpl()
554 return StatusM::Fail(PStringLog() << mountPoint << " is not empty"); in MountPackageImpl()
582 return Status::Fail(PStringLog() in Unmount()
649 return Status::Fail("Empty set of inputs"); in PrePostinstallPackages()
689 return RetType::Fail(apex_file.ErrorMessage()); in HandlePackages()
716 return Status::Fail("Can't upgrade flattened apex"); in VerifyPackageBoot()
720 return Status::Fail(verity_or.ErrorMessage()); in VerifyPackageBoot()
745 return Status::Fail(StringLog() << "Attempted to upgrade apex package " in VerifyPackageInstall()
821 return Status::Fail(StringLog() << "Can't clean " << kApexBackupDir << " : " in DeleteBackup()
837 return Status::Fail(StringLog() in BackupActivePackages()
843 return Status::Fail("Backup failed : " + apex_active_exists.ErrorMessage()); in BackupActivePackages()
854 return Status::Fail(StringLog() << "Backup failed : " in BackupActivePackages()
860 return Status::Fail(StringLog() in BackupActivePackages()
882 return Status::Fail("Backup failed : " + apex_file.ErrorMessage()); in BackupActivePackages()
886 return Status::Fail(PStringLog() in BackupActivePackages()
914 return Status::Fail(StringLog() << kApexBackupDir << " does not exist"); in DoRollback()
919 return Status::Fail(PStringLog() in DoRollback()
933 return Status::Fail(PStringLog() << "Failed to rename " << kApexBackupDir in DoRollback()
941 return Status::Fail(PStringLog() in DoRollback()
969 return Status::Fail(StringLog() << "Rollback of session " << session in RollbackActivatedSession()
975 return Status::Fail(StringLog() << "Rollback of session " << session in RollbackActivatedSession()
1001 return Status::Fail(StringLog() << "Can't restore session " << session in RollbackSession()
1042 return Status::Fail(StringLog() << "Did not find " << apex.GetPath()); in UnmountPackage()
1047 return Status::Fail(StringLog() in UnmountPackage()
1053 return Status::Fail(PStringLog() << "Failed to unmount " << mount_point); in UnmountPackage()
1182 return Status::Fail(StringLog() in activatePackageImpl()
1299 return Status::Fail(StringLog() in abortActiveSession()
1315 return Status::Fail(StringLog() << "Failed to scan " << apex_package_dir in scanPackagesDirAndActivate()
1364 return Status::Fail(StringLog() in scanPackagesDirAndActivate()
1463 return Status::Fail("Empty set of inputs"); in preinstallPackages()
1471 return Status::Fail("Empty set of inputs"); in postinstallPackages()
1520 return Status::Fail("Empty set of inputs"); in stagePackages()
1530 return Status::Fail(verify_status.ErrorMessage()); in stagePackages()
1539 return Status::Fail(create_dir_status.ErrorMessage()); in stagePackages()
1576 return Status::Fail(PStringLog() in stagePackages()
1594 return Status::Fail("Empty set of inputs"); in unstagePackages()
1603 return Status::Fail(PStringLog() << "Can't access " << path); in unstagePackages()
1609 return Status::Fail(PStringLog() << "Can't unlink " << path); in unstagePackages()
1629 return Status::Fail(StringLog() << "Can't rollback " << **session in rollbackStagedSessionIfAny()
1636 return Status::Fail(StringLog() << "Failed to get active session : " in rollbackActiveSession()
1639 return Status::Fail( in rollbackActiveSession()
1870 return Status::Fail(StringLog() << "Invalid state for session " << session_id in markStagedSessionReady()
1886 return Status::Fail(StringLog() << "Failed to mark session " << *session in markStagedSessionSuccessful()
1892 return Status::Fail(StringLog() << "Session " << *session in markStagedSessionSuccessful()