/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_easy/ |
H A D | easy_socket_writer.c | 85 int retryTimes = 3; // retry 3 times to write socket in Write() local 89 retryTimes--; in Write() 90 } while (sendRet < 0 && retryTimes > 0 && (errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR)); in Write()
|
/base/security/device_security_level/baselib/utils/src/ |
H A D | utils_datetime.c | 36 uint32_t retryTimes = 0; in GetMillisecondSinceBoot() local 37 while (retryTimes < GET_TIME_RETRY_TIMES) { in GetMillisecondSinceBoot() 43 retryTimes++; in GetMillisecondSinceBoot()
|
/base/startup/init/services/param/base/ |
H A D | param_base.h | 50 uint32_t retryTimes = 0;
in ReadCommitId() local 54 if (retryTimes++ % READ_COMMIT_ID_LOOP_RETRY_TIME_WARNING == 0) {
in ReadCommitId() 55 PARAM_LOGW("ReadCommitId warning, too many retry times, %{public}d", retryTimes);
in ReadCommitId()
|
/base/update/updateservice/services/core/ability/download/data/include/ |
H A D | download_info.h | 42 int32_t retryTimes = 0; member 64 .append("retryTimes=").append(std::to_string(retryTimes)).append(",") in ToString()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
H A D | os_account_interface.cpp | 176 int32_t retryTimes = 0; in SendToBMSAccountCreate() local 177 while (retryTimes < MAX_RETRY_TIMES) { in SendToBMSAccountCreate() 183 retryTimes++; in SendToBMSAccountCreate() 330 int32_t retryTimes = 0; in SendToStorageAccountCreate() local 331 while (retryTimes < MAX_RETRY_TIMES) { in SendToStorageAccountCreate() 338 retryTimes++; in SendToStorageAccountCreate() 466 int32_t retryTimes = 0; in UnlockUser() local 468 while (retryTimes < MAX_RETRY_TIMES) { in UnlockUser() 473 retryTimes++; in UnlockUser() 490 retryTimes in UnlockUser() 584 int32_t retryTimes = 0; SendToStorageAccountCreateComplete() local [all...] |
H A D | inner_os_account_manager.cpp | 152 int32_t retryTimes = 0; in RetryToGetAccount() local 153 while (retryTimes < MAX_RETRY_TIMES) { in RetryToGetAccount() 161 retryTimes++; in RetryToGetAccount()
|
/base/powermgr/thermal_manager/test/systemtest/src/ |
H A D | thermal_level_event_system_test.cpp | 247 int32_t retryTimes = 2; in RegisterEvent() local 253 for (int32_t tryTimes = 0; tryTimes < retryTimes; tryTimes++) { in RegisterEvent() 266 int32_t retryTimes = 2; in RegisterEvent() local 272 for (int32_t tryTimes = 0; tryTimes < retryTimes; tryTimes++) { in RegisterEvent() 285 int32_t retryTimes = 2; in RegisterEvent() local 291 for (int32_t tryTimes = 0; tryTimes < retryTimes; tryTimes++) { in RegisterEvent() 304 int32_t retryTimes = 2; in RegisterEvent() local 310 for (int32_t tryTimes = 0; tryTimes < retryTimes; tryTimes++) { in RegisterEvent() 323 int32_t retryTimes = 2; in RegisterEvent() local 329 for (int32_t tryTimes = 0; tryTimes < retryTimes; tryTime in RegisterEvent() [all...] |
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
H A D | transport.cpp | 97 auto retryTimes = RETRY_TIMES; in SendToHiSysEventDataSource() local 101 retryTimes--; in SendToHiSysEventDataSource() 102 } while (sendRet < 0 && retryTimes > 0 && (errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR)); in SendToHiSysEventDataSource()
|
/base/tee/tee_client/services/cadaemon/src/tui_daemon/ |
H A D | tee_tui_daemon.cpp | 49 int32_t retryTimes = 0;
in GetTuiDevFd() local 54 retryTimes++;
in GetTuiDevFd() 56 if (retryTimes > RETRY_TIMES) {
in GetTuiDevFd()
|
/base/update/updater/services/sdcard_update/ |
H A D | sdcard_update.cpp | 74 unsigned int retryTimes = 20; // Wait 20s in DoMountSdCard() local 76 retryTimes = 60; // Wait 60s in DoMountSdCard() 78 for (unsigned int retryCount = 1; retryCount <= retryTimes; retryCount++) { in DoMountSdCard()
|
/base/powermgr/power_manager/test/systemtest/src/ |
H A D | power_level_event_system_test_on.cpp | 79 int32_t retryTimes = 2; in RegisterEvent() local 85 for (int32_t tryTimes = 0; tryTimes < retryTimes; tryTimes++) { in RegisterEvent()
|
H A D | power_level_event_system_test_off.cpp | 78 int32_t retryTimes = 2; in RegisterEvent() local 84 for (int32_t tryTimes = 0; tryTimes < retryTimes; tryTimes++) { in RegisterEvent()
|
H A D | power_mgr_powersavemode_test.cpp | 389 int32_t retryTimes = 2; in RegisterEvent() local 395 for (int32_t tryTimes = 0; tryTimes < retryTimes; tryTimes++) { in RegisterEvent()
|
/base/update/updateservice/foundations/ability/sa_loader/src/ |
H A D | load_sa_service.cpp | 67 constexpr int32_t retryTimes = 100; // 重试次数 in CheckSaLoaded() local 68 int32_t retry = retryTimes; in CheckSaLoaded()
|
/base/update/updateservice/interfaces/inner_api/modulemgr/src/ |
H A D | module_manager.cpp | 51 int32_t retryTimes = 0; in LoadModule() local 64 retryTimes++; in LoadModule() 65 if (retryInterval_ > 0 && retryTimes <= maxRetryTimes) { in LoadModule() 68 } while (retryTimes <= maxRetryTimes); in LoadModule()
|
/base/usb/usb_manager/services/native/src/ |
H A D | usb_function_switch_window.cpp | 258 int32_t retryTimes = 0;
in CheckDialogInstallStatus() local 259 while (retryTimes < MAX_RETRY_TIMES) {
in CheckDialogInstallStatus() 262 USB_HILOGI(MODULE_USB_SERVICE, "check dialog, times=%{public}d,res=%{public}d", retryTimes, isDialogInstalled_);
in CheckDialogInstallStatus() 264 retryTimes++;
in CheckDialogInstallStatus()
|
H A D | usb_service.cpp | 185 int32_t retryTimes = 0; in OnStart() local 186 while (retryTimes < SERVICE_STARTUP_MAX_TIME) { in OnStart() 191 retryTimes++; in OnStart() 193 if (retryTimes == SERVICE_STARTUP_MAX_TIME) { in OnStart()
|
/base/useriam/user_auth_framework/services/remote_connect/src/ |
H A D | soft_bus_manager.cpp | 271 for (int32_t retryTimes = 0; retryTimes < BIND_SERVICE_MAX_RETRY_TIMES; retryTimes++) { in ServiceSocketInit() 410 for (int32_t retryTimes = 0; retryTimes < BIND_SERVICE_MAX_RETRY_TIMES; retryTimes++) { in ClientSocketBind()
|
/base/update/updateservice/frameworks/js/napi/update/src/ |
H A D | update_client.cpp | 87 int32_t retryTimes = 0; in RegisterCallback() local 94 if (retryTimes++ < maxRetryTimes) { in RegisterCallback() 98 ENGINE_LOGE("InitCallback fail after retry %{public}d times", retryTimes); in RegisterCallback() 100 } while (retryTimes < maxRetryTimes); in RegisterCallback()
|
/base/security/access_token/services/tokensyncmanager/src/remote/ |
H A D | soft_bus_manager.cpp | 413 int32_t retryTimes = 0;
in BindService() local 415 while (retryTimes < BIND_SERVICE_MAX_RETRY_TIMES) {
in BindService() 419 retryTimes++;
in BindService()
|
/base/useriam/user_auth_framework/services/ipc/src/ |
H A D | user_auth_service.cpp | 985 const int32_t retryTimes = 3; in Insert2ContextPool() local 986 for (auto i = 0; i < retryTimes; i++) { in Insert2ContextPool() 992 IAM_LOGI("insert context to pool, retry %{public}d times", retryTimes); in Insert2ContextPool()
|
/base/powermgr/power_manager/test/unittest/src/ |
H A D | power_coordination_lock_test.cpp | 143 int32_t retryTimes = 2; in RegisterEvent() local 150 for (int32_t tryTimes = 0; tryTimes < retryTimes; tryTimes++) { in RegisterEvent()
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | input_method_controller_test.cpp | 372 for (uint32_t retryTimes = 0; retryTimes < RETRY_TIMES; ++retryTimes) { in CheckProxyObject() 373 IMSA_HILOGI("times = %{public}d", retryTimes); in CheckProxyObject()
|