Home
last modified time | relevance | path

Searched refs:tryCounter (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Devloop_timer_unit_test.cpp219 int tryCounter = 0; variable
221 tryCounter++;
222 if (tryCounter >= MAX_RETRY_TIMES) {
275 int tryCounter = 1; variable
276 while (!running && tryCounter <= MAX_RETRY_TIMES) {
278 tryCounter++;
335 int tryCounter = 1; variable
336 while (!running && tryCounter <= MAX_RETRY_TIMES) {
338 tryCounter++;
392 int tryCounter = 1; variable
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/
H A Daudio_renderer.cpp1706 int32_t tryCounter = 10; in RestoreTheadLoop() local
1709 while (!restoreResult && tryCounter > 0) { in RestoreTheadLoop()
1710 tryCounter--; in RestoreTheadLoop()
1716 renderer_->RestoreAudioInLoop(restoreResult, tryCounter); in RestoreTheadLoop()
1720 void AudioRendererPrivate::RestoreAudioInLoop(bool &restoreResult, int32_t &tryCounter) in RestoreAudioInLoop() argument
1729 AUDIO_ERR_LOG("restore audio stream failed, %{public}d attempts remaining", tryCounter); in RestoreAudioInLoop()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/
H A Daudio_capturer.cpp1461 int32_t tryCounter = 5; in RestoreTheadLoop() local
1465 while (!result && tryCounter > 0) { in RestoreTheadLoop()
1466 tryCounter--; in RestoreTheadLoop()
1475 AUDIO_ERR_LOG("RestoreAudioStream Failed, %{public}d attempts remaining", tryCounter); in RestoreTheadLoop()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/include/
H A Daudio_renderer_private.h146 void RestoreAudioInLoop(bool &restoreResult, int32_t &tryCounter);
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_policy_service.cpp406 int32_t tryCounter = 5; in RecoveryPreferredDevices() local
415 while (result != SUCCESS && tryCounter-- > 0) { in RecoveryPreferredDevices()
427 iter->second->deviceType_, iter->second->usageOrSourceType_, tryCounter); in RecoveryPreferredDevices()