Home
last modified time | relevance | path

Searched refs:tryCount (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/accessmanager/
H A Daccess_manager.cpp103 for (int32_t tryCount = 0; tryCount < DH_RETRY_INIT_DM_COUNT; ++tryCount) { in OnRemoteDied() local
106 DHLOGI("DeviceManager onDied, try to init success, tryCount = %{public}d", tryCount); in OnRemoteDied()
109 DHLOGW("DeviceManager onDied, try to init failed, tryCount = %{public}d", tryCount); in OnRemoteDied()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Dfutex_tool.cpp69 int32_t tryCount = 0; in FutexWait() local
70 while (tryCount < WAIT_TRY_COUNT) { in FutexWait()
88 tryCount++; in FutexWait()
90 if (tryCount >= WAIT_TRY_COUNT) { in FutexWait()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/storage/src/
H A Dstorage_status_service.cpp109 int32_t tryCount = 1; in GetMediaStorageStats() local
111 while (dataShareHelper == nullptr && tryCount < GET_DATA_SHARE_HELPER_TIMES) { in GetMediaStorageStats()
112 LOGW("dataShareHelper is retrying, attempt %{public}d", tryCount); in GetMediaStorageStats()
114 tryCount++; in GetMediaStorageStats()
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_sender.cpp224 uint8_t tryCount = smsIndexer->GetCsResendCount(); in SendCsSms() local
226 if (tryCount > 0) { in SendCsSms()
229 if (tryCount == 0 && smsIndexer->GetHasMore()) { in SendCsSms()
242 uint8_t tryCount = smsIndexer->GetCsResendCount(); in SendSatelliteSms() local
244 if (tryCount > 0) { in SendSatelliteSms()
247 TELEPHONY_LOGI("satellite SendSms tryCount = %{public}d", tryCount); in SendSatelliteSms()
248 if (tryCount == 0 && smsIndexer->GetHasMore()) { in SendSatelliteSms()
/ohos5.0/base/powermgr/display_manager/state_manager/service/native/src/
H A Ddisplay_power_mgr_service.cpp63 for (uint32_t tryCount = 0; tryCount <= GET_DISPLAY_ID_RETRY_COUNT; tryCount++) { in Init() local
68 if (tryCount < GET_DISPLAY_ID_RETRY_COUNT) { in Init()
70 … DISPLAY_HILOGI(COMP_SVC, "cannot find any display id, retry! count: %{public}u", tryCount + 1); in Init()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/
H A Dbluetooth_renderer_sink.cpp664 int32_t tryCount = 3; // try to start bluetooth render up to 3 times; in Start() local
666 while (tryCount-- > 0) { in Start()
676 AUDIO_ERR_LOG("Start failed, remaining %{public}d attempt(s)", tryCount); in Start()
703 int32_t tryCount = MAX_GET_POSITOIN_TRY_COUNT; in CheckPositionTime() local
707 while (tryCount-- > 0) { in CheckPositionTime()
714 AUDIO_WARNING_LOG("Try count %{public}d, ret %{public}d", tryCount, ret); in CheckPositionTime()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/test/unittest/
H A Daudio_service_common_unit_test.cpp368 int32_t tryCount = 200; variable
369 while (tryCount-- > 0) {
397 int32_t tryCount = 200; variable
398 while (tryCount-- > 0) {
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_process_in_client.cpp1420 int tryCount = 10; in RecordPrepareCurrent() local
1423 && tryCount > 0) { in RecordPrepareCurrent()
1431 tryCount--; in RecordPrepareCurrent()
1434 CHECK_AND_RETURN_RET_LOG(tryCount > 0, ERR_INVALID_READ, in RecordPrepareCurrent()
1480 int tryCount = 50; // try 50 * 2 = 100ms in PrepareCurrent() local
1482 …pan->spanStatus.compare_exchange_strong(targetStatus, SpanStatus::SPAN_WRITTING) && tryCount > 0) { in PrepareCurrent()
1483 tryCount--; in PrepareCurrent()
1490 CHECK_AND_RETURN_RET_LOG(tryCount >= 0, false, in PrepareCurrent()
H A Drenderer_in_client.cpp1778 int32_t tryCount = 2; // try futex wait for 2 times. in WriteCacheData() local
1780 while (static_cast<uint32_t>(sizeInFrame) < spanSizeInFrame_ && tryCount > 0) { in WriteCacheData()
1781 tryCount--; in WriteCacheData()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_test_ng.cpp545 int32_t tryCount = 10; in FlushIdleTask() local
547 while (predictParam && tryCount > 0) { in FlushIdleTask()
552 tryCount--; in FlushIdleTask()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote_fast/
H A Dremote_fast_audio_renderer_sink.cpp475 int32_t tryCount = 10; in CheckPositionTime() local
481 while (tryCount-- > 0) { in CheckPositionTime()
488 AUDIO_WARNING_LOG("CheckPositionTime[%{public}d]:ret %{public}d", tryCount, ret); in CheckPositionTime()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/fast/
H A Dfast_audio_capturer_source.cpp479 int32_t tryCount = 50; // max try count in CheckPositionTime() local
485 while (tryCount-- > 0) { in CheckPositionTime()
492 AUDIO_WARNING_LOG("CheckPositionTime[%{public}d]:ret %{public}d", tryCount, ret); in CheckPositionTime()
/ohos5.0/drivers/peripheral/codec/test/demo/v2.0/src/
H A Dcodec_hdi_decode.cpp503 int32_t tryCount = MAX_WAIT_COUNT; in FreeBuffers() local
514 tryCount--; in FreeBuffers()
515 } while ((status != OMX_StateLoaded) && (tryCount > 0)); in FreeBuffers()
H A Dcodec_hdi_encode.cpp414 int32_t tryCount = MAX_WAIT_COUNT; in FreeBuffers() local
425 tryCount--; in FreeBuffers()
426 } while ((status != OMX_StateLoaded) && (tryCount > 0)); in FreeBuffers()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/fast/
H A Dfast_audio_renderer_sink.cpp603 int32_t tryCount = 50; in CheckPositionTime() local
609 while (tryCount-- > 0) { in CheckPositionTime()
616 AUDIO_WARNING_LOG("CheckPositionTime[%{public}d]:ret %{public}d", tryCount, ret); in CheckPositionTime()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/remote_fast/
H A Dremote_fast_audio_capturer_source.cpp447 int32_t tryCount = 10; in CheckPositionTime() local
453 while (tryCount-- > 0) { in CheckPositionTime()
460 AUDIO_WARNING_LOG("CheckPositionTime[%{public}d]:ret %{public}d", tryCount, ret); in CheckPositionTime()
/ohos5.0/foundation/communication/netmanager_ext/services/vpnmanager/src/
H A Dnetworkvpn_service.cpp1006 uint32_t tryCount = 0; in SubscribeCommonEvent() local
1008 while (!subscribeResult && tryCount <= MAX_RETRY_TIMES) { in SubscribeCommonEvent()
1011 tryCount++; in SubscribeCommonEvent()
1012 NETMGR_EXT_LOG_E("SubscribeCommonEvent try %{public}d", tryCount); in SubscribeCommonEvent()
/ohos5.0/drivers/peripheral/codec/test/demo/idl/src/
H A Dcodec_hdi_decode.cpp635 int32_t tryCount = 3; in FreeBuffers() local
646 tryCount--; in FreeBuffers()
647 } while ((status != CODEC_STATE_LOADED) && (tryCount > 0)); in FreeBuffers()
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-codec-des.md698 int32_t tryCount = 3;
709 tryCount--;
710 } while ((status != CODEC_STATE_LOADED) && (tryCount > 0));
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-codec-des.md698 int32_t tryCount = 3;
709 tryCount--;
710 } while ((status != CODEC_STATE_LOADED) && (tryCount > 0));