Home
last modified time | relevance | path

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

123

/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/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/libaudioclient/tests/
Daudio_aidl_status_tests.cpp55 WOULD_BLOCK, in TEST()
103 WOULD_BLOCK, in TEST()
/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.cpp234 if (status == WOULD_BLOCK) { in processOutboundEvents()
240 return WOULD_BLOCK; // try again later in processOutboundEvents()
287 if (status == OK || status == WOULD_BLOCK) { in handleEvent()
321 if (status != OK && status != WOULD_BLOCK) { in consumeEvents()
327 if (status == WOULD_BLOCK) { in consumeEvents()
528 if (status == OK || status == WOULD_BLOCK) { in nativeFinishInputEvent()
548 if (status == OK || status == WOULD_BLOCK) { in nativeReportTimeline()
Dandroid_media_AudioErrors.h50 case WOULD_BLOCK: in nativeToJavaStatus()
Dandroid_view_InputEventReceiver.md25 …sume` function above would actually return a `NULL` event with status `WOULD_BLOCK`. When this hap…
39 …ad by `InputConsumer`, `consume` will return `NULL` event with status `WOULD_BLOCK` if those event…
Dandroid_view_InputQueue.cpp112 return *outEvent != NULL ? OK : WOULD_BLOCK; in getEvent()
/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/av/media/libmedia/
DNdkMediaErrorPriv.cpp53 return WOULD_BLOCK; in reverse_translate_error()
/frameworks/native/libs/binder/rust/sys/
DBinderBindings.hpp47 WOULD_BLOCK = STATUS_WOULD_BLOCK, enumerator
/frameworks/native/libs/binder/rust/src/
Derror.rs61 e if e == StatusCode::WOULD_BLOCK as i32 => StatusCode::WOULD_BLOCK, in parse_status_code()
/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.cpp142 status_t result = WOULD_BLOCK; in consumeEvent()
143 while (result == WOULD_BLOCK) { in consumeEvent()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DADebug.h45 case WOULD_BLOCK: return "WOULD_BLOCK";
/frameworks/native/libs/binder/ndk/
Dstatus.cpp115 case ::android::WOULD_BLOCK: in PruneStatusT()
/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/codec2/components/flac/
DC2SoftFlacDec.cpp230 if (decoderErr != OK && decoderErr != WOULD_BLOCK) { in process()
244 if (decoderErr == WOULD_BLOCK) { in process()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp486 if (bytesActuallyRead == WOULD_BLOCK) { in read()
540 if (status == WOULD_BLOCK) { in getTimestamp()
DAudioStreamTrack.cpp448 if (bytesWritten == WOULD_BLOCK) { in write()
529 if (status == WOULD_BLOCK) { in getTimestamp()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp2139 err = WOULD_BLOCK; in write()
2456 if (err == TIMED_OUT || err == WOULD_BLOCK || err == -EINTR || in processAudioBuffer()
2912 return found ? OK : WOULD_BLOCK; in getTimestamp_l()
2933 return WOULD_BLOCK; in getTimestamp_l()
3063 status = WOULD_BLOCK; in getTimestamp_l()
3068 … ALOGV_IF(status != WOULD_BLOCK, "%s(%d): getTimestamp error:%#x", __func__, mPortId, status); in getTimestamp_l()
3096 return WOULD_BLOCK; // stale timestamp time, occurs before start. in getTimestamp_l()
3119 return WOULD_BLOCK; in getTimestamp_l()
3498 if (status == WOULD_BLOCK) { in hasStarted()
3512 if (status == WOULD_BLOCK) { // no SERVER or KERNEL frame info in ets in hasStarted()
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp129 EXPECT_EQ(WOULD_BLOCK, clientChannel->receiveMessage(&msg)) in TEST_F()
/frameworks/av/media/libstagefright/foundation/
DMediaBufferGroup.cpp222 return WOULD_BLOCK; in acquire_buffer()
/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/codec2/sfplugin/
DCCodecBuffers.cpp305 if (err != WOULD_BLOCK) { in popFromStashAndRegister()
545 return allBuffersDontMatch ? NO_MEMORY : WOULD_BLOCK; in grabBuffer()
1070 if (err == WOULD_BLOCK) { in registerBuffer()
1080 return WOULD_BLOCK; in registerBuffer()

123