/foundation/multimedia/audio_framework/services/audio_service/common/src/ |
H A D | futex_tool.cpp | 69 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()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/accessmanager/ |
H A D | access_manager.cpp | 113 for (int32_t tryCount = 0; tryCount < DH_RETRY_INIT_DM_COUNT; ++tryCount) { in OnRemoteDied() 116 DHLOGI("DeviceManager onDied, try to init success, tryCount = %{public}d", tryCount); in OnRemoteDied() 119 DHLOGW("DeviceManager onDied, try to init failed, tryCount = %{public}d", tryCount); in OnRemoteDied()
|
/foundation/filemanagement/storage_service/services/storage_manager/storage/src/ |
H A D | storage_status_service.cpp | 109 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()
|
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/ |
H A D | audio_service_common_unit_test.cpp | 368 int32_t tryCount = 200; in HWTEST() local 369 while (tryCount-- > 0) { in HWTEST() 397 int32_t tryCount = 200; in HWTEST() local 398 while (tryCount-- > 0) { in HWTEST()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/ |
H A D | bluetooth_renderer_sink.cpp | 678 int32_t tryCount = 3; // try to start bluetooth render up to 3 times; in Start() local 680 while (tryCount-- > 0) { in Start() 687 AUDIO_ERR_LOG("Start failed, remaining %{public}d attempt(s)", tryCount); in Start() 714 int32_t tryCount = MAX_GET_POSITOIN_TRY_COUNT; in CheckPositionTime() local 718 while (tryCount-- > 0) { in CheckPositionTime() 725 AUDIO_WARNING_LOG("Try count %{public}d, ret %{public}d", tryCount, ret); in CheckPositionTime()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/list/ |
H A D | list_test_ng.cpp | 311 int32_t tryCount = 10; 313 while (predictParam && tryCount > 0) { 319 tryCount--;
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | audio_process_in_client.cpp | 1418 int tryCount = 10; in RecordPrepareCurrent() local 1421 && tryCount > 0) { in RecordPrepareCurrent() 1429 tryCount--; in RecordPrepareCurrent() 1432 CHECK_AND_RETURN_RET_LOG(tryCount > 0, ERR_INVALID_READ, in RecordPrepareCurrent() 1478 int tryCount = 10; // try 10 * 2 = 20ms in PrepareCurrent() local 1480 while (!tempSpan->spanStatus.compare_exchange_strong(targetStatus, SpanStatus::SPAN_WRITTING) && tryCount > 0) { in PrepareCurrent() 1481 tryCount--; in PrepareCurrent() 1487 // If the last attempt is successful, tryCount will be equal to zero. in PrepareCurrent() 1488 CHECK_AND_RETURN_RET_LOG(tryCount >= 0, false, in PrepareCurrent()
|
H A D | renderer_in_client.cpp | 1789 int32_t tryCount = 2; // try futex wait for 2 times. in WriteCacheData() local 1791 while (static_cast<uint32_t>(sizeInFrame) < spanSizeInFrame_ && tryCount > 0) { in WriteCacheData() 1792 tryCount--; in WriteCacheData()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/remote_fast/ |
H A D | remote_fast_audio_capturer_source.cpp | 459 int32_t tryCount = 10; in CheckPositionTime() local 465 while (tryCount-- > 0) { in CheckPositionTime() 472 AUDIO_WARNING_LOG("CheckPositionTime[%{public}d]:ret %{public}d", tryCount, ret); in CheckPositionTime()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/fast/ |
H A D | fast_audio_renderer_sink.cpp | 604 int32_t tryCount = 50; in CheckPositionTime() local 610 while (tryCount-- > 0) { in CheckPositionTime() 619 tryCount, ret, curSec, curNanoSec, timeSec, timeNanoSec); in CheckPositionTime()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/fast/ |
H A D | fast_audio_capturer_source.cpp | 489 int32_t tryCount = 50; // max try count in CheckPositionTime() local 495 while (tryCount-- > 0) { in CheckPositionTime() 504 tryCount, ret, curSec, curNanoSec, timeSec, timeNanoSec); in CheckPositionTime()
|
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote_fast/ |
H A D | remote_fast_audio_renderer_sink.cpp | 475 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()
|
/foundation/communication/netmanager_ext/services/vpnmanager/src/ |
H A D | networkvpn_service.cpp | 1189 uint32_t tryCount = 0; in SubscribeCommonEvent() local 1191 while (!subscribeResult && tryCount <= MAX_RETRY_TIMES) { in SubscribeCommonEvent() 1194 tryCount++; in SubscribeCommonEvent() 1195 NETMGR_EXT_LOG_E("SubscribeCommonEvent try %{public}d", tryCount); in SubscribeCommonEvent()
|