Home
last modified time | relevance | path

Searched refs:GetDisplaySnapshot (Results 1 - 25 of 26) sorted by relevance

12

/foundation/window/window_manager/dm/test/unittest/
H A Dscreenshot_test.cpp73 EXPECT_CALL(m->Mock(), GetDisplaySnapshot(_, _)).Times(1).WillOnce(Return(nullptr)); in HWTEST_F()
85 EXPECT_CALL(m->Mock(), GetDisplaySnapshot(_, _)).Times(1).WillOnce(Return(CommonTestUtils::CreatePixelMap())); in HWTEST_F()
/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_service_inner.cpp121 std::shared_ptr<Media::PixelMap> DisplayManagerServiceInner::GetDisplaySnapshot(DisplayId displayId, in GetDisplaySnapshot() function in OHOS::Rosen::DisplayManagerServiceInner
124 return DisplayManagerService::GetInstance().GetDisplaySnapshot(displayId, errorCode); in GetDisplaySnapshot()
H A Ddisplay_manager_stub.cpp119 std::shared_ptr<Media::PixelMap> displaySnapshot = GetDisplaySnapshot(displayId, &errorCode); in OnRemoteRequest()
H A Ddisplay_manager_service.cpp297 std::shared_ptr<Media::PixelMap> DisplayManagerService::GetDisplaySnapshot(DisplayId displayId, DmErrorCode* errorCode) in GetDisplaySnapshot() function in OHOS::Rosen::DisplayManagerService
299 HITRACE_METER_FMT(HITRACE_TAG_WINDOW_MANAGER, "dms:GetDisplaySnapshot(%" PRIu64")", displayId); in GetDisplaySnapshot()
H A Ddisplay_manager_proxy.cpp264 std::shared_ptr<Media::PixelMap> DisplayManagerProxy::GetDisplaySnapshot(DisplayId displayId, DmErrorCode* errorCode) in GetDisplaySnapshot() function in OHOS::Rosen::DisplayManagerProxy
268 WLOGFW("GetDisplaySnapshot: remote is nullptr"); in GetDisplaySnapshot()
276 WLOGFE("GetDisplaySnapshot: WriteInterfaceToken failed"); in GetDisplaySnapshot()
287 WLOGFW("GetDisplaySnapshot: SendRequest failed"); in GetDisplaySnapshot()
297 WLOGFW("DisplayManagerProxy::GetDisplaySnapshot SendRequest nullptr."); in GetDisplaySnapshot()
/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_service_inner_test.cpp115 * @tc.name: GetDisplaySnapshot
116 * @tc.desc: test function : GetDisplaySnapshot
119 HWTEST_F(DisplayManagerServiceInnerTest, GetDisplaySnapshot, Function | SmallTest | Level1) in HWTEST_F()
124 auto ret = inner.GetDisplaySnapshot(displayId, errorCode); in HWTEST_F()
H A Ddisplay_manager_service_test.cpp578 * @tc.name: GetDisplaySnapshot
579 * @tc.desc: DMS GetDisplaySnapshot
582 HWTEST_F(DisplayManagerServiceTest, GetDisplaySnapshot, Function | SmallTest | Level3) in HWTEST_F()
586 auto ret = dms_->GetDisplaySnapshot(displayId, errorCode); in HWTEST_F()
H A Ddisplay_manager_proxy_test.cpp229 * @tc.desc: test DisplayManagerProxy::GetDisplaySnapshot
236 auto result1 = proxy1.GetDisplaySnapshot(0); in HWTEST_F()
243 auto result2 = proxy2.GetDisplaySnapshot(0); in HWTEST_F()
246 auto result3 = proxy2.GetDisplaySnapshot(0); in HWTEST_F()
/foundation/window/window_manager/dmserver/include/
H A Ddisplay_manager_service_inner.h44 std::shared_ptr<Media::PixelMap> GetDisplaySnapshot(DisplayId displayId, DmErrorCode* errorCode = nullptr) const;
H A Ddisplay_manager_proxy.h44 std::shared_ptr<Media::PixelMap> GetDisplaySnapshot(DisplayId displayId,
H A Ddisplay_manager_service.h65 std::shared_ptr<Media::PixelMap> GetDisplaySnapshot(DisplayId displayId, DmErrorCode* errorCode) override;
H A Ddisplay_manager_interface.h56 virtual std::shared_ptr<Media::PixelMap> GetDisplaySnapshot(DisplayId displayId,
/foundation/window/window_manager/wmserver/src/
H A Dfreeze_controller.cpp45 std::shared_ptr<Media::PixelMap> pixelMap = DisplayManagerServiceInner::GetInstance().GetDisplaySnapshot(displayId); in FreezeDisplay()
/foundation/window/window_manager/test/common/mock/
H A Dmock_display_manager_adapter.h33 MOCK_METHOD2(GetDisplaySnapshot, std::shared_ptr<Media::PixelMap>(DisplayId displayId, DmErrorCode* errorCode));
/foundation/window/window_manager/dm/src/
H A Ddisplay_manager_adapter.cpp58 std::shared_ptr<Media::PixelMap> DisplayManagerAdapter::GetDisplaySnapshot(DisplayId displayId, DmErrorCode* errorCode) in GetDisplaySnapshot() function in OHOS::Rosen::DisplayManagerAdapter
62 return displayManagerServiceProxy_->GetDisplaySnapshot(displayId, errorCode); in GetDisplaySnapshot()
H A Ddisplay_manager.cpp676 SingletonContainer::Get<DisplayManagerAdapter>().GetDisplaySnapshot(displayId, errorCode); in GetScreenshot()
/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h62 virtual std::shared_ptr<Media::PixelMap> GetDisplaySnapshot(DisplayId displayId, DmErrorCode* errorCode = nullptr);
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/
H A Dscreen_session_manager_interface.h55 virtual std::shared_ptr<Media::PixelMap> GetDisplaySnapshot(DisplayId displayId,
H A Dscreen_session_manager_proxy.h103 virtual std::shared_ptr<Media::PixelMap> GetDisplaySnapshot(DisplayId displayId, DmErrorCode* errorCode) override;
/foundation/window/window_manager/test/fuzztest/window_scene/screensessionmanager_fuzzer/
H A Dscreensessionmanager_fuzzer.cpp320 proxy->GetDisplaySnapshot(displayId, nullptr); in ProxyInterfaceFuzzTestPart3()
/foundation/window/window_manager/window_scene/screen_session_manager/include/
H A Dscreen_session_manager.h123 virtual std::shared_ptr<Media::PixelMap> GetDisplaySnapshot(DisplayId displayId, DmErrorCode* errorCode) override;
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_proxy_test.cpp1064 * @tc.name: GetDisplaySnapshot
1065 * @tc.desc: GetDisplaySnapshot
1068 HWTEST_F(ScreenSessionManagerProxyTest, GetDisplaySnapshot, Function | SmallTest | Level1) in HWTEST_F()
1081 res = screenSessionManagerProxy->GetDisplaySnapshot(displayId, errorCode); in HWTEST_F()
H A Dscreen_session_manager_test.cpp973 * @tc.name: GetDisplaySnapshot
977 HWTEST_F(ScreenSessionManagerTest, GetDisplaySnapshot, Function | SmallTest | Level3) in HWTEST_F()
981 ssm_->GetDisplaySnapshot(displayId, errorCode); in HWTEST_F()
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/
H A Dscreen_session_manager_stub.cpp363 std::shared_ptr<Media::PixelMap> displaySnapshot = GetDisplaySnapshot(displayId, &errCode); in OnRemoteRequest()
H A Dscreen_session_manager_proxy.cpp1522 std::shared_ptr<Media::PixelMap> ScreenSessionManagerProxy::GetDisplaySnapshot(DisplayId displayId, in GetDisplaySnapshot() function in OHOS::Rosen::ScreenSessionManagerProxy
1525 WLOGFD("SCB: ScreenSessionManagerProxy::GetDisplaySnapshot enter"); in GetDisplaySnapshot()
1528 WLOGFW("SCB: ScreenSessionManagerProxy::GetDisplaySnapshot: remote is nullptr"); in GetDisplaySnapshot()
1536 WLOGFE("SCB: ScreenSessionManagerProxy::GetDisplaySnapshot: WriteInterfaceToken failed"); in GetDisplaySnapshot()
1541 WLOGFE("SCB: ScreenSessionManagerProxy::GetDisplaySnapshot: Write displayId failed"); in GetDisplaySnapshot()
1547 WLOGFW("SCB: ScreenSessionManagerProxy::GetDisplaySnapshot: SendRequest failed"); in GetDisplaySnapshot()
1557 WLOGFW("SCB: ScreenSessionManagerProxy::GetDisplaySnapshot: SendRequest nullptr."); in GetDisplaySnapshot()

Completed in 34 milliseconds

12