Home
last modified time | relevance | path

Searched refs:GetScreenshot (Results 1 - 9 of 9) sorted by relevance

/foundation/window/window_manager/test/systemtest/dms/
H A Dscreenshot_test.cpp94 ASSERT_NE(nullptr, DisplayManager::GetInstance().GetScreenshot(defaultId_)); in HWTEST_F()
104 ASSERT_EQ(nullptr, DisplayManager::GetInstance().GetScreenshot(invalidId_)); in HWTEST_F()
115 std::shared_ptr<Media::PixelMap> screenshot = dm.GetScreenshot(defaultId_); in HWTEST_F()
130 std::shared_ptr<Media::PixelMap> screenshot = dm.GetScreenshot(defaultId_, defaultScreen_, in HWTEST_F()
143 std::shared_ptr<Media::PixelMap> screenshot = dm.GetScreenshot(defaultId_, defaultScreen_, in HWTEST_F()
151 screenshot = dm.GetScreenshot(defaultId_, halfRect, defaultImage_, defaultRot_); in HWTEST_F()
157 screenshot = dm.GetScreenshot(defaultId_, defaultScreen_, halfSize, defaultRot_); in HWTEST_F()
171 std::shared_ptr<Media::PixelMap> screenshot = dm.GetScreenshot(defaultId_, defaultScreen_, in HWTEST_F()
186 std::shared_ptr<Media::PixelMap> screenshot = dm.GetScreenshot(invalidId_, defaultScreen_, in HWTEST_F()
199 std::shared_ptr<Media::PixelMap> screenshot = dm.GetScreenshot(defaultId in HWTEST_F()
[all...]
/foundation/window/window_manager/dm/test/unittest/
H A Dscreenshot_test.cpp75 ASSERT_EQ(nullptr, DisplayManager::GetInstance().GetScreenshot(0)); in HWTEST_F()
86 auto screenshot = DisplayManager::GetInstance().GetScreenshot(0); in HWTEST_F()
/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_display_manager.cpp65 std::shared_ptr<Media::PixelMap> DisplayManager::GetScreenshot(DisplayId displayId, DmErrorCode* errorCode) in GetScreenshot() function in OHOS::Rosen::DisplayManager
70 std::shared_ptr<Media::PixelMap> DisplayManager::GetScreenshot(DisplayId displayId, in GetScreenshot() function in OHOS::Rosen::DisplayManager
/foundation/window/window_manager/snapshot/src/
H A Dsnapshot_display.cpp97 pixelMap = DisplayManager::GetInstance().GetScreenshot(cmdArguments.displayId); // default width & height in GetScreenshotByCmdArguments()
115 pixelMap = DisplayManager::GetInstance().GetScreenshot(cmdArguments.displayId, rect, size, rotation); in GetScreenshotByCmdArguments()
/foundation/window/window_manager/snapshot/test/unittest/
H A Dsnapshot_utils_test.cpp174 std::shared_ptr<Media::PixelMap> pixelMap = DisplayManager::GetInstance().GetScreenshot(id); in HWTEST_F()
187 std::shared_ptr<Media::PixelMap> pixelMap = DisplayManager::GetInstance().GetScreenshot(id); in HWTEST_F()
207 std::shared_ptr<Media::PixelMap> pixelMap = DisplayManager::GetInstance().GetScreenshot(id); in HWTEST_F()
227 std::shared_ptr<Media::PixelMap> pixelMap = DisplayManager::GetInstance().GetScreenshot(id); in HWTEST_F()
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Ddisplay_manager.h224 std::shared_ptr<Media::PixelMap> GetScreenshot(DisplayId displayId, DmErrorCode* errorCode = nullptr);
245 std::shared_ptr<Media::PixelMap> GetScreenshot(DisplayId displayId, const Media::Rect &rect,
/foundation/window/window_manager/test/fuzztest/dms/displaymanager_fuzzer/
H A Ddisplaymanager_fuzzer.cpp121 displayManager.GetScreenshot(displayId); in GetScreenshotFuzzTest()
125 displayManager.GetScreenshot(displayId, rect, mediaSize, rotation); in GetScreenshotFuzzTest()
/foundation/window/window_manager/interfaces/kits/napi/screenshot/
H A Dnative_screenshot_module.cpp189 param->image = DisplayManager::GetInstance().GetScreenshot(param->option.displayId, in AsyncGetScreenshot()
196 param->image = DisplayManager::GetInstance().GetScreenshot(param->option.displayId, &param->wret); in AsyncGetScreenshot()
/foundation/window/window_manager/dm/src/
H A Ddisplay_manager.cpp669 std::shared_ptr<Media::PixelMap> DisplayManager::GetScreenshot(DisplayId displayId, DmErrorCode* errorCode) in GetScreenshot() function in OHOS::Rosen::DisplayManager
678 WLOGFE("DisplayManager::GetScreenshot failed!"); in GetScreenshot()
719 std::shared_ptr<Media::PixelMap> DisplayManager::GetScreenshot(DisplayId displayId, const Media::Rect &rect, in GetScreenshot() function in OHOS::Rosen::DisplayManager
722 std::shared_ptr<Media::PixelMap> screenShot = GetScreenshot(displayId, errorCode); in GetScreenshot()
724 WLOGFE("DisplayManager::GetScreenshot failed!"); in GetScreenshot()

Completed in 9 milliseconds