Searched refs:update (Results 1 – 8 of 8) sorted by relevance
/bootable/recovery/updater_sample/ |
D | README.md | 7 A/B (seamless) update is available since Android Nougat (API 24), but this sample 14 to select an update and apply it to the device. App shows installation progress, 15 logs can be found in `adb logcat`. User can stop or reset an update. Resetting 16 the update requests update engine to cancel any ongoing update, and revert 17 if the update has been applied. Stopping does not revert the applied update. 22 In this sample updates are defined in JSON update config files. 27 In real-life update system the config files expected to be served from a server 39 opposed to the entire package, to initiate a streaming update. The `payload.bin` 56 UpdateEngine provides status for different stages of update application 57 process. But it lacks of proper status codes when update fails. [all …]
|
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/ |
D | UpdateManager.java | 341 private void updateEngineApplyPayload(UpdateData update) { in updateEngineApplyPayload() argument 342 Log.d(TAG, "updateEngineApplyPayload invoked with url " + update.mPayload.getUrl()); in updateEngineApplyPayload() 345 mLastUpdateData = update; in updateEngineApplyPayload() 348 ArrayList<String> properties = new ArrayList<>(update.getPayload().getProperties()); in updateEngineApplyPayload() 349 properties.addAll(update.getExtraProperties()); in updateEngineApplyPayload() 353 update.getPayload().getUrl(), in updateEngineApplyPayload() 354 update.getPayload().getOffset(), in updateEngineApplyPayload() 355 update.getPayload().getSize(), in updateEngineApplyPayload()
|
/bootable/libbootloader/gbl/libgbl/src/ |
D | digest.rs | 50 fn update(&mut self, input: &[u8]); in update() method
|
/bootable/libbootloader/gbl/libstorage/src/ |
D | gpt.rs | 286 hasher.update(&header.as_bytes()[..crc32_offset]); in validate_gpt() 287 hasher.update(&[0u8; size_of::<u32>()]); in validate_gpt() 288 hasher.update(&header.as_bytes()[crc32_offset + size_of::<u32>()..]); in validate_gpt() 412 hasher.update(data); in crc32()
|
D | non_blocking.rs | 297 fn update(&mut self, io: &mut dyn NonBlockingBlockIo) { in update() method 391 Some(buffer) => buffer.update(*io), in update_status()
|
D | testlib.rs | 498 h.update(e.as_bytes()); in partitions_to_disk_data()
|
/bootable/libbootloader/gbl/libgbl/src/slots/ |
D | android.rs | 210 hasher.update(&self.as_bytes()[..(size_of::<Self>() - size_of::<LittleEndianU32>())]); in calculate_crc32()
|
D | fuchsia.rs | 115 hasher.update(&self.as_bytes()[..(size_of::<Self>() - size_of::<BigEndianU32>())]); in calculate_crc32()
|