Searched refs:waitCount (Results 1 - 8 of 8) 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/libaudioclient/
H A DAudioRecord.cpp755 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount, size_t *nonContig) argument
775 if (waitCount == -1) {
777 } else if (waitCount == 0) {
779 } else if (waitCount > 0) {
780 long long ms = WAIT_PERIOD_MS * (long long) waitCount;
785 ALOGE("%s invalid waitCount %d", __func__, waitCount);
H A DAudioTrack.cpp1601 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount, size_t *nonContig) argument
1621 if (waitCount == -1) {
1623 } else if (waitCount == 0) {
1625 } else if (waitCount > 0) {
1626 long long ms = WAIT_PERIOD_MS * (long long) waitCount;
1631 ALOGE("%s invalid waitCount %d", __func__, waitCount);
/frameworks/av/include/media/
H A DAudioRecord.h377 * regardless of the value of waitCount.
379 * maximum timeout based on waitCount; see chart below.
382 * or return WOULD_BLOCK depending on the value of the "waitCount"
385 * Interpretation of waitCount:
405 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
H A DAudioTrack.h646 * regardless of the value of waitCount.
648 * maximum timeout based on waitCount; see chart below.
651 * or return WOULD_BLOCK depending on the value of the "waitCount"
654 * Interpretation of waitCount:
673 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
/frameworks/av/media/libaudioclient/include/media/
H A DAudioRecord.h377 * regardless of the value of waitCount.
379 * maximum timeout based on waitCount; see chart below.
382 * or return WOULD_BLOCK depending on the value of the "waitCount"
385 * Interpretation of waitCount:
405 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,
H A DAudioTrack.h646 * regardless of the value of waitCount.
648 * maximum timeout based on waitCount; see chart below.
651 * or return WOULD_BLOCK depending on the value of the "waitCount"
654 * Interpretation of waitCount:
673 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount,

Completed in 3119 milliseconds