/foundation/window/window_manager/test/systemtest/dms/ |
H A D | screenshot_test.cpp | 94 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 D | screenshot_test.cpp | 75 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 D | mock_display_manager.cpp | 65 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 D | snapshot_display.cpp | 97 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 D | snapshot_utils_test.cpp | 174 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 D | display_manager.h | 224 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 D | displaymanager_fuzzer.cpp | 121 displayManager.GetScreenshot(displayId); in GetScreenshotFuzzTest() 125 displayManager.GetScreenshot(displayId, rect, mediaSize, rotation); in GetScreenshotFuzzTest()
|
/foundation/window/window_manager/interfaces/kits/napi/screenshot/ |
H A D | native_screenshot_module.cpp | 189 param->image = DisplayManager::GetInstance().GetScreenshot(param->option.displayId, in AsyncGetScreenshot() 196 param->image = DisplayManager::GetInstance().GetScreenshot(param->option.displayId, ¶m->wret); in AsyncGetScreenshot()
|
/foundation/window/window_manager/dm/src/ |
H A D | display_manager.cpp | 669 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()
|