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

/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp302 ANativeWindowBuffer* anb; local
304 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb);
307 ASSERT_TRUE(anb != NULL);
309 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
H A DSurfaceTexture_test.cpp674 android_native_buffer_t* anb;
676 &anb));
677 ASSERT_TRUE(anb != NULL);
679 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
699 ANativeWindowBuffer* anb;
701 &anb));
702 ASSERT_TRUE(anb != NULL);
704 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
745 ANativeWindowBuffer* anb;
747 &anb));
806 ANativeWindowBuffer* anb; local
881 ANativeWindowBuffer* anb; local
1089 ANativeWindowBuffer* anb; local
1148 ANativeWindowBuffer *anb; local
1192 ANativeWindowBuffer *anb; local
1225 ANativeWindowBuffer *anb; local
1278 ANativeWindowBuffer* anb; local
1345 ANativeWindowBuffer* anb; local
2211 android_native_buffer_t* anb; local
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp401 ANativeWindowBuffer* anb; local
402 CHECK(NO_ERROR == native_window_dequeue_buffer_and_wait(anw, &anb));
403 CHECK(anb != NULL);
407 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp511 ANativeWindowBuffer* anb; local
512 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb));
513 ASSERT_TRUE(anb != NULL);
518 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/av/services/camera/libcameraservice/
H A DCameraHardwareInterface.h571 ANativeWindowBuffer* anb; local
572 rc = native_window_dequeue_buffer_and_wait(a, &anb);
574 *buffer = &anb->handle;
575 *stride = anb->stride;
H A DCamera2Device.cpp1222 ANativeWindowBuffer* anb; local
1223 res = native_window_dequeue_buffer_and_wait(a, &anb);
1230 *buffer = &(anb->handle);
/frameworks/av/media/libstagefright/
H A DACodec.cpp2198 ANativeWindowBuffer* anb = NULL; local
2259 err = native_window_dequeue_buffer_and_wait(mNativeWindow.get(), &anb);
2266 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
2294 anb = NULL;
2301 if (anb != NULL) {
2302 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);
H A DOMXCodec.cpp1913 ANativeWindowBuffer* anb = NULL; local
1982 err = native_window_dequeue_buffer_and_wait(mNativeWindow.get(), &anb);
1989 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
2017 anb = NULL;
2024 if (anb != NULL) {
2025 mNativeWindow->cancelBuffer(mNativeWindow.get(), anb, -1);

Completed in 152 milliseconds