Home
last modified time | relevance | path

Searched refs:NativeWindow (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/mock/
DNativeWindow.cpp24 return static_cast<NativeWindow*>(window)->setSwapInterval(interval); in forwardSetSwapInterval()
28 return static_cast<NativeWindow*>(window)->dequeueBuffer(buffer, fenceFd); in forwardDequeueBuffer()
32 return static_cast<NativeWindow*>(window)->cancelBuffer(buffer, fenceFd); in forwardCancelBuffer()
36 return static_cast<NativeWindow*>(window)->queueBuffer(buffer, fenceFd); in forwardQueueBuffer()
40 return static_cast<const NativeWindow*>(window)->query(what, value); in forwardQuery()
50 result = static_cast<NativeWindow*>(window)->connect(api); in forwardPerform()
55 result = static_cast<NativeWindow*>(window)->setBuffersFormat(format); in forwardPerform()
60 result = static_cast<NativeWindow*>(window)->setBuffersDataSpace(dataspace); in forwardPerform()
67 result = static_cast<NativeWindow*>(window)->setUsage(usage); in forwardPerform()
72 result = static_cast<NativeWindow*>(window)->setUsage(usage); in forwardPerform()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/
DMockNativeWindow.cpp24 return static_cast<NativeWindow*>(window)->setSwapInterval(interval); in dispatch_setSwapInterval()
29 return static_cast<NativeWindow*>(window)->dequeueBuffer_DEPRECATED(buffer); in dispatch_dequeueBuffer_DEPRECATED()
34 return static_cast<NativeWindow*>(window)->lockBuffer_DEPRECATED(buffer); in dispatch_lockBuffer_DEPRECATED()
39 return static_cast<NativeWindow*>(window)->queueBuffer_DEPRECATED(buffer); in dispatch_queueBuffer_DEPRECATED()
43 return static_cast<const NativeWindow*>(window)->query(what, value); in dispatch_query()
48 return static_cast<NativeWindow*>(window)->perform(operation); in dispatch_perform()
53 return static_cast<NativeWindow*>(window)->cancelBuffer_DEPRECATED(buffer); in dispatch_cancelBuffer_DEPRECATED()
58 return static_cast<NativeWindow*>(window)->dequeueBuffer(buffer, fenceFd); in dispatch_dequeueBuffer()
63 return static_cast<NativeWindow*>(window)->queueBuffer(buffer, fenceFd); in dispatch_queueBuffer()
68 return static_cast<NativeWindow*>(window)->cancelBuffer(buffer, fenceFd); in dispatch_cancelBuffer()
[all …]
DMockNativeWindow.h28 class NativeWindow : public ANativeObjectBase<ANativeWindow, NativeWindow, RefBase> {
30 NativeWindow();
31 ~NativeWindow();
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DNativeWindow.h33 class NativeWindow : public ANativeObjectBase<ANativeWindow, NativeWindow, RefBase> {
35 NativeWindow();
36 ~NativeWindow();
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp61 sp<mock::NativeWindow> mNativeWindow = new StrictMock<mock::NativeWindow>();
DDisplayTest.cpp190 sp<mock::NativeWindow> mNativeWindow = new StrictMock<mock::NativeWindow>();
1002 sp<mock::NativeWindow> mNativeWindow = new NiceMock<mock::NativeWindow>();
/frameworks/native/services/surfaceflinger/CompositionEngine/
DAndroid.bp73 "mock/NativeWindow.cpp",
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp184 mock::NativeWindow* mNativeWindow = new mock::NativeWindow();
DDisplayTransactionTest.cpp143 sp<mock::NativeWindow> mNativeWindow = new mock::NativeWindow();
2527 auto nativeWindow = new mock::NativeWindow(); in TEST_F()
2572 auto nativeWindow = new mock::NativeWindow(); in TEST_F()