Home
last modified time | relevance | path

Searched refs:persistentId (Results 1 - 25 of 144) sorted by relevance

123456

/foundation/window/window_manager/window_scene/session_manager/src/
H A Dsession_listener_controller.cpp80 void SessionListenerController::NotifySessionCreated(int32_t persistentId) in NotifySessionCreated() argument
82 if (persistentId == -1) { in NotifySessionCreated()
85 WLOGFI("Id:%{public}d", persistentId); in NotifySessionCreated()
86 CallListeners(&ISessionListener::OnMissionCreated, persistentId); in NotifySessionCreated()
89 void SessionListenerController::NotifySessionDestroyed(int32_t persistentId) in NotifySessionDestroyed() argument
91 if (persistentId == -1) { in NotifySessionDestroyed()
94 WLOGFI("Id:%{public}d", persistentId); in NotifySessionDestroyed()
95 CallListeners(&ISessionListener::OnMissionDestroyed, persistentId); in NotifySessionDestroyed()
105 void SessionListenerController::NotifySessionSnapshotChanged(int32_t persistentId) in NotifySessionSnapshotChanged() argument
107 if (persistentId in NotifySessionSnapshotChanged()
114 NotifySessionMovedToFront(int32_t persistentId) NotifySessionMovedToFront() argument
123 NotifySessionFocused(int32_t persistentId) NotifySessionFocused() argument
132 NotifySessionUnfocused(int32_t persistentId) NotifySessionUnfocused() argument
141 NotifySessionIconChanged(int32_t persistentId, const std::shared_ptr<OHOS::Media::PixelMap>& icon) NotifySessionIconChanged() argument
151 NotifySessionClosed(int32_t persistentId) NotifySessionClosed() argument
160 NotifySessionLabelUpdated(int32_t persistentId) NotifySessionLabelUpdated() argument
[all...]
H A Dextension_session_manager.cpp52 abilitySessionInfo->persistentId = extSession->GetPersistentId(); in SetAbilitySessionInfo()
92 auto persistentId = extensionSession->GetPersistentId(); in RequestExtensionSession()
94 "persistentId: %{public}d, bundleName: %{public}s, moduleName: %{public}s, abilityName: %{public}s, " in RequestExtensionSession()
96 persistentId, tempSessionInfo.bundleName_.c_str(), tempSessionInfo.moduleName_.c_str(), in RequestExtensionSession()
99 extensionSessionMap_.insert({ persistentId, extensionSession }); in RequestExtensionSession()
116 auto persistentId = extSession->GetPersistentId(); in RequestExtensionSessionActivation()
117 WLOGFI("Activate session with persistentId: %{public}d", persistentId); in RequestExtensionSessionActivation()
119 if (extensionSessionMap_.count(persistentId) == 0) { in RequestExtensionSessionActivation()
120 WLOGFE("RequestExtensionSessionActivation Session is invalid! persistentId in RequestExtensionSessionActivation()
[all...]
H A Dscene_session_manager.cpp291 RegisterWindowStateErrorCallback([this](int32_t pid, int32_t persistentId) { in Init()
292 this->NotifyWindowStateErrorFromMMI(pid, persistentId); in Init()
760 for (const auto& persistentId : alivePersistentIds_) { in ClearUnrecoveredSessions()
761 auto it = std::find(recoveredPersistentIds.begin(), recoveredPersistentIds.end(), persistentId); in ClearUnrecoveredSessions()
765 auto sceneSession = GetSceneSession(persistentId); in ClearUnrecoveredSessions()
767 TLOGE(WmsLogTag::WMS_RECOVER, "Session is nullptr, persistentId = %{public}d", persistentId); in ClearUnrecoveredSessions()
771 TLOGI(WmsLogTag::WMS_RECOVER, "persistentId=%{public}d", persistentId); in ClearUnrecoveredSessions()
774 EraseSceneSessionAndMarkDirtyLockFree(persistentId); in ClearUnrecoveredSessions()
1228 GetSceneSession(int32_t persistentId) GetSceneSession() argument
1722 UpdateCollaboratorSessionWant(sptr<SceneSession>& session, int32_t persistentId) UpdateCollaboratorSessionWant() argument
1779 PrepareTerminate(int32_t persistentId, bool& isPrepareTerminate) PrepareTerminate() argument
1858 RequestInputMethodCloseKeyboard(const int32_t persistentId) RequestInputMethodCloseKeyboard() argument
1901 auto persistentId = scnSession->GetPersistentId(); RequestSceneSessionActivationInner() local
2153 const auto& persistentId = elem->GetPersistentId(); DestroySubSession() local
2168 const auto& persistentId = elem->GetPersistentId(); DestroyToastSession() local
2175 EraseSceneSessionMapById(int32_t persistentId) EraseSceneSessionMapById() argument
2192 EraseSceneSessionAndMarkDirtyLockFree(int32_t persistentId) EraseSceneSessionAndMarkDirtyLockFree() argument
2279 auto persistentId = sceneSession->GetPersistentId(); RequestSceneSessionDestructionInner() local
2351 CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session, SystemSessionConfig& systemConfig, sptr<IRemoteObject> token) CreateAndConnectSpecificSession() argument
2607 IsNeedRecover(const int32_t persistentId) IsNeedRecover() argument
2720 auto persistentId = property->GetParentPersistentId(); CacheSubSessionForRecovering() local
2736 RecoverCachedSubSession(int32_t persistentId) RecoverCachedSubSession() argument
2750 NotifySessionUnfocusedToClient(int32_t persistentId) NotifySessionUnfocusedToClient() argument
2824 RegisterCreateSubSessionListener(int32_t persistentId, const NotifyCreateSubSessionFunc& func) RegisterCreateSubSessionListener() argument
2883 NotifyCreateSubSession(int32_t persistentId, sptr<SceneSession> session, uint32_t windowFlags) NotifyCreateSubSession() argument
2916 GetMainParentSceneSession(int32_t persistentId, const std::map<int32_t, sptr<SceneSession>>& sessionMap) GetMainParentSceneSession() argument
2942 NotifyCreateToastSession(int32_t persistentId, sptr<SceneSession> session) NotifyCreateToastSession() argument
2961 UnregisterCreateSubSessionListener(int32_t persistentId) UnregisterCreateSubSessionListener() argument
3003 NotifySessionTouchOutside(int32_t persistentId) NotifySessionTouchOutside() argument
3048 DestroyAndDisconnectSpecificSessionInner(const int32_t persistentId) DestroyAndDisconnectSpecificSessionInner() argument
3097 DestroyAndDisconnectSpecificSession(const int32_t persistentId) DestroyAndDisconnectSpecificSession() argument
3118 DestroyAndDisconnectSpecificSessionWithDetachCallback(const int32_t persistentId, const sptr<IRemoteObject>& callback) DestroyAndDisconnectSpecificSessionWithDetachCallback() argument
3247 auto persistentId = sceneSession->GetPersistentId(); StartOrMinimizeUIAbilityBySCB() local
3730 auto persistentId = sceneSession->GetPersistentId(); UpdateForceHideState() local
3838 NotifyVisibleChange(int32_t persistentId) NotifyVisibleChange() argument
3880 UpdateBrightness(int32_t persistentId) UpdateBrightness() argument
3953 SetFocusedSessionId(int32_t persistentId) SetFocusedSessionId() argument
4172 NotifyWindowInfoChangeFromSession(int32_t persistentId) NotifyWindowInfoChangeFromSession() argument
4394 uint64_t persistentId = std::stoull(strId); GetSpecifiedSessionDumpInfo() local
4516 FocusIDChange(int32_t persistentId, sptr<SceneSession>& sceneSession) FocusIDChange() argument
4607 RequestFocusStatus(int32_t persistentId, bool isFocused, bool byForeground, FocusChangeReason reason) RequestFocusStatus() argument
4634 RequestFocusStatusBySCB(int32_t persistentId, bool isFocused, bool byForeground, FocusChangeReason reason) RequestFocusStatusBySCB() argument
4683 RequestSessionFocusImmediately(int32_t persistentId) RequestSessionFocusImmediately() argument
4720 RequestSessionFocus(int32_t persistentId, bool byForeground, FocusChangeReason reason) RequestSessionFocus() argument
4763 RequestSessionUnfocus(int32_t persistentId, FocusChangeReason reason) RequestSessionUnfocus() argument
4818 RequestFocusBasicCheck(int32_t persistentId) RequestFocusBasicCheck() argument
4942 int32_t persistentId = sceneSession->GetPersistentId(); RequestFocusSpecificCheck() local
5005 DumpAllSessionFocusableInfo(int32_t persistentId) DumpAllSessionFocusableInfo() argument
5023 GetNextFocusableSession(int32_t persistentId) GetNextFocusableSession() argument
5216 int32_t persistentId = sceneSession->GetPersistentId(); NotifyFocusStatus() local
5325 UpdateFocus(int32_t persistentId, bool isFocused) UpdateFocus() argument
5377 UpdateWindowMode(int32_t persistentId, int32_t windowMode) UpdateWindowMode() argument
5507 UpdatePrivateStateAndNotify(uint32_t persistentId) UpdatePrivateStateAndNotify() argument
5702 OnSessionStateChange( int32_t persistentId, const SessionState& state) OnSessionStateChange() argument
5757 auto persistentId = sceneSession->GetPersistentId(); ProcessFocusWhenForeground() local
6139 NotifyCompleteFirstFrameDrawing(int32_t persistentId) NotifyCompleteFirstFrameDrawing() argument
6181 NotifySessionMovedToFront(int32_t persistentId) NotifySessionMovedToFront() argument
6395 GetSessionInfo(const std::string& deviceId, int32_t persistentId, SessionInfoBean& sessionInfo) GetSessionInfo() argument
6482 GetRemoteSessionInfo(const std::string& deviceId, int32_t persistentId, SessionInfoBean& sessionInfo) GetRemoteSessionInfo() argument
6571 DumpSessionWithId(int32_t persistentId, std::vector<std::string>& infos) DumpSessionWithId() argument
6762 GetSessionSnapshot(const std::string& deviceId, int32_t persistentId, SessionSnapshot& snapshot, bool isLowResolution) GetSessionSnapshot() argument
6813 GetSessionSnapshotById(int32_t persistentId, SessionSnapshot& snapshot) GetSessionSnapshotById() argument
6843 GetUIContentRemoteObj(int32_t persistentId, sptr<IRemoteObject>& uiContentRemoteObj) GetUIContentRemoteObj() argument
6951 NotifyWindowStateErrorFromMMI(int32_t pid, int32_t persistentId) NotifyWindowStateErrorFromMMI() argument
7011 BindDialogSessionTarget(uint64_t persistentId, sptr<IRemoteObject> targetToken) BindDialogSessionTarget() argument
7303 NotifyWindowInfoChange(int32_t persistentId, WindowUpdateType type) NotifyWindowInfoChange() argument
7386 GetSessionSnapshotFilePath(int32_t persistentId) GetSessionSnapshotFilePath() argument
7977 UpdateSessionAvoidAreaListener(int32_t& persistentId, bool haveListener) UpdateSessionAvoidAreaListener() argument
8005 UpdateSessionAvoidAreaIfNeed(const int32_t& persistentId, const sptr<SceneSession>& sceneSession, const AvoidArea& avoidArea, AvoidAreaType avoidAreaType) UpdateSessionAvoidAreaIfNeed() argument
8069 UpdateNormalSessionAvoidArea( const int32_t& persistentId, sptr<SceneSession>& sceneSession, bool& needUpdate) UpdateNormalSessionAvoidArea() argument
8125 UpdateAvoidArea(int32_t persistentId) UpdateAvoidArea() argument
8149 UpdateAvoidAreaByType(int32_t persistentId, AvoidAreaType type) UpdateAvoidAreaByType() argument
8175 UpdateGestureBackEnabled(int32_t persistentId) UpdateGestureBackEnabled() argument
8206 UpdateOccupiedAreaIfNeed(const int32_t& persistentId) UpdateOccupiedAreaIfNeed() argument
8234 NotifyStatusBarShowStatus(int32_t persistentId, bool isVisible) NotifyStatusBarShowStatus() argument
8284 NotifySessionAINavigationBarChange(int32_t persistentId) NotifySessionAINavigationBarChange() argument
8312 UpdateSessionTouchOutsideListener(int32_t& persistentId, bool haveListener) UpdateSessionTouchOutsideListener() argument
8337 UpdateSessionWindowVisibilityListener(int32_t persistentId, bool haveListener) UpdateSessionWindowVisibilityListener() argument
8518 ClearSession(int32_t persistentId) ClearSession() argument
8813 NotifyStartAbility( int32_t collaboratorType, const SessionInfo& sessionInfo, int32_t persistentId) NotifyStartAbility() argument
8908 NotifyMoveSessionToForeground(int32_t collaboratorType, int32_t persistentId) NotifyMoveSessionToForeground() argument
8918 NotifyClearSession(int32_t collaboratorType, int32_t persistentId) NotifyClearSession() argument
8928 PreHandleCollaboratorStartAbility(sptr<SceneSession>& sceneSession, int32_t persistentId) PreHandleCollaboratorStartAbility() argument
8961 PreHandleCollaborator(sptr<SceneSession>& sceneSession, int32_t persistentId) PreHandleCollaborator() argument
8979 UpdateMaximizeMode(int32_t persistentId, bool isMaximize) UpdateMaximizeMode() argument
9037 UpdateSessionDisplayId(int32_t persistentId, uint64_t screenId) UpdateSessionDisplayId() argument
9059 NotifyStackEmpty(int32_t persistentId) NotifyStackEmpty() argument
9135 UpdateTitleInTargetPos(int32_t persistentId, bool isShow, int32_t height) UpdateTitleInTargetPos() argument
9391 RaiseWindowToTop(int32_t persistentId) RaiseWindowToTop() argument
9474 GetAppMainSceneSession(sptr<SceneSession>& sceneSession, int32_t persistentId) GetAppMainSceneSession() argument
9495 GetSessionSnapshotPixelMap(const int32_t persistentId, const float scaleParam) GetSessionSnapshotPixelMap() argument
9635 GetExtensionWindowIds(const sptr<IRemoteObject>& token, int32_t& persistentId, int32_t& parentId) GetExtensionWindowIds() argument
9833 UpdateSpecialExtWindowFlags(int32_t persistentId, ExtensionWindowFlags flags, ExtensionWindowFlags actions) UpdateSpecialExtWindowFlags() argument
9918 HandleSpecialExtWindowFlagsChange(int32_t persistentId, ExtensionWindowFlags flags, ExtensionWindowFlags actions) HandleSpecialExtWindowFlagsChange() argument
9933 AddOrRemoveSecureSession(int32_t persistentId, bool shouldHide) AddOrRemoveSecureSession() argument
10092 GetDisplayIdByPersistentId(int32_t persistentId, int32_t& displayId) GetDisplayIdByPersistentId() argument
10403 GetCallingWindowWindowStatus(int32_t persistentId, WindowStatus& windowStatus) GetCallingWindowWindowStatus() argument
10444 GetCallingWindowRect(int32_t persistentId, Rect& rect) GetCallingWindowRect() argument
10512 GetCustomDecorHeight(int32_t persistentId) GetCustomDecorHeight() argument
10889 TerminateSessionByPersistentId(int32_t persistentId) TerminateSessionByPersistentId() argument
11177 GetRootMainWindowId(int32_t persistentId, int32_t& hostWindowId) GetRootMainWindowId() argument
[all...]
H A Dscene_session_manager_lite.cpp70 int32_t persistentId, SessionInfoBean& sessionInfo) in GetSessionInfo()
73 return SceneSessionManager::GetInstance().GetSessionInfo(deviceId, persistentId, sessionInfo); in GetSessionInfo()
102 WSError SceneSessionManagerLite::GetSessionSnapshot(const std::string& deviceId, int32_t persistentId, in GetSessionSnapshot() argument
106 return SceneSessionManager::GetInstance().GetSessionSnapshot(deviceId, persistentId, snapshot, isLowResolution); in GetSessionSnapshot()
134 WSError SceneSessionManagerLite::ClearSession(int32_t persistentId) in ClearSession() argument
136 WLOGFD("Id: %{public}d", persistentId); in ClearSession()
137 return SceneSessionManager::GetInstance().ClearSession(persistentId); in ClearSession()
198 WSError SceneSessionManagerLite::UpdateWindowMode(int32_t persistentId, int32_t windowMode) in UpdateWindowMode() argument
200 return SceneSessionManager::GetInstance().UpdateWindowMode(persistentId, windowMode); in UpdateWindowMode()
224 WSError SceneSessionManagerLite::RaiseWindowToTop(int32_t persistentId) in RaiseWindowToTop() argument
69 GetSessionInfo(const std::string& deviceId, int32_t persistentId, SessionInfoBean& sessionInfo) GetSessionInfo() argument
245 TerminateSessionByPersistentId(int32_t persistentId) TerminateSessionByPersistentId() argument
265 GetRootMainWindowId(int32_t persistentId, int32_t& hostWindowId) GetRootMainWindowId() argument
[all...]
/foundation/window/window_manager/window_scene/test/unittest/
H A Dsession_listener_controller_test.cpp180 int32_t persistentId = 1; in HWTEST_F() local
181 slController->NotifySessionLabelUpdated(persistentId); in HWTEST_F()
182 ASSERT_EQ(persistentId, 1); in HWTEST_F()
196 int32_t persistentId = -1; in HWTEST_F() local
197 slController->NotifySessionCreated(persistentId); in HWTEST_F()
199 persistentId = 1; in HWTEST_F()
200 slController->NotifySessionCreated(persistentId); in HWTEST_F()
201 ASSERT_EQ(persistentId, 1); in HWTEST_F()
203 slController->NotifySessionCreated(persistentId); in HWTEST_F()
204 EXPECT_EQ(persistentId, in HWTEST_F()
214 int32_t persistentId = -1; HWTEST_F() local
248 int32_t persistentId = 1; HWTEST_F() local
260 int32_t persistentId = -1; HWTEST_F() local
275 int32_t persistentId = -1; HWTEST_F() local
290 int32_t persistentId = -1; HWTEST_F() local
305 int32_t persistentId = -1; HWTEST_F() local
320 int32_t persistentId = -1; HWTEST_F() local
335 int32_t persistentId = -1; HWTEST_F() local
371 int32_t persistentId = -1; HWTEST_F() local
[all...]
H A Ddfx_hisysevent_test.cpp65 int32_t persistentId = 4; in TEST_F() local
68 dfxHisysevent.ApplicationBlockInput(eventId, pid, bundleName, persistentId); in TEST_F()
88 int32_t persistentId = 2; in TEST_F() local
91 dfxHisysevent.ApplicationBlockInput(eventId, pid, bundleName, persistentId); in TEST_F()
111 int32_t persistentId = -2; in TEST_F() local
114 dfxHisysevent.ApplicationBlockInput(eventId, pid, bundleName, persistentId); in TEST_F()
134 int32_t persistentId = -2; in TEST_F() local
137 dfxHisysevent.ApplicationBlockInput(eventId, pid, bundleName, persistentId); in TEST_F()
H A Dscene_persistence_test.cpp102 int32_t persistentId = 1423; in HWTEST_F() local
111 uint32_t fileID = static_cast<uint32_t>(persistentId) & 0x3fffffff; in HWTEST_F()
127 int32_t persistentId = 1424; in HWTEST_F() local
129 sptr<ScenePersistence> scenePersistence2 = new ScenePersistence(bundleName, persistentId); in HWTEST_F()
130 scenePersistence2->RenameSnapshotFromOldPersistentId(persistentId); in HWTEST_F()
133 sptr<ScenePersistence> scenePersistence3 = new ScenePersistence(bundleName, persistentId); in HWTEST_F()
136 scenePersistence3->RenameSnapshotFromOldPersistentId(persistentId); in HWTEST_F()
187 int32_t persistentId = 1423; in HWTEST_F() local
188 sptr<ScenePersistence> scenePersistence = new ScenePersistence(bundleName, persistentId); in HWTEST_F()
207 auto persistentId in HWTEST_F() local
253 int32_t persistentId = 1423; HWTEST_F() local
268 int32_t persistentId = 1423; HWTEST_F() local
284 int32_t persistentId = 1423; HWTEST_F() local
[all...]
H A Dscene_session_manager_test7.cpp56 void WindowChangedFuncTest(int32_t persistentId, WindowUpdateType type) in WindowChangedFuncTest() argument
97 int32_t persistentId = 1; in HWTEST_F() local
101 auto ret = ssm_->UpdateSessionWindowVisibilityListener(persistentId, haveListener); in HWTEST_F()
109 ssm_->sceneSessionMap_.insert(std::make_pair(persistentId, sceneSession)); in HWTEST_F()
110 ret = ssm_->UpdateSessionWindowVisibilityListener(persistentId, haveListener); in HWTEST_F()
351 int32_t persistentId = 1; in HWTEST_F() local
362 auto ret = ssm_->DestroyAndDisconnectSpecificSessionWithDetachCallback(persistentId, callback); in HWTEST_F()
586 int32_t persistentId = 1; in HWTEST_F() local
590 ssm_->UpdateNormalSessionAvoidArea(persistentId, sceneSession, needUpdate); in HWTEST_F()
592 ssm_->UpdateNormalSessionAvoidArea(persistentId, sceneSessio in HWTEST_F()
610 int32_t persistentId = 1; HWTEST_F() local
847 int32_t persistentId = 1; HWTEST_F() local
1067 int32_t persistentId = 0; HWTEST_F() local
1080 int32_t persistentId = 0; HWTEST_F() local
1102 int32_t persistentId = 0; HWTEST_F() local
1124 int32_t persistentId = 1; HWTEST_F() local
1146 int32_t persistentId = 1; HWTEST_F() local
1168 int32_t persistentId = 1; HWTEST_F() local
1187 int32_t persistentId = 1; HWTEST_F() local
1205 int32_t persistentId = 1; HWTEST_F() local
1231 int32_t persistentId = 1; HWTEST_F() local
[all...]
/foundation/window/window_manager/window_scene/intention_event/framework/anr_handler/src/
H A Danr_handler.cpp61 int32_t persistentId = session->GetPersistentId(); in SetSessionStage()
62 sessionStageMap_[eventId] = { persistentId, sessionStage }; in SetSessionStage()
63 WLOGFD("SetSessionStage for eventId:%{public}d, persistentId:%{public}d", eventId, persistentId); in SetSessionStage()
72 WLOGFD("Processed eventId:%{public}d, persistentId:%{public}d", eventId, currentPersistentId); in HandleEventConsumed()
79 WLOGFD("Processed eventId:%{public}d, persistentId:%{public}d, actionTime:%{public}" PRId64 ", " in HandleEventConsumed()
92 void ANRHandler::OnWindowDestroyed(int32_t persistentId) in OnWindowDestroyed() argument
94 auto task = [this, persistentId]() { in OnWindowDestroyed()
95 anrHandlerState_.sendStatus.erase(persistentId); in OnWindowDestroyed()
97 if (iter->second.persistentId in OnWindowDestroyed()
130 int32_t persistentId = GetPersistentIdOfEvent(eventId); SetAnrHandleState() local
187 int32_t persistentId = GetPersistentIdOfEvent(eventId); ClearExpiredEvents() local
208 IsOnEventHandler(int32_t persistentId) IsOnEventHandler() argument
[all...]
/foundation/window/window_manager/window_scene/session_manager/include/
H A Dsession_listener_controller.h38 void NotifySessionCreated(int32_t persistentId);
40 void NotifySessionDestroyed(int32_t persistentId);
42 void NotifySessionSnapshotChanged(int32_t persistentId);
44 void NotifySessionMovedToFront(int32_t persistentId);
46 void NotifySessionFocused(int32_t persistentId);
48 void NotifySessionUnfocused(int32_t persistentId);
50 void NotifySessionIconChanged(int32_t persistentId, const std::shared_ptr<OHOS::Media::PixelMap>& icon);
52 void NotifySessionClosed(int32_t persistentId);
54 void NotifySessionLabelUpdated(int32_t persistentId);
H A Dscene_session_manager.h103 using ProcessShiftFocusFunc = std::function<void(int32_t persistentId)>;
107 using WindowChangedFunc = std::function<void(int32_t persistentId, WindowUpdateType type)>;
161 void NotifyWindowStateErrorFromMMI(int32_t pid, int32_t persistentId);
166 sptr<SceneSession> GetSceneSession(int32_t persistentId);
167 sptr<SceneSession> GetMainParentSceneSession(int32_t persistentId,
176 sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session,
185 WSError DestroyAndDisconnectSpecificSession(const int32_t persistentId) override;
186 WSError DestroyAndDisconnectSpecificSessionWithDetachCallback(const int32_t persistentId,
209 WSError BindDialogSessionTarget(uint64_t persistentId, sptr<IRemoteObject> targetToken) override;
227 WSError DumpSessionWithId(int32_t persistentId, st
[all...]
H A Dscene_session_manager_lite.h40 WSError GetSessionInfo(const std::string& deviceId, int32_t persistentId, SessionInfoBean& sessionInfo) override;
45 WSError GetSessionSnapshot(const std::string& deviceId, int32_t persistentId,
48 WSError ClearSession(int32_t persistentId) override;
62 WSError UpdateWindowMode(int32_t persistentId, int32_t windowMode);
67 WSError RaiseWindowToTop(int32_t persistentId) override;
72 WMError TerminateSessionByPersistentId(int32_t persistentId) override;
76 WMError GetRootMainWindowId(int32_t persistentId, int32_t& hostWindowId) override;
/foundation/window/window_manager/window_scene/session_manager/include/zidl/
H A Dscene_session_manager_proxy.h32 sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session,
41 WSError DestroyAndDisconnectSpecificSession(const int32_t persistentId) override;
42 WSError DestroyAndDisconnectSpecificSessionWithDetachCallback(const int32_t persistentId,
44 WSError BindDialogSessionTarget(uint64_t persistentId, sptr<IRemoteObject> targetToken) override;
45 WMError RequestFocusStatus(int32_t persistentId, bool isFocused, bool byForeground = true,
47 WSError RaiseWindowToTop(int32_t persistentId) override;
63 WMError GetSessionSnapshotById(int32_t persistentId, SessionSnapshot& snapshot) override;
64 WMError GetSnapshotByWindowId(int32_t persistentId, std::shared_ptr<Media::PixelMap>& pixelMap) override;
73 WSError GetSessionInfo(const std::string& deviceId, int32_t persistentId, SessionInfoBean& sessionInfo) override;
78 WSError DumpSessionWithId(int32_t persistentId, st
[all...]
H A Dscene_session_manager_lite_proxy.h51 WSError GetSessionInfo(const std::string& deviceId, int32_t persistentId, SessionInfoBean& sessionInfo) override;
57 WSError GetSessionSnapshot(const std::string& deviceId, int32_t persistentId,
59 WSError LockSession(int32_t persistentId) override;
60 WSError UnlockSession(int32_t persistentId) override;
63 WSError ClearSession(int32_t persistentId) override;
77 WSError RaiseWindowToTop(int32_t persistentId) override;
82 WMError TerminateSessionByPersistentId(int32_t persistentId) override;
86 WMError GetRootMainWindowId(int32_t persistentId, int32_t& hostWindowId) override;
/foundation/arkui/ace_engine/test/unittest/core/pattern/window_scene/
H A Dwindow_scene_test.cpp48 * @tc.desc: Create WindowNode with invalid persistentId
56 int32_t persistentId = 0; in HWTEST_F() local
57 WindowSceneModel::Create(persistentId); in HWTEST_F()
68 * @tc.desc: Create WindowScene with valid persistentId
84 * @tc.steps: step2. Create WindowNode with persistentId. in HWTEST_F()
86 int32_t persistentId = session->GetPersistentId(); in HWTEST_F() local
87 WindowSceneModel::Create(persistentId); in HWTEST_F()
/foundation/window/window_manager/wm/include/
H A Dwindow_adapter.h89 virtual WMError DumpSessionWithId(int32_t persistentId, std::vector<std::string>& infos);
90 virtual WMError GetUIContentRemoteObj(int32_t persistentId, sptr<IRemoteObject>& uiContentRemoteObj);
96 virtual WMError UpdateSessionAvoidAreaListener(int32_t& persistentId, bool haveListener);
97 virtual WMError UpdateSessionTouchOutsideListener(int32_t& persistentId, bool haveListener);
99 virtual WMError UpdateSessionWindowVisibilityListener(int32_t persistentId, bool haveListener);
100 virtual WMError RaiseWindowToTop(int32_t persistentId);
104 sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session,
109 virtual WMError DestroyAndDisconnectSpecificSession(const int32_t persistentId);
110 virtual WMError DestroyAndDisconnectSpecificSessionWithDetachCallback(const int32_t persistentId,
116 void RegisterSessionRecoverCallbackFunc(int32_t persistentId, cons
[all...]
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_test4.cpp834 int32_t persistentId = window->GetPersistentId(); in HWTEST_F() local
835 if (persistentId == INVALID_SESSION_ID) { in HWTEST_F()
836 persistentId = 1; in HWTEST_F()
837 window->property_->SetPersistentId(persistentId); in HWTEST_F()
845 ASSERT_EQ(persistentId, window->GetPersistentId()); in HWTEST_F()
1669 int persistentId = window_->GetPersistentId(); in HWTEST_F() local
1670 window_->ClearListenersById(persistentId); in HWTEST_F()
1674 ASSERT_NE(window_->displayMoveListeners_.find(persistentId), window_->displayMoveListeners_.end()); in HWTEST_F()
1676 window_->ClearListenersById(persistentId); in HWTEST_F()
1677 ASSERT_EQ(window_->displayMoveListeners_.find(persistentId), window in HWTEST_F()
1695 int persistentId = window_->GetPersistentId(); HWTEST_F() local
1721 int persistentId = window_->GetPersistentId(); HWTEST_F() local
1747 int persistentId = window_->GetPersistentId(); HWTEST_F() local
1773 int persistentId = window_->GetPersistentId(); HWTEST_F() local
1801 int persistentId = window_->GetPersistentId(); HWTEST_F() local
1827 int persistentId = window_->GetPersistentId(); HWTEST_F() local
1853 int persistentId = window_->GetPersistentId(); HWTEST_F() local
1879 int persistentId = window_->GetPersistentId(); HWTEST_F() local
1908 int persistentId = window_->GetPersistentId(); HWTEST_F() local
1934 int persistentId = window_->GetPersistentId(); HWTEST_F() local
1960 int persistentId = window_->GetPersistentId(); HWTEST_F() local
1986 int persistentId = window_->GetPersistentId(); HWTEST_F() local
2012 int persistentId = window_->GetPersistentId(); HWTEST_F() local
2038 int persistentId = window_->GetPersistentId(); HWTEST_F() local
[all...]
H A Dwindow_adapter_test.cpp239 int32_t persistentId = -1; in HWTEST_F() local
241 windowAdapter.GetSnapshotByWindowId(persistentId, pixelMap); in HWTEST_F()
266 int32_t persistentId = 1; in HWTEST_F() local
270 windowAdapter.RegisterSessionRecoverCallbackFunc(persistentId, testFunc); in HWTEST_F()
271 ASSERT_NE(windowAdapter.sessionRecoverCallbackFuncMap_[persistentId], nullptr); in HWTEST_F()
282 int32_t persistentId = 1; in HWTEST_F() local
293 windowAdapter.RegisterSessionRecoverCallbackFunc(persistentId, testFunc); in HWTEST_F()
298 windowAdapter.RegisterSessionRecoverCallbackFunc(persistentId, testFunc2); in HWTEST_F()
329 uint32_t persistentId = 0; in HWTEST_F() local
331 windowAdapter.DestroyAndDisconnectSpecificSession(persistentId); in HWTEST_F()
343 uint32_t persistentId = 0; HWTEST_F() local
416 int32_t persistentId = 0; HWTEST_F() local
593 int32_t persistentId = 0; HWTEST_F() local
609 int32_t persistentId = 0; HWTEST_F() local
623 int32_t persistentId = 0; HWTEST_F() local
640 uint64_t persistentId = 0; HWTEST_F() local
[all...]
/foundation/window/window_manager/window_scene/intention_event/dfx/src/
H A Ddfx_hisysevent.cpp27 const std::string& bundleName, int32_t persistentId) in ApplicationBlockInput()
37 "PERSISTENT_ID", persistentId, in ApplicationBlockInput()
41 "persistentId:%{public}d", ret, eventId, pid, bundleName.c_str(), persistentId); in ApplicationBlockInput()
26 ApplicationBlockInput(int32_t eventId, int32_t pid, const std::string& bundleName, int32_t persistentId) ApplicationBlockInput() argument
/foundation/window/window_manager/wmserver/include/zidl/
H A Dwindow_manager_interface.h140 virtual WSError DumpSessionWithId(int32_t persistentId, std::vector<std::string>& infos) { return WSError::WS_OK; } in DumpSessionWithId() argument
141 virtual WSError GetUIContentRemoteObj(int32_t persistentId, sptr<IRemoteObject>& uiContentRemoteObj) in GetUIContentRemoteObj() argument
151 virtual WSError UpdateSessionAvoidAreaListener(int32_t& persistentId, bool haveListener) { return WSError::WS_OK; } in UpdateSessionAvoidAreaListener() argument
152 virtual WSError UpdateSessionTouchOutsideListener(int32_t& persistentId, bool haveListener) in UpdateSessionTouchOutsideListener() argument
160 virtual WSError RaiseWindowToTop(int32_t persistentId) { return WSError::WS_OK; } in RaiseWindowToTop() argument
161 virtual WSError UpdateSessionWindowVisibilityListener(int32_t persistentId, bool haveListener) in UpdateSessionWindowVisibilityListener() argument
171 sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session, in CreateAndConnectSpecificSession()
179 virtual WSError DestroyAndDisconnectSpecificSession(const int32_t persistentId) { return WSError::WS_OK; } in DestroyAndDisconnectSpecificSession() argument
180 virtual WSError DestroyAndDisconnectSpecificSessionWithDetachCallback(const int32_t persistentId, in DestroyAndDisconnectSpecificSessionWithDetachCallback() argument
188 virtual WSError BindDialogSessionTarget(uint64_t persistentId, spt in RecoverAndReconnectSceneSession() argument
169 CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session, SystemSessionConfig& systemConfig, sptr<IRemoteObject> token = nullptr) CreateAndConnectSpecificSession() argument
192 SetSessionGravity(int32_t persistentId, SessionGravity gravity, uint32_t percent) SetSessionGravity() argument
196 RequestFocusStatus(int32_t persistentId, bool isFocused, bool byForeground = true, FocusChangeReason reason = FocusChangeReason::DEFAULT) RequestFocusStatus() argument
201 GetSnapshotByWindowId(int32_t persistentId, std::shared_ptr<Media::PixelMap>& pixelMap) GetSnapshotByWindowId() argument
211 AddOrRemoveSecureSession(int32_t persistentId, bool shouldHide) AddOrRemoveSecureSession() argument
228 GetCallingWindowWindowStatus(int32_t persistentId, WindowStatus& windowStatus) GetCallingWindowWindowStatus() argument
232 GetCallingWindowRect(int32_t persistentId, Rect& rect) GetCallingWindowRect() argument
251 GetDisplayIdByPersistentId(int32_t persistentId, int32_t& displayId) GetDisplayIdByPersistentId() argument
[all...]
/foundation/window/window_manager/wm/src/
H A Dwindow_adapter.cpp318 int32_t persistentId, const SessionRecoverCallbackFunc& callbackFunc) in RegisterSessionRecoverCallbackFunc()
320 TLOGI(WmsLogTag::WMS_RECOVER, "persistentId = %{public}d", persistentId); in RegisterSessionRecoverCallbackFunc()
322 sessionRecoverCallbackFuncMap_[persistentId] = callbackFunc; in RegisterSessionRecoverCallbackFunc()
334 void WindowAdapter::UnregisterSessionRecoverCallbackFunc(int32_t persistentId) in UnregisterSessionRecoverCallbackFunc() argument
337 auto it = sessionRecoverCallbackFuncMap_.find(persistentId); in UnregisterSessionRecoverCallbackFunc()
365 TLOGD(WmsLogTag::WMS_RECOVER, "Session recover callback, persistentId = %{public}" PRId32, it.first); in WindowManagerAndSessionRecover()
368 TLOGE(WmsLogTag::WMS_RECOVER, "Session recover callback, persistentId = %{public}" PRId32 " is error", in WindowManagerAndSessionRecover()
635 WMError WindowAdapter::DumpSessionWithId(int32_t persistentId, std::vector<std::string>& infos) in DumpSessionWithId() argument
641 return static_cast<WMError>(wmsProxy->DumpSessionWithId(persistentId, info in DumpSessionWithId()
317 RegisterSessionRecoverCallbackFunc( int32_t persistentId, const SessionRecoverCallbackFunc& callbackFunc) RegisterSessionRecoverCallbackFunc() argument
644 GetUIContentRemoteObj(int32_t persistentId, sptr<IRemoteObject>& uiContentRemoteObj) GetUIContentRemoteObj() argument
690 UpdateSessionAvoidAreaListener(int32_t& persistentId, bool haveListener) UpdateSessionAvoidAreaListener() argument
699 UpdateSessionTouchOutsideListener(int32_t& persistentId, bool haveListener) UpdateSessionTouchOutsideListener() argument
718 RaiseWindowToTop(int32_t persistentId) RaiseWindowToTop() argument
727 UpdateSessionWindowVisibilityListener(int32_t persistentId, bool haveListener) UpdateSessionWindowVisibilityListener() argument
747 CreateAndConnectSpecificSession(const sptr<ISessionStage>& sessionStage, const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session, SystemSessionConfig& systemConfig, sptr<IRemoteObject> token) CreateAndConnectSpecificSession() argument
773 DestroyAndDisconnectSpecificSession(const int32_t persistentId) DestroyAndDisconnectSpecificSession() argument
782 DestroyAndDisconnectSpecificSessionWithDetachCallback(const int32_t persistentId, const sptr<IRemoteObject>& callback) DestroyAndDisconnectSpecificSessionWithDetachCallback() argument
811 SetSessionGravity(int32_t persistentId, SessionGravity gravity, uint32_t percent) SetSessionGravity() argument
820 BindDialogSessionTarget(uint64_t persistentId, sptr<IRemoteObject> targetToken) BindDialogSessionTarget() argument
829 RequestFocusStatus(int32_t persistentId, bool isFocused) RequestFocusStatus() argument
876 AddOrRemoveSecureSession(int32_t persistentId, bool shouldHide) AddOrRemoveSecureSession() argument
913 GetCallingWindowWindowStatus(int32_t persistentId, WindowStatus& windowStatus) GetCallingWindowWindowStatus() argument
922 GetCallingWindowRect(int32_t persistentId, Rect& rect) GetCallingWindowRect() argument
988 GetDisplayIdByPersistentId(int32_t persistentId, int32_t& displayId) GetDisplayIdByPersistentId() argument
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_manager_client_branch_second_test/
H A Dability_manager_client_branch_second_test.cpp55 sptr<SessionInfo> MockSessionInfo(int32_t persistentId);
58 sptr<SessionInfo> AbilityManagerClientBranchSecondTest::MockSessionInfo(int32_t persistentId) in MockSessionInfo() argument
65 sessionInfo->persistentId = persistentId; in MockSessionInfo()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/
H A Dwindow_scene_model.cpp49 void WindowSceneModel::Create(int32_t persistentId) in Create() argument
51 if (persistentId == -1) { // -1: transform window scene type in Create()
62 auto sceneSession = Rosen::SceneSessionManager::GetInstance().GetSceneSession(persistentId); in Create()
65 "session is nullptr, persistentId: %{public}d", persistentId); in Create()
84 auto windowNode = WindowNode::GetOrCreateWindowNode(V2::WINDOW_SCENE_ETS_TAG, nodeId, persistentId, in Create()
/foundation/window/window_manager/window_scene/intention_event/framework/anr_handler/include/
H A Danr_handler.h38 void OnWindowDestroyed(int32_t persistentId);
48 bool IsOnEventHandler(int32_t persistentId);
60 int32_t persistentId; member
/foundation/window/window_manager/window_scene/session_manager/src/zidl/
H A Dscene_session_manager_stub.cpp221 auto persistentId = INVALID_SESSION_ID; in HandleCreateAndConnectSpecificSession() local
225 property, persistentId, sceneSession, systemConfig, token); in HandleCreateAndConnectSpecificSession()
229 reply.WriteInt32(persistentId); in HandleCreateAndConnectSpecificSession()
320 int32_t persistentId = 0; in HandleDestroyAndDisconnectSpcificSession() local
321 if (!data.ReadInt32(persistentId)) { in HandleDestroyAndDisconnectSpcificSession()
322 TLOGE(WmsLogTag::WMS_LIFE, "Read persistentId failed"); in HandleDestroyAndDisconnectSpcificSession()
325 TLOGI(WmsLogTag::WMS_LIFE, "id:%{public}d", persistentId); in HandleDestroyAndDisconnectSpcificSession()
326 WSError ret = DestroyAndDisconnectSpecificSession(persistentId); in HandleDestroyAndDisconnectSpcificSession()
334 int32_t persistentId = 0; in HandleDestroyAndDisconnectSpcificSessionWithDetachCallback() local
335 if (!data.ReadInt32(persistentId)) { in HandleDestroyAndDisconnectSpcificSessionWithDetachCallback()
349 int32_t persistentId = 0; HandleRequestFocusStatus() local
511 int32_t persistentId = data.ReadInt32(); HandleGetSessionInfo() local
564 int32_t persistentId = data.ReadInt32(); HandleDumpSessionWithId() local
720 int32_t persistentId = 0; HandleUpdateSessionAvoidAreaListener() local
737 int32_t persistentId = data.ReadInt32(); HandleGetSessionSnapshot() local
749 int32_t persistentId = data.ReadInt32(); HandleGetSessionSnapshotById() local
760 int32_t persistentId = data.ReadInt32(); HandleGetUIContentRemoteObj() local
771 uint64_t persistentId = data.ReadUint64(); HandleBindDialogTarget() local
805 int32_t persistentId = data.ReadInt32(); HandleClearSession() local
884 auto persistentId = data.ReadInt32(); HandleUpdateSessionTouchOutsideListener() local
893 auto persistentId = 0; HandleRaiseWindowToTop() local
947 int32_t persistentId = data.ReadInt32(); HandleUpdateSessionWindowVisibilityListener() local
1037 int32_t persistentId = data.ReadInt32(); HandleAddOrRemoveSecureSession() local
1084 int32_t persistentId = data.ReadInt32(); HandleGetCallingWindowWindowStatus() local
1098 int32_t persistentId = data.ReadInt32(); HandleGetCallingWindowRect() local
1248 int32_t persistentId = data.ReadInt32(); HandleGetDisplayIdByPersistentId() local
[all...]

Completed in 39 milliseconds

123456