Home
last modified time | relevance | path

Searched refs:tryTimes (Results 1 - 22 of 22) sorted by relevance

/foundation/distributeddatamgr/data_share/frameworks/native/provider/src/
H A Ddatashare_uv_queue.cpp119 int tryTimes = TRY_TIMES; in CheckFuncAndExec() local
120 while (retFunc() != true && tryTimes > 0) { in CheckFuncAndExec()
122 tryTimes--; in CheckFuncAndExec()
124 if (tryTimes <= 0) { in CheckFuncAndExec()
/foundation/distributedhardware/device_manager/utils/src/kvadapter/
H A Dkv_adapter.cpp54 int32_t tryTimes = MAX_INIT_RETRY_TIMES; in Init() local
55 while (tryTimes > 0) { in Init()
63 LOGE("CheckKvStore, left times: %{public}d, status: %{public}d", tryTimes, status); in Init()
71 tryTimes--; in Init()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_config_data_manager.cpp70 int32_t tryTimes = MAX_TIMES; in CheckKvStore() local
71 while (tryTimes > 0) { in CheckKvStore()
77 tryTimes--; in CheckKvStore()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Ddb_adapter.cpp106 int32_t tryTimes = MAX_INIT_RETRY_TIMES; in Init() local
107 while (tryTimes > 0) { in Init()
121 DHLOGD("CheckKvStore, left times: %{public}d", tryTimes); in Init()
123 tryTimes--; in Init()
139 int32_t tryTimes = MAX_INIT_RETRY_TIMES; in InitLocal() local
140 while (tryTimes > 0) { in InitLocal()
147 DHLOGD("CheckKvStore, left times: %{public}d", tryTimes); in InitLocal()
149 tryTimes--; in InitLocal()
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/
H A Dwifi_hal_module_manage.c182 int tryTimes = STOP_MODULE_TRY_TIMES; in StopModuleInternalCheckProcess() local
183 while (tryTimes-- >= 0) { in StopModuleInternalCheckProcess()
186 LOGI("Waitpid %{public}d ret %{public}d, tryTimes %{public}d and retry", processId, ret, tryTimes); in StopModuleInternalCheckProcess()
190 LOGI("Stop wpa process [%{public}d] success, tryTimes %{public}d", processId, tryTimes); in StopModuleInternalCheckProcess()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Ddsched_sync_e2e.cpp327 int32_t tryTimes = MAX_TIMES; in CheckKvStore() local
328 while (tryTimes > 0) { in CheckKvStore()
333 HILOGW("CheckKvStore, Times: %{public}d", tryTimes); in CheckKvStore()
335 tryTimes--; in CheckKvStore()
H A Ddistributed_bm_storage.cpp529 int32_t tryTimes = MAX_TIMES; in CheckKvStore() local
530 while (tryTimes > 0) { in CheckKvStore()
535 HILOGW("CheckKvStore, Times: %{public}d", tryTimes); in CheckKvStore()
537 tryTimes--; in CheckKvStore()
/foundation/communication/dsoftbus/core/adapter/kv_store/src/
H A Dlnn_kv_adapter.cpp56 int32_t tryTimes = MAX_INIT_RETRY_TIMES; in Init() local
58 while (tryTimes > 0) { in Init()
65 LNN_LOGI(LNN_LEDGER, "CheckKvStore, left times: %{public}d, status: %{public}d", tryTimes, status); in Init()
75 tryTimes--; in Init()
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_double_write_concurrent_test.cpp152 int tryTimes = 0; in WaitForBackupFinish() local
153 while (curStatus != expectStatus && (++tryTimes <= maxTimes)) { in WaitForBackupFinish()
164 int tryTimes = 0; in TryInterruptBackup() local
165 while (err != E_OK && (++tryTimes <= 1000)) { // 1000 is try time in TryInterruptBackup()
H A Drdb_double_write_test.cpp209 int tryTimes = 0; in WaitForBackupFinish() local
210 while (curStatus != expectStatus && (++tryTimes <= maxTimes)) { in WaitForBackupFinish()
221 int tryTimes = 0; in TryInterruptBackup() local
222 while (err != E_OK && (++tryTimes <= 1000)) { // 1000 is try time in TryInterruptBackup()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_auto_startup_data_manager.cpp77 int32_t tryTimes = MAX_TIMES; in CheckKvStore() local
78 while (tryTimes > 0) { in CheckKvStore()
83 TAG_LOGD(AAFwkTag::AUTO_STARTUP, "Try times: %{public}d", tryTimes); in CheckKvStore()
85 tryTimes--; in CheckKvStore()
H A Dapp_exit_reason_data_manager.cpp74 int32_t tryTimes = MAX_TIMES; in CheckKvStore() local
75 while (tryTimes > 0) { in CheckKvStore()
80 TAG_LOGD(AAFwkTag::ABILITYMGR, "try times: %{public}d", tryTimes); in CheckKvStore()
82 tryTimes--; in CheckKvStore()
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/
H A Ddistributed_data_storage.cpp280 int32_t tryTimes = MAX_TIMES; in CheckKvStore() local
281 while (tryTimes > 0) { in CheckKvStore()
286 APP_LOGI("CheckKvStore, Times: %{public}d", tryTimes); in CheckKvStore()
288 tryTimes--; in CheckKvStore()
/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/
H A Dkv_adapter.cpp63 int32_t tryTimes = MAX_INIT_RETRY_TIMES; in Init() local
65 while (tryTimes > 0) { in Init()
75 HILOGI("CheckKvStore, left times: %{public}d, status: %{public}d", tryTimes, status); in Init()
84 tryTimes--; in Init()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/
H A Ddata_share_service_stub.cpp328 int tryTimes = TRY_TIMES; in OnRemoteRequest() local
329 while (!isReady_.load() && tryTimes > 0) { in OnRemoteRequest()
330 tryTimes--; in OnRemoteRequest()
/foundation/deviceprofile/device_info_manager/services/core/src/
H A Ddistributed_device_profile_service_new.cpp736 int32_t tryTimes = WRTE_CACHE_PROFILE_RETRY_TIMES; in SaveDynamicProfilesFromTempCache() local
737 while (tryTimes > 0) { in SaveDynamicProfilesFromTempCache()
741 HILOGW("SavePutTempCache fail! leftTimes:%{public}d", tryTimes); in SaveDynamicProfilesFromTempCache()
743 tryTimes--; in SaveDynamicProfilesFromTempCache()
745 if (tryTimes <= 0) { in SaveDynamicProfilesFromTempCache()
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/ble/
H A Dsoftbus_adapter_ble_gatt_server.c75 static int tryTimes = WAIT_HAL_REG_RETRY; in CheckGattsStatus() local
76 if (tryTimes > 0) { in CheckGattsStatus()
78 tryTimes--; in CheckGattsStatus()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/player/src/
H A Dcast_stream_player.cpp814 int32_t tryTimes = CAST_STREAM_INT_INIT; in GetImageResource() local
815 while (tryTimes < CAST_STREAM_MAX_TIMES && sumReadBytes < imageSize) { in GetImageResource()
821 tryTimes++; in GetImageResource()
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/player/src/
H A Dcast_stream_player.cpp814 int32_t tryTimes = CAST_STREAM_INT_INIT; in GetImageResource() local
815 while (tryTimes < CAST_STREAM_MAX_TIMES && sumReadBytes < imageSize) { in GetImageResource()
821 tryTimes++; in GetImageResource()
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_process_in_client.cpp1386 int32_t tryTimes = 3; in RecordReSyncServicePos() local
1388 while (tryTimes > 0) { in RecordReSyncServicePos()
1399 tryTimes--; in RecordReSyncServicePos()
1401 AUDIO_INFO_LOG("%{public}s get handle info OK, tryTimes %{public}d, serverHandlePos %{public}" PRIu64", " in RecordReSyncServicePos()
1402 "serverHandleTime %{public}" PRId64".", __func__, tryTimes, serverHandlePos, serverHandleTime); in RecordReSyncServicePos()
/foundation/multimedia/player_framework/services/services/screen_capture/server/
H A Dscreen_capture_server.cpp1160 int32_t tryTimes = TryStartNotification(); in PostStartScreenCapture() local
1161 if (tryTimes > NOTIFICATION_MAX_TRY_NUM) { in PostStartScreenCapture()
1203 int32_t tryTimes; in TryStartNotification() local
1204 for (tryTimes = 1; tryTimes <= NOTIFICATION_MAX_TRY_NUM; tryTimes++) { in TryStartNotification()
1210 return tryTimes; in TryStartNotification()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/
H A Dself_cure_state_machine.cpp2336 int tryTimes = TRY_TIMES; in GetLegalIpConfiguration() local
2341 while (testCnt++ < tryTimes) { in GetLegalIpConfiguration()

Completed in 32 milliseconds