Lines Matching refs:StrongAuthManger
25 std::mutex StrongAuthManger::instanceLock_;
26 sptr<StrongAuthManger> StrongAuthManger::instance_;
32 StrongAuthManger::StrongAuthManger() {} in StrongAuthManger() function in OHOS::ScreenLock::StrongAuthManger
34 StrongAuthManger::~StrongAuthManger() {} in ~StrongAuthManger()
36 StrongAuthManger::authTimer::authTimer() in authTimer()
41 StrongAuthManger::authTimer::authTimer(bool repeat, uint64_t interval, bool isExact, bool isIdle) in authTimer()
55 StrongAuthManger::authTimer::~authTimer() {} in ~authTimer()
57 void StrongAuthManger::authTimer::OnTrigger() in OnTrigger()
65 void StrongAuthManger::authTimer::SetType(const int &type) in SetType()
70 void StrongAuthManger::authTimer::SetRepeat(bool repeat) in SetRepeat()
75 void StrongAuthManger::authTimer::SetInterval(const uint64_t &interval) in SetInterval()
80 void StrongAuthManger::authTimer::SetWantAgent(std::shared_ptr<AbilityRuntime::WantAgent::WantAgent… in SetWantAgent()
85 void StrongAuthManger::authTimer::SetCallbackInfo(const std::function<void(int32_t)> &callBack) in SetCallbackInfo()
90 int32_t StrongAuthManger::authTimer::GetUserId() in GetUserId()
95 void StrongAuthManger::authTimer::SetUserId(int32_t userId) in SetUserId()
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()
111 sptr<StrongAuthManger> StrongAuthManger::GetInstance() in GetInstance()
116 instance_ = new StrongAuthManger; in GetInstance()
123 uint64_t StrongAuthManger::GetTimerId(int32_t userId) in GetTimerId()
133 void StrongAuthManger::RegistUserAuthSuccessEventListener() in RegistUserAuthSuccessEventListener()
156 void StrongAuthManger::AuthEventListenerService::OnNotifyAuthSuccessEvent(int32_t userId, in OnNotifyAuthSuccessEvent()
162 …StrongAuthManger::GetInstance()->SetStrongAuthStat(userId, static_cast<int32_t>(StrongAuthReasonFl… in OnNotifyAuthSuccessEvent()
163 StrongAuthManger::GetInstance()->ResetStrongAuthTimer(userId); in OnNotifyAuthSuccessEvent()
168 void StrongAuthManger::UnRegistUserAuthSuccessEventListener() in UnRegistUserAuthSuccessEventListener()
177 void StrongAuthManger::StartStrongAuthTimer(int32_t userId) in StartStrongAuthTimer()
196 void StrongAuthManger::ResetStrongAuthTimer(int32_t userId) in ResetStrongAuthTimer()
209 void StrongAuthManger::DestroyAllStrongAuthTimer() in DestroyAllStrongAuthTimer()
217 void StrongAuthManger::DestroyStrongAuthTimer(int32_t userId) in DestroyStrongAuthTimer()
230 void StrongAuthManger::SetStrongAuthStat(int32_t userId, int32_t reasonFlag) in SetStrongAuthStat()
242 int32_t StrongAuthManger::GetStrongAuthStat(int32_t userId) in GetStrongAuthStat()