Home
last modified time | relevance | path

Searched refs:MAX_RETRY_TIMES (Results 1 - 18 of 18) sorted by relevance

/base/print/print_fwk/services/print_service/src/
H A Dprint_service_helper.cpp30 const uint32_t MAX_RETRY_TIMES = 3; member
61 while (retry++ < MAX_RETRY_TIMES) { in StartAbility()
70 if (retry > MAX_RETRY_TIMES) { in StartAbility()
92 while (retry++ < MAX_RETRY_TIMES) { in StartPluginPrintIconExtAbility()
100 if (retry > MAX_RETRY_TIMES) { in StartPluginPrintIconExtAbility()
H A Dprint_cups_client.cpp62 const uint32_t MAX_RETRY_TIMES = 5; member
1051 while (retryCount < MAX_RETRY_TIMES) { in CheckPrinterMakeModel()
1086 while (retryCount < MAX_RETRY_TIMES) { in VerifyPrintJob()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/
H A Dthermal_common_event_receiver.cpp70 static const int32_t MAX_RETRY_TIMES = 2; in RegisterSubscriber() local
74 for (int32_t tryTimes = 0; tryTimes < MAX_RETRY_TIMES; tryTimes++) { in RegisterSubscriber()
/base/security/access_token/interfaces/innerkits/nativetoken/include/
H A Dnativetoken.h40 #define MAX_RETRY_TIMES 1000 macro
/base/location/services/location_gnss/gnss/source/
H A Dagnss_ni_manager.cpp40 constexpr uint32_t MAX_RETRY_TIMES = 3;
95 while (!result && count <= MAX_RETRY_TIMES) { in RegisterAgnssNiEvent()
99 if (count > MAX_RETRY_TIMES || !result) { in RegisterAgnssNiEvent()
117 while (!result && count <= MAX_RETRY_TIMES) { in RegisterNiResponseEvent()
121 if (count > MAX_RETRY_TIMES || !result) { in RegisterNiResponseEvent()
/base/telephony/sms_mms/services/mms/
H A Dmms_network_client.cpp52 constexpr static const uint8_t MAX_RETRY_TIMES = 3; member
158 for (retryTimes_ = 0; retryTimes_ <= MAX_RETRY_TIMES; retryTimes_++) { in PostUrl()
189 if (retryTimes_ > MAX_RETRY_TIMES) { in PostUrl()
297 for (retryTimes_ = 0; retryTimes_ <= MAX_RETRY_TIMES; retryTimes_++) { in GetUrl()
326 if (retryTimes_ > MAX_RETRY_TIMES) { in GetUrl()
/base/account/os_account/services/accountmgr/src/account_iam/
H A Dinner_account_iam_manager.cpp46 constexpr int32_t MAX_RETRY_TIMES = 20; member
523 while (times < MAX_RETRY_TIMES) { in UpdateStorageKey()
565 while (times < MAX_RETRY_TIMES) { in UpdateStorageKeyContext()
600 while (times < MAX_RETRY_TIMES) { in UpdateStorageUserAuth()
659 while (times < MAX_RETRY_TIMES) { in GetLockScreenStatus()
693 while (times < MAX_RETRY_TIMES) { in UnlockUserScreen()
728 while (times < MAX_RETRY_TIMES) { in ActivateUserKey()
/base/usb/usb_manager/services/native/src/
H A Dusb_function_switch_window.cpp39 constexpr int32_t MAX_RETRY_TIMES = 30; member
259 while (retryTimes < MAX_RETRY_TIMES) { in CheckDialogInstallStatus()
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_interface.cpp63 constexpr int32_t MAX_RETRY_TIMES = 10; member
177 while (retryTimes < MAX_RETRY_TIMES) { in SendToBMSAccountCreate()
331 while (retryTimes < MAX_RETRY_TIMES) { in SendToStorageAccountCreate()
468 while (retryTimes < MAX_RETRY_TIMES) { in UnlockUser()
585 while (retryTimes < MAX_RETRY_TIMES) { in SendToStorageAccountCreateComplete()
H A Dinner_os_account_manager.cpp59 constexpr int32_t MAX_RETRY_TIMES = 50; member
153 while (retryTimes < MAX_RETRY_TIMES) { in RetryToGetAccount()
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_level_event_test.cpp138 static const int32_t MAX_RETRY_TIMES = 2; in RegisterEvent() local
144 for (int32_t tryTimes = 0; tryTimes < MAX_RETRY_TIMES; tryTimes++) { in RegisterEvent()
/base/account/os_account/services/accountmgr/src/
H A Dohos_account_manager.cpp56 constexpr std::int32_t MAX_RETRY_TIMES = 2; // give another chance when json file corrupted member
578 while (tryTimes < MAX_RETRY_TIMES) { in OnInitialize()
586 if ((tryTimes == MAX_RETRY_TIMES) || (errCode != ERR_ACCOUNT_DATADEAL_JSON_FILE_CORRUPTION)) { in OnInitialize()
/base/security/access_token/services/tokensyncmanager/test/unittest/
H A Dtoken_sync_service_test.cpp88 static constexpr int MAX_RETRY_TIMES = 10; member
164 while (!GetSendMessFlagMock() && count < MAX_RETRY_TIMES) { in SendTaskThread()
634 while (!GetSendMessFlagMock() && count < MAX_RETRY_TIMES) { in HWTEST_F()
854 while (!GetSendMessFlagMock() && count < MAX_RETRY_TIMES) { in HWTEST_F()
/base/theme/wallpaper_mgr/frameworks/native/src/
H A Dwallpaper_manager.cpp53 constexpr int32_t MAX_RETRY_TIMES = 10; member
138 } while (result != true && times < MAX_RETRY_TIMES); in OnRemoteDied()
/base/theme/screenlock_mgr/services/src/
H A Dscreenlock_system_ability.cpp72 constexpr int32_t MAX_RETRY_TIMES = 20; member
185 if (systemReady_ == false && times <= MAX_RETRY_TIMES) { in RegisterDisplayPowerEventListener()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_ability.cpp45 constexpr uint32_t MAX_RETRY_TIMES = 100; member
994 if (!BlockRetry(FIND_PANEL_RETRY_INTERVAL, MAX_RETRY_TIMES, [panel]() -> bool { in GetSoftKeyboardPanel()
/base/security/access_token/interfaces/innerkits/nativetoken/src/
H A Dnativetoken.c286 int32_t retry = MAX_RETRY_TIMES; in CreateNativeTokenId()
/base/theme/wallpaper_mgr/services/src/
H A Dwallpaper_service.cpp118 constexpr int32_t MAX_RETRY_TIMES = 20; member
213 if (!subRes && times <= MAX_RETRY_TIMES) { in RegisterSubscriber()

Completed in 26 milliseconds