Searched refs:cancelBuffer (Results 1 - 11 of 11) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp187 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf));
197 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf));
207 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf));
217 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf));
227 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf));
233 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf));
243 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf));
249 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf));
260 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf));
269 ASSERT_EQ(OK, mANW->cancelBuffer(mAN
[all...]
H A DSurface_test.cpp109 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf));
/frameworks/native/include/gui/
H A DISurfaceTexture.h66 // is expected to either call cancelBuffer on the dequeued slot or to fill
135 // cancelBuffer indicates that the client does not wish to fill in the
138 virtual void cancelBuffer(int slot) = 0;
H A DBufferQueue.h131 virtual void cancelBuffer(int buf);
H A DSurfaceTextureClient.h89 virtual int cancelBuffer(ANativeWindowBuffer* buffer);
/frameworks/native/libs/gui/
H A DSurfaceTextureClient.cpp64 ANativeWindow::cancelBuffer = hook_cancelBuffer; member in class:android::ANativeWindow
114 return c->cancelBuffer(buffer);
192 int SurfaceTextureClient::cancelBuffer(android_native_buffer_t* buffer) { function in class:android::SurfaceTextureClient
194 ALOGV("SurfaceTextureClient::cancelBuffer");
200 mSurfaceTexture->cancelBuffer(i);
H A DISurfaceTexture.cpp116 virtual void cancelBuffer(int buf) { function in class:android::BpSurfaceTexture
229 cancelBuffer(buf);
H A DBufferQueue.cpp653 void BufferQueue::cancelBuffer(int buf) { function in class:android::BufferQueue
655 ST_LOGV("cancelBuffer: slot=%d", buf);
659 ST_LOGW("cancelBuffer: BufferQueue has been abandoned!");
664 ST_LOGE("cancelBuffer: slot index out of range [0, %d]: %d",
668 ST_LOGE("cancelBuffer: slot %d is not owned by the client (state=%d)",
/frameworks/av/services/camera/libcameraservice/
H A DCameraHardwareInterface.h606 return a->cancelBuffer(a,
/frameworks/av/media/libstagefright/
H A DACodec.cpp652 ALOGV("[%s] Calling cancelBuffer on buffer %p",
655 int err = mNativeWindow->cancelBuffer(
2241 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb);
H A DOMXCodec.cpp1833 CODEC_LOGV("Calling cancelBuffer on buffer %p", info->mBuffer);
1834 int err = mNativeWindow->cancelBuffer(
1837 CODEC_LOGE("cancelBuffer failed w/ error 0x%08x", err);
2003 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb);

Completed in 256 milliseconds