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
(
unfollow
)
Commit message (
Expand
)
Author
Files
Lines
2017-04-08
Abort the update if there's not enough new data
Tianjie Xu
1
-4
/
+26
2017-04-03
Change the internal representation in RangeSet.
Tao Bao
1
-205
/
+187
2017-03-31
updater: Keep the parsed parameters in std::unique_ptr.
Tao Bao
1
-160
/
+157
2017-03-31
Move parse_range() and range_overlaps() into RangeSet.
Tao Bao
1
-110
/
+18
2017-03-30
updater: Don't append newline when calling uiPrint().
Tao Bao
1
-1
/
+2
2017-03-29
updater: Move RangeSinkWrite into RangeSinkState.
Tao Bao
1
-164
/
+146
2017-03-28
applypatch: Let Apply{BSDiff,Image}Patch accept std::function.
Tao Bao
1
-75
/
+76
2017-03-28
applypatch: Change the ssize_t length parameters to size_t.
Tao Bao
1
-41
/
+40
2017-03-28
updater: Clean up LoadSrcTgtVersion2().
Tao Bao
1
-146
/
+143
2017-03-24
updater: Remove some redundant arguments.
Tao Bao
1
-78
/
+65
2017-03-24
updater: Drop the support for BBOTA v1 and v2.
Tao Bao
1
-398
/
+330
2017-03-23
Removed C-style casts
Mikhail Lappo
1
-1
/
+1
2017-03-23
Redundant checking of STL container element
Mikhail Lappo
1
-3
/
+1
2017-03-22
Remove malloc in edify functions
Tianjie Xu
1
-13
/
+41
2017-03-22
Fix the permission of stashed blocks created by updater
Tianjie Xu
1
-0
/
+12
2017-03-17
Revert "Revert "Print SHA-1 in hex for corrupted blocks""
Tianjie Xu
1
-6
/
+140
2017-03-16
updater: Minor clean up to EnumerateStash().
Tao Bao
1
-73
/
+50
2017-03-15
Revert "Print SHA-1 in hex for corrupted blocks"
Tao Bao
1
-140
/
+3
2017-03-13
Print SHA-1 in hex for corrupted blocks
Tianjie Xu
1
-3
/
+140
2017-02-03
Replace _exit(-1) with _exit(EXIT_FAILURE).
Tao Bao
1
-1
/
+1
2017-01-04
updater: Refactor parse_range().
Tao Bao
1
-74
/
+63
2016-12-29
updater: Clean up CreateStash().
Tao Bao
1
-84
/
+85
2016-12-14
updater: Fix the operator order.
Tao Bao
1
-1
/
+1
2016-12-01
updater: Switch to libbase logging.
Tao Bao
1
-99
/
+95
2016-11-01
Cleanup ReadArgs & ReadValueArgs usage
Tianjie Xu
1
-30
/
+24
2016-10-18
Replace minzip with libziparchive
Tianjie Xu
1
-47
/
+26
2016-10-15
Change StringValue to use std::string
Tianjie Xu
1
-81
/
+73
2016-10-11
Refactor libupdater into a seperate module.
Tao Bao
1
-2
/
+2
2016-09-01
Check an edge case when read(2) returns 0
Tianjie Xu
1
-0
/
+4
2016-06-16
Check the results from applypatch
Tianjie Xu
1
-4
/
+10
2016-06-03
Call ioctl before each write on retry
Tianjie Xu
1
-7
/
+52
2016-05-20
Allow recovery to return error codes
Tianjie Xu
1
-27
/
+54
2016-05-16
Add time and I/O info to last_install
Tianjie Xu
1
-0
/
+12
2016-04-29
Fix google-explicit-constructor warnings.
Chih-Hung Hsieh
1
-1
/
+1
2016-04-27
updater: Don't zero out CommandParameters with memset(3).
Tao Bao
1
-2
/
+1
2016-03-29
Switch to <android-base/unique_fd.h>.
Elliott Hughes
1
-25
/
+17
2016-03-25
Skip stashing source blocks in verify mode
Tianjie Xu
1
-8
/
+46
2016-03-23
Skip stashing source blocks in verify mode
Tianjie Xu
1
-8
/
+46
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-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-10
IO fault injection for OTA packages
Jed Estep
1
-12
/
+13
2016-02-04
Switch from mincrypt to BoringSSL in applypatch and updater.
Sen Jiang
1
-10
/
+9
2016-01-07
updater: Add a function to check first block
Tianjie Xu
1
-0
/
+55
2016-01-06
IO fault injection for OTA packages
Jed Estep
1
-6
/
+7
2015-12-18
updater: Add a function to check first block
Tianjie Xu
1
-0
/
+55
2015-12-11
updater: Output msg when recovery is called
Tianjie Xu
1
-1
/
+4
2015-12-10
updater: Output msg when recovery is called
Tianjie Xu
1
-1
/
+4
2015-12-07
updater: Replace strtok() with android::base::Split().
Tao Bao
1
-133
/
+144
2015-12-05
Track rename from base/ to android-base/.
Elliott Hughes
1
-2
/
+2
2015-11-16
DO NOT MERGE recovery: Switch applypatch/ and updater/ to cpp.
Tao Bao
1
-17
/
+14
2015-11-16
Add error and range checks to parse_range
Sami Tolvanen
1
-10
/
+71
2015-08-04
udpater: Call fsync() after rename().
Tao Bao
1
-0
/
+20
2015-07-14
recovery: Switch applypatch/ and updater/ to cpp.
Tao Bao
1
-1994
/
+0
2015-07-14
recovery: Switch applypatch/ and updater/ to cpp.
Tao Bao
1
-1994
/
+0
2015-07-11
Revert "Zero blocks before BLKDISCARD"
Tao Bao
1
-17
/
+1
2015-07-01
Revert "Zero blocks before BLKDISCARD"
Tao Bao
1
-17
/
+1
2015-06-26
More accurate checking for overlapped ranges.
Tao Bao
1
-1
/
+1
2015-06-26
More accurate checking for overlapped ranges.
Tao Bao
1
-1
/
+1
2015-06-10
Zero blocks before BLKDISCARD
Sami Tolvanen
1
-1
/
+17
2015-06-10
Zero blocks before BLKDISCARD
Sami Tolvanen
1
-1
/
+17
2015-06-10
Revert "Zero blocks before BLKDISCARD"
Sami Tolvanen
1
-5
/
+9
2015-06-10
Revert "Zero blocks before BLKDISCARD"
Sami Tolvanen
1
-5
/
+9
2015-06-09
Zero blocks before BLKDISCARD
Sami Tolvanen
1
-9
/
+5
2015-06-09
Zero blocks before BLKDISCARD
Sami Tolvanen
1
-9
/
+5
2015-05-29
Really don't use TEMP_FAILURE_RETRY with close in recovery.
Elliott Hughes
1
-1
/
+1
2015-05-29
Handle BLKDISCARD failures
Sami Tolvanen
1
-2
/
+1
2015-05-29
Really don't use TEMP_FAILURE_RETRY with close in recovery.
Elliott Hughes
1
-1
/
+1
2015-05-28
Handle BLKDISCARD failures
Sami Tolvanen
1
-2
/
+1
2015-05-16
Don't use TEMP_FAILURE_RETRY on close in recovery.
Elliott Hughes
1
-2
/
+2
2015-05-16
Don't use TEMP_FAILURE_RETRY on close in recovery.
Elliott Hughes
1
-2
/
+2
2015-05-15
Add error and range checks to parse_range
Sami Tolvanen
1
-10
/
+71
2015-04-30
Check all lseek calls succeed.
Elliott Hughes
1
-28
/
+20
2015-04-30
Check all lseek calls succeed.
Elliott Hughes
1
-28
/
+20
2015-04-17
Don't remove existing explicitly stashed blocks
Sami Tolvanen
1
-10
/
+28
2015-03-23
Always use strerror to report errno in recovery.
Elliott Hughes
1
-19
/
+20
2015-03-11
updater: Check the return value from ApplyImagePatch / ApplyBSDiffPatch
Tao Bao
1
-14
/
+28
2015-02-23
Fix a printf format warning.
Narayan Kamath
1
-1
/
+1
2015-02-18
Initialize stashbase even stash_max_blocks = 0
Jesse Zhao
1
-1
/
+1
2015-01-30
Support resuming block based OTAs
Sami Tolvanen
1
-346
/
+1460
2014-09-26
support for version 2 of block image diffs
Doug Zongker
1
-45
/
+209
2014-09-08
support for version 2 of block image diffs
Doug Zongker
1
-45
/
+209
2014-09-04
fix comment in blockimg updater code
Doug Zongker
1
-3
/
+3
2014-09-04
use lseek64 instead of lseek
Andrew Boie
1
-11
/
+11
2014-08-21
fix two bugs in block image updater
Doug Zongker
1
-18
/
+32
2014-08-20
installer for new block OTA system
Doug Zongker
1
-0
/
+631
2014-08-19
installer for new block OTA system
Doug Zongker
1
-0
/
+631