Home
last modified time | relevance | path

Searched refs:WOULD_BLOCK (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/libnbaio/
DAudioBufferProviderSource.cpp58 return status == NOT_ENOUGH_DATA ? (ssize_t) WOULD_BLOCK : (ssize_t) status; in read()
111 status = WOULD_BLOCK; in readVia()
/frameworks/base/core/jni/
Dandroid_media_AudioErrors.h50 case WOULD_BLOCK: in nativeToJavaStatus()
Dandroid_view_InputEventReceiver.cpp125 if (status == WOULD_BLOCK) { in finishInputEvent()
183 if (status == WOULD_BLOCK) { in handleEvent()
239 if (status == WOULD_BLOCK) { in consumeEvents()
Dandroid_view_InputQueue.cpp112 return *outEvent != NULL ? OK : WOULD_BLOCK; in getEvent()
Dandroid_view_InputEventSender.cpp193 if (status == WOULD_BLOCK) { in receiveFinishedSignals()
Dandroid_media_AudioTrack.cpp611 if (writeSize == WOULD_BLOCK) { in interpretWriteSizeError()
632 if (written == (ssize_t) WOULD_BLOCK) { in writeToTrack()
Dandroid_media_AudioRecord.cpp482 if (readSize == WOULD_BLOCK) { in interpretReadSizeError()
/frameworks/av/include/media/stagefright/foundation/
DADebug.h45 case WOULD_BLOCK: return "WOULD_BLOCK";
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp121 EXPECT_EQ(WOULD_BLOCK, clientChannel->receiveMessage(&msg)) in TEST_F()
/frameworks/av/media/libmedia/
DAudioTrack.cpp1743 err = WOULD_BLOCK; in write()
2040 if (err == TIMED_OUT || err == WOULD_BLOCK || err == -EINTR || in processAudioBuffer()
2312 return found ? OK : WOULD_BLOCK; in getTimestamp_l()
2329 return WOULD_BLOCK; in getTimestamp()
2403 status = WOULD_BLOCK; in getTimestamp()
2407 ALOGV_IF(status != WOULD_BLOCK, "getTimestamp error:%#x", status); in getTimestamp()
2434 return WOULD_BLOCK; // stale timestamp time, occurs before start. in getTimestamp()
2456 return WOULD_BLOCK; in getTimestamp()
DAudioTrackShared.cpp238 status = WOULD_BLOCK; in obtainBuffer()
460 status = WOULD_BLOCK; in waitStreamEndDone()
740 return part1 > 0 ? NO_ERROR : WOULD_BLOCK; in obtainBuffer()
DVisualizer.cpp69 if (t->requestExitAndWait() == WOULD_BLOCK) { in setEnabled()
DAudioRecord.cpp895 err = WOULD_BLOCK; in read()
1076 if (err == TIMED_OUT || err == WOULD_BLOCK || err == -EINTR) { in processAudioBuffer()
/frameworks/av/media/libstagefright/foundation/
DMediaBufferGroup.cpp193 return WOULD_BLOCK; in acquire_buffer()
/frameworks/native/libs/input/
DInputTransport.cpp166 return WOULD_BLOCK; in sendMessage()
200 return WOULD_BLOCK; in receiveMessage()
421 if (consumeBatches || result != WOULD_BLOCK) { in consume()
552 return WOULD_BLOCK; in consumeBatch()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp896 } else if (status != TIMED_OUT && status != WOULD_BLOCK) { in threadLoop()
912 } else if (status != TIMED_OUT && status != WOULD_BLOCK) { in threadLoop()
/frameworks/base/media/java/android/media/
DAudioSystem.java335 public static final int WOULD_BLOCK = -7; field in AudioSystem
DAudioTrack.java166 public static final int ERROR_WOULD_BLOCK = AudioSystem.WOULD_BLOCK;
/frameworks/av/media/libstagefright/
DWAVExtractor.cpp421 return WOULD_BLOCK; in read()
DMediaSync.cpp507 } else if (res == WOULD_BLOCK) { in getPlayedOutAudioDurationMedia_l()
DMediaCodec.cpp77 if (err == WOULD_BLOCK) { in reclaimResource()
1907 response->setInt32("err", WOULD_BLOCK); in onMessageReceived()
/frameworks/av/media/libstagefright/omx/
DOMX.cpp114 if (status != WOULD_BLOCK) { in ~CallbackDispatcher()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp489 ASSERT_EQ(WOULD_BLOCK, mProducer->dequeueBuffer(&slot, &fence, 0, 0, in TEST_F()
503 ASSERT_EQ(WOULD_BLOCK, mProducer->dequeueBuffer(&slot, &fence, in TEST_F()
/frameworks/av/services/audioflinger/
DTracks.cpp1400 return WOULD_BLOCK; in getNextBuffer()
1724 return WOULD_BLOCK; in getNextBuffer()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1537 } else if (res == WOULD_BLOCK) { // case 2: transitory state on start of a new track in getPlayedOutDurationUs()
1576 if (status == OK || status == WOULD_BLOCK) { in getFramesWritten()

12