Gitiles
Code Review
Sign In
gerrit.twrp.me
/
android_bootable_recovery
/
c51ffee0ff252e334580b90ccc1bc5393a3555dc
/
applypatch
/
applypatch.cpp
341644d
Moving recovery resources from /system to /vendor
by Bill Peckham
· 5 years ago
5234ad4
applypatch: Add backup_source parameter to PatchPartition.
by Tao Bao
· 5 years ago
8bd6f45
Fix bogus error checking on unique_fd
by Bernie Innocenti
· 6 years ago
09e8493
applypatch: {Load,Save}FileContents return bool values.
by Tao Bao
· 6 years ago
5609bc8
applypatch: Refactor applypatch().
by Tao Bao
· 7 years ago
22f1120
Remove otafault
by Tianjie Xu
· 6 years ago
d34e6bc
applypatch: Change applypatch command-line arguments.
by Tao Bao
· 6 years ago
5ee2566
applypatch: Consolidate CacheSizeCheck() and MakeFreeSpaceOnCache().
by Tao Bao
· 6 years ago
49750f1
applypatch: Fix the return type of FreeSpaceForFile().
by Tao Bao
· 6 years ago
7326892
Remove the debug code for bspatch flakiness
by Tianjie Xu
· 6 years ago
511d759
edify: Remove VAL_INVALID and move ValueType into Value class.
by Tao Bao
· 7 years ago
e02cbaa
Merge "applypatch: Restrict applypatch_check to eMMC targets."
by Tao Bao
· 6 years ago
7c1d426
applypatch: Restrict applypatch_check to eMMC targets.
by Tao Bao
· 6 years ago
7ea515e
applypatch: Fix a potential nullptr dereferencing.
by Tao Bao
· 6 years ago
8dc7049
applypatch: {Load,Save}FileContents and ParseSha1 take std::string.
by Tao Bao
· 7 years ago
859bfc5
applypatch: Move to libbase logging.
by Tao Bao
· 7 years ago
155771b
applypatch: Clean up the function comments.
by Tao Bao
· 7 years ago
3f638ee
Save the target file when applypatch tests fail
by Tianjie Xu
· 7 years ago
641fa97
Rename CacheLocation to Paths.
by Tao Bao
· 7 years ago
ffed57a
Dump debug information for apply_patch unit tests
by Tianjie Xu
· 7 years ago
8b0b0f1
applypatch: Drop the SHA_CTX parameter in Apply{BSDiff,Image}Patch.
by Tao Bao
· 7 years ago
4f83430
applypatch: Dump patch info on mismatching patching result.
by Tao Bao
· 7 years ago
d5fbcc1
Remove the old log files if cache space is insufficient for OTA
by Tianjie Xu
· 7 years ago
3bbb20f
Add a singleton CacheLocation to replace the hard coded locations
by Tianjie Xu
· 7 years ago
e40c80d
Skip the cache size check on host
by Tianjie Xu
· 7 years ago
47e5a8d
applypatch: Remove the 'st' field from FileContents.
by Tao Bao
· 7 years ago
1e0941f
applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch.
by Tao Bao
· 7 years ago
a88cc54
Switch to bionic gtest in bootable/recovery
by Tianjie Xu
· 7 years ago
09e468f
Move rangeset.h and print_sha1.h into otautil.
by Tao Bao
· 7 years ago
d33b2f8
otafault: Move headers under otafault/.
by Tao Bao
· 7 years ago
c0e1c46
applypatch: Let Apply{BSDiff,Image}Patch accept std::function.
by Tao Bao
· 8 years ago
f7eb760
applypatch: Change the ssize_t length parameters to size_t.
by Tao Bao
· 8 years ago
40e144d
applypatch: Drop the support for patching non-EMMC targets.
by Tao Bao
· 8 years ago
c8e7934
applypatch: Don't expose FindMatchingPatch().
by Tao Bao
· 8 years ago
9a6f520
Bugfix:updater always retry apply patch failed,when memcpy failed.
by katao
· 8 years ago
358c2ec
Remove ota_close(int) and ota_fclose(FILE*).
by Tao Bao
· 8 years ago
3dc14cb
Add ota_close(unique_fd&) and ota_fclose(std::unique_ptr<FILE>&).
by Tao Bao
· 8 years ago
48cf770
applypatch: Release FD when explicitly calling close.
by Tao Bao
· 8 years ago
6e02ea9
applypatch: Use unique_fd to avoid leaking FDs.
by Tao Bao
· 8 years ago
8fce75a
applypatch: Clean up LoadPartitionContents().
by Tao Bao
· 8 years ago
fada91c
applypatch: Switch the parameter of Value** to std::vector.
by Tao Bao
· 8 years ago
984d7d0
Fix applypatch_check failure when applying update on angler
by Tianjie Xu
· 8 years ago
aced5d9
Change StringValue to use std::string
by Tianjie Xu
· 8 years ago
71e182b
Check an edge case when read(2) returns 0
by Tianjie Xu
· 8 years ago
63a3192
Remove obsolete MTD support.
by Elliott Hughes
· 9 years ago
54a2747
Fix google-runtime-int warnings.
by Chih-Hung Hsieh
· 9 years ago
d80a998
Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES.
by Tao Bao
· 9 years ago
39c1b5e
Control fault injection with config files instead of build flags
by Jed Estep
· 9 years ago
d6c93af
applypatch: use vector to store data in FileContents.
by Yabin Cui
· 9 years ago
a7b9a46
IO fault injection for OTA packages
by Jed Estep
· 9 years ago
d483c20
applypatch: fix memory leaks reported by static analysis.
by Yabin Cui
· 9 years ago
c48cb5e
Switch from mincrypt to BoringSSL in applypatch and updater.
by Sen Jiang
· 9 years ago
4b166f0
Track rename from base/ to android-base/.
by Elliott Hughes
· 9 years ago
e6aa332
updater: Clean up char* with std::string.
by Tao Bao
· 9 years ago
1ce7a2a
applypatch: Fix the checking in WriteToPartition().
by Tao Bao
· 9 years ago
abba55b
applypatch: Support flash mode.
by Tao Bao
· 9 years ago
aca8e89
applypatch: Refactor strtok().
by Tao Bao
· 9 years ago
ba9a42a
recovery: Switch applypatch/ and updater/ to cpp.
by Tao Bao
· 10 years ago
[Renamed (88%) from applypatch/applypatch.c]
65c230f
Merge "Revert "Zero blocks before BLKDISCARD""
by Tao Bao
· 9 years ago