/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureGL_test.cpp | 40 ANativeWindowBuffer* anb; local 42 &anb)); 43 ASSERT_TRUE(anb != NULL); 45 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 90 ANativeWindowBuffer* anb; local 92 &anb)); 93 ASSERT_TRUE(anb != NULL); 95 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 155 ANativeWindowBuffer* anb; local 157 &anb)); 232 ANativeWindowBuffer* anb; local 448 ANativeWindowBuffer* anb; local 509 ANativeWindowBuffer *anb; local 549 ANativeWindowBuffer *anb; local 580 ANativeWindowBuffer *anb; local 633 ANativeWindowBuffer* anb; local 702 ANativeWindowBuffer* anb; local [all...] |
H A D | SurfaceTextureFBO_test.cpp | 39 android_native_buffer_t* anb; local 41 &anb)); 42 ASSERT_TRUE(anb != NULL); 44 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 65 &anb)); 66 ASSERT_TRUE(anb != NULL); 68 buf = new GraphicBuffer(anb, false);
|
H A D | FillBuffer.cpp | 93 android_native_buffer_t* anb; 95 &anb)); 96 ASSERT_TRUE(anb != NULL); 98 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
|
H A D | CpuConsumer_test.cpp | 486 ANativeWindowBuffer* anb; local 488 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb); 491 ASSERT_TRUE(anb != NULL); 493 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false));
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceUtils.cpp | 123 ANativeWindowBuffer* anb = NULL; local 172 err = native_window_dequeue_buffer_and_wait(nativeWindow, &anb); 179 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 203 anb = NULL; 208 if (anb != NULL) { 209 nativeWindow->cancelBuffer(nativeWindow, anb, -1); 210 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 | Camera3ZslStream.cpp | 150 ANativeWindowBuffer* anb; local 171 anb = bufferItem->getBufferItem().mGraphicBuffer->getNativeBuffer(); 172 assert(anb != NULL); 179 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, 215 ANativeWindowBuffer *anb = local 217 if (anb != NULL && &(anb->handle) == buffer.buffer) {
|
H A D | Camera3OutputStream.cpp | 121 ANativeWindowBuffer* anb; local 131 anb = gb.get(); 132 res = mConsumer->attachBuffer(anb); 166 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd); 186 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 506 ANativeWindowBuffer* anb; local 507 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); 508 ASSERT_TRUE(anb != NULL); 513 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 525 ANativeWindowBuffer* anb; local 526 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); 527 ASSERT_TRUE(anb != NULL); 530 sp<GraphicBuffer> buf(new GraphicBuffer(anb, false)); 648 ANativeWindowBuffer* anb; 651 ASSERT_NE(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), &anb)); [all...] |
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 618 ANativeWindowBuffer* anb; local 619 rc = native_window_dequeue_buffer_and_wait(a, &anb); 621 *buffer = &anb->handle; 622 *stride = anb->stride;
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 156 ANativeWindowBuffer* anb; local 182 err = native_window_dequeue_buffer_and_wait(anw.get(), &anb); 185 sp<GraphicBuffer> buf(new GraphicBuffer(anb, /*keepOwnership*/false));
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageWriter.cpp | 327 android_native_buffer_t *anb = NULL; local 329 status_t res = anw->dequeueBuffer(anw.get(), &anb, &fenceFd); 345 sp<GraphicBuffer> buffer(new GraphicBuffer(anb, /*keepOwnership*/false));
|