Lines Matching refs:ok
155 if (!scan.ok()) { in preAllocateLoopDevices()
162 if (!apexFile.ok()) { in preAllocateLoopDevices()
249 if (!ret.ok()) { in ~DmVerityDevice()
275 if (!result.ok()) { in createVerityDevice()
292 if (!all_active_apex_files.ok()) { in RemovePreviouslyActiveApexFiles()
298 if (!apex_file.ok()) { in RemovePreviouslyActiveApexFiles()
351 if (!result.ok()) { in VerifyMountedImage()
375 if (!exists.ok()) { in MountPackageImpl()
397 if (ret.ok()) { in MountPackageImpl()
409 if (!verityData.ok()) { in MountPackageImpl()
429 !st.ok()) { in MountPackageImpl()
433 if (!create_loop_status.ok()) { in MountPackageImpl()
445 if (!verityDevRes.ok()) { in MountPackageImpl()
455 if (!readAheadStatus.ok()) { in MountPackageImpl()
463 if (!verityStatus.ok()) { in MountPackageImpl()
478 if (!status.ok()) { in MountPackageImpl()
517 if (!ret.ok()) { in VerifyAndTempMountPackage()
543 if (!result.ok()) { in Unmount()
573 if (!mount_status.ok()) { in RunVerifyFnInsideTempMount()
581 if (!result.ok()) { in RunVerifyFnInsideTempMount()
609 if (!install_status.ok()) { in PrePostinstallPackages()
638 if (!apex_file.ok()) { in OpenApexFiles()
650 if (!system_shim.ok()) { in ValidateStagingShimApex()
664 if (!verity_or.ok()) { in VerifyPackageBoot()
673 if (!result.ok()) { in VerifyPackageBoot()
686 if (!verify_package_boot_status.ok()) { in VerifyPackageInstall()
701 if (!apex_files.ok()) { in verifyPackages()
709 if (!result.ok()) { in verifyPackages()
722 if (!scan.ok()) { in verifySessionDir()
733 if (!verified.ok()) { in verifySessionDir()
741 if (!exists.ok()) { in DeleteBackup()
757 if (!create_status.ok()) { in BackupActivePackages()
762 if (!apex_active_exists.ok()) { in BackupActivePackages()
772 if (!active_packages.ok()) { in BackupActivePackages()
777 if (!cleanup_status.ok()) { in BackupActivePackages()
789 if (!result.ok()) { in BackupActivePackages()
798 if (!apex_file.ok()) { in BackupActivePackages()
815 if (!backup_exists.ok()) { in RestoreActivePackages()
830 if (!delete_status.ok()) { in RestoreActivePackages()
898 if (!ret.ok()) { in MountPackage()
973 if (!otherApex.ok()) { in activatePackageImpl()
998 if (!mountStatus.ok()) { in activatePackageImpl()
1008 if (!update_st.ok()) { in activatePackageImpl()
1028 if (!apex_file.ok()) { in activatePackage()
1038 if (!apexFile.ok()) { in deactivatePackage()
1054 if (!apexFile.ok()) { in getActivePackages()
1074 if (preinstalledPath.ok()) { in emitApexInfoList()
1155 if (!apex_files.ok()) { in getFactoryPackages()
1161 if (!apex_file.ok()) { in getFactoryPackages()
1212 if (!scan.ok()) { in ScanApexFiles()
1220 if (!apex_file.ok()) { in ScanApexFiles()
1245 if (auto res = activatePackageImpl(apex); !res.ok()) { in ActivateApexPackages()
1269 if (!apexes.ok()) { in scanPackagesDirAndActivate()
1287 if (!result.ok()) { in snapshotDataDirectory()
1314 if (!result.ok()) { in restoreDataDirectory()
1318 if (!result.ok()) { in restoreDataDirectory()
1322 if (!result.ok()) { in restoreDataDirectory()
1334 if (!result.ok()) { in snapshotOrRestoreDeIfNeeded()
1348 if (!result.ok()) { in snapshotOrRestoreDeIfNeeded()
1367 if (!user_dirs.ok()) { in snapshotOrRestoreDeUserData()
1387 if (!result.ok()) { in snapshotCeData()
1408 if (!exists.ok()) { in migrateSessionsDirIfNeeded()
1442 if (!user_dirs.ok()) { in destroyDeSnapshots()
1569 if (!st.ok()) { in scanStagedSessionsDirAndStage()
1597 if (!scan.ok()) { in scanStagedSessionsDirAndStage()
1625 if (!postinstall_status.ok()) { in scanStagedSessionsDirAndStage()
1635 if (!apex_file.ok()) { in scanStagedSessionsDirAndStage()
1643 if (!result.ok()) { in scanStagedSessionsDirAndStage()
1653 if (!st.ok()) { in scanStagedSessionsDirAndStage()
1662 if (!apex_files.ok()) { in preinstallPackages()
1671 if (!apex_files.ok()) { in postinstallPackages()
1698 if (!verify_status.ok()) { in stagePackages()
1705 if (!create_dir_status.ok()) { in stagePackages()
1731 if (!apex_file.ok()) { in stagePackages()
1829 if (!restoreStatus.ok()) { in revertActiveSessions()
1871 if (!res.ok()) { in revertActiveSessionsAndReboot()
1883 if (!preAllocate.ok()) { in onBootstrap()
1891 if (!status.ok()) { in onBootstrap()
1899 if (!scan_status.ok()) { in onBootstrap()
1904 if (auto ret = ActivateApexPackages(*scan_status); !ret.ok()) { in onBootstrap()
1917 if (auto ret = deactivatePackage(path); !ret.ok()) { in remountApexFile()
1928 if (supports_fs_checkpoints.ok()) { in initializeVold()
1936 if (needs_checkpoint.ok()) { in initializeVold()
1949 if (!status.ok()) { in initialize()
1988 if (!status.ok()) { in onStart()
1993 if (auto scan = ScanApexFiles(kActiveApexPackagesDataDir); !scan.ok()) { in onStart()
1996 if (auto revert = revertActiveSessionsAndReboot(""); !revert.ok()) { in onStart()
2012 if (auto ret = ActivateApexPackages(data_apex); !ret.ok()) { in onStart()
2015 if (auto revert = revertActiveSessionsAndReboot(""); !revert.ok()) { in onStart()
2037 if (!result.ok()) { in onAllPackagesActivated()
2098 if (!verified.ok()) { in submitStagedSession()
2106 if (!preinstall_status.ok()) { in submitStagedSession()
2116 if (!session.ok()) { in submitStagedSession()
2127 if (!commit_status.ok()) { in submitStagedSession()
2136 if (!session.ok()) { in markStagedSessionReady()
2155 if (!session.ok()) { in markStagedSessionSuccessful()
2164 if (!cleanup_status.ok()) { in markStagedSessionSuccessful()
2195 if (auto st = Unmount(data); !st.ok()) { in UnmountDanglingMounts()
2213 if (!data_apexes.ok()) { in RemoveOrphanedApexes()
2220 if (!apex.ok()) { in RemoveOrphanedApexes()
2266 if (auto status = Unmount(data); !status.ok()) { in unmountAll()