Home
last modified time | relevance | path

Searched refs:update (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/updater_sample/
DREADME.md7 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/
DUpdateManager.java341 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()