Lines Matching full:userid
95 void StrongAuthManger::authTimer::SetUserId(int32_t userId) in SetUserId() argument
97 userId_ = userId; in SetUserId()
100 static void StrongAuthTimerCallback(int32_t userId) in StrongAuthTimerCallback() argument
103 uint64_t timerId = StrongAuthManger::GetInstance()->GetTimerId(userId); in StrongAuthTimerCallback()
105 StrongAuthManger::GetInstance()->ResetStrongAuthTimer(userId); in StrongAuthTimerCallback()
106 StrongAuthManger::GetInstance()->SetStrongAuthStat(userId, reasonFlag); in StrongAuthTimerCallback()
107 ScreenLockSystemAbility::GetInstance()->StrongAuthChanged(userId, reasonFlag); in StrongAuthTimerCallback()
123 uint64_t StrongAuthManger::GetTimerId(int32_t userId) in GetTimerId() argument
126 auto iter = strongAuthTimerInfo.find(userId); in GetTimerId()
156 void StrongAuthManger::AuthEventListenerService::OnNotifyAuthSuccessEvent(int32_t userId, in OnNotifyAuthSuccessEvent() argument
159 …OGI("OnNotifyAuthSuccessEvent: %{public}d, %{public}d, %{public}s, callerType: %{public}d", userId, in OnNotifyAuthSuccessEvent()
162 …StrongAuthManger::GetInstance()->SetStrongAuthStat(userId, static_cast<int32_t>(StrongAuthReasonFl… in OnNotifyAuthSuccessEvent()
163 StrongAuthManger::GetInstance()->ResetStrongAuthTimer(userId); in OnNotifyAuthSuccessEvent()
177 void StrongAuthManger::StartStrongAuthTimer(int32_t userId) in StartStrongAuthTimer() argument
180 uint64_t timerId = GetTimerId(userId); in StartStrongAuthTimer()
182 SCLOCK_HILOGI("StrongAuthTimer exist. userId:%{public}d", userId); in StartStrongAuthTimer()
188 timer->SetUserId(userId); in StartStrongAuthTimer()
192 strongAuthTimerInfo.insert(std::make_pair(userId, timerId)); in StartStrongAuthTimer()
196 void StrongAuthManger::ResetStrongAuthTimer(int32_t userId) in ResetStrongAuthTimer() argument
198 uint64_t timerId = GetTimerId(userId); in ResetStrongAuthTimer()
200 StartStrongAuthTimer(userId); in ResetStrongAuthTimer()
217 void StrongAuthManger::DestroyStrongAuthTimer(int32_t userId) in DestroyStrongAuthTimer() argument
220 uint64_t timerId = GetTimerId(userId); in DestroyStrongAuthTimer()
226 strongAuthTimerInfo.erase(userId); in DestroyStrongAuthTimer()
230 void StrongAuthManger::SetStrongAuthStat(int32_t userId, int32_t reasonFlag) in SetStrongAuthStat() argument
232 auto iter = strongAuthStateInfo.find(userId); in SetStrongAuthStat()
238 strongAuthStateInfo.insert(std::make_pair(userId, reasonFlag)); in SetStrongAuthStat()
242 int32_t StrongAuthManger::GetStrongAuthStat(int32_t userId) in GetStrongAuthStat() argument
245 auto iter = strongAuthStateInfo.find(userId); in GetStrongAuthStat()