Home
last modified time | relevance | path

Searched refs:isUserActive (Results 1 - 3 of 3) sorted by relevance

/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscene_session_manager.h253 void NotifySwitchingUser(const bool isUserActive);
692 WSError StartOrMinimizeUIAbilityBySCB(const sptr<SceneSession>& sceneSession, bool isUserActive);
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager.cpp3245 WSError SceneSessionManager::StartOrMinimizeUIAbilityBySCB(const sptr<SceneSession>& sceneSession, bool isUserActive) in StartOrMinimizeUIAbilityBySCB() argument
3253 if (!isUserActive) { in StartOrMinimizeUIAbilityBySCB()
3285 void SceneSessionManager::NotifySwitchingUser(const bool isUserActive) in NotifySwitchingUser() argument
3288 auto task = [this, isUserActive, where]() { in NotifySwitchingUser()
3290 isUserActive, currentUserId_); in NotifySwitchingUser()
3291 isUserBackground_ = !isUserActive; in NotifySwitchingUser()
3292 SceneInputManager::GetInstance().SetUserBackground(!isUserActive); in NotifySwitchingUser()
3293 if (isUserActive) { // switch to current user in NotifySwitchingUser()
3315 StartOrMinimizeUIAbilityBySCB(sceneSession, isUserActive); in NotifySwitchingUser()
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_session_manager.cpp2640 bool isUserActive = true; in OnNotifySwitchingUser() local
2641 if (!ConvertFromJsValue(env, argv[0], isUserActive)) { in OnNotifySwitchingUser()
2642 WLOGFE("[NAPI]Failed to convert parameter to isUserActive"); in OnNotifySwitchingUser()
2648 SceneSessionManager::GetInstance().NotifySwitchingUser(isUserActive); in OnNotifySwitchingUser()

Completed in 27 milliseconds