Searched refs:MakeError (Results 1 – 14 of 14) sorted by relevance
98 return StatusOr<ApexFile>::MakeError(err); in Open()107 return StatusOr<ApexFile>::MakeError(err); in Open()120 return StatusOr<ApexFile>::MakeError(err); in Open()130 return StatusOr<ApexFile>::MakeError(err); in Open()140 return StatusOr<ApexFile>::MakeError(err); in Open()152 return StatusOr<ApexFile>::MakeError(err); in Open()166 return StatusOr<ApexFile>::MakeError(err); in Open()173 return StatusOr<ApexFile>::MakeError(manifest.ErrorMessage()); in Open()223 return StatusOr<std::unique_ptr<AvbFooter>>::MakeError( in getAvbFooter()229 return StatusOr<std::unique_ptr<AvbFooter>>::MakeError( in getAvbFooter()[all …]
133 return Failed::MakeError(PStringLog() << "Failed to open loop-control"); in createLoopDevice()138 return Failed::MakeError(PStringLog() << "Failed LOOP_CTL_GET_FREE"); in createLoopDevice()145 return Failed::MakeError(PStringLog() << "Failed to open " << target); in createLoopDevice()161 return Failed::MakeError(PStringLog() << "Failed to open " << device); in createLoopDevice()168 return Failed::MakeError(PStringLog() << "Failed to LOOP_SET_FD"); in createLoopDevice()177 return Failed::MakeError(PStringLog() << "Failed to LOOP_SET_STATUS64"); in createLoopDevice()199 return Failed::MakeError(PStringLog() in createLoopDevice()217 return Failed::MakeError(StringLog() << readAheadStatus.ErrorMessage()); in createLoopDevice()
54 return StatusOr<ApexManifest>::MakeError( in JsonToApexManifestMessage()60 return StatusOr<ApexManifest>::MakeError( in JsonToApexManifestMessage()81 return StatusOr<ApexManifest>::MakeError(err); in ParseManifest()88 return StatusOr<ApexManifest>::MakeError(err); in ParseManifest()
51 return StatusOr<std::vector<KeyPair>>::MakeError( in collectEmbedddedApexKeysFromDir()57 return StatusOr<std::vector<KeyPair>>::MakeError(apex_files.ErrorStatus()); in collectEmbedddedApexKeysFromDir()63 return StatusOr<std::vector<KeyPair>>::MakeError( in collectEmbedddedApexKeysFromDir()110 return StatusOr<const std::string>::MakeError( in getApexKey()
88 return StatusOr<ApexSession>::MakeError(sessionPath.ErrorMessage()); in CreateSession()99 return StatusOr<ApexSession>::MakeError("Failed to open " + path); in GetSessionFromFile()103 return StatusOr<ApexSession>::MakeError("Failed to parse " + path); in GetSessionFromFile()158 return StatusOr<std::optional<ApexSession>>::MakeError( in GetActiveSession()
72 static StatusOr MakeError(const std::string& msg) { in MakeError() function75 static StatusOr MakeError(const Status& status) { in MakeError() function
58 return StatusT::MakeError(StringLog() << "Failed to open " << path); in CalculateSha512()64 return StatusT::MakeError(StringLog() << "Failed to read " << path); in CalculateSha512()88 return StatusT::MakeError(PStringLog() << "Failed to read " << file_path); in ReadSha512()
306 return StatusOr<DmVerityDevice>::MakeError( in createVerityDevice()313 return StatusOr<DmVerityDevice>::MakeError( in createVerityDevice()458 return StatusM::MakeError(readAheadStatus); in mountNonFlattened()469 return StatusM::MakeError(deviceStatus); in mountNonFlattened()477 return StatusM::MakeError(verityStatus); in mountNonFlattened()541 return StatusM::MakeError(exists.ErrorStatus()); in MountPackageImpl()761 return StatusOr<std::vector<ApexFile>>::MakeError("Empty set of inputs"); in verifyPackages()770 return StatusT::MakeError(status); in verifyPackages()787 return StatusOr<ApexFile>::MakeError(scan.ErrorMessage()); in verifySessionDir()791 return StatusOr<ApexFile>::MakeError( in verifySessionDir()[all …]
96 return StatusOr<std::string>::MakeError(PStringLog() << "Fail to read"); in GetProperty()145 return StatusOr<inode_t>::MakeError(PStringLog() << "stat failed"); in inodeFor()175 auto Error = [](auto e) { return StatusOr<MountedApexData>::MakeError(e); }; in resolveMountInfo()
132 return StatusOr<bool>::MakeError(status.exceptionMessage().c_str()); in IsActive()142 return StatusOr<std::vector<ApexInfo>>::MakeError( in GetAllPackages()153 return StatusOr<std::vector<ApexInfo>>::MakeError( in GetActivePackages()168 return StatusOr<std::vector<ApexInfo>>::MakeError( in GetInactivePackages()179 return StatusOr<ApexInfo>::MakeError(status.exceptionMessage().c_str()); in GetActivePackage()224 return StatusOr<std::vector<ApexInfo>>::MakeError( in GetFactoryPackages()
53 static ErrorOr<T> MakeError(const std::string& message) { in MakeError() function67 inline ErrorOr<T> MakeError(const std::string& message) { in MakeError() function68 return ErrorOr<T>::MakeError(message); in MakeError()
43 return MakeError<T>(error.error()); in JsonStringToMessage()
52 return MakeError<std::string>(status.error_message().as_string()); in MessageToJsonString()65 return MakeError<std::monostate>(status.error_message().as_string()); in JsonStringToMessage()68 return MakeError<std::monostate>("Fail to parse."); in JsonStringToMessage()
214 return MakeError<std::string>(res.error()); in FormatJson()