summaryrefslogtreecommitdiffstats
path: root/updater/blockimg.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Track libziparchive API change.Elliott Hughes2019-05-061-2/+2
* Fix potential size overflow in blockimg.cppxunchang2019-01-171-3/+5
* updater: add functions to modify dynamic partition metadataYifan Hong2019-01-141-9/+52
* Create stash dir recursively.Yifan Hong2019-01-121-1/+2
* updater: erase ignores EOPNOTSUPP for BLKDISCARDYifan Hong2019-01-051-11/+10
* updater: Error out on underrun during patching.Tao Bao2018-11-051-1/+4
* Use only signed/unsigned numbers with ParseInt/ParseUint respectivelyTom Cherry2018-10-051-1/+1
* Enable c++17 in recovery_defaults.Tao Bao2018-08-281-23/+23
* Remove otafaultTianjie Xu2018-08-281-70/+46
* Add an updater function to compute hash treeTianjie Xu2018-08-061-18/+123
* applypatch: Consolidate CacheSizeCheck() and MakeFreeSpaceOnCache().Tao Bao2018-07-131-3/+3
* edify: Remove VAL_INVALID and move ValueType into Value class.Tao Bao2018-07-101-10/+11
* updater: Add ABORT command.Tao Bao2018-07-071-0/+7
* No longer print hash for stashed blocks during verification of retryTianjie Xu2018-07-031-1/+3
* updater: Defer the creation of the new data writer.Tao Bao2018-06-181-24/+24
* updater: Drop the 'overlap' parameter in LoadSrcTgtVersion3().Tao Bao2018-06-081-12/+10
* updater: Remove the redundant check on line count.Tao Bao2018-06-071-9/+3
* updater: Replace the reference arguments with pointers.Tao Bao2018-06-051-102/+101
* tests: Add ResumableUpdaterTest.Tao Bao2018-06-041-0/+1
* updater: Drop the 'blocks' parameter in LoadStash().Tao Bao2018-05-311-15/+8
* updater: Add Commmand class to manage BBOTA commands.Tao Bao2018-05-261-63/+54
* updater: Use a bool to indicate if allowed to skip a command.Tao Bao2018-05-221-22/+17
* updater: Clean up the header lines computation.Tao Bao2018-05-211-6/+4
* Last command file should be updated after a command finishesTianjie Xu2018-05-161-11/+7
* Merge "updater: Skip an updated partition on retry."Tao Bao2018-05-081-39/+77
|\
| * updater: Skip an updated partition on retry.Tao Bao2018-05-081-39/+77
* | updater: Fix an issue when resuming an update.Tao Bao2018-05-081-3/+6
|/
* Rename CacheLocation to Paths.Tao Bao2018-04-261-16/+12
* updater: Remove an unneeded strdup().Tao Bao2018-04-251-1/+1
* applypatch: Drop the SHA_CTX parameter in Apply{BSDiff,Image}Patch.Tao Bao2018-04-201-3/+2
* Add a singleton CacheLocation to replace the hard coded locationsTianjie Xu2018-02-281-4/+5
* Fix the behavior of undefined commands in BlockImageVerifyTianjie Xu2018-02-281-2/+4
* Log the last command to cacheTianjie Xu2018-02-071-9/+172
* Avoid overwrite of the error message in AbortFnTianjie Xu2018-01-291-9/+9
* applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch.Tao Bao2017-11-101-2/+2
* otautil: Remove the aborts in RangeSet::Parse().Tao Bao2017-11-071-1/+19
* Finish the new data receiver when update failsTianjie Xu2017-10-201-16/+41
* Move rangeset.h and print_sha1.h into otautil.Tao Bao2017-10-111-2/+2
* Revert "Revert "Move error_code.h into otautil.""Tao Bao2017-10-091-1/+1
* Revert "Move error_code.h into otautil."Tao Bao2017-10-051-1/+1
* Move error_code.h into otautil.Tao Bao2017-10-041-1/+1
* otafault: Move headers under otafault/.Tao Bao2017-09-291-1/+1
* Move Image/ImageChunk/PatchChunk declaration into header filesTianjie Xu2017-08-191-1/+1
* Fix a case when brotli writer fails to write last few blocks of dataTianjie Xu2017-07-211-94/+81
* Add support to decompress brotli compressed new dataTianjie Xu2017-07-081-32/+143
* Retry the update if ApplyBSDiffPatch | ApplyImagePatch failsTianjie Xu2017-05-241-0/+2
* Abort the update if there's not enough new dataTianjie Xu2017-04-081-4/+26
* Change the internal representation in RangeSet.Tao Bao2017-04-031-205/+187
* updater: Keep the parsed parameters in std::unique_ptr.Tao Bao2017-03-311-160/+157
* Move parse_range() and range_overlaps() into RangeSet.Tao Bao2017-03-311-110/+18
* Merge "updater: Move RangeSinkWrite into RangeSinkState."Tao Bao2017-03-311-164/+146
|\
| * updater: Move RangeSinkWrite into RangeSinkState.Tao Bao2017-03-291-164/+146
* | updater: Don't append newline when calling uiPrint().Tao Bao2017-03-301-1/+2
|/
* applypatch: Let Apply{BSDiff,Image}Patch accept std::function.Tao Bao2017-03-281-75/+76
* applypatch: Change the ssize_t length parameters to size_t.Tao Bao2017-03-281-41/+40
* updater: Clean up LoadSrcTgtVersion2().Tao Bao2017-03-281-146/+143
* Merge "updater: Remove some redundant arguments."Tao Bao2017-03-261-78/+65
|\
| * updater: Remove some redundant arguments.Tao Bao2017-03-241-78/+65
* | Merge "updater: Drop the support for BBOTA v1 and v2."Tao Bao2017-03-251-398/+330
|\|
| * updater: Drop the support for BBOTA v1 and v2.Tao Bao2017-03-241-398/+330
* | Merge "Removed C-style casts"Tao Bao2017-03-241-1/+1
|\ \ | |/ |/|
| * Removed C-style castsMikhail Lappo2017-03-231-1/+1
* | Redundant checking of STL container elementMikhail Lappo2017-03-231-3/+1
|/
* Remove malloc in edify functionsTianjie Xu2017-03-221-13/+41
* Fix the permission of stashed blocks created by updaterTianjie Xu2017-03-221-0/+12
* Revert "Revert "Print SHA-1 in hex for corrupted blocks""Tianjie Xu2017-03-171-6/+140
* updater: Minor clean up to EnumerateStash().Tao Bao2017-03-161-73/+50
* Revert "Print SHA-1 in hex for corrupted blocks"Tao Bao2017-03-151-140/+3
* Print SHA-1 in hex for corrupted blocksTianjie Xu2017-03-131-3/+140
* Replace _exit(-1) with _exit(EXIT_FAILURE).Tao Bao2017-02-031-1/+1
* Merge "updater: Clean up CreateStash()."Tao Bao2017-01-051-83/+84
|\
| * updater: Clean up CreateStash().Tao Bao2016-12-291-84/+85
* | updater: Refactor parse_range().Tao Bao2017-01-041-74/+63
|/
* updater: Fix the operator order.Tao Bao2016-12-141-1/+1
* updater: Switch to libbase logging.Tao Bao2016-12-011-99/+95
* Cleanup ReadArgs & ReadValueArgs usageTianjie Xu2016-11-011-30/+24
* Replace minzip with libziparchiveTianjie Xu2016-10-181-47/+26
* Change StringValue to use std::stringTianjie Xu2016-10-151-81/+73
* Refactor libupdater into a seperate module.Tao Bao2016-10-111-2/+2
* Check an edge case when read(2) returns 0Tianjie Xu2016-09-011-0/+4
* Check the results from applypatchTianjie Xu2016-06-161-4/+10
|\
| * Check the results from applypatchTianjie Xu2016-06-161-4/+10
* | resolve merge conflicts of 7ce287d to nyc-dev-plus-aospTianjie Xu2016-06-041-7/+52
|\|
| * Call ioctl before each write on retryTianjie Xu2016-06-031-7/+52
* | resolve merge conflicts of 50f6417 to nyc-dev-plus-aospTianjie Xu2016-05-231-28/+56
|\|
| * Allow recovery to return error codesTianjie Xu2016-05-201-27/+54
* | Add time and I/O info to last_installTianjie Xu2016-05-181-0/+12
|\|
| * Add time and I/O info to last_installTianjie Xu2016-05-161-0/+12
| * Skip stashing source blocks in verify modeTianjie Xu2016-03-231-8/+46
| * DO NOT MERGE Control fault injection with config files instead of build flagsJed Estep2016-03-161-1/+1
| * resolve merge conflicts of 7b6027dde4 to master.Tao Bao2016-02-041-10/+9
| |\
| * \ Merge "IO fault injection for OTA packages"Jed Estep2016-01-091-6/+7
| |\ \
| | * | IO fault injection for OTA packagesJed Estep2016-01-061-6/+7
| * | | updater: Add a function to check first blockTianjie Xu2015-12-181-0/+55
| |/ /
| * | Merge "updater: Output msg when recovery is called"Tianjie Xu2015-12-111-1/+4
| |\ \
| | * | updater: Output msg when recovery is calledTianjie Xu2015-12-101-1/+4
* | | | Merge "Fix google-explicit-constructor warnings."Chih-hung Hsieh2016-04-301-1/+1
|\ \ \ \
| * | | | Fix google-explicit-constructor warnings.Chih-Hung Hsieh2016-04-291-1/+1
* | | | | updater: Don't zero out CommandParameters with memset(3).Tao Bao2016-04-271-2/+1
|/ / / /
* | | | Switch to <android-base/unique_fd.h>.Elliott Hughes2016-03-291-25/+17
* | | | Skip stashing source blocks in verify modeTianjie Xu2016-03-251-8/+46
* | | | Control fault injection with config files instead of build flagsJed Estep2016-02-231-1/+1
* | | | IO fault injection for OTA packagesJed Estep2016-02-101-12/+13
| |_|/ |/| |
* | | Switch from mincrypt to BoringSSL in applypatch and updater.Sen Jiang2016-02-041-10/+9
* | | updater: Add a function to check first blockTianjie Xu2016-01-071-0/+55
* | | updater: Output msg when recovery is calledTianjie Xu2015-12-111-1/+4
|/ /
* / updater: Replace strtok() with android::base::Split().Tao Bao2015-12-071-133/+144
|/
* Track rename from base/ to android-base/.Elliott Hughes2015-12-051-2/+2
* updater: Bump up the BBOTA version to 4.Tao Bao2015-10-231-1/+1
* Error correction: Use libfec in blockimg.cpp for recoverySami Tolvanen2015-10-191-0/+76
* updater: Skip empty lines in the transfer list file.Tao Bao2015-09-261-0/+4
* updater: Use android::base::ParseInt() to parse integers.Tao Bao2015-09-241-40/+25
* updater: Manage buffers with std::vector.Tao Bao2015-09-101-228/+168
* updater: Replace the pointers in LoadSrcTgtVersion[1-3]() parameter.Tao Bao2015-09-081-29/+26
* updater: Clean up C codes.Tao Bao2015-09-011-602/+429
* updater: Remove the unused isunresumable in SaveStash().Tao Bao2015-08-261-3/+3
* GOOGLEGMS-749 Fix integer overflow while applying block based OTA packageShrinivas Sahukar2015-08-221-46/+48
* updater: Clean up char* with std::string.Tao Bao2015-08-061-261/+141
* udpater: Call fsync() after rename().Tao Bao2015-08-041-0/+20
* updater: Hoist fsync() to outer loop.Tao Bao2015-07-271-6/+5
* recovery: Switch applypatch/ and updater/ to cpp.Tao Bao2015-07-141-0/+1991