Home
last modified time | relevance | path

Searched refs:should_fault_inject (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/otafault/
Dota_io.cpp48 if (should_fault_inject(OTAIO_READ)) { in ota_set_fault_files()
51 if (should_fault_inject(OTAIO_WRITE)) { in ota_set_fault_files()
54 if (should_fault_inject(OTAIO_FSYNC)) { in ota_set_fault_files()
113 if (should_fault_inject(OTAIO_READ)) { in ota_fread()
134 if (should_fault_inject(OTAIO_READ)) { in ota_read()
154 if (should_fault_inject(OTAIO_WRITE)) { in ota_fwrite()
174 if (should_fault_inject(OTAIO_WRITE)) { in ota_write()
194 if (should_fault_inject(OTAIO_FSYNC)) { in ota_fsync()
Dconfig.cpp43 bool should_fault_inject(const char* io_type) { in should_fault_inject() function
61 return should_fault_inject(OTAIO_CACHE); in should_hit_cache()
/bootable/recovery/otafault/include/otafault/
Dconfig.h58 bool should_fault_inject(const char* io_type);