Home
last modified time | relevance | path

Searched refs:toastSession (Results 1 - 4 of 4) sorted by relevance

/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_test6.cpp1389 sptr<SceneSession> toastSession = sptr<SceneSession>::MakeSptr(sessionInfo, nullptr); in HWTEST_F() local
1390 ASSERT_NE(nullptr, toastSession); in HWTEST_F()
1392 sceneSession->AddToastSession(toastSession); in HWTEST_F()
1393 toastSession->state_ = SessionState::STATE_FOREGROUND; in HWTEST_F()
1396 toastSession->state_ = SessionState::STATE_ACTIVE; in HWTEST_F()
1398 toastSession->state_ = SessionState::STATE_INACTIVE; in HWTEST_F()
/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_session.cpp3208 for (auto toastSession : toastSession_) { in SetForegroundInteractiveStatus()
3209 if (toastSession == nullptr) { in SetForegroundInteractiveStatus()
3210 TLOGD(WmsLogTag::WMS_TOAST, "toastSession session is nullptr"); in SetForegroundInteractiveStatus()
3213 auto state = toastSession->GetSessionState(); in SetForegroundInteractiveStatus()
3217 toastSession->SetActive(false); in SetForegroundInteractiveStatus()
3218 toastSession->BackgroundTask(); in SetForegroundInteractiveStatus()
4151 bool SceneSession::AddToastSession(const sptr<SceneSession>& toastSession) in AddToastSession() argument
4153 if (toastSession == nullptr) { in AddToastSession()
4154 TLOGE(WmsLogTag::WMS_TOAST, "toastSession is nullptr"); in AddToastSession()
4157 const auto& persistentId = toastSession in AddToastSession()
[all...]
/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_session.h361 bool AddToastSession(const sptr<SceneSession>& toastSession);
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager.cpp2945 TLOGE(WmsLogTag::WMS_LIFE, "toastSession is nullptr"); in NotifyCreateToastSession()
6039 for (const auto& toastSession : sceneSession->GetToastSession()) { in ProcessSubSessionBackground()
6040 if (toastSession == nullptr) { in ProcessSubSessionBackground()
6041 TLOGD(WmsLogTag::WMS_TOAST, "toastSession session is nullptr"); in ProcessSubSessionBackground()
6044 const auto& state = toastSession->GetSessionState(); in ProcessSubSessionBackground()
6049 NotifyWindowInfoChange(toastSession->GetPersistentId(), WindowUpdateType::WINDOW_UPDATE_REMOVED); in ProcessSubSessionBackground()
6050 HandleKeepScreenOn(toastSession, false); in ProcessSubSessionBackground()
6051 UpdatePrivateStateAndNotify(toastSession->GetPersistentId()); in ProcessSubSessionBackground()
6052 toastSession->SetActive(false); in ProcessSubSessionBackground()
6053 toastSession in ProcessSubSessionBackground()
[all...]

Completed in 32 milliseconds