summaryrefslogtreecommitdiffstats
path: root/updater/blockimg.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2017-07-22Fix a case when brotli writer fails to write last few blocks of dataTianjie Xu1-94/+81
2017-07-08Add support to decompress brotli compressed new dataTianjie Xu1-32/+143
2017-05-24Retry the update if ApplyBSDiffPatch | ApplyImagePatch failsTianjie Xu1-0/+2
2017-04-08Abort the update if there's not enough new dataTianjie Xu1-4/+26
2017-04-03Change the internal representation in RangeSet.Tao Bao1-205/+187
2017-03-31updater: Keep the parsed parameters in std::unique_ptr.Tao Bao1-160/+157
2017-03-31Move parse_range() and range_overlaps() into RangeSet.Tao Bao1-110/+18
2017-03-30updater: Don't append newline when calling uiPrint().Tao Bao1-1/+2
2017-03-29updater: Move RangeSinkWrite into RangeSinkState.Tao Bao1-164/+146
2017-03-28applypatch: Let Apply{BSDiff,Image}Patch accept std::function.Tao Bao1-75/+76
2017-03-28applypatch: Change the ssize_t length parameters to size_t.Tao Bao1-41/+40
2017-03-28updater: Clean up LoadSrcTgtVersion2().Tao Bao1-146/+143
2017-03-24updater: Remove some redundant arguments.Tao Bao1-78/+65
2017-03-24updater: Drop the support for BBOTA v1 and v2.Tao Bao1-398/+330
2017-03-23Removed C-style castsMikhail Lappo1-1/+1
2017-03-23Redundant checking of STL container elementMikhail Lappo1-3/+1
2017-03-22Remove malloc in edify functionsTianjie Xu1-13/+41
2017-03-22Fix the permission of stashed blocks created by updaterTianjie Xu1-0/+12
2017-03-17Revert "Revert "Print SHA-1 in hex for corrupted blocks""Tianjie Xu1-6/+140
2017-03-16updater: Minor clean up to EnumerateStash().Tao Bao1-73/+50
2017-03-15Revert "Print SHA-1 in hex for corrupted blocks"Tao Bao1-140/+3
2017-03-15Revert "Print SHA-1 in hex for corrupted blocks"Tao Bao1-140/+3
2017-03-13Print SHA-1 in hex for corrupted blocksTianjie Xu1-3/+140
2017-02-03Replace _exit(-1) with _exit(EXIT_FAILURE).Tao Bao1-1/+1
2017-01-04updater: Refactor parse_range().Tao Bao1-74/+63
2016-12-29updater: Clean up CreateStash().Tao Bao1-84/+85
2016-12-14updater: Fix the operator order.Tao Bao1-1/+1
2016-12-01updater: Switch to libbase logging.Tao Bao1-99/+95
2016-11-01Cleanup ReadArgs & ReadValueArgs usageTianjie Xu1-30/+24
2016-10-18Replace minzip with libziparchiveTianjie Xu1-47/+26
2016-10-15Change StringValue to use std::stringTianjie Xu1-81/+73
2016-10-11Refactor libupdater into a seperate module.Tao Bao1-2/+2
2016-09-01Check an edge case when read(2) returns 0Tianjie Xu1-0/+4
2016-06-16Check the results from applypatchTianjie Xu1-4/+10
2016-06-03Call ioctl before each write on retryTianjie Xu1-7/+52
2016-05-20Allow recovery to return error codesTianjie Xu1-27/+54
2016-05-16Add time and I/O info to last_installTianjie Xu1-0/+12
2016-04-29Fix google-explicit-constructor warnings.Chih-Hung Hsieh1-1/+1
2016-04-27updater: Don't zero out CommandParameters with memset(3).Tao Bao1-2/+1
2016-03-29Switch to <android-base/unique_fd.h>.Elliott Hughes1-25/+17
2016-03-25Skip stashing source blocks in verify modeTianjie Xu1-8/+46
2016-03-23Skip stashing source blocks in verify modeTianjie Xu1-8/+46
2016-03-19Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-03-18Revert "DO NOT MERGE Control fault injection with config files instead of build flags"Tao Bao1-1/+1
2016-03-17Revert "DO NOT MERGE Control fault injection with config files instead of build flags"Tao Bao1-1/+1
2016-03-16DO NOT MERGE Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-02-23Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-02-20Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-02-10IO fault injection for OTA packagesJed Estep1-12/+13
2016-02-04Switch from mincrypt to BoringSSL in applypatch and updater.Sen Jiang1-10/+9
2016-01-07updater: Add a function to check first blockTianjie Xu1-0/+55
2016-01-06IO fault injection for OTA packagesJed Estep1-6/+7
2015-12-18updater: Add a function to check first blockTianjie Xu1-0/+55
2015-12-11updater: Output msg when recovery is calledTianjie Xu1-1/+4
2015-12-10updater: Output msg when recovery is calledTianjie Xu1-1/+4
2015-12-07updater: Replace strtok() with android::base::Split().Tao Bao1-133/+144
2015-12-05Track rename from base/ to android-base/.Elliott Hughes1-2/+2
2015-11-16DO NOT MERGE recovery: Switch applypatch/ and updater/ to cpp.Tao Bao1-17/+14
2015-11-16Add error and range checks to parse_rangeSami Tolvanen1-10/+71
2015-08-04udpater: Call fsync() after rename().Tao Bao1-0/+20
2015-07-14recovery: Switch applypatch/ and updater/ to cpp.Tao Bao1-1994/+0
2015-07-14recovery: Switch applypatch/ and updater/ to cpp.Tao Bao1-1994/+0
2015-07-11Revert "Zero blocks before BLKDISCARD"Tao Bao1-17/+1
2015-07-01Revert "Zero blocks before BLKDISCARD"Tao Bao1-17/+1
2015-06-26More accurate checking for overlapped ranges.Tao Bao1-1/+1
2015-06-26More accurate checking for overlapped ranges.Tao Bao1-1/+1
2015-06-10Zero blocks before BLKDISCARDSami Tolvanen1-1/+17
2015-06-10Revert "Zero blocks before BLKDISCARD"Sami Tolvanen1-5/+9
2015-06-10Zero blocks before BLKDISCARDSami Tolvanen1-1/+17
2015-06-10Revert "Zero blocks before BLKDISCARD"Sami Tolvanen1-5/+9
2015-06-10Revert "Zero blocks before BLKDISCARD"Sami Tolvanen1-5/+9
2015-06-09Zero blocks before BLKDISCARDSami Tolvanen1-9/+5
2015-06-09Zero blocks before BLKDISCARDSami Tolvanen1-9/+5
2015-05-29Really don't use TEMP_FAILURE_RETRY with close in recovery.Elliott Hughes1-1/+1
2015-05-29Handle BLKDISCARD failuresSami Tolvanen1-2/+1
2015-05-29Really don't use TEMP_FAILURE_RETRY with close in recovery.Elliott Hughes1-1/+1
2015-05-28Handle BLKDISCARD failuresSami Tolvanen1-2/+1
2015-05-16Don't use TEMP_FAILURE_RETRY on close in recovery.Elliott Hughes1-2/+2
2015-05-16Don't use TEMP_FAILURE_RETRY on close in recovery.Elliott Hughes1-2/+2
2015-05-15Add error and range checks to parse_rangeSami Tolvanen1-10/+71
2015-04-30Check all lseek calls succeed.Elliott Hughes1-28/+20
2015-04-30Check all lseek calls succeed.Elliott Hughes1-28/+20
2015-04-17Don't remove existing explicitly stashed blocksSami Tolvanen1-10/+28
2015-03-23Always use strerror to report errno in recovery.Elliott Hughes1-19/+20
2015-03-11updater: Check the return value from ApplyImagePatch / ApplyBSDiffPatchTao Bao1-14/+28
2015-02-23Fix a printf format warning.Narayan Kamath1-1/+1
2015-02-18Initialize stashbase even stash_max_blocks = 0Jesse Zhao1-1/+1
2015-01-30Support resuming block based OTAsSami Tolvanen1-346/+1460
2014-09-26support for version 2 of block image diffsDoug Zongker1-45/+209
2014-09-08support for version 2 of block image diffsDoug Zongker1-45/+209
2014-09-04fix comment in blockimg updater codeDoug Zongker1-3/+3
2014-09-04use lseek64 instead of lseekAndrew Boie1-11/+11
2014-08-21fix two bugs in block image updaterDoug Zongker1-18/+32
2014-08-21fix two bugs in block image updaterDoug Zongker1-18/+32
2014-08-20installer for new block OTA systemDoug Zongker1-0/+631
2014-08-19installer for new block OTA systemDoug Zongker1-0/+631