/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_manager_test10.cpp | 119 bool needRemoveSession = true; in HWTEST_F() local 124 ssm_->RequestSceneSessionDestructionInner(scnSession, scnSessionInfo, needRemoveSession, isForceClean); in HWTEST_F() 126 needRemoveSession = false; in HWTEST_F() 130 ssm_->RequestSceneSessionDestructionInner(scnSession, scnSessionInfo, needRemoveSession, isForceClean); in HWTEST_F()
|
H A D | scene_session_manager_lifecycle_test.cpp | 467 bool needRemoveSession = false; in HWTEST_F() local 474 ASSERT_EQ(WSError::WS_OK, ssm_->RequestSceneSessionDestruction(sceneSession, needRemoveSession)); in HWTEST_F() 720 bool needRemoveSession = false; in HWTEST_F() local 727 sceneSession, needRemoveSession), WSError::WS_OK); in HWTEST_F() 736 bool needRemoveSession = false; in HWTEST_F() local 745 sceneSession, needRemoveSession), WSError::WS_OK); in HWTEST_F()
|
H A D | scene_session_lifecycle_test.cpp | 1069 bool needRemoveSession = true; in HWTEST_F() local 1072 sceneSession->NotifySessionException(abilitySessionInfo, needRemoveSession); in HWTEST_F() 1173 bool needRemoveSession = true; in HWTEST_F() local 1181 auto res = sceneSession->NotifySessionExceptionInner(nullptr, needRemoveSession, true); in HWTEST_F() 1190 res = sceneSession->NotifySessionExceptionInner(abilitySessionInfo, needRemoveSession, true); in HWTEST_F() 1194 res = sceneSession->NotifySessionExceptionInner(abilitySessionInfo, needRemoveSession, false); in HWTEST_F() 1198 res = sceneSession->NotifySessionExceptionInner(abilitySessionInfo, needRemoveSession, false); in HWTEST_F() 1205 res = sceneSession->NotifySessionExceptionInner(abilitySessionInfo, needRemoveSession, false); in HWTEST_F()
|
H A D | scene_session_manager_test6.cpp | 1884 bool needRemoveSession = true;
in HWTEST_F() local 1888 sceneSession, needRemoveSession, isSaveSnapshot, isForceClean));
in HWTEST_F() 1897 sceneSession, needRemoveSession, isSaveSnapshot, isForceClean));
in HWTEST_F()
|
H A D | scene_session_test2.cpp | 1769 bool needRemoveSession = true; in HWTEST_F() local 1772 sceneSession->NotifySessionException(abilitySessionInfo, needRemoveSession); in HWTEST_F()
|
H A D | session_test2.cpp | 1586 NotifySessionExceptionFunc func = [](const SessionInfo& info, bool needRemoveSession) {}; in HWTEST_F()
|
/foundation/window/window_manager/window_scene/session/host/include/zidl/ |
H A D | session_proxy.h | 47 const sptr<AAFwk::SessionInfo> abilitySessionInfo, bool needRemoveSession = false) override;
|
H A D | session_interface.h | 171 const sptr<AAFwk::SessionInfo> abilitySessionInfo, bool needRemoveSession = false) { return WSError::WS_OK; } in NotifySessionException()
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_session.h | 285 void OnSessionException(const SessionInfo& info, bool needRemoveSession);
|
H A D | js_scene_session.cpp | 1234 NotifySessionExceptionFunc func = [weakThis = wptr(this)](const SessionInfo& info, bool needRemoveSession) { in ProcessSessionExceptionRegister() 1240 jsSceneSession->OnSessionException(info, needRemoveSession); in ProcessSessionExceptionRegister() 3276 bool needRemoveSession = false; in TerminateSessionNew() local 3278 needRemoveSession = true; in TerminateSessionNew() 3280 auto task = [weakThis = wptr(this), persistentId = persistentId_, needStartCaller, needRemoveSession, env = env_] { in TerminateSessionNew() 3297 napi_value jsNeedRemoveSession = CreateJsValue(env, needRemoveSession); in TerminateSessionNew() 3428 void JsSceneSession::OnSessionException(const SessionInfo& info, bool needRemoveSession) in OnSessionException() argument 3434 auto task = [weakThis = wptr(this), persistentId = persistentId_, sessionInfo, needRemoveSession, env = env_] { in OnSessionException() 3451 napi_value jsNeedRemoveSession = CreateJsValue(env, needRemoveSession); in OnSessionException()
|
H A D | js_scene_session_manager.cpp | 1739 bool needRemoveSession = false; in OnRequestSceneSessionDestruction() local 1741 if (!ConvertFromJsValue(env, argv[ARGC_ONE], needRemoveSession)) { in OnRequestSceneSessionDestruction() 1742 TLOGE(WmsLogTag::WMS_LIFE, "[NAPI]Failed to convert parameter to needRemoveSession"); in OnRequestSceneSessionDestruction() 1747 TLOGD(WmsLogTag::WMS_LIFE, "[NAPI]needRemoveSession: %{public}u", needRemoveSession); in OnRequestSceneSessionDestruction() 1779 needRemoveSession, isSaveSnapshot, isForceClean); in OnRequestSceneSessionDestruction()
|
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | scene_session.h | 202 const sptr<AAFwk::SessionInfo> info, bool needRemoveSession = false) override; 204 const sptr<AAFwk::SessionInfo> info, bool needRemoveSession = false, bool isFromClient = false);
|
H A D | session.h | 70 using NotifySessionExceptionFunc = std::function<void(const SessionInfo& info, bool needRemoveSession)>;
|
/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | scene_session_manager.h | 154 WSError RequestSceneSessionDestruction(const sptr<SceneSession>& sceneSession, bool needRemoveSession = true, 157 const bool needRemoveSession, const bool isForceClean = false); 660 void NotifySessionForCallback(const sptr<SceneSession>& scnSession, const bool needRemoveSession);
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_session_manager.cpp | 2209 bool needRemoveSession, bool isSaveSnapshot, bool isForceClean) in RequestSceneSessionDestruction() 2212 needRemoveSession, isSaveSnapshot, isForceClean]() { in RequestSceneSessionDestruction() 2226 " isForceClean:%{public}d", persistentId, needRemoveSession, isSaveSnapshot, isForceClean); in RequestSceneSessionDestruction() 2248 return RequestSceneSessionDestructionInner(scnSession, scnSessionInfo, needRemoveSession, isForceClean); in RequestSceneSessionDestruction() 2277 sptr<AAFwk::SessionInfo> scnSessionInfo, const bool needRemoveSession, const bool isForceClean) in RequestSceneSessionDestructionInner() 2288 if (needRemoveSession) { in RequestSceneSessionDestructionInner() 2302 NotifySessionForCallback(sceneSession, needRemoveSession); in RequestSceneSessionDestructionInner() 2306 sceneSession->ClearJsSceneSessionCbMap(needRemoveSession); in RequestSceneSessionDestructionInner() 4009 NotifySessionExceptionFunc sessionExceptionFunc = [this](const SessionInfo& info, bool needRemoveSession = false) { in RegisterSessionExceptionFunc() 4138 void SceneSessionManager::NotifySessionForCallback(const sptr<SceneSession>& sceneSession, const bool needRemoveSession) in NotifySessionForCallback() argument 2208 RequestSceneSessionDestruction(const sptr<SceneSession>& sceneSession, bool needRemoveSession, bool isSaveSnapshot, bool isForceClean) RequestSceneSessionDestruction() argument 2276 RequestSceneSessionDestructionInner(sptr<SceneSession>& sceneSession, sptr<AAFwk::SessionInfo> scnSessionInfo, const bool needRemoveSession, const bool isForceClean) RequestSceneSessionDestructionInner() argument [all...] |
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | scene_session.cpp | 4001 bool needRemoveSession, bool isFromClient) in NotifySessionExceptionInner() 4003 auto task = [weakThis = wptr(this), abilitySessionInfo, needRemoveSession, isFromClient]() { in NotifySessionExceptionInner() 4040 exceptionFunc(info, needRemoveSession); in NotifySessionExceptionInner() 4044 exceptionFunc(info, needRemoveSession); in NotifySessionExceptionInner() 4052 WSError SceneSession::NotifySessionException(const sptr<AAFwk::SessionInfo> abilitySessionInfo, bool needRemoveSession) in NotifySessionException() argument 4058 return NotifySessionExceptionInner(abilitySessionInfo, needRemoveSession, true); in NotifySessionException() 4000 NotifySessionExceptionInner(const sptr<AAFwk::SessionInfo> abilitySessionInfo, bool needRemoveSession, bool isFromClient) NotifySessionExceptionInner() argument
|
/foundation/window/window_manager/window_scene/session/host/src/zidl/ |
H A D | session_proxy.cpp | 524 WSError SessionProxy::NotifySessionException(const sptr<AAFwk::SessionInfo> abilitySessionInfo, bool needRemoveSession) in NotifySessionException() argument
|