Searched refs:lastUserId (Results 1 - 6 of 6) sorted by relevance
/foundation/ability/form_fwk/services/src/ |
H A D | form_sys_event_receiver.cpp | 219 HILOG_INFO("reboot init lastUserId"); in HandleUserSwitched() 234 int32_t lastUserId = lastUserId_; in HandleUserSwitched() local 238 serialQueue_->ScheduleTask(0, [userId, lastUserId, this]() { in HandleUserSwitched() 242 HandleUserIdForms(userId, lastUserId); in HandleUserSwitched() 262 void FormSysEventReceiver::HandleUserIdForms(int32_t currentUserId, int32_t lastUserId) in HandleUserIdForms() argument 267 HILOG_INFO("recycle forms and stop FRS lastUserId:%{public}d", lastUserId); in HandleUserIdForms() 268 RecycleForms(lastUserId); in HandleUserIdForms() 269 FormRenderMgr::GetInstance().DisconnectAllRenderConnections(lastUserId); in HandleUserIdForms()
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | session_manager.cpp | 115 int32_t lastUserId = INVALID_USER_ID; in OnWMSConnectionChanged() local 120 lastUserId = currentWMSUserId_; in OnWMSConnectionChanged() 133 "curUserId=%{public}d, oldUserId=%{public}d, screenId=%{public}d, isConnected=%{public}d", userId, lastUserId, in OnWMSConnectionChanged() 135 if (isConnected && lastUserId > INVALID_USER_ID && lastUserId != userId) { in OnWMSConnectionChanged() 137 OnWMSConnectionChangedCallback(lastUserId, lastScreenId, false, isCallbackRegistered); in OnWMSConnectionChanged()
|
H A D | session_manager_lite.cpp | 246 int32_t lastUserId = INVALID_USER_ID; in OnWMSConnectionChanged() local 251 lastUserId = currentWMSUserId_; in OnWMSConnectionChanged() 265 lastUserId, screenId, isConnected); in OnWMSConnectionChanged() 266 if (isConnected && lastUserId > INVALID_USER_ID && lastUserId != userId) { in OnWMSConnectionChanged() 268 OnWMSConnectionChangedCallback(lastUserId, lastScreenId, false, isCallbackRegistered); in OnWMSConnectionChanged()
|
/foundation/ability/form_fwk/services/include/ |
H A D | form_sys_event_receiver.h | 67 void HandleUserIdForms(int32_t currentUserId, int32_t lastUserId);
|
/foundation/ability/form_fwk/test/unittest/fms_form_sys_event_receiver_test/ |
H A D | fms_form_sys_event_receiver_test.cpp | 880 int32_t lastUserId = 101; in HWTEST_F() local 881 receiver->HandleUserIdForms(currentUserId, lastUserId); in HWTEST_F()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | ability_manager_service.cpp | 3354 void AbilityManagerService::StopSwitchUserDialogInner(const Want &want, const int32_t lastUserId) in StopSwitchUserDialogInner() argument 3357 EventInfo eventInfo = BuildEventInfo(want, lastUserId); in StopSwitchUserDialogInner() 3361 GenerateExtensionAbilityRequest(want, abilityRequest, nullptr, lastUserId); in StopSwitchUserDialogInner() 3370 auto stopUserId = abilityInfo.applicationInfo.singleton ? U0_USER_ID : lastUserId; in StopSwitchUserDialogInner() 7999 void AbilityManagerService::StartSwitchUserDialogInner(const Want &want, int32_t lastUserId) in StartSwitchUserDialogInner() argument 8002 EventInfo eventInfo = BuildEventInfo(want, lastUserId); in StartSwitchUserDialogInner() 8005 auto result = GenerateExtensionAbilityRequest(want, abilityRequest, nullptr, lastUserId); in StartSwitchUserDialogInner() 8014 auto startUserId = abilityInfo.applicationInfo.singleton ? U0_USER_ID : lastUserId; in StartSwitchUserDialogInner()
|
Completed in 24 milliseconds