Searched refs:maxRetryTimes (Results 1 – 7 of 7) sorted by relevance
34 bool BlockRetry(uint32_t interval, uint32_t maxRetryTimes, Function func) in BlockRetry() argument45 } while (times < maxRetryTimes); in BlockRetry()
48 constexpr int32_t maxRetryTimes = 1; in LoadModule() local63 if (retryInterval_ > 0 && retryTimes <= maxRetryTimes) { in LoadModule()66 } while (retryTimes <= maxRetryTimes); in LoadModule()
106 constexpr uint32_t maxRetryTimes = 5; in SendScheduleMsgToAbilityThread() local109 while (retryTimes < maxRetryTimes) { in SendScheduleMsgToAbilityThread()
46 const static size_t maxRetryTimes {100};63 while (fileContentLen == 0 && !isChunked && !isClosed && retryTimes < maxRetryTimes) { in GetFileContentLength()
250 int32_t maxRetryTimes = 2; in CallService() local252 for (int32_t retryTimes = 0; retryTimes < maxRetryTimes; retryTimes++) { in CallService()
142 bool BlockRetry(uint32_t interval, uint32_t maxRetryTimes, Function func);
86 constexpr int32_t maxRetryTimes = 5; // 回调注册失败最大尝试次数 in RegisterCallback() local94 if (retryTimes++ < maxRetryTimes) { in RegisterCallback()100 } while (retryTimes < maxRetryTimes); in RegisterCallback()