summaryrefslogtreecommitdiffstats
path: root/otafault/config.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Turn on -Wall for recovery modulesTianjie Xu2017-08-291-1/+3
| | | | | | | | | | | | | Turn on -Wall for all modules. Also remove the obsolete file_cmp() in apply_patch test and now() in wear_ui. The only exception is lib_edify due to the unused functions in the intermediate cpp files generated from the lex files. It will be handled in a seperate CL. Bug: 64939312 Test: mma, unit tests pass Change-Id: Ic53f76b60b6401ab20db3d98130d674c08e3702f
* Do not inject I/O fault on a retryTianjie Xu2017-01-091-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
* Replace minzip with libziparchiveTianjie Xu2016-10-181-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
* Correct caching behavior for should_inject_cacheJed Estep2016-03-231-16/+15
| | | | | Bug: 27800498 Change-Id: I5255283c1d04a385ed719c5bc2be461cae9f3648
* Control fault injection with config files instead of build flagsJed Estep2016-03-191-0/+70
| | | | | Bug: 27724259 Change-Id: I65bdefed10b3fb85fcb9e1147eaf0687d7d438f4
* Revert "DO NOT MERGE Control fault injection with config files instead of build flags"Tao Bao2016-03-171-65/+0
| | | | | | | This reverts commit f73abf36bcfd433a3fdd1664a77e8e531346c1b1. Bug: 27724259 Change-Id: I1301fdad15650837d0b1febd0c3239134e2b94fb
* DO NOT MERGE Control fault injection with config files instead of build flagsJed Estep2016-03-161-0/+65
Bug: 26570379 Change-Id: I76109d09276d6e3ed3a32b6fedafb2582f545c0c