/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | session_lifecycle_test.cpp | 343 [](const SessionInfo& info, bool needStartCaller, bool isFromBroker) in HWTEST_F() 347 bool needStartCaller = false; in HWTEST_F() local 351 session_->TerminateSessionNew(info, needStartCaller, isFromBroker); in HWTEST_F() 354 session_->TerminateSessionNew(nullptr, needStartCaller, isFromBroker)); in HWTEST_F() 365 [](const SessionInfo& info, bool needStartCaller, bool isFromBroker) in HWTEST_F() 369 bool needStartCaller = true; in HWTEST_F() local 373 auto result = session_->TerminateSessionNew(info, needStartCaller, isFromBroker); in HWTEST_F()
|
H A D | scene_session_manager_test.cpp | 330 bool needStartCaller = true; in HWTEST_F() local 331 WSError result01 = ssm_->TerminateSessionNew(info, needStartCaller); in HWTEST_F() 334 WSError result02 = ssm_->TerminateSessionNew(info, needStartCaller); in HWTEST_F() 507 NotifyTerminateSessionFuncNew callback = [](const SessionInfo& info, bool needStartCaller, bool isFromBroker) { in HWTEST_F() 533 NotifyTerminateSessionFuncNew callback = [](const SessionInfo& info, bool needStartCaller, bool isFromBroker) { in HWTEST_F() 559 NotifyTerminateSessionFuncNew callback = [](const SessionInfo& info, bool needStartCaller, bool isFromBroker) { in HWTEST_F()
|
H A D | scene_session_manager_lite_stub_test.cpp | 86 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override
|
H A D | scene_session_lifecycle_test.cpp | 1021 [](const SessionInfo& info, bool needStartCaller, bool isFromBroker){}; in HWTEST_F()
|
H A D | session_test2.cpp | 1572 NotifyTerminateSessionFuncNew func3 = [](const SessionInfo& info, bool needStartCaller, bool isFromBroker) {}; in HWTEST_F()
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_session_manager_lite.cpp | 96 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker) in TerminateSessionNew() 99 return SceneSessionManager::GetInstance().TerminateSessionNew(info, needStartCaller, isFromBroker); in TerminateSessionNew() 95 TerminateSessionNew( const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker) TerminateSessionNew() argument
|
H A D | scene_session_manager.cpp | 6723 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker) in TerminateSessionNew() 6730 "id:%{public}d bundleName:%{public}s needStartCaller:%{public}d isFromBroker:%{public}d", in TerminateSessionNew() 6731 info->persistentId, info->want.GetElement().GetBundleName().c_str(), needStartCaller, isFromBroker); in TerminateSessionNew() 6734 auto task = [this, info, needStartCaller, isFromBroker, callingPid, callerToken]() { in TerminateSessionNew() 6749 WSError errCode = sceneSession->TerminateSessionNew(info, needStartCaller, isFromBroker); in TerminateSessionNew() 6722 TerminateSessionNew( const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker) TerminateSessionNew() argument
|
/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | scene_session_manager_lite.h | 44 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override;
|
H A D | scene_session_manager.h | 285 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override;
|
/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
H A D | scene_session_manager_lite_interface.h | 103 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) = 0;
|
H A D | scene_session_manager_lite_proxy.h | 56 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override;
|
H A D | scene_session_manager_proxy.h | 81 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override;
|
H A D | scene_session_manager_interface.h | 148 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) = 0;
|
/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
H A D | scene_session_manager_lite_stub.cpp | 339 bool needStartCaller = false; in HandleTerminateSessionNew() local 340 if (!data.ReadBool(needStartCaller)) { in HandleTerminateSessionNew() 341 TLOGE(WmsLogTag::WMS_LIFE, "Read needStartCaller failed."); in HandleTerminateSessionNew() 349 WSError errCode = TerminateSessionNew(abilitySessionInfo, needStartCaller, isFromBroker); in HandleTerminateSessionNew()
|
H A D | scene_session_manager_lite_proxy.cpp | 418 bool needStartCaller, bool isFromBroker) in TerminateSessionNew() 434 if (!data.WriteBool(needStartCaller)) { in TerminateSessionNew() 435 WLOGFE("Write needStartCaller failed"); in TerminateSessionNew() 417 TerminateSessionNew(const sptr<AAFwk::SessionInfo> abilitySessionInfo, bool needStartCaller, bool isFromBroker) TerminateSessionNew() argument
|
H A D | scene_session_manager_stub.cpp | 587 bool needStartCaller = false; in HandleTerminateSessionNew() local 588 if (!data.ReadBool(needStartCaller)) { in HandleTerminateSessionNew() 589 TLOGE(WmsLogTag::WMS_LIFE, "Read needStartCaller failed."); in HandleTerminateSessionNew() 597 WSError errCode = TerminateSessionNew(abilitySessionInfo, needStartCaller, isFromBroker); in HandleTerminateSessionNew()
|
H A D | scene_session_manager_proxy.cpp | 1118 bool needStartCaller, bool isFromBroker) in TerminateSessionNew() 1134 if (!data.WriteBool(needStartCaller)) { in TerminateSessionNew() 1135 WLOGFE("Write needStartCaller failed"); in TerminateSessionNew() 1117 TerminateSessionNew(const sptr<AAFwk::SessionInfo> abilitySessionInfo, bool needStartCaller, bool isFromBroker) TerminateSessionNew() argument
|
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | session.h | 66 std::function<void(const SessionInfo& info, bool needStartCaller, bool isFromBroker)>; 256 WSError TerminateSessionNew(const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker); 262 WSError Clear(bool needStartCaller = false);
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | session.cpp | 1484 const sptr<AAFwk::SessionInfo> abilitySessionInfo, bool needStartCaller, bool isFromBroker) in TerminateSessionNew() 1490 auto task = [weakThis = wptr(this), abilitySessionInfo, needStartCaller, isFromBroker]() { in TerminateSessionNew() 1508 session->terminateSessionFuncNew_(info, needStartCaller, isFromBroker); in TerminateSessionNew() 1511 "TerminateSessionNew, id: %{public}d, needStartCaller: %{public}d, isFromBroker: %{public}d", in TerminateSessionNew() 1512 session->GetPersistentId(), needStartCaller, isFromBroker); in TerminateSessionNew() 1589 WSError Session::Clear(bool needStartCaller) in Clear() argument 1591 TLOGI(WmsLogTag::WMS_LIFE, "id:%{public}d, needStartCaller:%{public}u", GetPersistentId(), needStartCaller); in Clear() 1592 auto task = [weakThis = wptr(this), needStartCaller]() { in Clear() 1601 session->terminateSessionFuncNew_(info, needStartCaller, fals in Clear() 1483 TerminateSessionNew( const sptr<AAFwk::SessionInfo> abilitySessionInfo, bool needStartCaller, bool isFromBroker) TerminateSessionNew() argument [all...] |
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_session.h | 281 void TerminateSessionNew(const SessionInfo& info, bool needStartCaller, bool isFromBroker);
|
H A D | js_scene_session.cpp | 1152 const SessionInfo& info, bool needStartCaller, bool isFromBroker) { in ProcessTerminateSessionRegisterNew() 1158 jsSceneSession->TerminateSessionNew(info, needStartCaller, isFromBroker); in ProcessTerminateSessionRegisterNew() 3272 void JsSceneSession::TerminateSessionNew(const SessionInfo& info, bool needStartCaller, bool isFromBroker) in TerminateSessionNew() argument 3277 if (!needStartCaller && !isFromBroker) { in TerminateSessionNew() 3280 auto task = [weakThis = wptr(this), persistentId = persistentId_, needStartCaller, needRemoveSession, env = env_] { in TerminateSessionNew() 3292 napi_value jsNeedStartCaller = CreateJsValue(env, needStartCaller); in TerminateSessionNew()
|