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
/
updater
/
blockimg.cpp
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
Use only signed/unsigned numbers with ParseInt/ParseUint respectively
Tom Cherry
2018-10-05
1
-1
/
+1
*
Enable c++17 in recovery_defaults.
Tao Bao
2018-08-28
1
-23
/
+23
*
Remove otafault
Tianjie Xu
2018-08-28
1
-70
/
+46
*
Add an updater function to compute hash tree
Tianjie Xu
2018-08-06
1
-18
/
+123
*
applypatch: Consolidate CacheSizeCheck() and MakeFreeSpaceOnCache().
Tao Bao
2018-07-13
1
-3
/
+3
*
edify: Remove VAL_INVALID and move ValueType into Value class.
Tao Bao
2018-07-10
1
-10
/
+11
*
updater: Add ABORT command.
Tao Bao
2018-07-07
1
-0
/
+7
*
No longer print hash for stashed blocks during verification of retry
Tianjie Xu
2018-07-03
1
-1
/
+3
*
updater: Defer the creation of the new data writer.
Tao Bao
2018-06-18
1
-24
/
+24
*
updater: Drop the 'overlap' parameter in LoadSrcTgtVersion3().
Tao Bao
2018-06-08
1
-12
/
+10
*
updater: Remove the redundant check on line count.
Tao Bao
2018-06-07
1
-9
/
+3
*
updater: Replace the reference arguments with pointers.
Tao Bao
2018-06-05
1
-102
/
+101
*
tests: Add ResumableUpdaterTest.
Tao Bao
2018-06-04
1
-0
/
+1
*
updater: Drop the 'blocks' parameter in LoadStash().
Tao Bao
2018-05-31
1
-15
/
+8
*
updater: Add Commmand class to manage BBOTA commands.
Tao Bao
2018-05-26
1
-63
/
+54
*
updater: Use a bool to indicate if allowed to skip a command.
Tao Bao
2018-05-22
1
-22
/
+17
*
updater: Clean up the header lines computation.
Tao Bao
2018-05-21
1
-6
/
+4
*
Last command file should be updated after a command finishes
Tianjie Xu
2018-05-16
1
-11
/
+7
*
Merge "updater: Skip an updated partition on retry."
Tao Bao
2018-05-08
1
-39
/
+77
|
\
|
*
updater: Skip an updated partition on retry.
Tao Bao
2018-05-08
1
-39
/
+77
*
|
updater: Fix an issue when resuming an update.
Tao Bao
2018-05-08
1
-3
/
+6
|
/
*
Rename CacheLocation to Paths.
Tao Bao
2018-04-26
1
-16
/
+12
*
updater: Remove an unneeded strdup().
Tao Bao
2018-04-25
1
-1
/
+1
*
applypatch: Drop the SHA_CTX parameter in Apply{BSDiff,Image}Patch.
Tao Bao
2018-04-20
1
-3
/
+2
*
Add a singleton CacheLocation to replace the hard coded locations
Tianjie Xu
2018-02-28
1
-4
/
+5
*
Fix the behavior of undefined commands in BlockImageVerify
Tianjie Xu
2018-02-28
1
-2
/
+4
*
Log the last command to cache
Tianjie Xu
2018-02-07
1
-9
/
+172
*
Avoid overwrite of the error message in AbortFn
Tianjie Xu
2018-01-29
1
-9
/
+9
*
applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch.
Tao Bao
2017-11-10
1
-2
/
+2
*
otautil: Remove the aborts in RangeSet::Parse().
Tao Bao
2017-11-07
1
-1
/
+19
*
Finish the new data receiver when update fails
Tianjie Xu
2017-10-20
1
-16
/
+41
*
Move rangeset.h and print_sha1.h into otautil.
Tao Bao
2017-10-11
1
-2
/
+2
*
Revert "Revert "Move error_code.h into otautil.""
Tao Bao
2017-10-09
1
-1
/
+1
*
Revert "Move error_code.h into otautil."
Tao Bao
2017-10-05
1
-1
/
+1
*
Move error_code.h into otautil.
Tao Bao
2017-10-04
1
-1
/
+1
*
otafault: Move headers under otafault/.
Tao Bao
2017-09-29
1
-1
/
+1
*
Move Image/ImageChunk/PatchChunk declaration into header files
Tianjie Xu
2017-08-19
1
-1
/
+1
*
Fix a case when brotli writer fails to write last few blocks of data
Tianjie Xu
2017-07-21
1
-94
/
+81
*
Add support to decompress brotli compressed new data
Tianjie Xu
2017-07-08
1
-32
/
+143
*
Retry the update if ApplyBSDiffPatch | ApplyImagePatch fails
Tianjie Xu
2017-05-24
1
-0
/
+2
*
Abort the update if there's not enough new data
Tianjie Xu
2017-04-08
1
-4
/
+26
*
Change the internal representation in RangeSet.
Tao Bao
2017-04-03
1
-205
/
+187
*
updater: Keep the parsed parameters in std::unique_ptr.
Tao Bao
2017-03-31
1
-160
/
+157
*
Move parse_range() and range_overlaps() into RangeSet.
Tao Bao
2017-03-31
1
-110
/
+18
*
Merge "updater: Move RangeSinkWrite into RangeSinkState."
Tao Bao
2017-03-31
1
-164
/
+146
|
\
|
*
updater: Move RangeSinkWrite into RangeSinkState.
Tao Bao
2017-03-29
1
-164
/
+146
*
|
updater: Don't append newline when calling uiPrint().
Tao Bao
2017-03-30
1
-1
/
+2
|
/
*
applypatch: Let Apply{BSDiff,Image}Patch accept std::function.
Tao Bao
2017-03-28
1
-75
/
+76
*
applypatch: Change the ssize_t length parameters to size_t.
Tao Bao
2017-03-28
1
-41
/
+40
*
updater: Clean up LoadSrcTgtVersion2().
Tao Bao
2017-03-28
1
-146
/
+143
*
Merge "updater: Remove some redundant arguments."
Tao Bao
2017-03-26
1
-78
/
+65
|
\
|
*
updater: Remove some redundant arguments.
Tao Bao
2017-03-24
1
-78
/
+65
*
|
Merge "updater: Drop the support for BBOTA v1 and v2."
Tao Bao
2017-03-25
1
-398
/
+330
|
\
|
|
*
updater: Drop the support for BBOTA v1 and v2.
Tao Bao
2017-03-24
1
-398
/
+330
*
|
Merge "Removed C-style casts"
Tao Bao
2017-03-24
1
-1
/
+1
|
\
\
|
|
/
|
/
|
|
*
Removed C-style casts
Mikhail Lappo
2017-03-23
1
-1
/
+1
*
|
Redundant checking of STL container element
Mikhail Lappo
2017-03-23
1
-3
/
+1
|
/
*
Remove malloc in edify functions
Tianjie Xu
2017-03-22
1
-13
/
+41
*
Fix the permission of stashed blocks created by updater
Tianjie Xu
2017-03-22
1
-0
/
+12
*
Revert "Revert "Print SHA-1 in hex for corrupted blocks""
Tianjie Xu
2017-03-17
1
-6
/
+140
*
updater: Minor clean up to EnumerateStash().
Tao Bao
2017-03-16
1
-73
/
+50
*
Revert "Print SHA-1 in hex for corrupted blocks"
Tao Bao
2017-03-15
1
-140
/
+3
*
Print SHA-1 in hex for corrupted blocks
Tianjie Xu
2017-03-13
1
-3
/
+140
*
Replace _exit(-1) with _exit(EXIT_FAILURE).
Tao Bao
2017-02-03
1
-1
/
+1
*
Merge "updater: Clean up CreateStash()."
Tao Bao
2017-01-05
1
-83
/
+84
|
\
|
*
updater: Clean up CreateStash().
Tao Bao
2016-12-29
1
-84
/
+85
*
|
updater: Refactor parse_range().
Tao Bao
2017-01-04
1
-74
/
+63
|
/
*
updater: Fix the operator order.
Tao Bao
2016-12-14
1
-1
/
+1
*
updater: Switch to libbase logging.
Tao Bao
2016-12-01
1
-99
/
+95
*
Cleanup ReadArgs & ReadValueArgs usage
Tianjie Xu
2016-11-01
1
-30
/
+24
*
Replace minzip with libziparchive
Tianjie Xu
2016-10-18
1
-47
/
+26
*
Change StringValue to use std::string
Tianjie Xu
2016-10-15
1
-81
/
+73
*
Refactor libupdater into a seperate module.
Tao Bao
2016-10-11
1
-2
/
+2
*
Check an edge case when read(2) returns 0
Tianjie Xu
2016-09-01
1
-0
/
+4
*
Check the results from applypatch
Tianjie Xu
2016-06-16
1
-4
/
+10
|
\
|
*
Check the results from applypatch
Tianjie Xu
2016-06-16
1
-4
/
+10
*
|
resolve merge conflicts of 7ce287d to nyc-dev-plus-aosp
Tianjie Xu
2016-06-04
1
-7
/
+52
|
\
|
|
*
Call ioctl before each write on retry
Tianjie Xu
2016-06-03
1
-7
/
+52
*
|
resolve merge conflicts of 50f6417 to nyc-dev-plus-aosp
Tianjie Xu
2016-05-23
1
-28
/
+56
|
\
|
|
*
Allow recovery to return error codes
Tianjie Xu
2016-05-20
1
-27
/
+54
*
|
Add time and I/O info to last_install
Tianjie Xu
2016-05-18
1
-0
/
+12
|
\
|
|
*
Add time and I/O info to last_install
Tianjie Xu
2016-05-16
1
-0
/
+12
|
*
Skip stashing source blocks in verify mode
Tianjie Xu
2016-03-23
1
-8
/
+46
|
*
DO NOT MERGE Control fault injection with config files instead of build flags
Jed Estep
2016-03-16
1
-1
/
+1
|
*
resolve merge conflicts of 7b6027dde4 to master.
Tao Bao
2016-02-04
1
-10
/
+9
|
|
\
|
*
\
Merge "IO fault injection for OTA packages"
Jed Estep
2016-01-09
1
-6
/
+7
|
|
\
\
|
|
*
|
IO fault injection for OTA packages
Jed Estep
2016-01-06
1
-6
/
+7
|
*
|
|
updater: Add a function to check first block
Tianjie Xu
2015-12-18
1
-0
/
+55
|
|
/
/
|
*
|
Merge "updater: Output msg when recovery is called"
Tianjie Xu
2015-12-11
1
-1
/
+4
|
|
\
\
|
|
*
|
updater: Output msg when recovery is called
Tianjie Xu
2015-12-10
1
-1
/
+4
*
|
|
|
Merge "Fix google-explicit-constructor warnings."
Chih-hung Hsieh
2016-04-30
1
-1
/
+1
|
\
\
\
\
|
*
|
|
|
Fix google-explicit-constructor warnings.
Chih-Hung Hsieh
2016-04-29
1
-1
/
+1
*
|
|
|
|
updater: Don't zero out CommandParameters with memset(3).
Tao Bao
2016-04-27
1
-2
/
+1
|
/
/
/
/
*
|
|
|
Switch to <android-base/unique_fd.h>.
Elliott Hughes
2016-03-29
1
-25
/
+17
*
|
|
|
Skip stashing source blocks in verify mode
Tianjie Xu
2016-03-25
1
-8
/
+46
*
|
|
|
Control fault injection with config files instead of build flags
Jed Estep
2016-02-23
1
-1
/
+1
*
|
|
|
IO fault injection for OTA packages
Jed Estep
2016-02-10
1
-12
/
+13
|
|
_
|
/
|
/
|
|
*
|
|
Switch from mincrypt to BoringSSL in applypatch and updater.
Sen Jiang
2016-02-04
1
-10
/
+9
*
|
|
updater: Add a function to check first block
Tianjie Xu
2016-01-07
1
-0
/
+55
*
|
|
updater: Output msg when recovery is called
Tianjie Xu
2015-12-11
1
-1
/
+4
|
/
/
*
/
updater: Replace strtok() with android::base::Split().
Tao Bao
2015-12-07
1
-133
/
+144
|
/
*
Track rename from base/ to android-base/.
Elliott Hughes
2015-12-05
1
-2
/
+2
*
updater: Bump up the BBOTA version to 4.
Tao Bao
2015-10-23
1
-1
/
+1
*
Error correction: Use libfec in blockimg.cpp for recovery
Sami Tolvanen
2015-10-19
1
-0
/
+76
*
updater: Skip empty lines in the transfer list file.
Tao Bao
2015-09-26
1
-0
/
+4
*
updater: Use android::base::ParseInt() to parse integers.
Tao Bao
2015-09-24
1
-40
/
+25
*
updater: Manage buffers with std::vector.
Tao Bao
2015-09-10
1
-228
/
+168
*
updater: Replace the pointers in LoadSrcTgtVersion[1-3]() parameter.
Tao Bao
2015-09-08
1
-29
/
+26
*
updater: Clean up C codes.
Tao Bao
2015-09-01
1
-602
/
+429
*
updater: Remove the unused isunresumable in SaveStash().
Tao Bao
2015-08-26
1
-3
/
+3
*
GOOGLEGMS-749 Fix integer overflow while applying block based OTA package
Shrinivas Sahukar
2015-08-22
1
-46
/
+48
*
updater: Clean up char* with std::string.
Tao Bao
2015-08-06
1
-261
/
+141
*
udpater: Call fsync() after rename().
Tao Bao
2015-08-04
1
-0
/
+20
*
updater: Hoist fsync() to outer loop.
Tao Bao
2015-07-27
1
-6
/
+5
*
recovery: Switch applypatch/ and updater/ to cpp.
Tao Bao
2015-07-14
1
-0
/
+1991