Lines Matching refs:scan
132 auto scan = FindApexes(kApexPackageBuiltinDirs); in preAllocateLoopDevices() local
133 if (!scan.Ok()) { in preAllocateLoopDevices()
134 return scan.ErrorStatus(); in preAllocateLoopDevices()
138 for (const auto& path : *scan) { in preAllocateLoopDevices()
783 StatusOr<std::vector<std::string>> scan = in verifySessionDir() local
785 if (!scan.Ok()) { in verifySessionDir()
786 LOG(WARNING) << scan.ErrorMessage(); in verifySessionDir()
787 return StatusOr<ApexFile>::MakeError(scan.ErrorMessage()); in verifySessionDir()
790 if (scan->size() > 1) { in verifySessionDir()
795 auto verified = verifyPackages(*scan, VerifyPackageInstall); in verifySessionDir()
1312 StatusOr<std::vector<std::string>> scan = in scanPackagesDirAndActivate() local
1314 if (!scan.Ok()) { in scanPackagesDirAndActivate()
1316 << " : " << scan.ErrorMessage()); in scanPackagesDirAndActivate()
1324 for (const std::string& name : *scan) { in scanPackagesDirAndActivate()
1406 StatusOr<std::vector<std::string>> scan = in scanStagedSessionsDirAndStage() local
1408 if (!scan.Ok()) { in scanStagedSessionsDirAndStage()
1409 LOG(WARNING) << scan.ErrorMessage(); in scanStagedSessionsDirAndStage()
1414 if (scan->size() > 1) { in scanStagedSessionsDirAndStage()
1421 if (scan->empty()) { in scanStagedSessionsDirAndStage()
1427 apexes.push_back(std::move((*scan)[0])); in scanStagedSessionsDirAndStage()