Searched refs:tryCounter (Results 1 – 5 of 5) sorted by relevance
219 int tryCounter = 0; variable221 tryCounter++;222 if (tryCounter >= MAX_RETRY_TIMES) {275 int tryCounter = 1; variable276 while (!running && tryCounter <= MAX_RETRY_TIMES) {278 tryCounter++;335 int tryCounter = 1; variable336 while (!running && tryCounter <= MAX_RETRY_TIMES) {338 tryCounter++;392 int tryCounter = 1; variable[all …]
1706 int32_t tryCounter = 10; in RestoreTheadLoop() local1709 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() argument1729 AUDIO_ERR_LOG("restore audio stream failed, %{public}d attempts remaining", tryCounter); in RestoreAudioInLoop()
1461 int32_t tryCounter = 5; in RestoreTheadLoop() local1465 while (!result && tryCounter > 0) { in RestoreTheadLoop()1466 tryCounter--; in RestoreTheadLoop()1475 AUDIO_ERR_LOG("RestoreAudioStream Failed, %{public}d attempts remaining", tryCounter); in RestoreTheadLoop()
146 void RestoreAudioInLoop(bool &restoreResult, int32_t &tryCounter);
406 int32_t tryCounter = 5; in RecoveryPreferredDevices() local415 while (result != SUCCESS && tryCounter-- > 0) { in RecoveryPreferredDevices()427 iter->second->deviceType_, iter->second->usageOrSourceType_, tryCounter); in RecoveryPreferredDevices()