Searched refs:updater (Results 1 – 3 of 3) sorted by relevance
/system/core/fastboot/ |
D | vendor_boot_img_utils.cpp | 197 [[nodiscard]] Result<void> copy_avb_footer(DataUpdater* updater) { in copy_avb_footer() argument 198 if (updater->size() < AVB_FOOTER_SIZE) return {}; in copy_avb_footer() 199 if (auto res = updater->Seek(updater->size() - AVB_FOOTER_SIZE); !res.ok()) return res; in copy_avb_footer() 200 if (memcmp(updater->old_cur(), AVB_FOOTER_MAGIC, AVB_FOOTER_MAGIC_LEN) != 0) return {}; in copy_avb_footer() 201 return updater->Copy(AVB_FOOTER_SIZE); in copy_avb_footer() 222 DataUpdater updater(vendor_boot); in replace_default_vendor_ramdisk() local 225 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() 226 auto new_hdr = reinterpret_cast<vendor_boot_img_hdr_v3*>(updater.new_begin()); in replace_default_vendor_ramdisk() 239 if (auto res = updater.Replace(hdr->vendor_ramdisk_size, new_ramdisk); !res.ok()) in replace_default_vendor_ramdisk() 242 if (auto res = updater.Skip(p - hdr->vendor_ramdisk_size, new_p - new_hdr->vendor_ramdisk_size); in replace_default_vendor_ramdisk() [all …]
|
/system/update_engine/ |
D | README.md | 60 When the device's updater client initiates an update (either periodically or user 66 Once policies allow for the update check, the updater client sends a request to 77 payloads, the metadata signatures, the payload size and hash, etc. The updater 88 operations. The updater client first downloads the metadata and 93 Next, the updater client marks the inactive partition as unbootable (because it 97 Then, the updater client performs the operations defined in the metadata (in the 101 payload before applying it. During this process the updater client periodically 106 During the download, the updater client hashes the downloaded bytes and when the 112 After the inactive partition is updated, the updater client will compute 131 Then the updater client goes into a state that identifies the update has [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_metadata_updater_test.cpp | 81 SnapshotMetadataUpdater updater(builder_.get(), target_slot_, manifest_); in UpdateAndExport() local 82 if (!updater.Update()) { in UpdateAndExport()
|