Home
last modified time | relevance | path

Searched refs:NativeWindowSurface (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockNativeWindowSurface.cpp23 NativeWindowSurface::NativeWindowSurface() = default;
24 NativeWindowSurface::~NativeWindowSurface() = default;
DMockNativeWindowSurface.h28 class NativeWindowSurface : public android::NativeWindowSurface {
30 NativeWindowSurface();
31 ~NativeWindowSurface();
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h135 class NativeWindowSurface {
137 virtual ~NativeWindowSurface();
892 std::function<std::unique_ptr<NativeWindowSurface>(const sp<IGraphicBufferProducer>&)>;
DSurfaceFlinger.cpp177 NativeWindowSurface::~NativeWindowSurface() = default;
181 class NativeWindowSurface final : public android::NativeWindowSurface { class
183 static std::unique_ptr<android::NativeWindowSurface> create( in create()
185 return std::make_unique<NativeWindowSurface>(producer); in create()
188 explicit NativeWindowSurface(const sp<IGraphicBufferProducer>& producer) in NativeWindowSurface() function in android::impl::NativeWindowSurface
191 ~NativeWindowSurface() override = default;
243 mCreateNativeWindowSurface(&impl::NativeWindowSurface::create) {} in SurfaceFlinger()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp126 mock::NativeWindowSurface* mNativeWindowSurface = nullptr;
194 mNativeWindowSurface = new mock::NativeWindowSurface(); in injectFakeNativeWindowSurfaceFactory()
198 [this](auto) { return std::unique_ptr<NativeWindowSurface>(mNativeWindowSurface); }); in injectFakeNativeWindowSurfaceFactory()