summaryrefslogtreecommitdiffstats
path: root/otafault/config.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-09Do not inject I/O fault on a retryTianjie Xu1-2/+4
We could inject I/O faults during an OTA update for test purpose. But we should skip the injection if the update is an retry. Otherwise the update test will simply keeps failing. Bug: 34159970 Test: Apply the same package on angler and the update succeeds on the 2nd try. Change-Id: Id274e5475e3bc8d25d50a8cf61a77d2e32c569d6
2016-10-18Replace minzip with libziparchiveTianjie Xu1-8/+12
Clean up the duplicated codes that handle the zip files in bootable/recovery; and rename the library of the remaining utility functions to libotautil. Test: Update package installed successfully on angler. Bug: 19472796 Change-Id: Iea8962fcf3004473cb0322b6bb3a9ea3ca7f679e
2016-03-25Correct caching behavior for should_inject_cacheJed Estep1-16/+20
Bug: 27800498 Change-Id: I5255283c1d04a385ed719c5bc2be461cae9f3648 (cherry picked from commit 88dd7796a1fd4c64d57afb20021bf66cb26fa886)
2016-03-23Correct caching behavior for should_inject_cacheJed Estep1-16/+15
Bug: 27800498 Change-Id: I5255283c1d04a385ed719c5bc2be461cae9f3648
2016-03-19Control fault injection with config files instead of build flagsJed Estep1-0/+70
Bug: 27724259 Change-Id: I65bdefed10b3fb85fcb9e1147eaf0687d7d438f4
2016-03-17Revert "DO NOT MERGE Control fault injection with config files instead of build flags"Tao Bao1-65/+0
This reverts commit f73abf36bcfd433a3fdd1664a77e8e531346c1b1. Bug: 27724259 Change-Id: I1301fdad15650837d0b1febd0c3239134e2b94fb
2016-03-16DO NOT MERGE Control fault injection with config files instead of build flagsJed Estep1-0/+65
Bug: 26570379 Change-Id: I76109d09276d6e3ed3a32b6fedafb2582f545c0c
2016-02-23Control fault injection with config files instead of build flagsJed Estep1-0/+65
Bug: 26570379 Change-Id: I76109d09276d6e3ed3a32b6fedafb2582f545c0c (cherry picked from commit d940887dde23597dc358b16d96ca48dd7480fee6)
2016-02-20Control fault injection with config files instead of build flagsJed Estep1-0/+65
Bug: 26570379 Change-Id: I76109d09276d6e3ed3a32b6fedafb2582f545c0c