index
:
anonymous/android_bootable_recovery
android-11
android-14.0
android-4.3
android-4.4
android-5.0
android-5.1
android-6.0
android-7.0
android-7.1
android-8.0
android-8.1
android-9.0
Team Win Recovery Project (TWRP)
mirror
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
applypatch
/
applypatch.cpp
(
unfollow
)
Commit message (
Expand
)
Author
Files
Lines
2018-06-20
applypatch: Clean up the function comments.
Tao Bao
1
-106
/
+57
2018-04-27
Save the target file when applypatch tests fail
Tianjie Xu
1
-0
/
+8
2018-04-26
Rename CacheLocation to Paths.
Tao Bao
1
-5
/
+5
2018-04-24
Dump debug information for apply_patch unit tests
Tianjie Xu
1
-0
/
+5
2018-04-20
applypatch: Drop the SHA_CTX parameter in Apply{BSDiff,Image}Patch.
Tao Bao
1
-8
/
+7
2018-04-19
applypatch: Dump patch info on mismatching patching result.
Tao Bao
1
-1
/
+16
2018-04-13
Remove the old log files if cache space is insufficient for OTA
Tianjie Xu
1
-7
/
+7
2018-02-28
Add a singleton CacheLocation to replace the hard coded locations
Tianjie Xu
1
-6
/
+5
2018-02-13
Skip the cache size check on host
Tianjie Xu
1
-3
/
+2
2017-12-07
applypatch: Remove the 'st' field from FileContents.
Tao Bao
1
-15
/
+3
2017-11-10
applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch.
Tao Bao
1
-4
/
+4
2017-11-03
Switch to bionic gtest in bootable/recovery
Tianjie Xu
1
-9
/
+9
2017-10-11
Move rangeset.h and print_sha1.h into otautil.
Tao Bao
1
-1
/
+1
2017-09-29
otafault: Move headers under otafault/.
Tao Bao
1
-1
/
+1
2017-03-28
applypatch: Let Apply{BSDiff,Image}Patch accept std::function.
Tao Bao
1
-14
/
+10
2017-03-28
applypatch: Change the ssize_t length parameters to size_t.
Tao Bao
1
-19
/
+18
2017-03-16
applypatch: Drop the support for patching non-EMMC targets.
Tao Bao
1
-277
/
+109
2016-12-28
applypatch: Don't expose FindMatchingPatch().
Tao Bao
1
-1
/
+1
2016-12-19
Bugfix:updater always retry apply patch failed,when memcpy failed.
katao
1
-0
/
+11
2016-11-28
Remove ota_close(int) and ota_fclose(FILE*).
Tao Bao
1
-2
/
+2
2016-11-23
Add ota_close(unique_fd&) and ota_fclose(std::unique_ptr<FILE>&).
Tao Bao
1
-7
/
+7
2016-11-21
applypatch: Release FD when explicitly calling close.
Tao Bao
1
-5
/
+5
2016-11-17
applypatch: Use unique_fd to avoid leaking FDs.
Tao Bao
1
-282
/
+270
2016-11-17
applypatch: Clean up LoadPartitionContents().
Tao Bao
1
-283
/
+257
2016-10-29
applypatch: Switch the parameter of Value** to std::vector.
Tao Bao
1
-8
/
+8
2016-10-18
Fix applypatch_check failure when applying update on angler
Tianjie Xu
1
-1
/
+1
2016-10-15
Change StringValue to use std::string
Tianjie Xu
1
-16
/
+12
2016-09-01
Check an edge case when read(2) returns 0
Tianjie Xu
1
-0
/
+3
2016-06-10
Remove obsolete MTD support.
Elliott Hughes
1
-207
/
+101
2016-04-18
Fix google-runtime-int warnings.
Chih-Hung Hsieh
1
-1
/
+1
2016-03-19
Control fault injection with config files instead of build flags
Jed Estep
1
-1
/
+1
2016-03-17
Revert "DO NOT MERGE Control fault injection with config files instead of build flags"
Tao Bao
1
-1
/
+1
2016-03-16
DO NOT MERGE Control fault injection with config files instead of build flags
Jed Estep
1
-1
/
+1
2016-03-11
applypatch: use vector to store data in FileContents.
Yabin Cui
1
-72
/
+33
2016-03-03
Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES.
Tao Bao
1
-1
/
+1
2016-02-23
Control fault injection with config files instead of build flags
Jed Estep
1
-1
/
+1
2016-02-20
Control fault injection with config files instead of build flags
Jed Estep
1
-1
/
+1
2016-02-12
applypatch: use vector to store data in FileContents.
Yabin Cui
1
-71
/
+32
2016-02-10
IO fault injection for OTA packages
Jed Estep
1
-26
/
+27
2016-02-05
applypatch: fix memory leaks reported by static analysis.
Yabin Cui
1
-96
/
+83
2016-02-04
Switch from mincrypt to BoringSSL in applypatch and updater.
Sen Jiang
1
-24
/
+23
2016-01-06
IO fault injection for OTA packages
Jed Estep
1
-24
/
+25
2015-12-05
Track rename from base/ to android-base/.
Elliott Hughes
1
-1
/
+1
2015-11-16
applypatch: Fix the checking in WriteToPartition().
Tao Bao
1
-3
/
+4
2015-11-16
applypatch: Support flash mode.
Tao Bao
1
-12
/
+72
2015-11-16
applypatch: Refactor strtok().
Tao Bao
1
-83
/
+53
2015-11-16
DO NOT MERGE recovery: Switch applypatch/ and updater/ to cpp.
Tao Bao
1
-89
/
+66
2015-07-14
recovery: Switch applypatch/ and updater/ to cpp.
Tao Bao
1
-1048
/
+0
2015-07-14
recovery: Switch applypatch/ and updater/ to cpp.
Tao Bao
1
-1048
/
+0
2015-06-26
Use f_bavail to calculate free space
caozhiyuan
1
-1
/
+1
2015-05-29
Use f_bavail to calculate free space
caozhiyuan
1
-1
/
+1
2015-04-30
Check all lseek calls succeed.
Elliott Hughes
1
-24
/
+27
2015-04-30
Check all lseek calls succeed.
Elliott Hughes
1
-24
/
+27
2014-10-29
Use more aggressive sync writing to applypatch.
Michael Runge
1
-8
/
+36
2014-08-20
installer for new block OTA system
Doug Zongker
1
-3
/
+3
2014-08-19
installer for new block OTA system
Doug Zongker
1
-3
/
+3
2014-03-14
Recovery 64-bit compile issues
Mark Salyzyn
1
-6
/
+6
2014-02-14
remove 'retouch' ASLR support
Doug Zongker
1
-27
/
+8
2013-12-20
fix unnecessarily slow writing of EMMC partitions
Doug Zongker
1
-15
/
+3
2013-09-25
verifier: update to support certificates using SHA-256
Doug Zongker
1
-1
/
+1
2013-07-11
recovery: remove O_DIRECT, use O_SYNC only
Doug Zongker
1
-2
/
+2
2013-07-11
recovery: more cargo-cult programming
Doug Zongker
1
-2
/
+2
2013-07-11
recovery: sleep after writing partition and closing it
Doug Zongker
1
-2
/
+7
2013-07-10
recovery: sleep after writing partition and closing it
Doug Zongker
1
-2
/
+7
2013-07-10
recovery: write partitions more conservatively
Doug Zongker
1
-24
/
+46
2013-07-10
recovery: try to write EMMC partitions more reliably
Doug Zongker
1
-6
/
+72
2013-07-09
recovery: write partitions more conservatively
Doug Zongker
1
-24
/
+46
2013-07-08
recovery: try to write EMMC partitions more reliably
Doug Zongker
1
-6
/
+72
2013-04-10
verifier: update to support certificates using SHA-256
Doug Zongker
1
-1
/
+1
2012-10-19
reduce some recovery logging
Doug Zongker
1
-6
/
+21
2012-08-21
add bonus data feature to imgdiff/imgpatch/applypatch
Doug Zongker
1
-5
/
+8
2012-06-27
Add mode when open(O_CREAT) is used.
Nick Kralevich
1
-2
/
+2
2012-02-28
fix build
Doug Zongker
1
-1
/
+1
2012-02-28
fix failure to free memory
Doug Zongker
1
-18
/
+44
2010-09-15
(cherry-pick) EMMC support in applypatch
Doug Zongker
1
-102
/
+175
2010-08-13
fix bug in applying patches
Doug Zongker
1
-1
/
+1
2010-08-13
remove shadowed variable declaration
Doug Zongker
1
-1
/
+2
2010-08-13
remove shadowed variable declaration
Doug Zongker
1
-1
/
+2
2010-08-13
fix bug in applying patches
Doug Zongker
1
-1
/
+1
2010-08-02
Working ASLR implementation
Hristo Bojinov
1
-10
/
+32
2010-07-08
EMMC support in applypatch
Doug Zongker
1
-102
/
+175
2010-02-23
refactor applypatch and friends
Doug Zongker
1
-722
/
+637
2010-02-18
relocate applypatch; add type system and new functions to edify
Doug Zongker
1
-0
/
+900