Home
last modified time | relevance | path

Searched refs:callingSession (Results 1 - 6 of 6) sorted by relevance

/foundation/window/window_manager/window_scene/session/host/src/
H A Dkeyboard_session.cpp211 sptr<SceneSession> callingSession = GetSceneSession(GetCallingSessionId()); in OnCallingSessionUpdated() local
212 if (callingSession == nullptr) { in OnCallingSessionUpdated()
216 bool isCallingSessionFloating = (callingSession->GetWindowMode() == WindowMode::WINDOW_MODE_FLOATING); in OnCallingSessionUpdated()
217 if (!CheckIfNeedRaiseCallingSession(callingSession, isCallingSessionFloating)) { in OnCallingSessionUpdated()
220 WSRect callingSessionRect = callingSession->GetSessionRect(); in OnCallingSessionUpdated()
221 NotifyOccupiedAreaChangeInfo(callingSession, callingSessionRect, panelRect); in OnCallingSessionUpdated()
338 void KeyboardSession::NotifyOccupiedAreaChangeInfo(const sptr<SceneSession>& callingSession, const WSRect& rect, in NotifyOccupiedAreaChangeInfo() argument
343 const WSRect& lastSafeRect = callingSession->GetLastSafeRect(); in NotifyOccupiedAreaChangeInfo()
348 callingSession->SetLastSafeRect(safeRect); in NotifyOccupiedAreaChangeInfo()
361 callingSession in NotifyOccupiedAreaChangeInfo()
378 CheckIfNeedRaiseCallingSession(sptr<SceneSession> callingSession, bool isCallingSessionFloating) CheckIfNeedRaiseCallingSession() argument
410 sptr<SceneSession> callingSession = GetSceneSession(GetCallingSessionId()); RaiseCallingSession() local
459 sptr<SceneSession> callingSession = GetSceneSession(GetCallingSessionId()); RestoreCallingSession() local
[all...]
/foundation/window/window_manager/window_scene/test/unittest/
H A Dkeyboard_session_test.cpp436 sptr<SceneSession> callingSession = new (std::nothrow) SceneSession(info, nullptr); in HWTEST_F() local
439 keyboardSession->NotifyOccupiedAreaChangeInfo(callingSession, rect, occupiedArea); in HWTEST_F()
442 callingSession->lastSafeRect = lastSR; in HWTEST_F()
443 keyboardSession->NotifyOccupiedAreaChangeInfo(callingSession, rect, occupiedArea); in HWTEST_F()
448 keyboardSession->NotifyOccupiedAreaChangeInfo(callingSession, rect, occupiedArea); in HWTEST_F()
470 // callingSession is nullptr in HWTEST_F()
475 sptr<SceneSession> callingSession = new (std::nothrow) SceneSession(info, specificCb); in HWTEST_F() local
476 EXPECT_NE(callingSession, nullptr); in HWTEST_F()
479 [callingSession](int32_t persistentId)->sptr<SceneSession> { in HWTEST_F()
480 return callingSession; in HWTEST_F()
662 sptr<SceneSession> callingSession = new (std::nothrow) SceneSession(info, specificCb); HWTEST_F() local
971 sptr<SceneSession> callingSession = sptr<SceneSession>::MakeSptr(info, specificCb); HWTEST_F() local
1132 sptr<KSSceneSessionMocker> callingSession = GetSceneSessionMocker("callingSession", "callingSession"); HWTEST_F() local
1182 sptr<KSSceneSessionMocker> callingSession = GetSceneSessionMocker("callingSession", "callingSession"); HWTEST_F() local
1219 sptr<KSSceneSessionMocker> callingSession = GetSceneSessionMocker("callingSession", "callingSession"); HWTEST_F() local
1261 sptr<KSSceneSessionMocker> callingSession = GetSceneSessionMocker("callingSession", "callingSession"); HWTEST_F() local
1599 sptr<SceneSession> callingSession = new (std::nothrow) SceneSession(info, specificCb); HWTEST_F() local
[all...]
H A Danomaly_detection_test.cpp149 auto callingSession = GetSceneSession("WindowTypeTestCalling"); in WindowTypeTest() local
150 ASSERT_NE(callingSession, nullptr); in WindowTypeTest()
151 callingSession->persistentId_ = callingId; in WindowTypeTest()
152 callingSession->property_->SetWindowType(WindowType::WINDOW_TYPE_APP_MAIN_WINDOW); in WindowTypeTest()
153 callingSession->isVisible_ = true; in WindowTypeTest()
154 callingSession->state_ = SessionState::STATE_ACTIVE; in WindowTypeTest()
155 callingSession->zOrder_ = sceneSession->GetZOrder() + 1; in WindowTypeTest()
156 ssm_->sceneSessionMap_.insert({callingSession->GetPersistentId(), callingSession}); in WindowTypeTest()
159 callingSession in WindowTypeTest()
[all...]
/foundation/window/window_manager/window_scene/session_manager/src/
H A Danomaly_detection.cpp49 // callingSession check for input method in SceneZOrderCheckProcess()
52 const auto& callingSession = in SceneZOrderCheckProcess()
54 if ((callingSession != nullptr) && (callingSession->GetZOrder() > session->GetZOrder())) { in SceneZOrderCheckProcess()
55 TLOGE(WmsLogTag::WMS_HIERARCHY, "ZOrderCheck err, callingSession: %{public}d curSession: %{public}d", in SceneZOrderCheckProcess()
56 callingSession->GetZOrder(), session->GetZOrder()); in SceneZOrderCheckProcess()
57 ReportZOrderException("check callingSession check for input", session); in SceneZOrderCheckProcess()
H A Dscene_session_manager.cpp10424 auto callingSession = GetSceneSession(callingWindowId); in GetCallingWindowWindowStatus() local
10425 if (callingSession == nullptr) { in GetCallingWindowWindowStatus()
10427 callingSession = GetSceneSession(focusedSessionId_); in GetCallingWindowWindowStatus()
10428 if (callingSession == nullptr) { in GetCallingWindowWindowStatus()
10433 if (callingSession->IsSystemSession()) { in GetCallingWindowWindowStatus()
10436 windowStatus = GetWindowStatus(callingSession->GetWindowMode(), callingSession->GetSessionState(), in GetCallingWindowWindowStatus()
10437 callingSession->GetSessionProperty()); in GetCallingWindowWindowStatus()
10463 auto callingSession = GetSceneSession(callingWindowId); in GetCallingWindowRect() local
10464 if (callingSession in GetCallingWindowRect()
[all...]
/foundation/window/window_manager/window_scene/session/host/include/
H A Dkeyboard_session.h64 void NotifyOccupiedAreaChangeInfo(const sptr<SceneSession>& callingSession, const WSRect& rect,
74 bool CheckIfNeedRaiseCallingSession(sptr<SceneSession> callingSession, bool isCallingSessionFloating);

Completed in 23 milliseconds