Home
last modified time | relevance | path

Searched refs:allowAllocation (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/libs/gui/tests/
DStreamSplitter_test.cpp73 ASSERT_EQ(OK, outputProducer->allowAllocation(false)); in TEST_F()
100 ASSERT_EQ(OK, inputProducer->allowAllocation(false)); in TEST_F()
144 ASSERT_EQ(OK, outputProducers[output]->allowAllocation(false)); in TEST_F()
172 ASSERT_EQ(OK, inputProducer->allowAllocation(false)); in TEST_F()
DBufferQueue_test.cpp484 ASSERT_EQ(OK, mProducer->allowAllocation(false)); in TEST_F()
489 ASSERT_EQ(OK, mProducer->allowAllocation(true)); in TEST_F()
498 ASSERT_EQ(OK, mProducer->allowAllocation(false)); in TEST_F()
793 ASSERT_EQ(OK, mProducer->allowAllocation(false)); in TEST_F()
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp118 status_t MonitoredProducer::allowAllocation(bool allow) { in allowAllocation() function in android::MonitoredProducer
119 return mProducer->allowAllocation(allow); in allowAllocation()
DMonitoredProducer.h57 virtual status_t allowAllocation(bool allow);
/frameworks/native/include/gui/
DBufferQueueProducer.h165 virtual status_t allowAllocation(bool allow);
DIGraphicBufferProducer.h510 virtual status_t allowAllocation(bool allow) = 0;
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.h122 virtual status_t allowAllocation(bool allow);
DVirtualDisplaySurface.cpp576 status_t VirtualDisplaySurface::allowAllocation(bool /* allow */) { in allowAllocation() function in android::VirtualDisplaySurface
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp150 static_cast<Surface*>(nativeWindow)->getIGraphicBufferProducer()->allowAllocation(true); in pushBlankBuffersToNativeWindow()
DACodec.cpp722 surface->getIGraphicBufferProducer()->allowAllocation(true); in handleSetSurface()
764 (void)surface->getIGraphicBufferProducer()->allowAllocation(false); in handleSetSurface()
1099 ->getIGraphicBufferProducer()->allowAllocation(true); in allocateOutputBuffersFromNativeWindow()
1169 ->getIGraphicBufferProducer()->allowAllocation(false); in allocateOutputBuffersFromNativeWindow()
1225 ->getIGraphicBufferProducer()->allowAllocation(true); in allocateOutputMetadataBuffers()
1262 ->getIGraphicBufferProducer()->allowAllocation(false); in allocateOutputMetadataBuffers()
/frameworks/native/libs/gui/
DIGraphicBufferProducer.cpp302 virtual status_t allowAllocation(bool allow) { in allowAllocation() function in android::BpGraphicBufferProducer
609 status_t result = allowAllocation(allow); in onTransact()
DBufferQueueProducer.cpp1316 status_t BufferQueueProducer::allowAllocation(bool allow) { in allowAllocation() function in android::BufferQueueProducer
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp459 mConsumer->getIGraphicBufferProducer()->allowAllocation(false); in configureQueueLocked()