/foundation/distributeddatamgr/data_share/frameworks/native/provider/src/ |
H A D | datashare_uv_queue.cpp | 119 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 D | kv_adapter.cpp | 54 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 D | app_config_data_manager.cpp | 70 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 D | db_adapter.cpp | 106 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 D | wifi_hal_module_manage.c | 182 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 D | dsched_sync_e2e.cpp | 327 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 D | distributed_bm_storage.cpp | 529 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 D | lnn_kv_adapter.cpp | 56 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 D | rdb_double_write_concurrent_test.cpp | 152 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 D | rdb_double_write_test.cpp | 209 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 D | ability_auto_startup_data_manager.cpp | 77 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 D | app_exit_reason_data_manager.cpp | 74 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 D | distributed_data_storage.cpp | 280 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 D | kv_adapter.cpp | 63 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 D | data_share_service_stub.cpp | 328 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 D | distributed_device_profile_service_new.cpp | 736 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 D | softbus_adapter_ble_gatt_server.c | 75 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 D | cast_stream_player.cpp | 814 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 D | cast_stream_player.cpp | 814 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 D | audio_process_in_client.cpp | 1386 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 D | screen_capture_server.cpp | 1160 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 D | self_cure_state_machine.cpp | 2336 int tryTimes = TRY_TIMES; in GetLegalIpConfiguration() local 2341 while (testCnt++ < tryTimes) { in GetLegalIpConfiguration()
|