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

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp187 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
197 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
207 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
217 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
227 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
233 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
243 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
249 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
260 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
269 ASSERT_EQ(OK, mANW->cancelBuffer(mAN
[all...]
H A DSurface_test.cpp111 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf, -1));
/frameworks/native/libs/gui/
H A DSurfaceTextureClient.cpp66 ANativeWindow::cancelBuffer = hook_cancelBuffer; member in class:android::ANativeWindow
120 return c->cancelBuffer(buffer, fenceFd);
140 c->cancelBuffer(buf, -1);
150 return c->cancelBuffer(buffer, -1);
243 int SurfaceTextureClient::cancelBuffer(android_native_buffer_t* buffer, function in class:android::SurfaceTextureClient
246 ALOGV("SurfaceTextureClient::cancelBuffer");
253 mSurfaceTexture->cancelBuffer(i, fence);
760 cancelBuffer(out, fenceFd);
H A DISurfaceTexture.cpp122 virtual void cancelBuffer(int buf, sp<Fence> fence) { function in class:android::BpSurfaceTexture
250 cancelBuffer(buf, fence);
H A DBufferQueue.cpp592 void BufferQueue::cancelBuffer(int buf, sp<Fence> fence) { function in class:android::BufferQueue
594 ST_LOGV("cancelBuffer: slot=%d", buf);
598 ST_LOGW("cancelBuffer: BufferQueue has been abandoned!");
604 ST_LOGE("cancelBuffer: slot index out of range [0, %d]: %d",
608 ST_LOGE("cancelBuffer: slot %d is not owned by the client (state=%d)",
/frameworks/native/include/gui/
H A DISurfaceTexture.h64 // is expected to either call cancelBuffer on the dequeued slot or to fill
151 // cancelBuffer indicates that the client does not wish to fill in the
154 virtual void cancelBuffer(int slot, sp<Fence> fence) = 0;
H A DSurfaceTextureClient.h101 virtual int cancelBuffer(ANativeWindowBuffer* buffer, int fenceFd);
H A DBufferQueue.h142 virtual void cancelBuffer(int buf, sp<Fence> fence);
429 // called cancelBuffer after queueing some writes. When the buffer is
/frameworks/av/services/camera/libcameraservice/
H A DCameraHardwareInterface.h605 return a->cancelBuffer(a,
H A DCamera2Device.cpp1123 res = mConsumerInterface->cancelBuffer(mConsumerInterface.get(),
1286 int err = a->cancelBuffer(a,
/frameworks/native/opengl/libagl/
H A Degl.cpp385 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd);
536 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd);
/frameworks/av/media/libstagefright/
H A DACodec.cpp660 ALOGV("[%s] Calling cancelBuffer on buffer %p",
663 int err = mNativeWindow->cancelBuffer(
2355 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);
H A DOMXCodec.cpp1860 CODEC_LOGV("Calling cancelBuffer on buffer %p", info->mBuffer);
1861 int err = mNativeWindow->cancelBuffer(
1864 CODEC_LOGE("cancelBuffer failed w/ error 0x%08x", err);
2025 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);

Completed in 204 milliseconds