Home
last modified time | relevance | path

Searched refs:GetPersistentId (Results 1 – 25 of 61) sorted by relevance

123

/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/
H A Dsession.cpp736 return GetPersistentId(); in GetWindowId()
986 GetPersistentId()); in UpdateOrientation()
991 GetPersistentId()); in UpdateOrientation()
1169 GetPersistentId(), dialog->GetPersistentId()); in HandleDialogBackground()
1193 GetPersistentId(), dialog->GetPersistentId()); in HandleDialogForeground()
1799 session->GetPersistentId(), GetPersistentId()); in SetParentSession()
1825 session->GetPersistentId(), GetPersistentId()); in BindDialogToParentSession()
1830 session->GetPersistentId(), GetPersistentId()); in BindDialogToParentSession()
1839 session->GetPersistentId(), GetPersistentId()); in RemoveDialogToParentSession()
1843 session->GetPersistentId(), GetPersistentId()); in RemoveDialogToParentSession()
[all …]
H A Dsystem_session.cpp37 moveDragController_ = new (std::nothrow) MoveDragController(GetPersistentId()); in SystemSession()
47 TLOGD(WmsLogTag::WMS_LIFE, "~SystemSession, id: %{public}d", GetPersistentId()); in ~SystemSession()
100 TLOGI(WmsLogTag::WMS_LIFE, "Show session, id: %{public}d", session->GetPersistentId()); in Show()
125 GetPersistentId(), type); in Hide()
135 TLOGI(WmsLogTag::WMS_LIFE, "Hide session, id: %{public}d", session->GetPersistentId()); in Hide()
177 const auto& id = GetPersistentId(); in ProcessPointDownSession()
233 TLOGI(WmsLogTag::WMS_DIALOG, "this is dialog, id: %{public}d", GetPersistentId()); in ProcessBackEvent()
256 session->specificCallback_->onUpdateAvoidArea_(session->GetPersistentId()); in NotifyClientToUpdateRect()
271 currentRect.width_, currentRect.height_, GetRSVisible(), GetPersistentId()); in CheckKeyEventDispatch()
287 … parentSession->GetPersistentId(), parentSessionState, GetPersistentId(), GetSessionState()); in CheckKeyEventDispatch()
[all …]
H A Dscene_session.cpp177 GetPersistentId()); in ReconnectInner()
232 auto persistentId = GetPersistentId(); in RemoveExtensionTokenInfo()
1404 GetPersistentId()); in UpdateSessionRectInner()
2043 type, GetPersistentId()); in GetAvoidAreaByTypeInner()
2188 const auto& id = GetPersistentId(); in ProcessPointDownSession()
4189 GetPersistentId(), action); in NotifySessionChangeByActionNotifyManager()
4330 subSession->GetPersistentId(), GetPersistentId()); in AddSubSession()
4334 subSession->GetPersistentId(), GetPersistentId()); in AddSubSession()
4370 toastSession->GetPersistentId(), GetPersistentId()); in AddToastSession()
4374 toastSession->GetPersistentId(), GetPersistentId()); in AddToastSession()
[all …]
H A Dmain_session.cpp30 scenePersistence_ = new ScenePersistence(info.bundleName_, GetPersistentId()); in MainSession()
31 if (info.persistentId_ != 0 && info.persistentId_ != GetPersistentId()) { in MainSession()
35 moveDragController_ = new (std::nothrow) MoveDragController(GetPersistentId()); in MainSession()
57 WLOGD("~MainSession, id: %{public}d", GetPersistentId()); in ~MainSession()
91 const auto& id = GetPersistentId(); in ProcessPointDownSession()
107 GetPersistentId(), GetSessionState()); in NotifyForegroundInteractiveStatus()
151 "state: %{public}d, action:%{public}d]", GetPersistentId(), GetSessionState(), action); in CheckPointerEventDispatch()
159 …TLOGI(WmsLogTag::WMS_LAYOUT, "SetTopmost id: %{public}d, topmost: %{public}d", GetPersistentId(), … in SetTopmost()
169 session->GetPersistentId(), topmost); in SetTopmost()
189 GetPersistentId(), isTopmost); in SetMainWindowTopmost()
H A Dscb_system_session.cpp46 WLOGD("~SCBSystemSession, id: %{public}d", GetPersistentId()); in ~SCBSystemSession()
61 const auto& id = GetPersistentId(); in ProcessPointDownSession()
83 session->specificCallback_->onUpdateAvoidArea_(session->GetPersistentId()); in NotifyClientToUpdateRect()
115 TLOGI(WmsLogTag::WMS_KEYBOARD, "Success, id: %{public}d", keyboardSession_->GetPersistentId()); in BindKeyboardSession()
125 …WLOGFI("PresentFocusIfPointDown, id: %{public}d, type: %{public}d", GetPersistentId(), GetWindowTy… in PresentFocusIfPointDown()
146 WLOGFD("OnClick down, id: %{public}d", GetPersistentId()); in PresentFoucusIfNeed()
183GetPersistentId(), static_cast<int32_t>(mode), sessionInfo_.bundleName_.c_str(), GetSessionState()… in UpdateWindowMode()
190 GetPersistentId(), blocking); in SetSystemSceneBlockingFocus()
H A Dsub_session.cpp35 moveDragController_ = new (std::nothrow) MoveDragController(GetPersistentId()); in SubSession()
46 TLOGD(WmsLogTag::WMS_LIFE, "~SubSession, id: %{public}d", GetPersistentId()); in ~SubSession()
60 TLOGI(WmsLogTag::WMS_LIFE, "Show session, id: %{public}d", session->GetPersistentId()); in Show()
97 TLOGI(WmsLogTag::WMS_LIFE, "Hide session, id: %{public}d", session->GetPersistentId()); in Hide()
124 const auto& id = GetPersistentId(); in ProcessPointDownSession()
142 … return parentSession != nullptr ? parentSession->GetPersistentId() : SceneSession::GetMissionId(); in GetMissionId()
182 "state: %{public}d, action:%{public}d]", GetPersistentId(), GetSessionState(), action); in CheckPointerEventDispatch()
H A Dkeyboard_session.cpp48 TLOGI(WmsLogTag::WMS_KEYBOARD, "Success, panelId: %{public}d", panelSession->GetPersistentId()); in BindKeyboardPanelSession()
84 session->GetPersistentId(), session->GetCallingSessionId()); in Show()
106 session->GetPersistentId()); in Hide()
139 session->GetPersistentId(), isFromClient); in Disconnect()
181 specificCallback_->onUpdateAvoidArea_(GetPersistentId()); in UpdateKeyboardAvoidArea()
188 TLOGI(WmsLogTag::WMS_KEYBOARD, "id: %{public}d", GetPersistentId()); in OnKeyboardPanelUpdated()
197 TLOGI(WmsLogTag::WMS_KEYBOARD, "id: %{public}d", GetPersistentId()); in OnCallingSessionUpdated()
221 …TLOGI(WmsLogTag::WMS_KEYBOARD, "keyboardId: %{public}d, gravity: %{public}d", GetPersistentId(), g… in SetKeyboardSessionGravity()
312 "PortraitPanelRect: %{public}s, requestRect: %{public}s", session->GetPersistentId(), in AdjustKeyboardLayout()
558 TLOGI(WmsLogTag::WMS_KEYBOARD, "Id: %{public}d, rect: %{public}s", GetPersistentId(), in RelayoutKeyBoard()
[all …]
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_session_impl.cpp340 GetPersistentId(), state_); in IsWindowSessionInvalid()
355 return property_->GetPersistentId(); in GetPersistentId()
594 GetPersistentId(), reason, state_); in Hide()
1659 GetPersistentId()); in SetRaiseByClickEnabled()
1664 GetPersistentId()); in SetRaiseByClickEnabled()
1669 GetPersistentId()); in SetRaiseByClickEnabled()
2208 auto persistentId = GetPersistentId(); in RegisterWindowTitleButtonRectChangeListener()
2266 auto persistentId = GetPersistentId(); in UnregisterWindowTitleButtonRectChangeListener()
2484 auto persistentId = GetPersistentId(); in RecoverSessionListener()
2851 GetPersistentId()); in NotifyBeforeDestroy()
[all …]
H A Dwindow_scene_session_impl.cpp444 auto persistentId = property_->GetPersistentId(); in RecoverAndConnectSpecificSession()
486 GetWindowName().c_str(), GetPersistentId()); in RecoverAndConnectSpecificSession()
514 GetPersistentId(), state_); in RecoverAndReconnectSceneSession()
695 GetPersistentId()); in InitSystemSessionDragEnable()
1257 property_->GetPersistentId(), type); in Hide()
1273 GetPersistentId(), type); in NotifyDrawingCompleted()
1452 ClearListenersById(GetPersistentId()); in Destroy()
1698 property_->GetPersistentId(), width, height); in Resize()
2617 WLOGFI("id: %{public}d", GetPersistentId()); in Close()
3010 if (window->GetPersistentId() != windowId) { in GetParentMainWindowIdInner()
[all …]
H A Dwindow_extension_session_impl.cpp100 property_->GetWindowName().c_str(), GetPersistentId(), ret); in Create()
113 property_->GetWindowName().c_str(), GetPersistentId()); in Create()
186 InputTransferStation::GetInstance().RemoveInputWindow(GetPersistentId()); in Destroy()
200 ClearListenersById(GetPersistentId()); in Destroy()
209 TLOGI(WmsLogTag::WMS_LIFE, "Reset state, id: %{public}d.", GetPersistentId()); in Destroy()
362 auto persistentId = GetPersistentId(); in HidePrivacyContentForHost()
398 GetPersistentId(), static_cast<int32_t>(focusState_.value())); in NotifyFocusStateEvent()
535 WLOGFE("fail to NapiSetUIContent id: %{public}d", GetPersistentId()); in NapiSetUIContent()
764 GetPersistentId(), reason, state_); in Hide()
1127 TLOGW(WmsLogTag::WMS_UIEXT, "Id=%{public}d", GetPersistentId()); in ReportModalUIExtensionMayBeCovered()
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Danomaly_detection_test.cpp87 ssm_->sceneSessionMap_.insert({sceneSession->GetPersistentId(), sceneSession}); in SessionVisibleTest()
100 ssm_->sceneSessionMap_.insert({sceneSession->GetPersistentId(), sceneSession}); in ZeroOrderTest()
117 ssm_->sceneSessionMap_.insert({sceneSession1->GetPersistentId(), sceneSession1}); in EQOrderTest()
127 ssm_->sceneSessionMap_.insert({sceneSession2->GetPersistentId(), sceneSession2}); in EQOrderTest()
146 ssm_->sceneSessionMap_.insert({sceneSession->GetPersistentId(), sceneSession}); in WindowTypeTest()
162 ssm_->sceneSessionMap_.insert({callingSession->GetPersistentId(), nullptr}); in WindowTypeTest()
180 ssm_->sceneSessionMap_.insert({sceneSession->GetPersistentId(), sceneSession}); in SubWindowTest()
193 ssm_->sceneSessionMap_.insert({mainSession->GetPersistentId(), mainSession}); in SubWindowTest()
224 ssm_->sceneSessionMap_.insert({sceneSession->GetPersistentId(), sceneSession}); in KeyGUARDTest()
244 ssm_->sceneSessionMap_.insert({sceneSession1->GetPersistentId(), sceneSession1}); in IsShowWhenLockedTest()
[all …]
H A Dscene_session_manager_test.cpp947 ssm_->sceneSessionMap_.insert({sceneSession->GetPersistentId(), sceneSession});
1002 ssm_->sceneSessionMap_.insert({sceneSession->GetPersistentId(), sceneSession});
1031 ssm_->sceneSessionMap_.insert({sceneSession->GetPersistentId(), sceneSession});
1395 int32_t windowId = sceneSession->GetPersistentId();
1449 property2->SetParentId(sceneSession->GetPersistentId());
1543 ssm_->GetUnreliableWindowInfo(sceneSession1->GetPersistentId(), infos);
1544 ssm_->GetUnreliableWindowInfo(sceneSession2->GetPersistentId(), infos);
1545 ssm_->GetUnreliableWindowInfo(sceneSession3->GetPersistentId(), infos);
1574 ssm_->sceneSessionMap_.erase(sceneSession->GetPersistentId());
1802 …:vector<uint64_t> windowIds = {1001, sceneSession1->GetPersistentId(), sceneSession2->GetPersisten…
[all …]
H A Dextension_session_manager_test.cpp94 instance->extensionSessionMap_[extensionSession->GetPersistentId()] = extensionSession;
128 instance->extensionSessionMap_[extensionSession->GetPersistentId()] = extensionSession;
132 instance->extensionSessionMap_[extensionSession->GetPersistentId()] = extensionSession;
176 instance->extensionSessionMap_[extensionSession->GetPersistentId()] = extensionSession;
180 instance->extensionSessionMap_[extensionSession->GetPersistentId()] = extensionSession;
198 instance->extensionSessionMap_[extensionSession->GetPersistentId()] = extensionSession;
227 int32_t persistentId = extSession->GetPersistentId();
H A Dscene_session_manager_test10.cpp101 ssm_->sceneSessionMap_.insert({sceneSession->GetPersistentId(), sceneSession}); in InitTestSceneSession()
102 EXPECT_EQ(windowId, sceneSession->GetPersistentId()); in InitTestSceneSession()
242 ssm_->lastFocusedAppSessionId_ = nextSession->GetPersistentId();
476 ASSERT_FALSE(ssm_->NotifyVisibleChange(sceneSession->GetPersistentId()));
477 ssm_->sceneSessionMap_.insert({sceneSession->GetPersistentId(), sceneSession});
478 ASSERT_TRUE(ssm_->NotifyVisibleChange(sceneSession->GetPersistentId()));
480 ssm_->sceneSessionMap_.erase(sceneSession->GetPersistentId());
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_converter.cpp34 missionInfo.id = (*iter)->GetPersistentId(); in ConvertToMissionInfos()
43 … WLOGFE("abilityInfo in SceneSession is nullptr, id: %{public}d", (*iter)->GetPersistentId()); in ConvertToMissionInfos()
48 WLOGFE("want in SceneSession is nullptr, id: %{public}d", (*iter)->GetPersistentId()); in ConvertToMissionInfos()
64 missionInfo.id = sceneSession->GetPersistentId(); in ConvertToMissionInfo()
73 … WLOGFE("abilityInfo in SceneSession is nullptr, id: %{public}d", sceneSession->GetPersistentId()); in ConvertToMissionInfo()
78 WLOGFE("want in SceneSession is nullptr, id: %{public}d", sceneSession->GetPersistentId()); in ConvertToMissionInfo()
H A Dextension_session_manager.cpp48 abilitySessionInfo->persistentId = extSession->GetPersistentId(); in WM_IMPLEMENT_SINGLE_INSTANCE()
65 auto persistentId = extensionSession->GetPersistentId(); in RequestExtensionSession()
86 auto persistentId = extSession->GetPersistentId(); in RequestExtensionSessionActivation()
121 auto persistentId = extSession->GetPersistentId(); in RequestExtensionSessionBackground()
156 auto persistentId = extSession->GetPersistentId(); in RequestExtensionSessionDestruction()
190 auto persistentId = extSession->GetPersistentId(); in RequestExtensionSessionDestructionDone()
H A Dscene_session_manager.cpp1652 panelSession->GetPersistentId(), keyboardSession->GetPersistentId()); in CreateKeyboardPanelSession()
3175 newSession->GetPersistentId(), type); in NotifyCreateSpecificSession()
3209 persistentId, session->GetPersistentId()); in NotifyCreateSubSession()
3254 persistentId, session->GetPersistentId()); in NotifyCreateToastSession()
4299 scnSession->GetPersistentId()); in RegisterSessionExceptionFunc()
4360 sceneSession->GetPersistentId()); in RegisterAcquireRotateAnimationConfigFunc()
4391 scnSession->GetPersistentId()); in NotifySessionForCallback()
5386 nextId = nextSession->GetPersistentId(); in ShiftFocus()
6017 sceneSession->GetPersistentId()); in ProcessFocusWhenForegroundScbCore()
7099 sceneSession->GetPersistentId()); in GetSessionSnapshot()
[all …]
H A Dscene_session_dirty_manager.cpp289 if (auto iter = dialogMap.find(mainSession->GetPersistentId()); in AddDialogSessionMapItem()
305 dialogMap[mainSession->GetPersistentId()] = session; in AddDialogSessionMapItem()
307 session->GetPersistentId(), mainSession->GetPersistentId()); in AddDialogSessionMapItem()
337 sessionCallingPid, session->GetPersistentId()); in AddCallingPidMapItem()
344 sessionCallingPid, session->GetPersistentId()); in AddCallingPidMapItem()
360 dialogMap[session->GetPersistentId()] = iter->second; in UpdateDialogSessionMap()
363 session->GetPersistentId(), iter->second->GetPersistentId()); in UpdateDialogSessionMap()
506 dialogMap.find(sceneSessionValue->GetPersistentId()) : in GetFullWindowInfoList()
509 sceneSessionValue->GetPersistentId() != iter->second->GetPersistentId() && in GetFullWindowInfoList()
511 windowInfo.agentWindowId = static_cast<int32_t>(iter->second->GetPersistentId()); in GetFullWindowInfoList()
[all …]
H A Danomaly_detection.cpp99 oss << " cur persistentId: " << session->GetPersistentId() << ","; in ReportZOrderException()
112 oss << " cur persistentId: " << session->GetPersistentId() << ","; in ReportFocusException()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/
H A Dwindow_scene.cpp57 ACE_SCOPED_TRACE("BufferAvailableCallback[id:%d]", session->GetPersistentId()); in WindowScene()
59 "BufferAvailableCallback id:%{public}d", session->GetPersistentId()); in WindowScene()
93 config.SurfaceNodeName = "WindowScene_" + name + std::to_string(session_->GetPersistentId()); in CreateLeashWindowNode()
96 surfaceNode->SetLeashPersistentId(static_cast<int64_t>(session_->GetPersistentId())); in CreateLeashWindowNode()
107 session_->GetPersistentId(), host->GetId(), session_->GetWindowType(), windowName.c_str()); in OnAttachToFrameNode()
258 session_->GetPersistentId(), sizeChangeReason, windowRect.ToString().c_str()); in OnBoundsChanged()
262 session_->GetPersistentId(), static_cast<int32_t>(ret)); in OnBoundsChanged()
282 self->session_->GetPersistentId(), isWindowSizeEqual); in BufferAvailableCallback()
370 "BufferAvailableCallbackForSnapshot id:%{public}d", session_->GetPersistentId()); in BufferAvailableCallbackForSnapshot()
496 "name: %{public}s, rect: %{public}s", self->session_->GetPersistentId(), host->GetId(), in OnConnect()
[all …]
H A Dsystem_window_scene.cpp68 session_->GetPersistentId(), static_cast<int32_t>(ret)); in OnBoundsChanged()
76 …session_->GetSessionInfo().bundleName_.c_str(), session_->GetPersistentId(), visible ? "visible" :… in OnVisibleChange()
94 …session_->GetPersistentId(), host->GetId(), session_->GetWindowType(), session_->GetWindowName().c… in OnAttachToFrameNode()
97 …session_->GetPersistentId(), host->GetId(), session_->GetWindowType(), session_->GetWindowName().c… in OnAttachToFrameNode()
141 …session_->GetPersistentId(), frameNode->GetId(), session_->GetWindowType(), session_->GetWindowNam… in OnDetachFromFrameNode()
144 …session_->GetPersistentId(), frameNode->GetId(), session_->GetWindowType(), session_->GetWindowNam… in OnDetachFromFrameNode()
288 pipeline->RestoreDefault(self->GetSession()->GetPersistentId()); in RegisterFocusCallback()
318 session_->GetPersistentId(), nodeId, visibleChangeCallbackMap_.size()); in RegisterVisibleChangeCallback()
327 session_->GetPersistentId(), nodeId, visibleChangeCallbackMap_.size()); in UnRegisterVisibleChangeCallback()
H A Dwindow_pattern.cpp161 …"name: %{public}s, state: %{public}u, in recents: %{public}d", session_->GetPersistentId(), host->… in OnAttachToFrameNode()
212 … ACE_SCOPED_TRACE("CreateBlankWindow[id:%d][self:%d]", session_->GetPersistentId(), host->GetId()); in CreateBlankWindow()
225 ACE_SCOPED_TRACE("CreateAppWindow[id:%d][self:%d]", session_->GetPersistentId(), host->GetId()); in CreateAppWindow()
351 …ACE_SCOPED_TRACE("CreateASStartingWindow[id:%d][self:%d]", session_->GetPersistentId(), host->GetI… in CreateASStartingWindow()
439 …ACE_SCOPED_TRACE("CreateStartingWindow[id:%d][self:%d]", session_->GetPersistentId(), host->GetId(… in CreateStartingWindow()
492 …ACE_SCOPED_TRACE("CreateSnapshotWindow[id:%d][self:%d]", session_->GetPersistentId(), host->GetId(… in CreateSnapshotWindow()
/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_two_test.cpp822 window->windowChangeListeners_.insert({window->GetPersistentId(), listeners});
865 window->windowChangeListeners_.insert({window->GetPersistentId(), listeners});
1144 ASSERT_TRUE(window_->lifecycleListeners_[window_->GetPersistentId()].empty());
1309 window_->screenshotListeners_.insert({window_->GetPersistentId(), listeners});
1312 window_->screenshotListeners_[window_->GetPersistentId()];
1414 (window_->dialogTargetTouchListener_)[window_->GetPersistentId()] = listeners;
1419 (window_->dialogTargetTouchListener_)[window_->GetPersistentId()];
1469 (window_->displayMoveListeners_)[window_->GetPersistentId()] = listeners;
1474 (window_->displayMoveListeners_)[window_->GetPersistentId()];
1526 (window_->dialogDeathRecipientListeners_)[window_->GetPersistentId()];
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_root_scene_session.cpp261 if (realCallerSessionId == sceneSession->GetPersistentId()) { in GetRealCallerSessionId()
283 sceneSession->GetPersistentId(), isNeedBackToOther); in PendingSessionActivation()
359 info.persistentId_ = sceneSession->GetPersistentId(); in GenSceneSession()
360 sceneSession->SetSessionInfoPersistentId(sceneSession->GetPersistentId()); in GenSceneSession()
371 info.persistentId_ = sceneSession->GetPersistentId(); in GenSceneSession()
372 sceneSession->SetSessionInfoPersistentId(sceneSession->GetPersistentId()); in GenSceneSession()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Dsession_wrapper_impl.cpp355 UIEXT_LOGI("DestroySession, persistentid = %{public}d.", session_->GetPersistentId()); in DestroySession()
367 return session_ ? session_->GetPersistentId() : 0; in GetSessionId()
492 int32_t windowSceneId = hostSession->GetPersistentId(); in GetWindowSceneId()
510 session_->GetPersistentId(), hostWindowId, windowSceneId, container->IsScenceBoardWindow()); in NotifyForeground()
522 session_->GetPersistentId(), isHandleError); in NotifyBackground()
535 UIEXT_LOGI("OnReleaseDone, persistentid = %{public}d.", session_->GetPersistentId()); in OnReleaseDone()
545 isHandleError, session_->GetPersistentId()); in NotifyDestroy()
718 …auto persistentId = parentSession ? parentSession->GetPersistentId() : session_->GetPersistentId(); in NotifyDisplayArea()

123