Lines Matching refs:retry
124 Status cp_startCheckpoint(int retry) { in cp_startCheckpoint() argument
129 if (retry < -1) return error(EINVAL, "Retry count must be more than -1"); in cp_startCheckpoint()
130 std::string content = std::to_string(retry + 1); in cp_startCheckpoint()
131 if (retry == -1) { in cp_startCheckpoint()
219 int retry = 0; in abort_metadata_file() local
231 if (!android::base::ParseInt(retryContent, &retry)) { in abort_metadata_file()
235 if (retry > 0) { in abort_metadata_file()
243 void cp_abortChanges(const std::string& message, bool retry) { in cp_abortChanges() argument
245 if (!retry) abort_metadata_file(); in cp_abortChanges()
720 int retry = 0; in cp_markBootAttempt() local
730 if (!android::base::ParseInt(retryContent, &retry)) in cp_markBootAttempt()
732 if (retry > 0) { in cp_markBootAttempt()
733 retry--; in cp_markBootAttempt()
735 newContent = std::to_string(retry); in cp_markBootAttempt()