Home
last modified time | relevance | path

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

123

/frameworks/native/libs/binder/trusty/
DTrustyStatus.cpp34 return WOULD_BLOCK; in statusFromTrusty()
40 return WOULD_BLOCK; in statusFromTrusty()
92 case WOULD_BLOCK: in statusToTrusty()
DRpcTransportTipcTrusty.cpp47 return mHaveMessage ? OK : WOULD_BLOCK; in pollRead()
/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.cpp43 NOT_ENOUGH_DATA, WOULD_BLOCK, TIMED_OUT, UNKNOWN_TRANSACTION, FDS_NOT_ALLOWED}) { in TEST()
73 NOT_ENOUGH_DATA, WOULD_BLOCK, TIMED_OUT, UNKNOWN_TRANSACTION, FDS_NOT_ALLOWED}) { in TEST()
/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.cpp251 if (status == WOULD_BLOCK) { in processOutboundEvents()
257 return WOULD_BLOCK; // try again later in processOutboundEvents()
304 if (status == OK || status == WOULD_BLOCK) { in handleEvent()
339 if (status != OK && status != WOULD_BLOCK) { in consumeEvents()
345 if (status == WOULD_BLOCK) { in consumeEvents()
557 if (status == OK || status == WOULD_BLOCK) { in nativeFinishInputEvent()
583 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…
/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/
DRpcTransportTipcAndroid.cpp52 return WOULD_BLOCK; in pollRead()
74 return WOULD_BLOCK; in pollRead()
DRpcTransportRaw.cpp48 return WOULD_BLOCK; in pollRead()
/frameworks/native/services/inputflinger/tests/
DFakeWindows.cpp45 status_t status = WOULD_BLOCK; in receiveEvent()
46 while (status == WOULD_BLOCK) { in receiveEvent()
57 if (status == WOULD_BLOCK) { in receiveEvent()
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DADebug.h45 case WOULD_BLOCK: return "WOULD_BLOCK";
/frameworks/native/libs/binder/ndk/
Dstatus.cpp114 case ::android::WOULD_BLOCK: in PruneStatusT()
/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.cpp453 if (bytesActuallyRead == WOULD_BLOCK) { in read()
507 if (status == WOULD_BLOCK) { in getTimestamp()
DAudioStreamTrack.cpp461 if (bytesWritten == WOULD_BLOCK) { in write()
542 if (status == WOULD_BLOCK) { in getTimestamp()
/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/libaaudio/src/utility/
DAAudioUtilities.cpp65 status = WOULD_BLOCK; in AAudioConvert_aaudioToAndroidStatus()
109 case WOULD_BLOCK: in AAudioConvert_androidToAAudioResult()
/frameworks/native/libs/binder/rust/src/
Derror.rs62 e if e == StatusCode::WOULD_BLOCK as i32 => StatusCode::WOULD_BLOCK, in parse_status_code()
/frameworks/av/media/module/foundation/
DMediaBufferGroup.cpp222 return WOULD_BLOCK; in acquire_buffer()
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp160 EXPECT_EQ(WOULD_BLOCK, clientChannel->receiveMessage(&msg)) in TEST_F()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp2340 err = WOULD_BLOCK; in write()
2673 if (err == TIMED_OUT || err == WOULD_BLOCK || err == -EINTR || in processAudioBuffer()
3147 return found ? OK : WOULD_BLOCK; in getTimestamp_l()
3168 return WOULD_BLOCK; in getTimestamp_l()
3298 status = WOULD_BLOCK; in getTimestamp_l()
3303 … ALOGV_IF(status != WOULD_BLOCK, "%s(%d): getTimestamp error:%#x", __func__, mPortId, status); in getTimestamp_l()
3331 return WOULD_BLOCK; // stale timestamp time, occurs before start. in getTimestamp_l()
3354 return WOULD_BLOCK; in getTimestamp_l()
3755 if (status == WOULD_BLOCK) { in hasStarted()
3769 if (status == WOULD_BLOCK) { // no SERVER or KERNEL frame info in ets in hasStarted()

123