Searched defs:anb (Results 1 - 12 of 12) sorted by relevance

/frameworks/native/libs/gui/tests/
H A DSurfaceTextureFBO_test.cpp35 android_native_buffer_t* anb; local
37 &anb));
38 ASSERT_TRUE(anb != NULL);
40 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
61 &anb));
62 ASSERT_TRUE(anb != NULL);
64 buf = new GraphicBuffer(anb, false);
H A DSurfaceTextureGL_test.cpp36 ANativeWindowBuffer* anb; local
38 &anb));
39 ASSERT_TRUE(anb != NULL);
41 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
82 ANativeWindowBuffer* anb; local
84 &anb));
85 ASSERT_TRUE(anb != NULL);
87 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
143 ANativeWindowBuffer* anb; local
145 &anb));
217 ANativeWindowBuffer* anb; local
425 ANativeWindowBuffer* anb; local
480 ANativeWindowBuffer *anb; local
520 ANativeWindowBuffer *anb; local
551 ANativeWindowBuffer *anb; local
604 ANativeWindowBuffer* anb; local
670 ANativeWindowBuffer* anb; local
[all...]
H A DCpuConsumer_test.cpp488 ANativeWindowBuffer* anb; local
490 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb);
493 ASSERT_TRUE(anb != NULL);
495 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3InputStream.cpp61 ANativeWindowBuffer* anb; local
75 anb = bufferItem.mGraphicBuffer->getNativeBuffer();
76 assert(anb != NULL);
83 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
113 ANativeWindowBuffer *anb = tmp.mGraphicBuffer->getNativeBuffer(); local
114 if (anb != NULL && &(anb->handle) == buffer.buffer) {
H A DCamera3OutputStream.cpp94 ANativeWindowBuffer* anb; local
111 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd);
123 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
H A DCamera3ZslStream.cpp149 ANativeWindowBuffer* anb; local
170 anb = bufferItem->getBufferItem().mGraphicBuffer->getNativeBuffer();
171 assert(anb != NULL);
178 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
214 ANativeWindowBuffer *anb = local
216 if (anb != NULL && &(anb->handle) == buffer.buffer) {
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp510 ANativeWindowBuffer* anb; local
511 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
512 ASSERT_TRUE(anb != NULL);
517 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
529 ANativeWindowBuffer* anb; local
530 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
531 ASSERT_TRUE(anb != NULL);
534 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
652 ANativeWindowBuffer* anb;
655 ASSERT_NE(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp167 ANativeWindowBuffer* anb; local
193 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb);
196 sp<GraphicBuffer> buf(new GraphicBuffer(anb, /*keepOwnership*/false));
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h580 ANativeWindowBuffer* anb; local
581 rc = native_window_dequeue_buffer_and_wait(a, &anb);
583 *buffer = &anb->handle;
584 *stride = anb->stride;
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp1293 ANativeWindowBuffer* anb; local
1294 res = native_window_dequeue_buffer_and_wait(a, &anb);
1301 *buffer = &(anb->handle);
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp2046 ANativeWindowBuffer* anb = NULL; local
2115 err = native_window_dequeue_buffer_and_wait(mNativeWindow.get(), &anb);
2122 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
2150 anb = NULL;
2157 if (anb != NULL) {
2158 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);
H A DACodec.cpp3898 ANativeWindowBuffer* anb = NULL; local
3967 err = native_window_dequeue_buffer_and_wait(mNativeWindow.get(), &anb);
3974 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
4002 anb = NULL;
4009 if (anb != NULL) {
4010 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);

Completed in 154 milliseconds