summaryrefslogtreecommitdiffstats
path: root/otafault/ota_io.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-19Control fault injection with config files instead of build flagsJed Estep1-103/+71
Bug: 27724259 Change-Id: I65bdefed10b3fb85fcb9e1147eaf0687d7d438f4
2016-03-18Revert "DO NOT MERGE Control fault injection with config files instead of build flags"Tao Bao1-71/+103
This reverts commit f73abf36bcfd433a3fdd1664a77e8e531346c1b1. Bug: 27724259 Change-Id: I1301fdad15650837d0b1febd0c3239134e2b94fb
2016-03-17Revert "DO NOT MERGE Control fault injection with config files instead of build flags"Tao Bao1-71/+103
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-103/+71
Bug: 26570379 Change-Id: I76109d09276d6e3ed3a32b6fedafb2582f545c0c
2016-03-14otafault: Fix setting of have_eio_error.Greg Kaiser1-1/+1
There was one case (ota_fsync, under TARGET_SYNC_FAULT, when the filename was cached) where we were not setting have_eio_error prior to returning. We fix that. Change-Id: I2b0aa61fb1e821f0e77881aba04db95cd8396812
2016-03-10Reboot and retry on I/O errorsTianjie Xu1-10/+58
When I/O error happens, reboot and retry installation two times before we abort this OTA update. Bug: 25633753 Change-Id: Iba6d4203a343a725aa625a41d237606980d62f69 (cherry picked from commit 3c62b67faf8a25f1dd1c44dc19759c3997fdfd36)
2016-01-06IO fault injection for OTA packagesJed Estep1-0/+160
Bug: 25951086 Change-Id: I31c74c735eb7a975b7f41fe2b2eff042e5699c0c