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

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

Completed in 226 milliseconds