Home
last modified time | relevance | path

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

/bootable/recovery/otafault/
Dota_io.cpp40 if (should_fault_inject(OTAIO_READ)) { in ota_set_fault_files()
43 if (should_fault_inject(OTAIO_WRITE)) { in ota_set_fault_files()
46 if (should_fault_inject(OTAIO_FSYNC)) { in ota_set_fault_files()
83 if (should_fault_inject(OTAIO_READ)) { in ota_fread()
102 if (should_fault_inject(OTAIO_READ)) { in ota_read()
121 if (should_fault_inject(OTAIO_WRITE)) { in ota_fwrite()
140 if (should_fault_inject(OTAIO_WRITE)) { in ota_write()
159 if (should_fault_inject(OTAIO_FSYNC)) { in ota_fsync()
Dconfig.cpp43 bool should_fault_inject(const char* io_type) { in should_fault_inject() function
59 return should_fault_inject(OTAIO_CACHE); in should_hit_cache()
Dconfig.h60 bool should_fault_inject(const char* io_type);