Home
last modified time | relevance | path

Searched refs:retryCount (Results 1 - 25 of 33) sorted by relevance

12

/base/msdp/device_status/utils/ipc/src/
H A Dstream_client.cpp60 int32_t retryCount = 0; in SendMsg() local
64 while (remSize > 0 && retryCount < SEND_RETRY_LIMIT) { in SendMsg()
65 retryCount += 1; in SendMsg()
81 if (retryCount >= SEND_RETRY_LIMIT || remSize != 0) { in SendMsg()
83 retryCount, SEND_RETRY_LIMIT, idx, bufSize, fd_); in SendMsg()
H A Dstream_session.cpp56 int32_t retryCount = 0; in SendMsg() local
59 while (remSize > 0 && retryCount < SEND_RETRY_LIMIT) { in SendMsg()
60 retryCount += 1; in SendMsg()
77 if (retryCount >= SEND_RETRY_LIMIT || remSize != 0) { in SendMsg()
79 retryCount, SEND_RETRY_LIMIT, idx, bufSize, fd_); in SendMsg()
/base/print/print_fwk/services/print_service/src/
H A Dprint_http_request_process.cpp248 int retryCount = 0; in ProcessHttpResponse() local
250 while (retryCount < RESPONSE_RETRY_MAX_TIMES && deviceOpen) { in ProcessHttpResponse()
252 retryCount++; in ProcessHttpResponse()
256 PRINT_HILOGD("Response totalSize:%{public}lu, retryCout = %{public}d", totalSize, retryCount); in ProcessHttpResponse()
265 if (retryCount >= RESPONSE_RETRY_MAX_TIMES) { in ProcessHttpResponse()
266 PRINT_HILOGE("process_http_response time out retryCout: %{public}d", retryCount); in ProcessHttpResponse()
274 int retryCount = 0; in ProcessHttpResponseGetAttr() local
275 while (retryCount < RESPONSE_RETRY_MAX_TIMES && deviceOpen) { in ProcessHttpResponseGetAttr()
277 retryCount++; in ProcessHttpResponseGetAttr()
281 PRINT_HILOGD("Response GetAttr totalSize:%{public}lu, retryCout = %{public}d", totalSize, retryCount); in ProcessHttpResponseGetAttr()
299 int retryCount = 0; ProcessHttpResponseSendDoc() local
389 int retryCount = 0; StartWriteDataToPrinterLooper() local
[all...]
/base/msdp/device_status/intention/ipc/socket/src/
H A Dsocket_session.cpp71 int32_t retryCount = 0; in SendMsg() local
75 while (remSize > 0 && retryCount < SEND_RETRY_LIMIT) { in SendMsg()
76 retryCount += 1; in SendMsg()
94 if (retryCount >= SEND_RETRY_LIMIT || remSize != 0) { in SendMsg()
96 "pid:%{public}d", retryCount, SEND_RETRY_LIMIT, idx, bufSize, fd_, pid_); in SendMsg()
/base/sensors/sensor/utils/ipc/src/
H A Dstream_session.cpp66 size_t retryCount = 0; in SendMsg()
68 while (remSize > 0 && retryCount < SEND_RETRY_LIMIT) { in SendMsg()
69 ++retryCount; in SendMsg()
94 if (retryCount >= SEND_RETRY_LIMIT || remSize != 0) { in SendMsg()
96 retryCount, SEND_RETRY_LIMIT, idx, size, fd_); in SendMsg()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
H A Dopen_stacktrace_catcher.cpp85 int retryCount = 0; in WaitChildPid() local
86 while (retryCount < MAX_RETRY_COUNT) { in WaitChildPid()
90 retryCount++; in WaitChildPid()
/base/security/asset/services/os_dependency/src/
H A Dsystem_ability_wrapper.cpp65 int32_t retryCount = RETRY_TIMES_FOR_SAMGR; in GetSystemAbility() local
68 while (samgrProxy == nullptr && retryCount > 0) { in GetSystemAbility()
71 retryCount--; in GetSystemAbility()
/base/update/updateservice/services/utils/src/
H A Ddupdate_net_observer.cpp48 int32_t retryCount = 0; in StartObserver()
56 retryCount++; in StartObserver()
59 } while (retryCount < RETRY_MAX_TIMES); in StartObserver()
/base/update/updater/services/sdcard_update/
H A Dsdcard_update.cpp78 for (unsigned int retryCount = 1; retryCount <= retryTimes; retryCount++) { in DoMountSdCard()
79 LOG(INFO) << "the retry time is: " << retryCount; in DoMountSdCard()
/base/web/webview/sa/src/
H A Dapp_fwk_update_service.cpp178 int retryCount = 0; in SendAppSpawnMessage() local
184 WVLOG_I("Failed to create reqMgr,retry count = %{public}d.", retryCount); in SendAppSpawnMessage()
189 WVLOG_I("Failed to create req,retry count = %{public}d.", retryCount); in SendAppSpawnMessage()
194 } while (++retryCount < RETRY_COUNT && ret != 0); in SendAppSpawnMessage()
204 int retryCount = 0; in SendNWebSpawnMesage() local
210 WVLOG_I("Failed to create reqMgr,retry count = %{public}d.", retryCount); in SendNWebSpawnMesage()
215 WVLOG_I("Failed to create req,retry count = %{public}d.", retryCount); in SendNWebSpawnMesage()
220 } while (++retryCount < RETRY_COUNT && ret != 0); in SendNWebSpawnMesage()
/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_repeat_guard.cpp143 int retryCount = REGISTER_RETRY_CNT; in RegisterListeningUeSwitch()
144 while (!success && retryCount > 0) { in RegisterListeningUeSwitch()
149 retryCount--; in RegisterListeningUeSwitch()
/base/startup/appspawn/interfaces/innerkits/client/
H A Dappspawn_client.c240 uint32_t retryCount = 1; in TryCreateSocket() local
241 while (retryCount <= reqMgr->maxRetryCount) { in TryCreateSocket()
248 retryCount++; in TryCreateSocket()
257 uint32_t retryCount = 1; in ClientSendMsg() local
259 while (retryCount <= reqMgr->maxRetryCount) { in ClientSendMsg()
264 retryCount++; in ClientSendMsg()
292 retryCount++; in ClientSendMsg()
H A Dappspawn_client.h75 uint32_t retryCount; member
/base/startup/init/test/systest/
H A Dloopclient_systest.c224 uint32_t retryCount = 1; in TryCreateSocket() local
225 while (retryCount <= reqMgr->maxRetryCount) { in TryCreateSocket()
232 retryCount++; in TryCreateSocket()
337 uint32_t retryCount = 1; in ClientSendMsg() local
338 while (retryCount <= reqMgr->maxRetryCount) { in ClientSendMsg()
343 retryCount++; in ClientSendMsg()
365 retryCount++; in ClientSendMsg()
H A Dloop_systest.h131 uint32_t retryCount; member
/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/
H A Dlog_catcher_utils.cpp195 int retryCount = MAX_RETRY_COUNT; in ReadShellToFile() local
196 while (retryCount > 0 && waitpid(childPid, nullptr, WNOHANG) == 0) { in ReadShellToFile()
198 retryCount--; in ReadShellToFile()
/base/hiviewdfx/hiview/plugins/event_store/event_export/
H A Devent_export_engine.cpp131 int retryCount = REGISTER_RETRY_CNT; in RegistSettingObserver() local
132 while (!regRet && retryCount > 0) { in RegistSettingObserver()
138 retryCount--; in RegistSettingObserver()
/base/account/os_account/frameworks/common/file_operator/src/
H A Daccount_file_operator.cpp314 uint32_t retryCount = 0; in IsExistFile() local
315 while (retryCount < RETRY_TIMES) { in IsExistFile()
323 retryCount++; in IsExistFile()
/base/startup/init/services/param/linux/
H A Dparam_request.c188 int retryCount = 0; in SystemSetParameter_() local
189 while (retryCount < 2) { // max retry 2 in SystemSetParameter_()
203 retryCount++; in SystemSetParameter_()
/base/powermgr/power_manager/frameworks/native/
H A Dpower_mgr_client.cpp116 uint32_t retryCount = 0; in OnRemoteDied() local
117 while (++retryCount <= CONNECT_RETRY_COUNT) { in OnRemoteDied()
121 POWER_HILOGI(COMP_FWK, "retry connect success, count %{public}d", retryCount); in OnRemoteDied()
124 POWER_HILOGI(COMP_FWK, "retry connect failed, count %{public}d", retryCount); in OnRemoteDied()
/base/startup/init/interfaces/innerkits/fs_manager/erofs_overlay/
H A Derofs_mount_overlay.c318 int retryCount = 3; in MountRofsDevice() local
319 while (retryCount-- > 0) { in MountRofsDevice()
361 int retryCount = 3; in MountExt4Device() local
362 while (retryCount-- > 0) { in MountExt4Device()
/base/update/updater/test/unittest/service_test/
H A Dupdater_service_unittest.cpp212 upParams.retryCount = 0; in HWTEST_F()
214 upParams.retryCount = 1; in HWTEST_F()
281 upParams.retryCount = 0; in HWTEST_F()
287 upParams.retryCount = 1; in HWTEST_F()
/base/update/updater/services/
H A Dupdater_main.cpp279 if (upParams.retryCount == 0) { in InstallUpdaterPackage()
280 // First time enter updater, record retryCount in case of abnormal reset. in InstallUpdaterPackage()
286 SetMessageToMisc(upParams.miscCmd, upParams.retryCount + 1, "retry_count"); in InstallUpdaterPackage()
385 if (upParams.retryCount == 0 && !IsBatteryCapacitySufficient()) { in PreUpdatePackages()
523 if (upParams.retryCount == 0 && !IsBatteryCapacitySufficient()) {
665 upParams.retryCount = atoi(optarg);
666 HwFaultRetry::GetInstance().SetRetryCount(upParams.retryCount);
/base/startup/init/interfaces/innerkits/include/fs_manager/
H A Dfs_manager.h80 unsigned int retryCount; member
/base/update/updater/services/include/updater/
H A Dupdater.h50 int retryCount = 0; member

Completed in 14 milliseconds

12