No description
Find a file
Sami Tolvanen 90221205a3 Support resuming block based OTAs
Add support for transfer list version 3, which allows us to
verify the status of each command and resume an interrupted
block based OTA update. Notes on the changes:

 - Move the previous BlockImageUpdateFn to a shorter and
   reusable PerformBlockImageUpdate, which can be used also
   in BlockImageVerifyFn for verification.

 - Split individual transfer list commands into separate
   functions with unified parameters for clarity, and use
   a hash table to locate them during execution.

 - Move common block reading and writing to ReadBlocks and
   WriteBlocks to reduce code duplication, and rename the
   readblock and writeblock to less confusing read_all and
   write_all.

The coding style of the new functions follows the existing
style in the updater/edify code.

Needs matching changes from
  Ia5c56379f570047f10f0aa7373a1025439495c98

Bug: 18262110
Change-Id: I1e752464134aeb2d396946348e6041acabe13942
2015-01-30 14:38:31 +00:00
applypatch am dab56cac: Merge "Add missing includes." 2015-01-28 20:48:30 +00:00
edify Remove an uninitialized value. 2014-12-18 22:50:08 +00:00
etc Bump up max_map_count value. 2015-01-08 16:02:46 -08:00
fonts more font improvements and cleanup 2013-03-07 13:34:24 -08:00
minadbd Merge "Start losing code to libadb." 2015-01-27 00:51:09 +00:00
minui Byte swap to support BGRA in recovery mode 2014-11-14 12:00:18 -08:00
minzip Force sync files written by minzip. 2014-10-28 19:49:57 -07:00
mtdutils Use getmntent when accessing /proc/mounts. 2015-01-02 14:00:13 -08:00
res-hdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-mdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-xhdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-xxhdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-xxxhdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
testdata Add support for ECDSA signatures 2013-10-10 14:19:19 -07:00
tests More test makefile cleanup. 2014-10-17 01:05:08 +00:00
tools Recovery 64-bit compile issues 2014-03-14 13:51:39 -07:00
uncrypt am 538d7d83: Merge "Fix missing #includes in bootable/recovery." 2014-12-30 12:29:31 +00:00
updater Support resuming block based OTAs 2015-01-30 14:38:31 +00:00
adb_install.cpp refactor fuse sideloading code 2014-07-10 10:55:07 -07:00
adb_install.h support "sideload over ADB" mode 2012-01-10 10:18:17 -08:00
Android.mk Merge "Start losing code to libadb." 2015-01-27 00:51:09 +00:00
asn1_decoder.cpp Add missing includes. 2015-01-28 12:09:05 -08:00
asn1_decoder.h Add support for ECDSA signatures 2013-10-10 14:19:19 -07:00
bootloader.cpp Move to using the new unified fstab in recovery. 2013-02-19 17:37:22 -08:00
bootloader.h add the functions for multi-stage packages to updater 2013-11-26 15:46:57 -08:00
CleanSpec.mk recovery: minui: add adf backend 2014-04-25 15:47:34 -07:00
common.h recovery: turn on text display for install errors in debug builds 2013-05-21 11:18:38 -07:00
default_device.cpp Make /cache/recovery/last_log available in recovery 2014-10-22 21:43:08 -07:00
device.h Make /cache/recovery/last_log available in recovery 2014-10-22 21:43:08 -07:00
fuse_sdcard_provider.c do sdcard sideloading through the fuse filesystem 2014-07-10 10:58:35 -07:00
fuse_sdcard_provider.h do sdcard sideloading through the fuse filesystem 2014-07-10 10:58:35 -07:00
fuse_sideload.c Use the correct fuse_init_out structure size. 2014-09-17 17:10:41 -07:00
fuse_sideload.h refactor fuse sideloading code 2014-07-10 10:55:07 -07:00
install.cpp Add missing includes. 2015-01-28 12:09:05 -08:00
install.h sideload without holding the whole package in RAM 2014-07-02 12:16:36 -07:00
interlace-frames.py update tools for making recovery images 2014-03-11 12:39:33 -07:00
NOTICE Automated import from //branches/master/...@140824,140824 2009-03-24 18:36:42 -07:00
recovery.cpp Add basic navigation controls to log viewer. 2014-12-10 05:18:05 +00:00
roots.cpp Merge "Erase PST partition if its marked to be erased." into lmp-dev 2014-08-05 00:34:22 +00:00
roots.h Erase PST partition if its marked to be erased. 2014-08-06 09:58:55 -07:00
screen_ui.cpp restore holo UI in recovery 2014-06-06 09:01:57 -07:00
screen_ui.h restore holo UI in recovery 2014-06-06 09:01:57 -07:00
ui.cpp am 54a61179: am cfd4b286: Merge "recovery: initialize keys press tracking status" 2014-06-06 16:00:20 +00:00
ui.h disable async reboot during package installation 2014-05-23 08:52:31 -07:00
verifier.cpp Add missing includes. 2015-01-28 12:09:05 -08:00
verifier.h do verification and extraction on memory, not files 2014-01-16 13:29:28 -08:00
verifier_test.cpp Add missing <string.h> include. 2015-01-24 22:21:24 -08:00
verifier_test.sh Add support for ECDSA signatures 2013-10-10 14:19:19 -07:00