Home
last modified time | relevance | path

Searched refs:metadata_filename (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/
Dservice_delegate_android_interface.h96 virtual bool VerifyPayloadApplicable(const std::string& metadata_filename,
108 const std::string& metadata_filename,
Dupdate_attempter_android.h79 bool VerifyPayloadApplicable(const std::string& metadata_filename,
82 const std::string& metadata_filename,
182 static bool VerifyPayloadParseManifest(const std::string& metadata_filename,
Dbinder_service_android.h72 const android::String16& metadata_filename, bool* return_value) override;
74 const android::String16& metadata_filename,
Dbinder_service_android.cc176 const android::String16& metadata_filename, bool* return_value) { in verifyPayloadApplicable() argument
178 android::String8{metadata_filename}.string()}; in verifyPayloadApplicable()
205 const android::String16& metadata_filename, in allocateSpaceForPayload() argument
209 android::String8{metadata_filename}.string()}; in allocateSpaceForPayload()
Dupdate_attempter_android.cc407 const std::string& metadata_filename, in VerifyPayloadParseManifest() argument
411 if (!fd->Open(metadata_filename.c_str(), O_RDONLY)) { in VerifyPayloadParseManifest()
413 error, FROM_HERE, "Failed to open " + metadata_filename); in VerifyPayloadParseManifest()
420 "Failed to read payload header from " + metadata_filename); in VerifyPayloadParseManifest()
435 static_cast<uint64_t>(utils::FileSize(metadata_filename))) { in VerifyPayloadParseManifest()
447 "Failed to read metadata and signature from " + metadata_filename); in VerifyPayloadParseManifest()
475 const std::string& metadata_filename, brillo::ErrorPtr* error) { in VerifyPayloadApplicable() argument
478 VerifyPayloadParseManifest(metadata_filename, &manifest, error)); in VerifyPayloadApplicable()
945 const std::string& metadata_filename, in AllocateSpaceForPayload() argument
949 if (!VerifyPayloadParseManifest(metadata_filename, &manifest, error)) { in AllocateSpaceForPayload()