Lines Matching refs:status
49 status_t status = splitter->mInput->consumerConnect(splitter, false); in createSplitter() local
50 if (status == NO_ERROR) { in createSplitter()
54 return status; in createSplitter()
85 status_t status = outputQueue->connect(listener, NATIVE_WINDOW_API_CPU, in addOutput() local
87 if (status != NO_ERROR) { in addOutput()
88 ALOGE("addOutput: failed to connect (%d)", status); in addOutput()
89 return status; in addOutput()
128 status_t status = mInput->acquireBuffer(&bufferItem, /* presentWhen */ 0); in onFrameAvailable() local
129 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable()
130 "acquiring buffer from input failed (%d)", status); in onFrameAvailable()
135 status = mInput->detachBuffer(bufferItem.mSlot); in onFrameAvailable()
136 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable()
137 "detaching buffer from input failed (%d)", status); in onFrameAvailable()
153 status = (*output)->attachBuffer(&slot, bufferItem.mGraphicBuffer); in onFrameAvailable()
154 if (status == NO_INIT) { in onFrameAvailable()
163 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable()
164 "attaching buffer to output failed (%d)", status); in onFrameAvailable()
168 status = (*output)->queueBuffer(slot, queueInput, &queueOutput); in onFrameAvailable()
169 if (status == NO_INIT) { in onFrameAvailable()
178 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable()
179 "queueing buffer to output failed (%d)", status); in onFrameAvailable()
194 status_t status = from->detachNextBuffer(&buffer, &fence); in onBufferReleasedByOutput() local
195 if (status == NO_INIT) { in onBufferReleasedByOutput()
201 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onBufferReleasedByOutput()
202 "detaching buffer from output failed (%d)", status); in onBufferReleasedByOutput()
231 status = mInput->attachBuffer(&consumerSlot, tracker->getBuffer()); in onBufferReleasedByOutput()
232 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onBufferReleasedByOutput()
233 "attaching buffer to input failed (%d)", status); in onBufferReleasedByOutput()
235 status = mInput->releaseBuffer(consumerSlot, /* frameNumber */ 0, in onBufferReleasedByOutput()
237 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onBufferReleasedByOutput()
238 "releasing buffer to input failed (%d)", status); in onBufferReleasedByOutput()