Home
last modified time | relevance | path

Searched refs:defaultDisplay_ (Results 1 - 8 of 8) sorted by relevance

/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_test.cpp38 static sptr<Display> defaultDisplay_; member in OHOS::Rosen::DisplayTest
41 sptr<Display> DisplayTest::defaultDisplay_ = nullptr; member in OHOS::Rosen::DisplayTest
46 defaultDisplay_ = DisplayManager::GetInstance().GetDefaultDisplay(); in SetUpTestCase()
47 defaultDisplayId_ = static_cast<DisplayId>(defaultDisplay_->GetId()); in SetUpTestCase()
52 defaultDisplay_ = nullptr; in TearDownTestCase()
72 auto cutoutInfo = defaultDisplay_->GetCutoutInfo(); in HWTEST_F()
84 auto baseInfo = defaultDisplay_->GetDisplayInfo(); in HWTEST_F()
87 defaultDisplay_->UpdateDisplayInfo(nullptr); in HWTEST_F()
89 auto changedInfo = defaultDisplay_->GetDisplayInfo(); in HWTEST_F()
164 auto name = defaultDisplay_ in HWTEST_F()
[all...]
H A Dscreen_test.cpp38 static sptr<Display> defaultDisplay_; member in OHOS::Rosen::ScreenTest
42 sptr<Display> ScreenTest::defaultDisplay_ = nullptr; member in OHOS::Rosen::ScreenTest
48 defaultDisplay_ = DisplayManager::GetInstance().GetDefaultDisplay(); in SetUpTestCase()
49 defaultScreenId_ = static_cast<ScreenId>(defaultDisplay_->GetId()); in SetUpTestCase()
55 defaultDisplay_ = nullptr; in TearDownTestCase()
H A Dscreen_manager_test.cpp62 static sptr<Display> defaultDisplay_; member in OHOS::Rosen::ScreenManagerTest
66 sptr<Display> ScreenManagerTest::defaultDisplay_ = nullptr; member in OHOS::Rosen::ScreenManagerTest
72 defaultDisplay_ = DisplayManager::GetInstance().GetDefaultDisplay(); in SetUpTestCase()
73 defaultWidth_ = defaultDisplay_->GetWidth(); in SetUpTestCase()
74 defaultHeight_ = defaultDisplay_->GetHeight(); in SetUpTestCase()
/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_node_container_test.cpp43 static sptr<Display> defaultDisplay_; member in OHOS::Rosen::WindowNodeContainerTest
48 sptr<Display> WindowNodeContainerTest::defaultDisplay_ = nullptr; member in OHOS::Rosen::WindowNodeContainerTest
54 defaultDisplay_ = DisplayManager::GetInstance().GetDefaultDisplay(); in SetUpTestCase()
55 ASSERT_TRUE((defaultDisplay_ != nullptr)); in SetUpTestCase()
57 defaultDisplay_->GetId(), defaultDisplay_->GetWidth(), defaultDisplay_->GetHeight(), in SetUpTestCase()
58 defaultDisplay_->GetRefreshRate()); in SetUpTestCase()
60 container_ = new WindowNodeContainer(defaultDisplay_->GetDisplayInfo(), defaultDisplay_ in SetUpTestCase()
[all...]
H A Dwindow_root_test.cpp1166 sptr<Display> defaultDisplay_ = DisplayManager::GetInstance().GetDefaultDisplay(); in HWTEST_F() local
1168 defaultDisplay_->GetDisplayInfo(), defaultDisplay_->GetScreenId()); in HWTEST_F()
1184 sptr<Display> defaultDisplay_ = DisplayManager::GetInstance().GetDefaultDisplay(); in HWTEST_F() local
1186 defaultDisplay_->GetDisplayInfo(), defaultDisplay_->GetScreenId()); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/
H A Drs_interfaces_virtual_screen_test.cpp37 static sptr<Display> defaultDisplay_; member in OHOS::Rosen::RSInterfacesVirtualScreenTest
49 sptr<Display> RSInterfacesVirtualScreenTest::defaultDisplay_ = nullptr; member in OHOS::Rosen::RSInterfacesVirtualScreenTest
63 defaultDisplay_ = DisplayManager::GetInstance().GetDefaultDisplay(); in SetUpTestCase()
64 defaultDisplayId_ = defaultDisplay_->GetId(); in SetUpTestCase()
65 defaultScreenId_ = defaultDisplay_->GetScreenId(); in SetUpTestCase()
66 defaultWidth_ = defaultDisplay_->GetWidth(); in SetUpTestCase()
67 defaultHeight_ = defaultDisplay_->GetHeight(); in SetUpTestCase()
H A Drs_interfaces_system_test.cpp37 static sptr<Display> defaultDisplay_; member in OHOS::Rosen::RSInterfacesSystemTest
49 sptr<Display> RSInterfacesSystemTest::defaultDisplay_ = nullptr; member in OHOS::Rosen::RSInterfacesSystemTest
64 defaultDisplay_ = DisplayManager::GetInstance().GetDefaultDisplay(); in SetUpTestCase()
65 defaultDisplayId_ = defaultDisplay_->GetId(); in SetUpTestCase()
66 defaultScreenId_ = defaultDisplay_->GetScreenId(); in SetUpTestCase()
67 defaultWidth_ = defaultDisplay_->GetWidth(); in SetUpTestCase()
68 defaultHeight_ = defaultDisplay_->GetHeight(); in SetUpTestCase()
/foundation/window/window_manager/test/systemtest/dms/
H A Dscreen_manager_test.cpp54 static sptr<Display> defaultDisplay_; member in OHOS::Rosen::ScreenManagerTest
116 sptr<Display> ScreenManagerTest::defaultDisplay_ = nullptr; member in OHOS::Rosen::ScreenManagerTest
131 defaultDisplay_ = DisplayManager::GetInstance().GetDefaultDisplay(); in SetUpTestCase()
132 ASSERT_TRUE(defaultDisplay_); in SetUpTestCase()
133 defaultDisplayId_ = defaultDisplay_->GetId(); in SetUpTestCase()
134 defaultScreenId_ = defaultDisplay_->GetScreenId(); in SetUpTestCase()
135 defaultWidth_ = defaultDisplay_->GetWidth(); in SetUpTestCase()
136 defaultHeight_ = defaultDisplay_->GetHeight(); in SetUpTestCase()
427 utils.SetDefaultWH(defaultDisplay_); in HWTEST_F()
466 utils.SetDefaultWH(defaultDisplay_); in HWTEST_F()
[all...]

Completed in 10 milliseconds