Home
last modified time | relevance | path

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

12

/frameworks/native/libs/gui/bufferqueue/2.0/
Dtypes.cpp51 case WOULD_BLOCK: in b2h()
52 *to = HStatus::WOULD_BLOCK; break; in b2h()
91 case HStatus::WOULD_BLOCK: in h2b()
92 *to = WOULD_BLOCK; break; in h2b()
/frameworks/av/media/codec2/vndk/
Dtypes.cpp59 case WOULD_BLOCK: in b2h()
60 *to = HStatus::WOULD_BLOCK; break; in b2h()
98 case HStatus::WOULD_BLOCK: in h2b()
99 *to = WOULD_BLOCK; break; in h2b()
/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_view_InputEventReceiver.cpp131 if (status == WOULD_BLOCK) { in finishInputEvent()
189 if (status == WOULD_BLOCK) { in handleEvent()
245 if (status != OK && status != WOULD_BLOCK) { in consumeEvents()
251 if (status == WOULD_BLOCK) { in consumeEvents()
Dandroid_media_AudioErrors.h50 case WOULD_BLOCK: in nativeToJavaStatus()
Dandroid_view_InputQueue.cpp112 return *outEvent != NULL ? OK : WOULD_BLOCK; in getEvent()
Dandroid_view_InputEventSender.cpp205 if (status == WOULD_BLOCK) { in receiveFinishedSignals()
/frameworks/av/media/libmedia/
DNdkMediaErrorPriv.cpp53 return WOULD_BLOCK; in reverse_translate_error()
/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.cpp61 status = WOULD_BLOCK; in AAudioConvert_aaudioToAndroidStatus()
105 case WOULD_BLOCK: in AAudioConvert_androidToAAudioResult()
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp113 status_t result = WOULD_BLOCK; in consumeEvent()
114 while (result == WOULD_BLOCK) { in consumeEvent()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp454 if (bytesActuallyRead == WOULD_BLOCK) { in read()
509 if (status == WOULD_BLOCK) { in getTimestamp()
DAudioStreamTrack.cpp432 if (bytesWritten == WOULD_BLOCK) { in write()
514 if (status == WOULD_BLOCK) { in getTimestamp()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DADebug.h45 case WOULD_BLOCK: return "WOULD_BLOCK";
/frameworks/native/libs/binder/ndk/
Dstatus.cpp112 case ::android::WOULD_BLOCK: in PruneStatusT()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp225 if (decoderErr != OK && decoderErr != WOULD_BLOCK) { in process()
239 if (decoderErr == WOULD_BLOCK) { in process()
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp362 if (decoderErr != OK && decoderErr != WOULD_BLOCK) { in onQueueFilled()
373 if (decoderErr == WOULD_BLOCK) { in onQueueFilled()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp1959 err = WOULD_BLOCK; in write()
2276 if (err == TIMED_OUT || err == WOULD_BLOCK || err == -EINTR || in processAudioBuffer()
2691 return found ? OK : WOULD_BLOCK; in getTimestamp_l()
2712 return WOULD_BLOCK; in getTimestamp_l()
2838 status = WOULD_BLOCK; in getTimestamp_l()
2843 … ALOGV_IF(status != WOULD_BLOCK, "%s(%d): getTimestamp error:%#x", __func__, mPortId, status); in getTimestamp_l()
2871 return WOULD_BLOCK; // stale timestamp time, occurs before start. in getTimestamp_l()
2894 return WOULD_BLOCK; in getTimestamp_l()
3250 if (status == WOULD_BLOCK) { in hasStarted()
3264 if (status == WOULD_BLOCK) { // no SERVER or KERNEL frame info in ets in hasStarted()
DAudioTrackShared.cpp241 status = WOULD_BLOCK; in obtainBuffer()
499 status = WOULD_BLOCK; in waitStreamEndDone()
827 return part1 > 0 ? NO_ERROR : WOULD_BLOCK; in obtainBuffer()
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp131 EXPECT_EQ(WOULD_BLOCK, clientChannel->receiveMessage(&msg)) in TEST_F()
/frameworks/av/media/libstagefright/foundation/
DMediaBufferGroup.cpp222 return WOULD_BLOCK; in acquire_buffer()
/frameworks/base/media/java/android/media/
DAudioSystem.java731 public static final int WOULD_BLOCK = -7; field in AudioSystem
742 WOULD_BLOCK
771 case WOULD_BLOCK: in audioSystemErrorToString()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp311 if (err != WOULD_BLOCK) { in popFromStashAndRegister()
549 return allBuffersDontMatch ? NO_MEMORY : WOULD_BLOCK; in grabBuffer()
1058 if (err == WOULD_BLOCK) { in registerBuffer()
1068 return WOULD_BLOCK; in registerBuffer()
/frameworks/av/media/libstagefright/flac/dec/test/
DFlacDecoderTest.cpp122 if (decoderErr == WOULD_BLOCK) { in processFlacDecoder()
/frameworks/av/media/libstagefright/flac/dec/
DFLACDecoder.cpp294 return WOULD_BLOCK; in parseMetadata()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h223 case Status::WOULD_BLOCK: in toStatusT()
279 case WOULD_BLOCK: in toStatus()

12