Lines Matching refs:Result
43 using android::base::Result;
57 Result<ApexFile> ApexFile::Open(const std::string& path) { in Open()
110 Result<ApexManifest> manifest = ParseManifest(manifest_content); in Open()
152 Result<std::unique_ptr<AvbFooter>> getAvbFooter(const ApexFile& apex, in getAvbFooter()
184 Result<std::string> getPublicKeyName(const ApexFile& apex, const uint8_t* data, in getPublicKeyName()
202 Result<void> verifyVbMetaSignature(const ApexFile& apex, const uint8_t* data, in verifyVbMetaSignature()
227 Result<std::string> key_name = getPublicKeyName(apex, data, length); in verifyVbMetaSignature()
232 Result<const std::string> public_key = getApexKey(*key_name); in verifyVbMetaSignature()
248 Result<std::unique_ptr<uint8_t[]>> verifyVbMeta(const ApexFile& apex, in verifyVbMeta()
262 Result<void> st = in verifyVbMeta()
271 Result<const AvbHashtreeDescriptor*> findDescriptor(uint8_t* vbmeta_data, in findDescriptor()
300 Result<std::unique_ptr<AvbHashtreeDescriptor>> verifyDescriptor( in verifyDescriptor()
314 Result<ApexVerityData> ApexFile::VerifyApexVerity() const { in VerifyApexVerity()
322 Result<std::unique_ptr<AvbFooter>> footer = getAvbFooter(*this, fd); in VerifyApexVerity()
327 Result<std::unique_ptr<uint8_t[]>> vbmeta_data = in VerifyApexVerity()
333 Result<const AvbHashtreeDescriptor*> descriptor = in VerifyApexVerity()
339 Result<std::unique_ptr<AvbHashtreeDescriptor>> verifiedDescriptor = in VerifyApexVerity()
357 Result<void> ApexFile::VerifyManifestMatches( in VerifyManifestMatches()
359 Result<ApexManifest> verifiedManifest = in VerifyManifestMatches()
373 Result<std::vector<std::string>> FindApexes( in FindApexes()
393 Result<std::vector<std::string>> FindApexFilesByName(const std::string& path) { in FindApexFilesByName()