summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Control fault injection with config files instead of build flagsJed Estep2016-02-201-1/+1
| | | | | Bug: 26570379 Change-Id: I76109d09276d6e3ed3a32b6fedafb2582f545c0c
* applypatch: use vector to store data in FileContents.Yabin Cui2016-02-121-10/+11
| | | | | Bug: 26906416 Change-Id: Ib53b445cd415a1ed5e95733fbc4073f9ef4dbc43
* IO fault injection for OTA packagesJed Estep2016-02-101-21/+22
| | | | | | Bug: 25951086 Change-Id: I31c74c735eb7a975b7f41fe2b2eff042e5699c0c (cherry-picked from commit f1fc48c6e62cfee42d25ad12f443e22d50c15d0b)
* updater: fix memory leak based on static analysis.Yabin Cui2016-02-041-44/+39
| | | | | Bug: 26907377 Change-Id: I384c0131322b2d12f0ef489735e70e86819846a4
* Switch from mincrypt to BoringSSL in applypatch and updater.Sen Jiang2016-02-041-7/+7
| | | | | Bug: 18790686 Change-Id: I7d2136fb39b2266f5ae5be24819c617b08a6c21e
* updater: Use O_SYNC and fsync() for package_extract_file().Tao Bao2015-12-151-6/+13
| | | | | | | | We are already using O_SYNC and fsync() for the recursive case (package_extract_dir()). Make it consistent for the single-file case. Bug: 20625549 Change-Id: I487736fe5a0647dd4a2428845e76bf642e0f0dff
* Track rename from base/ to android-base/.Elliott Hughes2015-12-051-3/+3
| | | | Change-Id: I354a8c424d340a9abe21fd716a4ee0d3b177d86f
* updater: Use android::base::ParseInt() to parse integers.Tao Bao2015-09-241-12/+12
| | | | Change-Id: Ic769eafc8d9535b1d517d3dcbd398c3fd65cddd9
* Suppress some compiler warnings due to signedness.Tao Bao2015-09-241-1/+1
| | | | Change-Id: I63f28b3b4ba4185c23b972fc8f93517295b1672a
* updater: Fix the line breaks in ui_print commands.Tao Bao2015-09-101-26/+32
| | | | | | | | | When processing ui_print commands in the updater, it misses a line break when printing to the recovery log. Also clean up uiPrintf() and UIPrintFn() with std::string's. Change-Id: Ie5dbbfbc40b024929887d3c3ccd3a334249a8c9d
* recovery: Switch applypatch/ and updater/ to cpp.Tao Bao2015-07-141-0/+1622
Mostly trivial changes to make cpp compiler happy. Change-Id: I69bd1d96fcccf506007f6144faf37e11cfba1270