Lines Matching defs:std

82 std::map<int32_t, std::vector<sptr<IWindowLifeCycle>>> WindowSessionImpl::lifecycleListeners_;
83 std::map<int32_t, std::vector<sptr<IDisplayMoveListener>>> WindowSessionImpl::displayMoveListeners_;
84 std::map<int32_t, std::vector<sptr<IWindowChangeListener>>> WindowSessionImpl::windowChangeListeners_;
85 std::map<int32_t, std::vector<sptr<IAvoidAreaChangedListener>>> WindowSessionImpl::avoidAreaChangeListeners_;
86 std::map<int32_t, std::vector<sptr<IDialogDeathRecipientListener>>> WindowSessionImpl::dialogDeathRecipientListeners_;
87 std::map<int32_t, std::vector<sptr<IDialogTargetTouchListener>>> WindowSessionImpl::dialogTargetTouchListener_;
88 std::map<int32_t, std::vector<sptr<IOccupiedAreaChangeListener>>> WindowSessionImpl::occupiedAreaChangeListeners_;
89 std::map<int32_t, std::vector<sptr<IScreenshotListener>>> WindowSessionImpl::screenshotListeners_;
90 std::map<int32_t, std::vector<sptr<ITouchOutsideListener>>> WindowSessionImpl::touchOutsideListeners_;
91 std::map<int32_t, std::vector<IWindowVisibilityListenerSptr>> WindowSessionImpl::windowVisibilityChangeListeners_;
92 std::map<int32_t, std::vector<IWindowNoInteractionListenerSptr>> WindowSessionImpl::windowNoInteractionListeners_;
93 std::map<int32_t, std::vector<sptr<IWindowTitleButtonRectChangedListener>>>
95 std::map<int32_t, std::vector<sptr<IWindowRectChangeListener>>> WindowSessionImpl::windowRectChangeListeners_;
96 std::map<int32_t, sptr<ISubWindowCloseListener>> WindowSessionImpl::subWindowCloseListeners_;
97 std::map<int32_t, sptr<IMainWindowCloseListener>> WindowSessionImpl::mainWindowCloseListeners_;
98 std::map<int32_t, std::vector<sptr<ISwitchFreeMultiWindowListener>>> WindowSessionImpl::switchFreeMultiWindowListeners_;
99 std::recursive_mutex WindowSessionImpl::lifeCycleListenerMutex_;
100 std::recursive_mutex WindowSessionImpl::windowChangeListenerMutex_;
101 std::recursive_mutex WindowSessionImpl::avoidAreaChangeListenerMutex_;
102 std::recursive_mutex WindowSessionImpl::dialogDeathRecipientListenerMutex_;
103 std::recursive_mutex WindowSessionImpl::dialogTargetTouchListenerMutex_;
104 std::recursive_mutex WindowSessionImpl::occupiedAreaChangeListenerMutex_;
105 std::recursive_mutex WindowSessionImpl::screenshotListenerMutex_;
106 std::recursive_mutex WindowSessionImpl::touchOutsideListenerMutex_;
107 std::recursive_mutex WindowSessionImpl::windowVisibilityChangeListenerMutex_;
108 std::recursive_mutex WindowSessionImpl::windowNoInteractionListenerMutex_;
109 std::recursive_mutex WindowSessionImpl::windowStatusChangeListenerMutex_;
110 std::recursive_mutex WindowSessionImpl::windowTitleButtonRectChangeListenerMutex_;
111 std::mutex WindowSessionImpl::displayMoveListenerMutex_;
112 std::mutex WindowSessionImpl::windowRectChangeListenerMutex_;
113 std::mutex WindowSessionImpl::subWindowCloseListenersMutex_;
114 std::mutex WindowSessionImpl::mainWindowCloseListenersMutex_;
115 std::mutex WindowSessionImpl::switchFreeMultiWindowListenerMutex_;
116 std::map<std::string, std::pair<int32_t, sptr<WindowSessionImpl>>> WindowSessionImpl::windowSessionMap_;
117 std::shared_mutex WindowSessionImpl::windowSessionMutex_;
118 std::set<sptr<WindowSessionImpl>> WindowSessionImpl::windowExtensionSessionSet_;
119 std::shared_mutex WindowSessionImpl::windowExtensionSessionMutex_;
120 std::map<int32_t, std::vector<sptr<WindowSessionImpl>>> WindowSessionImpl::subWindowSessionMap_;
121 std::map<int32_t, std::vector<sptr<IWindowStatusChangeListener>>> WindowSessionImpl::windowStatusChangeListeners_;
144 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr(); \
196 handler_ = std::make_shared<AppExecFwk::EventHandler>(AppExecFwk::EventRunner::GetMainEventRunner());
199 vsyncStation_ = std::make_shared<VsyncStation>(surfaceNode_->GetId());
239 RSSurfaceNode::SharedPtr WindowSessionImpl::CreateSurfaceNode(const std::string& name, WindowType type)
325 std::lock_guard<std::mutex> lock(hostSessionMutex_);
384 std::shared_lock<std::shared_mutex> lock(windowSessionMutex_);
443 void WindowSessionImpl::ConsumePointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
448 void WindowSessionImpl::ConsumeKeyEvent(std::shared_ptr<MMI::KeyEvent>& keyEvent)
454 bool WindowSessionImpl::PreNotifyKeyEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent)
462 bool WindowSessionImpl::NotifyOnKeyPreImeEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent)
623 std::lock_guard<std::recursive_mutex> lock(mutex_);
629 std::lock_guard<std::mutex> lock(hostSessionMutex_);
633 std::unique_lock<std::shared_mutex> lock(windowSessionMutex_);
705 const std::shared_ptr<RSTransaction>& rsTransaction = config.rsTransaction_;
751 WindowSizeChangeReason wmReason, const std::shared_ptr<RSTransaction>& rsTransaction)
792 std::shared_ptr<Ace::UIContent> uiContent = window->GetUIContentSharedPtr();
874 std::shared_lock<std::shared_mutex> lock(windowSessionMutex_);
891 std::shared_lock<std::shared_mutex> lock(windowExtensionSessionMutex_);
1039 const std::shared_ptr<RSTransaction>& rsTransaction, const sptr<DisplayInfo>& info,
1040 const std::map<AvoidAreaType, AvoidArea>& avoidAreas)
1075 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1080 std::map<AvoidAreaType, AvoidArea> avoidAreasToUpdate;
1110 std::shared_lock<std::shared_mutex> lock(windowSessionMutex_);
1129 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1162 WMError WindowSessionImpl::NapiSetUIContent(const std::string& contentInfo, napi_env env, napi_value storage,
1171 const std::string& contentInfo, napi_env env, napi_value storage, AppExecFwk::Ability* ability)
1178 const std::string& contentInfo, napi_env env, napi_value storage, AppExecFwk::Ability* ability)
1191 WMError WindowSessionImpl::InitUIContent(const std::string& contentInfo, napi_env env, napi_value storage,
1196 std::unique_ptr<Ace::UIContent> uiContent = ability != nullptr ? Ace::UIContent::Create(ability) :
1234 std::unique_lock<std::shared_mutex> lock(uiContentMutex_);
1235 uiContent_ = std::move(uiContent);
1272 WMError WindowSessionImpl::SetUIContentInner(const std::string& contentInfo, napi_env env, napi_value storage,
1353 std::shared_ptr<std::vector<uint8_t>> WindowSessionImpl::GetAbcContent(const std::string& abcPath)
1355 std::filesystem::path abcFile { abcPath };
1356 if (abcFile.empty() || !abcFile.is_absolute() || !std::filesystem::exists(abcFile)) {
1361 std::fstream file(abcFile, std::ios::in | std::ios::binary);
1367 file.seekg(0, std::ios::end);
1376 std::vector<uint8_t> abcBytes(len);
1377 file.seekg(0, std::ios::beg);
1379 return std::make_shared<std::vector<uint8_t>>(abcBytes);
1399 std::lock_guard<std::recursive_mutex> lockListener(windowChangeListenerMutex_);
1434 std::lock_guard<std::recursive_mutex> lockListener(windowChangeListenerMutex_);
1451 std::shared_ptr<RSSurfaceNode> WindowSessionImpl::GetSurfaceNode() const
1458 const std::shared_ptr<AbilityRuntime::Context> WindowSessionImpl::GetContext() const
1475 const std::string& WindowSessionImpl::GetWindowName() const
1664 std::fabs(brightness - UNDEFINED_BRIGHTNESS) >= std::numeric_limits<float>::min()) ||
1707 std::string WindowSessionImpl::GetContentInfo(BackupAndRestoreType type)
1713 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1721 WMError WindowSessionImpl::SetRestoredRouterStack(const std::string& routerStack)
1728 std::string WindowSessionImpl::GetRestoredRouterStack()
1731 return std::move(restoredRouterStack_);
1739 std::shared_ptr<Ace::UIContent> WindowSessionImpl::GetUIContentSharedPtr() const
1741 std::shared_lock<std::shared_mutex> lock(uiContentMutex_);
1764 WMError WindowSessionImpl::SetAPPWindowLabel(const std::string& label)
1766 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1776 WMError WindowSessionImpl::SetAPPWindowIcon(const std::shared_ptr<Media::PixelMap>& icon)
1782 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1795 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
1802 std::lock_guard<std::mutex> lockListener(displayMoveListenerMutex_);
1809 std::lock_guard<std::mutex> lockListener(displayMoveListenerMutex_);
1831 std::lock_guard<std::recursive_mutex> lockListener(occupiedAreaChangeListenerMutex_);
1838 std::lock_guard<std::recursive_mutex> lockListener(occupiedAreaChangeListenerMutex_);
1845 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
1852 std::lock_guard<std::recursive_mutex> lockListener(windowChangeListenerMutex_);
1859 std::lock_guard<std::recursive_mutex> lockListener(windowChangeListenerMutex_);
1866 std::lock_guard<std::recursive_mutex> lockListener(windowStatusChangeListenerMutex_);
1873 std::lock_guard<std::recursive_mutex> lockListener(windowStatusChangeListenerMutex_);
1882 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1944 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
1963 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
2002 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
2039 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
2062 std::lock_guard<std::recursive_mutex> lockListener(windowTitleButtonRectChangeListenerMutex_);
2119 std::lock_guard<std::recursive_mutex> lockListener(windowTitleButtonRectChangeListenerMutex_);
2134 std::vector<sptr<IWindowTitleButtonRectChangedListener>>> WindowSessionImpl::GetListeners()
2136 std::vector<sptr<IWindowTitleButtonRectChangedListener>> windowTitleButtonRectListeners;
2145 std::lock_guard<std::recursive_mutex> lockListener(windowTitleButtonRectChangeListenerMutex_);
2156 std::vector<sptr<IWindowRectChangeListener>>> WindowSessionImpl::GetListeners()
2158 std::vector<sptr<IWindowRectChangeListener>> windowRectChangeListeners;
2169 std::lock_guard<std::mutex> lockListener(windowRectChangeListenerMutex_);
2184 std::lock_guard<std::mutex> lockListener(windowRectChangeListenerMutex_);
2214 std::lock_guard<std::mutex> lockListener(subWindowCloseListenersMutex_);
2229 std::lock_guard<std::mutex> lockListener(subWindowCloseListenersMutex_);
2259 std::lock_guard<std::mutex> lockListener(mainWindowCloseListenersMutex_);
2281 std::lock_guard<std::mutex> lockListener(mainWindowCloseListenersMutex_);
2288 std::vector<sptr<ISwitchFreeMultiWindowListener>>> WindowSessionImpl::GetListeners()
2290 std::vector<sptr<ISwitchFreeMultiWindowListener>> switchFreeMultiWindowListeners;
2308 std::lock_guard<std::mutex> lockListener(switchFreeMultiWindowListenerMutex_);
2323 std::lock_guard<std::mutex> lockListener(switchFreeMultiWindowListenerMutex_);
2332 std::lock_guard<std::recursive_mutex> lockListener(avoidAreaChangeListenerMutex_);
2339 std::lock_guard<std::recursive_mutex> lockListener(touchOutsideListenerMutex_);
2346 std::lock_guard<std::recursive_mutex> lockListener(windowVisibilityChangeListenerMutex_);
2353 std::lock_guard<std::mutex> lockListener(windowRectChangeListenerMutex_);
2364 EnableIfSame<T, IWindowLifeCycle, std::vector<sptr<IWindowLifeCycle>>> WindowSessionImpl::GetListeners()
2366 std::vector<sptr<IWindowLifeCycle>> lifecycleListeners;
2374 EnableIfSame<T, IWindowChangeListener, std::vector<sptr<IWindowChangeListener>>> WindowSessionImpl::GetListeners()
2376 std::vector<sptr<IWindowChangeListener>> windowChangeListeners;
2385 std::vector<sptr<IOccupiedAreaChangeListener>>> WindowSessionImpl::GetListeners()
2387 std::vector<sptr<IOccupiedAreaChangeListener>> occupiedAreaChangeListeners;
2395 WMError WindowSessionImpl::RegisterListener(std::vector<sptr<T>>& holder, const sptr<T>& listener)
2401 if (std::find(holder.begin(), holder.end(), listener) != holder.end()) {
2410 WMError WindowSessionImpl::UnregisterListener(std::vector<sptr<T>>& holder, const sptr<T>& listener)
2416 holder.erase(std::remove_if(holder.begin(), holder.end(),
2424 void WindowSessionImpl::ClearUselessListeners(std::map<int32_t, T>& listeners, int32_t persistentId)
2430 EnableIfSame<T, IWindowStatusChangeListener, std::vector<sptr<IWindowStatusChangeListener>>> WindowSessionImpl::GetListeners()
2432 std::vector<sptr<IWindowStatusChangeListener>> windowStatusChangeListeners;
2443 std::lock_guard<std::mutex> lockListener(displayMoveListenerMutex_);
2447 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2451 std::lock_guard<std::recursive_mutex> lockListener(windowChangeListenerMutex_);
2455 std::lock_guard<std::recursive_mutex> lockListener(avoidAreaChangeListenerMutex_);
2459 std::lock_guard<std::recursive_mutex> lockListener(dialogDeathRecipientListenerMutex_);
2463 std::lock_guard<std::recursive_mutex> lockListener(dialogTargetTouchListenerMutex_);
2467 std::lock_guard<std::recursive_mutex> lockListener(screenshotListenerMutex_);
2471 std::lock_guard<std::recursive_mutex> lockListener(windowStatusChangeListenerMutex_);
2475 std::lock_guard<std::recursive_mutex> lockListener(windowTitleButtonRectChangeListenerMutex_);
2479 std::lock_guard<std::recursive_mutex> lockListener(windowNoInteractionListenerMutex_);
2483 std::lock_guard<std::mutex> lockListener(windowRectChangeListenerMutex_);
2487 std::lock_guard<std::mutex> lockListener(subWindowCloseListenersMutex_);
2491 std::lock_guard<std::mutex> lockListener(mainWindowCloseListenersMutex_);
2495 std::lock_guard<std::recursive_mutex> lockListener(occupiedAreaChangeListenerMutex_);
2504 std::lock_guard<std::mutex> lockListener(switchFreeMultiWindowListenerMutex_);
2510 notifyNativeFunc_ = std::move(func);
2520 void WindowSessionImpl::SetInputEventConsumer(const std::shared_ptr<IInputEventConsumer>& inputEventConsumer)
2523 std::lock_guard<std::recursive_mutex> lock(mutex_);
2562 WMError WindowSessionImpl::SetWindowContainerColor(const std::string& activeColor, const std::string& inactiveColor)
2594 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2618 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2703 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2710 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2716 void WindowSessionImpl::NotifyBeforeDestroy(std::string windowName)
2723 std::unique_lock<std::shared_mutex> lock(uiContentMutex_);
2745 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2752 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2759 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2766 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2773 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2780 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2787 std::lock_guard<std::recursive_mutex> lockListener(lifeCycleListenerMutex_);
2811 std::lock_guard<std::recursive_mutex> lockListener(dialogDeathRecipientListenerMutex_);
2819 std::lock_guard<std::recursive_mutex> lockListener(dialogDeathRecipientListenerMutex_);
2831 std::lock_guard<std::recursive_mutex> lockListener(dialogTargetTouchListenerMutex_);
2839 std::lock_guard<std::recursive_mutex> lockListener(dialogTargetTouchListenerMutex_);
2846 std::lock_guard<std::recursive_mutex> lockListener(screenshotListenerMutex_);
2853 std::lock_guard<std::recursive_mutex> lockListener(screenshotListenerMutex_);
2858 EnableIfSame<T, IDialogDeathRecipientListener, std::vector<sptr<IDialogDeathRecipientListener>>> WindowSessionImpl::
2861 std::vector<sptr<IDialogDeathRecipientListener>> dialogDeathRecipientListener;
2870 std::vector<sptr<IDialogTargetTouchListener>>> WindowSessionImpl::GetListeners()
2872 std::vector<sptr<IDialogTargetTouchListener>> dialogTargetTouchListener;
2880 EnableIfSame<T, IScreenshotListener, std::vector<sptr<IScreenshotListener>>> WindowSessionImpl::GetListeners()
2882 std::vector<sptr<IScreenshotListener>> screenshotListeners;
2892 std::lock_guard<std::recursive_mutex> lockListener(dialogDeathRecipientListenerMutex_);
2908 EnableIfSame<T, IDisplayMoveListener, std::vector<sptr<IDisplayMoveListener>>> WindowSessionImpl::GetListeners()
2910 std::vector<sptr<IDisplayMoveListener>> displayMoveListeners;
2920 std::lock_guard<std::mutex> lockListener(displayMoveListenerMutex_);
2945 std::lock_guard<std::recursive_mutex> lockListener(dialogTargetTouchListenerMutex_);
2956 std::lock_guard<std::recursive_mutex> lockListener(screenshotListenerMutex_);
2969 std::lock_guard<std::recursive_mutex> lockListener(windowChangeListenerMutex_);
2978 std::lock_guard<std::mutex> lockRectListener(windowRectChangeListenerMutex_);
2991 std::lock_guard<std::mutex> lockListener(subWindowCloseListenersMutex_);
3000 std::lock_guard<std::mutex> lockListener(mainWindowCloseListenersMutex_);
3011 std::lock_guard<std::mutex> lockListener(switchFreeMultiWindowListenerMutex_);
3032 std::lock_guard<std::recursive_mutex> lockListener(avoidAreaChangeListenerMutex_);
3059 std::lock_guard<std::recursive_mutex> lockListener(avoidAreaChangeListenerMutex_);
3078 std::lock_guard<std::recursive_mutex> lockListener(avoidAreaChangeListenerMutex_);
3086 std::lock_guard<std::recursive_mutex> lockListener(avoidAreaChangeListenerMutex_);
3092 std::vector<sptr<IAvoidAreaChangedListener>>> WindowSessionImpl::GetListeners()
3094 std::vector<sptr<IAvoidAreaChangedListener>> windowChangeListeners;
3106 std::lock_guard<std::recursive_mutex> lockListener(avoidAreaChangeListenerMutex_);
3133 WSError WindowSessionImpl::SetPipActionEvent(const std::string& action, int32_t status)
3167 std::lock_guard<std::recursive_mutex> lockListener(touchOutsideListenerMutex_);
3196 std::lock_guard<std::recursive_mutex> lockListener(touchOutsideListenerMutex_);
3213 EnableIfSame<T, ITouchOutsideListener, std::vector<sptr<ITouchOutsideListener>>> WindowSessionImpl::GetListeners()
3215 std::vector<sptr<ITouchOutsideListener>> windowChangeListeners;
3226 std::lock_guard<std::recursive_mutex> lockListener(touchOutsideListenerMutex_);
3243 std::lock_guard<std::recursive_mutex> lockListener(windowVisibilityChangeListenerMutex_);
3264 std::lock_guard<std::recursive_mutex> lockListener(windowVisibilityChangeListenerMutex_);
3281 std::lock_guard<std::recursive_mutex> lockListener(windowNoInteractionListenerMutex_);
3294 std::lock_guard<std::recursive_mutex> lockListener(windowNoInteractionListenerMutex_);
3303 EnableIfSame<T, IWindowVisibilityChangedListener, std::vector<IWindowVisibilityListenerSptr>> WindowSessionImpl::GetListeners()
3305 std::vector<IWindowVisibilityListenerSptr> windowVisibilityChangeListeners;
3313 EnableIfSame<T, IWindowNoInteractionListener, std::vector<IWindowNoInteractionListenerSptr>> WindowSessionImpl::GetListeners()
3315 std::vector<IWindowNoInteractionListenerSptr> noInteractionListeners;
3326 std::lock_guard<std::recursive_mutex> lockListener(windowVisibilityChangeListenerMutex_);
3349 void WindowSessionImpl::NotifyPointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
3356 std::shared_ptr<IInputEventConsumer> inputEventConsumer;
3358 std::lock_guard<std::recursive_mutex> lock(mutex_);
3393 std::unique_lock<std::shared_mutex> lock(keyEventFilterMutex_);
3394 keyEventFilter_ = std::move(filter);
3400 std::unique_lock<std::shared_mutex> lock(keyEventFilterMutex_);
3405 bool WindowSessionImpl::FilterKeyEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent)
3407 std::shared_lock<std::shared_mutex> lock(keyEventFilterMutex_);
3420 void WindowSessionImpl::DispatchKeyEventCallback(const std::shared_ptr<MMI::KeyEvent>& keyEvent, bool& isConsumed)
3422 std::shared_ptr<IInputEventConsumer> inputEventConsumer;
3424 std::lock_guard<std::recursive_mutex> lock(mutex_);
3476 std::shared_ptr<IInputEventConsumer> inputEventConsumer;
3478 std::lock_guard<std::recursive_mutex> lock(mutex_);
3483 std::shared_ptr<MMI::KeyEvent> backKeyEvent = MMI::KeyEvent::Create();
3527 void WindowSessionImpl::NotifyKeyEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent, bool& isConsumed,
3539 auto callback = [weakThis = wptr(this)] (std::shared_ptr<MMI::KeyEvent>& keyEvent, bool consumed) {
3560 const_cast<std::shared_ptr<MMI::KeyEvent>&>(keyEvent), callback);
3571 bool WindowSessionImpl::IsKeyboardEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent) const
3582 void WindowSessionImpl::RequestVsync(const std::shared_ptr<VsyncCallback>& vsyncCallback)
3621 sptr<Window> WindowSessionImpl::Find(const std::string& name)
3623 std::shared_lock<std::shared_mutex> lock(windowSessionMutex_);
3638 std::lock_guard<std::recursive_mutex> lock(mutex_);
3642 WMError WindowSessionImpl::SetBackgroundColor(const std::string& color)
3664 std::string bundleName;
3665 std::string abilityName;
3691 std::shared_lock<std::shared_mutex> lock(windowSessionMutex_);
3706 std::vector<sptr<Window>> WindowSessionImpl::GetSubWindow(int parentId)
3710 return std::vector<sptr<Window>>();
3712 return std::vector<sptr<Window>>(subWindowSessionMap_[parentId].begin(), subWindowSessionMap_[parentId].end());
3758 std::lock_guard<std::recursive_mutex> lockListener(occupiedAreaChangeListenerMutex_);
3778 const std::shared_ptr<RSTransaction>& rsTransaction)
3810 void WindowSessionImpl::DumpSessionElementInfo(const std::vector<std::string>& params)
3911 std::lock_guard<std::recursive_mutex> lockListener(windowStatusChangeListenerMutex_);
3952 std::lock_guard<std::recursive_mutex> lockListener(windowNoInteractionListenerMutex_);
4027 void WindowSessionImpl::SetForceSplitEnable(bool isForceSplit, const std::string& homePage)
4029 std::shared_ptr<Ace::UIContent> uiContent = GetUIContentSharedPtr();
4070 handler_->RemoveTask(SET_UICONTENT_TIMEOUT_LISTENER_TASK_NAME + std::to_string(GetPersistentId()));
4091 std::ostringstream oss;
4104 handler_->PostTask(task, SET_UICONTENT_TIMEOUT_LISTENER_TASK_NAME + std::to_string(GetPersistentId()),