Home
last modified time | relevance | path

Searched refs:needStartCaller (Results 1 - 21 of 21) sorted by relevance

/foundation/window/window_manager/window_scene/test/unittest/
H A Dsession_lifecycle_test.cpp343 [](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 Dscene_session_manager_test.cpp330 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 Dscene_session_manager_lite_stub_test.cpp86 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override
H A Dscene_session_lifecycle_test.cpp1021 [](const SessionInfo& info, bool needStartCaller, bool isFromBroker){}; in HWTEST_F()
H A Dsession_test2.cpp1572 NotifyTerminateSessionFuncNew func3 = [](const SessionInfo& info, bool needStartCaller, bool isFromBroker) {}; in HWTEST_F()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager_lite.cpp96 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 Dscene_session_manager.cpp6723 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 Dscene_session_manager_lite.h44 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override;
H A Dscene_session_manager.h285 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override;
/foundation/window/window_manager/window_scene/session_manager/include/zidl/
H A Dscene_session_manager_lite_interface.h103 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) = 0;
H A Dscene_session_manager_lite_proxy.h56 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override;
H A Dscene_session_manager_proxy.h81 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) override;
H A Dscene_session_manager_interface.h148 const sptr<AAFwk::SessionInfo> info, bool needStartCaller, bool isFromBroker = false) = 0;
/foundation/window/window_manager/window_scene/session_manager/src/zidl/
H A Dscene_session_manager_lite_stub.cpp339 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 Dscene_session_manager_lite_proxy.cpp418 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 Dscene_session_manager_stub.cpp587 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 Dscene_session_manager_proxy.cpp1118 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 Dsession.h66 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 Dsession.cpp1484 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 Djs_scene_session.h281 void TerminateSessionNew(const SessionInfo& info, bool needStartCaller, bool isFromBroker);
H A Djs_scene_session.cpp1152 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()

Completed in 54 milliseconds