Gitiles
Code Review
Sign In
gerrit.twrp.me
/
android_bootable_recovery
/
5f8394ca88e33bb0a0af374ad5412650a6e222e6
/
updater
/
blockimg.cpp
3bbb20f
Add a singleton CacheLocation to replace the hard coded locations
by Tianjie Xu
· 7 years ago
c242084
Fix the behavior of undefined commands in BlockImageVerify
by Tianjie Xu
· 7 years ago
284752e
Log the last command to cache
by Tianjie Xu
· 7 years ago
5ad8028
Avoid overwrite of the error message in AbortFn
by Tianjie Xu
· 7 years ago
1e0941f
applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch.
by Tao Bao
· 7 years ago
6798315
otautil: Remove the aborts in RangeSet::Parse().
by Tao Bao
· 7 years ago
5450c84
Finish the new data receiver when update fails
by Tianjie Xu
· 7 years ago
09e468f
Move rangeset.h and print_sha1.h into otautil.
by Tao Bao
· 7 years ago
1fc5bf3
Revert "Revert "Move error_code.h into otautil.""
by Tao Bao
· 7 years ago
26436d6
Revert "Move error_code.h into otautil."
by Tao Bao
· 7 years ago
623fe7e
Move error_code.h into otautil.
by Tao Bao
· 7 years ago
d33b2f8
otafault: Move headers under otafault/.
by Tao Bao
· 7 years ago
57dd961
Move Image/ImageChunk/PatchChunk declaration into header files
by Tianjie Xu
· 7 years ago
6ed175d
Fix a case when brotli writer fails to write last few blocks of data
by Tianjie Xu
· 7 years ago
107a34f
Add support to decompress brotli compressed new data
by Tianjie Xu
· 7 years ago
6957555
Retry the update if ApplyBSDiffPatch | ApplyImagePatch fails
by Tianjie Xu
· 8 years ago
3a8d98d
Abort the update if there's not enough new data
by Tianjie Xu
· 8 years ago
bf5b77d
Change the internal representation in RangeSet.
by Tao Bao
· 8 years ago
c97edcb
updater: Keep the parsed parameters in std::unique_ptr.
by Tao Bao
· 8 years ago
8f23757
Move parse_range() and range_overlaps() into RangeSet.
by Tao Bao
· 8 years ago
65c065b
Merge "updater: Move RangeSinkWrite into RangeSinkState."
by Tao Bao
· 8 years ago
0bbc764
updater: Don't append newline when calling uiPrint().
by Tao Bao
· 8 years ago
60a70af
updater: Move RangeSinkWrite into RangeSinkState.
by Tao Bao
· 8 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
d2aecd4
updater: Clean up LoadSrcTgtVersion2().
by Tao Bao
· 8 years ago
5212a00
Merge "updater: Remove some redundant arguments."
by Tao Bao
· 8 years ago
5479506
Merge "updater: Drop the support for BBOTA v1 and v2."
by Tao Bao
· 8 years ago
110155a
Merge "Removed C-style casts"
by Tao Bao
· 8 years ago
bcf4649
updater: Remove some redundant arguments.
by Tao Bao
· 8 years ago
3356777
updater: Drop the support for BBOTA v1 and v2.
by Tao Bao
· 8 years ago
20791bd
Removed C-style casts
by Mikhail Lappo
· 8 years ago
bb8bce9
Redundant checking of STL container element
by Mikhail Lappo
· 8 years ago
c444732
Remove malloc in edify functions
by Tianjie Xu
· 8 years ago
a946b9e
Fix the permission of stashed blocks created by updater
by Tianjie Xu
· 8 years ago
2cd36ba
Revert "Revert "Print SHA-1 in hex for corrupted blocks""
by Tianjie Xu
· 8 years ago
ec8272f
updater: Minor clean up to EnumerateStash().
by Tao Bao
· 8 years ago
90eff6a
Revert "Print SHA-1 in hex for corrupted blocks"
by Tao Bao
· 8 years ago
bb0cd75
Print SHA-1 in hex for corrupted blocks
by Tianjie Xu
· 8 years ago
3da8801
Replace _exit(-1) with _exit(EXIT_FAILURE).
by Tao Bao
· 8 years ago
91f74c8
Merge "updater: Clean up CreateStash()."
by Tao Bao
· 8 years ago
c844c06
updater: Refactor parse_range().
by Tao Bao
· 8 years ago
5141221
updater: Clean up CreateStash().
by Tao Bao
· 8 years ago
5354f60
updater: Fix the operator order.
by Tao Bao
· 8 years ago
039f2da
updater: Switch to libbase logging.
by Tao Bao
· 8 years ago
5fe280a
Cleanup ReadArgs & ReadValueArgs usage
by Tianjie Xu
· 8 years ago
8cf5c8f
Replace minzip with libziparchive
by Tianjie Xu
· 8 years ago
aced5d9
Change StringValue to use std::string
by Tianjie Xu
· 8 years ago
0c7839a
Refactor libupdater into a seperate module.
by Tao Bao
· 8 years ago
71e182b
Check an edge case when read(2) returns 0
by Tianjie Xu
· 8 years ago
93110c7
Check the results from applypatch am: 31f8cc84cf
by Tianjie Xu
· 9 years ago
31f8cc8
Check the results from applypatch
by Tianjie Xu
· 9 years ago
64f46fb
resolve merge conflicts of 7ce287d to nyc-dev-plus-aosp
by Tianjie Xu
· 9 years ago
7ce287d
Call ioctl before each write on retry
by Tianjie Xu
· 9 years ago
84478e8
resolve merge conflicts of 50f6417 to nyc-dev-plus-aosp
by Tianjie Xu
· 9 years ago
1625583
Allow recovery to return error codes
by Tianjie Xu
· 9 years ago
142b864
Add time and I/O info to last_install am: dd874b1c87
by Tianjie Xu
· 9 years ago
dd874b1
Add time and I/O info to last_install
by Tianjie Xu
· 9 years ago
fafa6a6
Merge "Fix google-explicit-constructor warnings."
by Chih-hung Hsieh
· 9 years ago
49c5c79
Fix google-explicit-constructor warnings.
by Chih-Hung Hsieh
· 9 years ago
7306461
updater: Don't zero out CommandParameters with memset(3).
by Tao Bao
· 9 years ago
bcabd09
Switch to <android-base/unique_fd.h>.
by Elliott Hughes
· 9 years ago
7eca97e
Skip stashing source blocks in verify mode
by Tianjie Xu
· 9 years ago
0188935
Skip stashing source blocks in verify mode
by Tianjie Xu
· 9 years ago
f73abf3
DO NOT MERGE Control fault injection with config files instead of build flags
by Jed Estep
· 9 years ago
39c1b5e
Control fault injection with config files instead of build flags
by Jed Estep
· 9 years ago
a7b9a46
IO fault injection for OTA packages
by Jed Estep
· 9 years ago
50aa63f
resolve merge conflicts of 7b6027dde4 to master.
by Tao Bao
· 9 years ago
c48cb5e
Switch from mincrypt to BoringSSL in applypatch and updater.
by Sen Jiang
· 9 years ago
b1cc5d8
Merge "IO fault injection for OTA packages"
by Jed Estep
· 9 years ago
57bed6d
updater: Add a function to check first block
by Tianjie Xu
· 9 years ago
f1fc48c
IO fault injection for OTA packages
by Jed Estep
· 9 years ago
30bf476
updater: Add a function to check first block
by Tianjie Xu
· 9 years ago
3b010bc
updater: Output msg when recovery is called
by Tianjie Xu
· 9 years ago
72c87cc
Merge "updater: Output msg when recovery is called"
by Tianjie Xu
· 9 years ago
b686ba2
updater: Output msg when recovery is called
by Tianjie Xu
· 9 years ago
baad2d4
updater: Replace strtok() with android::base::Split().
by Tao Bao
· 9 years ago
4b166f0
Track rename from base/ to android-base/.
by Elliott Hughes
· 9 years ago
1fdec86
updater: Bump up the BBOTA version to 4.
by Tao Bao
· 9 years ago
0a7b473
Error correction: Use libfec in blockimg.cpp for recovery
by Sami Tolvanen
· 10 years ago
6a47dff
updater: Skip empty lines in the transfer list file.
by Tao Bao
· 9 years ago
b15fd22
updater: Use android::base::ParseInt() to parse integers.
by Tao Bao
· 9 years ago
612336d
updater: Manage buffers with std::vector.
by Tao Bao
· 9 years ago
34847b2
updater: Replace the pointers in LoadSrcTgtVersion[1-3]() parameter.
by Tao Bao
· 9 years ago
0940fe1
updater: Clean up C codes.
by Tao Bao
· 9 years ago
9739a29
updater: Remove the unused isunresumable in SaveStash().
by Tao Bao
· 9 years ago
a6153df
GOOGLEGMS-749 Fix integer overflow while applying block based OTA package
by Shrinivas Sahukar
· 9 years ago
e6aa332
updater: Clean up char* with std::string.
by Tao Bao
· 9 years ago
dc39226
udpater: Call fsync() after rename().
by Tao Bao
· 9 years ago
187efff
updater: Hoist fsync() to outer loop.
by Tao Bao
· 9 years ago
ba9a42a
recovery: Switch applypatch/ and updater/ to cpp.
by Tao Bao
· 10 years ago
[Renamed (98%) from updater/blockimg.c]
65c230f
Merge "Revert "Zero blocks before BLKDISCARD""
by Tao Bao
· 9 years ago