summaryrefslogtreecommitdiffstats
path: root/applypatch/applypatch.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2019-03-28Fix bogus error checking on unique_fdBernie Innocenti1-1/+1
2018-08-31applypatch: {Load,Save}FileContents return bool values.Tao Bao1-13/+13
2018-08-31applypatch: Refactor applypatch().Tao Bao1-276/+164
2018-08-28Remove otafaultTianjie Xu1-104/+46
2018-07-20applypatch: Change applypatch command-line arguments.Tao Bao1-7/+3
2018-07-13applypatch: Consolidate CacheSizeCheck() and MakeFreeSpaceOnCache().Tao Bao1-10/+2
2018-07-12applypatch: Fix the return type of FreeSpaceForFile().Tao Bao1-10/+0
2018-07-11Remove the debug code for bspatch flakinessTianjie Xu1-13/+0
2018-07-10edify: Remove VAL_INVALID and move ValueType into Value class.Tao Bao1-1/+1
2018-07-10applypatch: Restrict applypatch_check to eMMC targets.Tao Bao1-10/+12
2018-07-10applypatch: Fix a potential nullptr dereferencing.Tao Bao1-4/+7
2018-06-20applypatch: {Load,Save}FileContents and ParseSha1 take std::string.Tao Bao1-13/+14
2018-06-20applypatch: Move to libbase logging.Tao Bao1-72/+75
2018-06-20applypatch: Clean up the function comments.Tao Bao1-106/+57
2018-04-27Save the target file when applypatch tests failTianjie Xu1-0/+8
2018-04-26Rename CacheLocation to Paths.Tao Bao1-5/+5
2018-04-24Dump debug information for apply_patch unit testsTianjie Xu1-0/+5
2018-04-20applypatch: Drop the SHA_CTX parameter in Apply{BSDiff,Image}Patch.Tao Bao1-8/+7
2018-04-19applypatch: Dump patch info on mismatching patching result.Tao Bao1-1/+16
2018-04-13Remove the old log files if cache space is insufficient for OTATianjie Xu1-7/+7
2018-02-28Add a singleton CacheLocation to replace the hard coded locationsTianjie Xu1-6/+5
2018-02-13Skip the cache size check on hostTianjie Xu1-3/+2
2017-12-07applypatch: Remove the 'st' field from FileContents.Tao Bao1-15/+3
2017-11-10applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch.Tao Bao1-4/+4
2017-11-03Switch to bionic gtest in bootable/recoveryTianjie Xu1-9/+9
2017-10-11Move rangeset.h and print_sha1.h into otautil.Tao Bao1-1/+1
2017-09-29otafault: Move headers under otafault/.Tao Bao1-1/+1
2017-03-28applypatch: Let Apply{BSDiff,Image}Patch accept std::function.Tao Bao1-14/+10
2017-03-28applypatch: Change the ssize_t length parameters to size_t.Tao Bao1-19/+18
2017-03-16applypatch: Drop the support for patching non-EMMC targets.Tao Bao1-277/+109
2016-12-28applypatch: Don't expose FindMatchingPatch().Tao Bao1-1/+1
2016-12-19Bugfix:updater always retry apply patch failed,when memcpy failed.katao1-0/+11
2016-11-28Remove ota_close(int) and ota_fclose(FILE*).Tao Bao1-2/+2
2016-11-23Add ota_close(unique_fd&) and ota_fclose(std::unique_ptr<FILE>&).Tao Bao1-7/+7
2016-11-21applypatch: Release FD when explicitly calling close.Tao Bao1-5/+5
2016-11-17applypatch: Use unique_fd to avoid leaking FDs.Tao Bao1-282/+270
2016-11-17applypatch: Clean up LoadPartitionContents().Tao Bao1-283/+257
2016-10-29applypatch: Switch the parameter of Value** to std::vector.Tao Bao1-8/+8
2016-10-18Fix applypatch_check failure when applying update on anglerTianjie Xu1-1/+1
2016-10-15Change StringValue to use std::stringTianjie Xu1-16/+12
2016-09-01Check an edge case when read(2) returns 0Tianjie Xu1-0/+3
2016-06-10Remove obsolete MTD support.Elliott Hughes1-207/+101
2016-04-18Fix google-runtime-int warnings.Chih-Hung Hsieh1-1/+1
2016-03-19Control fault injection with config files instead of build flagsJed Estep1-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-03-11applypatch: use vector to store data in FileContents.Yabin Cui1-72/+33
2016-03-03Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES.Tao Bao1-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-12applypatch: use vector to store data in FileContents.Yabin Cui1-71/+32
2016-02-10IO fault injection for OTA packagesJed Estep1-26/+27
2016-02-05applypatch: fix memory leaks reported by static analysis.Yabin Cui1-96/+83
2016-02-04Switch from mincrypt to BoringSSL in applypatch and updater.Sen Jiang1-24/+23
2016-01-06IO fault injection for OTA packagesJed Estep1-24/+25
2015-12-05Track rename from base/ to android-base/.Elliott Hughes1-1/+1
2015-11-16applypatch: Fix the checking in WriteToPartition().Tao Bao1-3/+4
2015-11-16applypatch: Support flash mode.Tao Bao1-12/+72
2015-11-16applypatch: Refactor strtok().Tao Bao1-83/+53
2015-11-16DO NOT MERGE recovery: Switch applypatch/ and updater/ to cpp.Tao Bao1-89/+66
2015-07-14recovery: Switch applypatch/ and updater/ to cpp.Tao Bao1-1048/+0
2015-07-14recovery: Switch applypatch/ and updater/ to cpp.Tao Bao1-1048/+0
2015-06-26Use f_bavail to calculate free spacecaozhiyuan1-1/+1
2015-05-29Use f_bavail to calculate free spacecaozhiyuan1-1/+1
2015-04-30Check all lseek calls succeed.Elliott Hughes1-24/+27
2015-04-30Check all lseek calls succeed.Elliott Hughes1-24/+27
2014-10-29Use more aggressive sync writing to applypatch.Michael Runge1-8/+36
2014-08-20installer for new block OTA systemDoug Zongker1-3/+3
2014-08-19installer for new block OTA systemDoug Zongker1-3/+3
2014-03-14Recovery 64-bit compile issuesMark Salyzyn1-6/+6
2014-02-14remove 'retouch' ASLR supportDoug Zongker1-27/+8
2013-12-20fix unnecessarily slow writing of EMMC partitionsDoug Zongker1-15/+3
2013-09-25verifier: update to support certificates using SHA-256Doug Zongker1-1/+1
2013-07-11recovery: remove O_DIRECT, use O_SYNC onlyDoug Zongker1-2/+2
2013-07-11recovery: more cargo-cult programmingDoug Zongker1-2/+2
2013-07-11recovery: sleep after writing partition and closing itDoug Zongker1-2/+7
2013-07-10recovery: sleep after writing partition and closing itDoug Zongker1-2/+7
2013-07-10recovery: write partitions more conservativelyDoug Zongker1-24/+46
2013-07-10recovery: try to write EMMC partitions more reliablyDoug Zongker1-6/+72
2013-07-09recovery: write partitions more conservativelyDoug Zongker1-24/+46
2013-07-08recovery: try to write EMMC partitions more reliablyDoug Zongker1-6/+72
2013-04-10verifier: update to support certificates using SHA-256Doug Zongker1-1/+1
2012-10-19reduce some recovery loggingDoug Zongker1-6/+21
2012-08-21add bonus data feature to imgdiff/imgpatch/applypatchDoug Zongker1-5/+8
2012-06-27Add mode when open(O_CREAT) is used.Nick Kralevich1-2/+2
2012-02-28fix buildDoug Zongker1-1/+1
2012-02-28fix failure to free memoryDoug Zongker1-18/+44
2010-09-15(cherry-pick) EMMC support in applypatchDoug Zongker1-102/+175
2010-08-13fix bug in applying patchesDoug Zongker1-1/+1
2010-08-13remove shadowed variable declarationDoug Zongker1-1/+2
2010-08-13remove shadowed variable declarationDoug Zongker1-1/+2
2010-08-13fix bug in applying patchesDoug Zongker1-1/+1
2010-08-02Working ASLR implementationHristo Bojinov1-10/+32
2010-07-08EMMC support in applypatchDoug Zongker1-102/+175
2010-02-23refactor applypatch and friendsDoug Zongker1-722/+637
2010-02-18relocate applypatch; add type system and new functions to edifyDoug Zongker1-0/+900