/foundation/window/window_manager/dm/src/ |
H A D | display.cpp | 45 : pImpl_(new Impl(name, info))
in Display() 55 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
in GetId() 56 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
in GetId() 59 return pImpl_->GetDisplayInfo()->GetDisplayId();
in GetId() 64 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
in GetName() 65 WLOGFE("pImpl_ or pImpl_ in GetName() [all...] |
H A D | screen.cpp | 43 : pImpl_(new Impl(info))
in Screen() 54 return pImpl_->GetScreenInfo()->GetIsScreenGroup();
in IsGroup() 59 return pImpl_->GetScreenInfo()->GetName();
in GetName() 64 return pImpl_->GetScreenInfo()->GetScreenId();
in GetId() 91 return pImpl_->GetScreenInfo()->GetVirtualWidth();
in GetVirtualWidth() 97 return pImpl_->GetScreenInfo()->GetVirtualHeight();
in GetVirtualHeight() 103 return pImpl_->GetScreenInfo()->GetVirtualPixelRatio();
in GetVirtualPixelRatio() 109 return pImpl_->GetScreenInfo()->GetRotation();
in GetRotation() 115 return pImpl_->GetScreenInfo()->GetOrientation();
in GetOrientation() 120 return pImpl_ in IsReal() [all...] |
H A D | display_manager.cpp | 161 explicit DisplayManagerListener(sptr<Impl> impl) : pImpl_(impl)
in DisplayManagerListener() 171 if (pImpl_ == nullptr) {
175 pImpl_->NotifyDisplayCreate(displayInfo);
178 std::lock_guard<std::recursive_mutex> lock(pImpl_->mutex_);
179 displayListeners = pImpl_->displayListeners_;
192 if (pImpl_ == nullptr) {
196 pImpl_->NotifyDisplayDestroy(displayId);
199 std::lock_guard<std::recursive_mutex> lock(pImpl_->mutex_);
200 displayListeners = pImpl_->displayListeners_;
213 if (pImpl_ 229 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManager::Impl::DisplayManagerListener 249 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManager::Impl::DisplayManagerAgent 264 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManager::Impl::DisplayManagerScreenshotAgent 279 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManager::Impl::DisplayManagerPrivateWindowAgent 294 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManager::Impl::DisplayManagerPrivateWindowListAgent 309 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManager::Impl::DisplayManagerFoldStatusAgent 324 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManager::Impl::DisplayManagerFoldAngleAgent 339 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManager::Impl::DisplayManagerCaptureStatusAgent 354 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManager::Impl::DisplayManagerDisplayUpdateAgent 370 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManager::Impl::DisplayManagerDisplayModeAgent 385 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManager::Impl::DisplayManagerAvailableAreaAgent [all...] |
H A D | screen_group.cpp | 43 : Screen(info), pImpl_(new Impl(info))
in ScreenGroup() 54 pImpl_->SetScreenGroupInfo(info);
in UpdateScreenGroupInfo() 70 return pImpl_->GetScreenGroupInfo()->GetCombination();
in GetCombination() 76 return pImpl_->GetScreenGroupInfo()->GetChildren();
in GetChildIds() 82 return pImpl_->GetScreenGroupInfo()->GetPosition();
in GetChildPositions()
|
H A D | screen_manager.cpp | 77 explicit ScreenManagerListener(sptr<Impl> impl) : pImpl_(impl)
in ScreenManagerListener() 87 if (pImpl_ == nullptr) {
in OnScreenConnect() 91 pImpl_->NotifyScreenConnect(screenInfo);
in OnScreenConnect() 92 std::lock_guard<std::recursive_mutex> lock(pImpl_->mutex_);
in OnScreenConnect() 93 for (auto listener : pImpl_->screenListeners_) {
in OnScreenConnect() 104 if (pImpl_ == nullptr) {
in OnScreenDisconnect() 108 pImpl_->NotifyScreenDisconnect(screenId);
in OnScreenDisconnect() 109 std::lock_guard<std::recursive_mutex> lock(pImpl_->mutex_);
in OnScreenDisconnect() 110 for (auto listener : pImpl_->screenListeners_) {
in OnScreenDisconnect() 121 if (pImpl_ in OnScreenChange() 201 sptr<Impl> pImpl_; global() member in OHOS::Rosen::ScreenManager::Impl::ScreenManagerListener [all...] |
/foundation/barrierfree/accessibility/frameworks/acfwk/src/ |
H A D | accessibility_config.cpp | 23 if (!pImpl_) { \ 24 HILOG_ERROR("pImpl_ is nullptr"); \ 30 AccessibilityConfig::AccessibilityConfig() : pImpl_(std::make_unique<Impl>()) in AccessibilityConfig() 32 if (!pImpl_) { in AccessibilityConfig() 44 return pImpl_->InitializeContext(); in InitializeContext() 51 return pImpl_->SubscribeConfigObserver(id, observer, retFlag); in SubscribeConfigObserver() 58 return pImpl_->UnsubscribeConfigObserver(id, observer); in UnsubscribeConfigObserver() 65 return pImpl_->SubscribeEnableAbilityListsObserver(observer); in SubscribeEnableAbilityListsObserver() 72 return pImpl_->UnsubscribeEnableAbilityListsObserver(observer); in UnsubscribeEnableAbilityListsObserver() 78 return pImpl_ in EnableAbility() [all...] |
/foundation/window/window_manager/wm/src/ |
H A D | window_manager_lite.cpp | 276 WindowManagerLite::WindowManagerLite() : pImpl_(std::make_unique<Impl>(mutex_)) in WindowManagerLite() 293 std::lock_guard<std::recursive_mutex> lock(pImpl_->mutex_); in RegisterFocusChangedListener() 295 if (pImpl_->focusChangedListenerAgent_ == nullptr) { in RegisterFocusChangedListener() 296 pImpl_->focusChangedListenerAgent_ = new (std::nothrow) WindowManagerAgentLite(); in RegisterFocusChangedListener() 298 WindowManagerAgentType::WINDOW_MANAGER_AGENT_TYPE_FOCUS, pImpl_->focusChangedListenerAgent_); in RegisterFocusChangedListener() 302 pImpl_->focusChangedListenerAgent_ = nullptr; in RegisterFocusChangedListener() 304 auto iter = std::find(pImpl_->focusChangedListeners_.begin(), pImpl_->focusChangedListeners_.end(), listener); in RegisterFocusChangedListener() 305 if (iter != pImpl_->focusChangedListeners_.end()) { in RegisterFocusChangedListener() 309 pImpl_ in RegisterFocusChangedListener() [all...] |
H A D | window_manager.cpp | 361 WindowManager::WindowManager() : pImpl_(std::make_unique<Impl>())
in WindowManager() 394 std::unique_lock<std::shared_mutex> lock(pImpl_->listenerMutex_);
in RegisterWMSConnectionChangedListener() 395 if (pImpl_->wmsConnectionChangedListener_) {
in RegisterWMSConnectionChangedListener() 399 pImpl_->wmsConnectionChangedListener_ = listener;
in RegisterWMSConnectionChangedListener() 406 pImpl_->wmsConnectionChangedListener_ = nullptr;
in RegisterWMSConnectionChangedListener() 414 std::unique_lock<std::shared_mutex> lock(pImpl_->listenerMutex_);
in UnregisterWMSConnectionChangedListener() 415 pImpl_->wmsConnectionChangedListener_ = nullptr;
in UnregisterWMSConnectionChangedListener() 426 std::unique_lock<std::shared_mutex> lock(pImpl_->listenerMutex_);
in RegisterFocusChangedListener() 428 if (pImpl_->focusChangedListenerAgent_ == nullptr) {
in RegisterFocusChangedListener() 429 pImpl_ in RegisterFocusChangedListener() [all...] |
/foundation/window/window_manager/dm_lite/src/ |
H A D | display_lite.cpp | 45 : pImpl_(new Impl(name, info))
in DisplayLite() 55 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
in GetId() 56 WLOGFE("pImpl_ or pImpl_->GetDisplayInfo is nullptr");
in GetId() 59 return pImpl_->GetDisplayInfo()->GetDisplayId();
in GetId() 65 if (pImpl_ == nullptr || pImpl_->GetDisplayInfo() == nullptr) {
in GetDisplayInfo() 66 WLOGFE("pImpl_ or pImpl_ in GetDisplayInfo() [all...] |
H A D | display_manager_lite.cpp | 91 explicit DisplayManagerListener(sptr<Impl> impl) : pImpl_(impl)
in DisplayManagerListener() 101 if (pImpl_ == nullptr) {
102 WLOGFE("onDisplayCreate: pImpl_ is nullptr");
105 pImpl_->NotifyDisplayCreate(displayInfo);
108 std::lock_guard<std::recursive_mutex> lock(pImpl_->mutex_);
109 displayListeners = pImpl_->displayListeners_;
122 if (pImpl_ == nullptr) {
126 pImpl_->NotifyDisplayDestroy(displayId);
129 std::lock_guard<std::recursive_mutex> lock(pImpl_->mutex_);
130 displayListeners = pImpl_ 155 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManagerLite::Impl::DisplayManagerListener 170 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManagerLite::Impl::DisplayManagerFoldStatusAgent 185 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManagerLite::Impl::DisplayManagerDisplayModeAgent 203 sptr<Impl> pImpl_; global() member in OHOS::Rosen::DisplayManagerLite::Impl::DisplayManagerAgent [all...] |
H A D | screen_manager_lite.cpp | 55 explicit ScreenManagerListener(sptr<Impl> impl) : pImpl_(impl)
in ScreenManagerListener() 65 if (pImpl_ == nullptr) {
in OnScreenConnect() 69 std::lock_guard<std::mutex> lock(pImpl_->mutex_);
in OnScreenConnect() 70 for (auto listener : pImpl_->screenListeners_) {
in OnScreenConnect() 81 if (pImpl_ == nullptr) {
in OnScreenDisconnect() 85 std::lock_guard<std::mutex> lock(pImpl_->mutex_);
in OnScreenDisconnect() 86 for (auto listener : pImpl_->screenListeners_) {
in OnScreenDisconnect() 97 if (pImpl_ == nullptr) {
in OnScreenChange() 102 std::lock_guard<std::mutex> lock(pImpl_->mutex_);
in OnScreenChange() 103 for (auto listener: pImpl_ in OnScreenChange() 108 sptr<Impl> pImpl_; global() member in OHOS::Rosen::ScreenManagerLite::Impl::ScreenManagerListener [all...] |
/foundation/window/window_manager/test/systemtest/extension/ |
H A D | extension_connection_test.cpp | 135 ASSERT_NE(nullptr, connection_->pImpl_);
in HWTEST_F() 136 connection_->pImpl_->proxy_ = mockProxy;
in HWTEST_F() 152 ASSERT_NE(nullptr, connection_->pImpl_);
in HWTEST_F() 153 connection_->pImpl_->proxy_ = mockProxy;
in HWTEST_F() 169 ASSERT_NE(nullptr, connection_->pImpl_);
in HWTEST_F() 170 connection_->pImpl_->proxy_ = mockProxy;
in HWTEST_F() 186 ASSERT_NE(nullptr, connection_->pImpl_);
in HWTEST_F() 187 connection_->pImpl_->proxy_ = mockProxy;
in HWTEST_F() 201 ASSERT_NE(nullptr, connection_->pImpl_);
in HWTEST_F() 202 connection_->pImpl_ in HWTEST_F() [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_manager_test.cpp | 252 auto oldWindowManagerAgent = windowManager.pImpl_->cameraFloatWindowChangedListenerAgent_;
in HWTEST_F() 253 auto oldListeners = windowManager.pImpl_->cameraFloatWindowChangedListeners_;
in HWTEST_F() 254 windowManager.pImpl_->cameraFloatWindowChangedListenerAgent_ = nullptr;
in HWTEST_F() 255 windowManager.pImpl_->cameraFloatWindowChangedListeners_.clear();
in HWTEST_F() 265 ASSERT_EQ(1, windowManager.pImpl_->cameraFloatWindowChangedListeners_.size());
in HWTEST_F() 270 ASSERT_EQ(1, windowManager.pImpl_->cameraFloatWindowChangedListeners_.size());
in HWTEST_F() 272 windowManager.pImpl_->cameraFloatWindowChangedListenerAgent_ = oldWindowManagerAgent;
in HWTEST_F() 273 windowManager.pImpl_->cameraFloatWindowChangedListeners_ = oldListeners;
in HWTEST_F() 284 auto oldWindowManagerAgent = windowManager.pImpl_->cameraFloatWindowChangedListenerAgent_;
in HWTEST_F() 285 auto oldListeners = windowManager.pImpl_ in HWTEST_F() [all...] |
H A D | window_manager_lite_test.cpp | 177 auto oldWindowManagerAgent = windowManager.pImpl_->cameraWindowChangedListenerAgent_; in HWTEST_F() 178 auto oldListeners = windowManager.pImpl_->cameraWindowChangedListeners_; in HWTEST_F() 179 windowManager.pImpl_->cameraWindowChangedListenerAgent_ = nullptr; in HWTEST_F() 180 windowManager.pImpl_->cameraWindowChangedListeners_.clear(); in HWTEST_F() 190 ASSERT_EQ(1, windowManager.pImpl_->cameraWindowChangedListeners_.size()); in HWTEST_F() 195 ASSERT_EQ(1, windowManager.pImpl_->cameraWindowChangedListeners_.size()); in HWTEST_F() 197 windowManager.pImpl_->cameraWindowChangedListenerAgent_ = oldWindowManagerAgent; in HWTEST_F() 198 windowManager.pImpl_->cameraWindowChangedListeners_ = oldListeners; in HWTEST_F() 209 auto oldWindowManagerAgent = windowManager.pImpl_->cameraWindowChangedListenerAgent_; in HWTEST_F() 210 auto oldListeners = windowManager.pImpl_ in HWTEST_F() [all...] |
/foundation/window/window_manager/dm/test/unittest/ |
H A D | display_manager_test.cpp | 238 auto displayManagerListener = DisplayManager::GetInstance().pImpl_->displayManagerListener_; in HWTEST_F() 246 ASSERT_NE(displayManagerListener->pImpl_, nullptr); in HWTEST_F() 247 displayManagerListener->pImpl_ = nullptr; in HWTEST_F() 249 DisplayManager::GetInstance().pImpl_->displayManagerListener_ = nullptr; in HWTEST_F() 262 bool ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F() 265 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F() 269 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F() 273 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F() 277 ret = DisplayManager::GetInstance().pImpl_->CheckRectValid(rect, oriHeight, oriWidth); in HWTEST_F() 281 ret = DisplayManager::GetInstance().pImpl_ in HWTEST_F() [all...] |
H A D | screen_manager_test.cpp | 246 auto screenManagerListener = ScreenManager::GetInstance().pImpl_->screenManagerListener_; in HWTEST_F() 254 ASSERT_NE(screenManagerListener->pImpl_, nullptr); in HWTEST_F() 255 screenManagerListener->pImpl_ = nullptr; in HWTEST_F() 257 ScreenManager::GetInstance().pImpl_->screenManagerListener_ = nullptr; in HWTEST_F() 271 auto screenManagerListener = ScreenManager::GetInstance().pImpl_->screenManagerListener_; in HWTEST_F() 274 ASSERT_NE(screenManagerListener->pImpl_, nullptr); in HWTEST_F() 276 screenManagerListener->pImpl_ = nullptr; in HWTEST_F() 278 ScreenManager::GetInstance().pImpl_->screenManagerListener_ = nullptr; in HWTEST_F() 292 auto screenManagerListener = ScreenManager::GetInstance().pImpl_->screenManagerListener_; in HWTEST_F() 295 ASSERT_NE(screenManagerListener->pImpl_, nullpt in HWTEST_F() [all...] |
/foundation/window/window_manager/dm_lite/test/unittest/ |
H A D | display_manager_lite_test.cpp | 74 auto displayManagerListener = DisplayManagerLite::GetInstance().pImpl_->displayManagerListener_; in HWTEST_F() 82 ASSERT_NE(displayManagerListener->pImpl_, nullptr); in HWTEST_F() 83 displayManagerListener->pImpl_ = nullptr; in HWTEST_F() 85 DisplayManagerLite::GetInstance().pImpl_->displayManagerListener_ = nullptr; in HWTEST_F() 99 auto displayManagerListener = DisplayManagerLite::GetInstance().pImpl_->displayManagerListener_; in HWTEST_F() 103 displayManagerListener->pImpl_ = nullptr; in HWTEST_F() 105 DisplayManagerLite::GetInstance().pImpl_->displayManagerListener_ = nullptr; in HWTEST_F() 119 auto displayManagerListener = DisplayManagerLite::GetInstance().pImpl_->displayManagerListener_; in HWTEST_F() 128 ASSERT_NE(displayManagerListener->pImpl_, nullptr); in HWTEST_F() 129 displayManagerListener->pImpl_ in HWTEST_F() [all...] |
/foundation/window/window_manager/extension/extension_connection/src/ |
H A D | window_extension_connection.cpp | 75 : pImpl_(new Impl()) in WindowExtensionConnection() 247 return pImpl_->ConnectExtension(element, rect, uid, windowId, callback); in ConnectExtension() 254 return pImpl_->ConnectExtension(element, rect, uid, windowId, callback, extensionSession); in ConnectExtension() 259 pImpl_->Show(); in Show() 264 pImpl_->Hide(); in Hide() 269 pImpl_->RequestFocus(); in RequestFocus() 274 pImpl_->SetBounds(rect); in SetBounds() 279 pImpl_->DisconnectExtension(); in DisconnectExtension()
|
/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_display.cpp | 37 Display::Display(const std::string& name, sptr<DisplayInfo> info) : pImpl_(new Impl(name, info)) in Display() 75 pImpl_->SetDisplayInfo(displayInfo); in UpdateDisplayInfo()
|
/foundation/barrierfree/accessibility/services/aams/test/mock/src/ |
H A D | mock_display.cpp | 38 Display::Display(const std::string& name, sptr<DisplayInfo> info) : pImpl_(new Impl(name, info)) in Display() 86 pImpl_->SetDisplayInfo(displayInfo); in UpdateDisplayInfo()
|
/foundation/window/window_manager/interfaces/innerkits/dm/ |
H A D | screen_group.h | 62 sptr<Impl> pImpl_;
member in OHOS::Rosen::ScreenGroup
|
H A D | display.h | 180 sptr<Impl> pImpl_;
member in OHOS::Rosen::Display
|
/foundation/window/window_manager/interfaces/innerkits/dm_lite/ |
H A D | screen_manager_lite.h | 97 sptr<Impl> pImpl_;
member in OHOS::Rosen::ScreenManagerLite
|
H A D | display_lite.h | 85 sptr<Impl> pImpl_;
member in OHOS::Rosen::DisplayLite
|
/foundation/window/window_manager/previewer/include/ |
H A D | display.h | 173 sptr<Impl> pImpl_; member in OHOS::Rosen::Display
|