Searched refs:maxTries (Results 1 – 2 of 2) sorted by relevance
157 const int maxTries = MAX_WAIT_TIME_MS / WAIT_PERIOD_MS; in fillBuffer() local177 if (counter == maxTries) return TIMED_OUT; in fillBuffer()187 const int maxTries = MAX_WAIT_TIME_MS / WAIT_PERIOD_MS; in waitForConsumption() local190 while (!mStopPlaying && counter < maxTries) { in waitForConsumption()217 if (!mStopPlaying && counter == maxTries) return TIMED_OUT; in waitForConsumption()503 const int maxTries = MAX_WAIT_TIME_MS / WAIT_PERIOD_MS; in obtainBuffer() local522 if (counter == maxTries) return TIMED_OUT; in obtainBuffer()531 const int maxTries = MAX_WAIT_TIME_MS / WAIT_PERIOD_MS; in obtainBufferCb() local534 while (mBuffersReceived.empty() && !mStopRecording && counter < maxTries) { in obtainBufferCb()543 if (!mStopRecording && counter == maxTries) return TIMED_OUT; in obtainBufferCb()
121 int maxTries = 3; in load() local122 while (valueSize > mObservedBlobValueSize && maxTries > 0) { in load()131 maxTries--; in load()