Searched refs:updater (Results 1 – 3 of 3) sorted by relevance
/system/core/fastboot/ |
D | vendor_boot_img_utils.cpp | 194 [[nodiscard]] Result<void> copy_avb_footer(DataUpdater* updater) { in copy_avb_footer() argument 195 if (updater->size() < AVB_FOOTER_SIZE) return {}; in copy_avb_footer() 196 if (auto res = updater->Seek(updater->size() - AVB_FOOTER_SIZE); !res.ok()) return res; in copy_avb_footer() 197 if (memcmp(updater->old_cur(), AVB_FOOTER_MAGIC, AVB_FOOTER_MAGIC_LEN) != 0) return {}; in copy_avb_footer() 198 return updater->Copy(AVB_FOOTER_SIZE); in copy_avb_footer() 218 DataUpdater updater(vendor_boot); in replace_default_vendor_ramdisk() local 221 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() 222 auto new_hdr = reinterpret_cast<vendor_boot_img_hdr_v3*>(updater.new_begin()); in replace_default_vendor_ramdisk() 235 if (auto res = updater.Replace(hdr->vendor_ramdisk_size, new_ramdisk); !res.ok()) in replace_default_vendor_ramdisk() 238 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 | 48 When the updater client initiates an update (either periodically or user 54 Once policies allow for the update check, the updater client sends a request to 59 payloads, the metadata signatures, the payload size and hash, etc. The updater 67 operations. The updater client first downloads the metadata and 72 Next, the updater client marks the inactive partition as unbootable (because it 76 Then, the updater client performs the operations defined in the metadata (in the 80 payload before applying it. During this process the updater client periodically 85 During the download, the updater client hashes the downloaded bytes and when the 99 Then the updater client goes into a state that identifies the update has 101 reboots (or signs out), the updater client will not do any more system updates [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()
|