Gitiles
Code Review
Sign In
gerrit.twrp.me
/
android_bootable_recovery
/
c2fa178392338fe3e96c0a327792d1ebb5205e71
/
updater
/
blockimg.cpp
53158e5
Fix potential size overflow in blockimg.cpp
by xunchang
· 6 years ago
8ff84d7
updater: add functions to modify dynamic partition metadata
by Yifan Hong
· 6 years ago
63f5260
Create stash dir recursively.
by Yifan Hong
· 6 years ago
363d624
updater: erase ignores EOPNOTSUPP for BLKDISCARD
by Yifan Hong
· 6 years ago
a2cff95
updater: Error out on underrun during patching.
by Tao Bao
· 6 years ago
04e4afb
Use only signed/unsigned numbers with ParseInt/ParseUint respectively
by Tom Cherry
· 6 years ago
43bfa6e
Enable c++17 in recovery_defaults.
by Tao Bao
· 6 years ago
22f1120
Remove otafault
by Tianjie Xu
· 6 years ago
69ffa15
Add an updater function to compute hash tree
by Tianjie Xu
· 6 years ago
5ee2566
applypatch: Consolidate CacheSizeCheck() and MakeFreeSpaceOnCache().
by Tao Bao
· 6 years ago
511d759
edify: Remove VAL_INVALID and move ValueType into Value class.
by Tao Bao
· 6 years ago
91a649a
updater: Add ABORT command.
by Tao Bao
· 6 years ago
3c5958f
No longer print hash for stashed blocks during verification of retry
by Tianjie Xu
· 7 years ago
0a883c1
updater: Defer the creation of the new data writer.
by Tao Bao
· 6 years ago
4a13508
updater: Drop the 'overlap' parameter in LoadSrcTgtVersion3().
by Tao Bao
· 6 years ago
ffede3e
updater: Remove the redundant check on line count.
by Tao Bao
· 6 years ago
de3bbb8
updater: Replace the reference arguments with pointers.
by Tao Bao
· 6 years ago
c0299ed
tests: Add ResumableUpdaterTest.
by Tao Bao
· 6 years ago
64957ce
updater: Drop the 'blocks' parameter in LoadStash().
by Tao Bao
· 6 years ago
c390123
updater: Add Commmand class to manage BBOTA commands.
by Tao Bao
· 6 years ago
26efb0a
updater: Use a bool to indicate if allowed to skip a command.
by Tao Bao
· 6 years ago
ab20706
updater: Clean up the header lines computation.
by Tao Bao
· 6 years ago
c2b2bb5
Last command file should be updated after a command finishes
by Tianjie Xu
· 7 years ago
0ffe13b
Merge "updater: Skip an updated partition on retry."
by Tao Bao
· 7 years ago
98f875e
updater: Fix an issue when resuming an update.
by Tao Bao
· 7 years ago
864c668
updater: Skip an updated partition on retry.
by Tao Bao
· 7 years ago
641fa97
Rename CacheLocation to Paths.
by Tao Bao
· 7 years ago
188f3a5
updater: Remove an unneeded strdup().
by Tao Bao
· 7 years ago
8b0b0f1
applypatch: Drop the SHA_CTX parameter in Apply{BSDiff,Image}Patch.
by Tao Bao
· 7 years ago
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
· 8 years ago
31f8cc8
Check the results from applypatch
by Tianjie Xu
· 8 years ago
64f46fb
resolve merge conflicts of 7ce287d to nyc-dev-plus-aosp
by Tianjie Xu
· 8 years ago
7ce287d
Call ioctl before each write on retry
by Tianjie Xu
· 8 years ago
84478e8
resolve merge conflicts of 50f6417 to nyc-dev-plus-aosp
by Tianjie Xu
· 8 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
· 8 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
Next »