Searched refs:waitCount (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DMediaSource.java235 int waitCount = 0;
248 waitCount++;
249 if (waitCount == PREP_TIMEOUT_REPEAT) {
264 int waitCount = 0;
266 if (waitCount == NEWFRAME_TIMEOUT_REPEAT) {
281 waitCount++;
H A DCameraSource.java169 int waitCount = 0;
171 if (waitCount == NEWFRAME_TIMEOUT_REPEAT) {
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp591 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) argument
605 if (waitCount == -1) {
607 } else if (waitCount == 0) {
609 } else if (waitCount > 0) {
610 long long ms = WAIT_PERIOD_MS * (long long) waitCount;
615 ALOGE("%s invalid waitCount %d", __func__, waitCount);
H A DAudioTrack.cpp1261 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) argument
1275 if (waitCount == -1) {
1277 } else if (waitCount == 0) {
1279 } else if (waitCount > 0) {
1280 long long ms = WAIT_PERIOD_MS * (long long) waitCount;
1285 ALOGE("%s invalid waitCount %d", __func__, waitCount);
/frameworks/av/include/media/
H A DAudioRecord.h331 * regardless of the value of waitCount.
333 * maximum timeout based on waitCount; see chart below.
336 * or return WOULD_BLOCK depending on the value of the "waitCount"
342 * Interpretation of waitCount:
361 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount)
H A DAudioTrack.h495 * regardless of the value of waitCount.
497 * maximum timeout based on waitCount; see chart below.
500 * or return WOULD_BLOCK depending on the value of the "waitCount"
507 * Interpretation of waitCount:
526 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount)

Completed in 138 milliseconds