/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureFBO_test.cpp | 37 android_native_buffer_t* anb; local 39 &anb)); 40 ASSERT_TRUE(anb != NULL); 42 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 63 &anb)); 64 ASSERT_TRUE(anb != NULL); 66 buf = new GraphicBuffer(anb, false);
|
H A D | SurfaceTextureGL_test.cpp | 38 ANativeWindowBuffer* anb; local 40 &anb)); 41 ASSERT_TRUE(anb != NULL); 43 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 86 ANativeWindowBuffer* anb; local 88 &anb)); 89 ASSERT_TRUE(anb != NULL); 91 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 149 ANativeWindowBuffer* anb; local 151 &anb)); 225 ANativeWindowBuffer* anb; local 437 ANativeWindowBuffer* anb; local 492 ANativeWindowBuffer *anb; local 532 ANativeWindowBuffer *anb; local 563 ANativeWindowBuffer *anb; local 616 ANativeWindowBuffer* anb; local 682 ANativeWindowBuffer* anb; local [all...] |
H A D | CpuConsumer_test.cpp | 491 ANativeWindowBuffer* anb; local 493 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb); 496 ASSERT_TRUE(anb != NULL); 498 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceUtils.cpp | 105 ANativeWindowBuffer* anb = NULL; local 153 err = native_window_dequeue_buffer_and_wait(nativeWindow, &anb); 160 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 184 anb = NULL; 189 if (anb != NULL) { 190 nativeWindow->cancelBuffer(nativeWindow, anb, -1); 191 anb = NULL;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3InputStream.cpp | 62 ANativeWindowBuffer* anb; local 76 anb = bufferItem.mGraphicBuffer->getNativeBuffer(); 77 assert(anb != NULL); 84 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, 114 ANativeWindowBuffer *anb = tmp.mGraphicBuffer->getNativeBuffer(); local 115 if (anb != NULL && &(anb->handle) == buffer.buffer) {
|
H A D | Camera3OutputStream.cpp | 98 ANativeWindowBuffer* anb; local 115 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd); 127 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
|
H A D | Camera3ZslStream.cpp | 151 ANativeWindowBuffer* anb; local 172 anb = bufferItem->getBufferItem().mGraphicBuffer->getNativeBuffer(); 173 assert(anb != NULL); 180 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, 216 ANativeWindowBuffer *anb = local 218 if (anb != NULL && &(anb->handle) == buffer.buffer) {
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 511 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)); 530 ANativeWindowBuffer* anb; local 531 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); 532 ASSERT_TRUE(anb != NULL); 535 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 653 ANativeWindowBuffer* anb; 656 ASSERT_NE(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 167 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 D | CameraHardwareInterface.h | 578 ANativeWindowBuffer* anb; local 579 rc = native_window_dequeue_buffer_and_wait(a, &anb); 581 *buffer = &anb->handle; 582 *stride = anb->stride;
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageWriter.cpp | 337 android_native_buffer_t *anb = NULL; local 339 status_t res = anw->dequeueBuffer(anw.get(), &anb, &fenceFd); 355 sp<GraphicBuffer> buffer(new GraphicBuffer(anb, /*keepOwnership*/false));
|
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 1307 ANativeWindowBuffer* anb; local 1308 res = native_window_dequeue_buffer_and_wait(a, &anb); 1315 *buffer = &(anb->handle);
|