Lines Matching refs:StrongAuthManger
26 std::mutex StrongAuthManger::instanceLock_;
27 sptr<StrongAuthManger> StrongAuthManger::instance_;
34 StrongAuthManger::StrongAuthManger() {}
36 StrongAuthManger::~StrongAuthManger() {}
38 StrongAuthManger::authTimer::authTimer()
43 StrongAuthManger::authTimer::authTimer(bool repeat, uint64_t interval, bool isExact, bool isIdle)
57 StrongAuthManger::authTimer::~authTimer() {}
59 void StrongAuthManger::authTimer::OnTrigger()
67 void StrongAuthManger::authTimer::SetType(const int &type)
72 void StrongAuthManger::authTimer::SetRepeat(bool repeat)
77 void StrongAuthManger::authTimer::SetInterval(const uint64_t &interval)
82 void StrongAuthManger::authTimer::SetWantAgent(std::shared_ptr<AbilityRuntime::WantAgent::WantAgent> wantAgent)
87 void StrongAuthManger::authTimer::SetCallbackInfo(const std::function<void(int32_t)> &callBack)
92 int32_t StrongAuthManger::authTimer::GetUserId()
97 void StrongAuthManger::authTimer::SetUserId(int32_t userId)
105 uint64_t timerId = StrongAuthManger::GetInstance()->GetTimerId(userId);
107 StrongAuthManger::GetInstance()->ResetStrongAuthTimer(userId);
108 StrongAuthManger::GetInstance()->SetStrongAuthStat(userId, reasonFlag);
125 sptr<StrongAuthManger> StrongAuthManger::GetInstance()
130 instance_ = new StrongAuthManger;
137 uint64_t StrongAuthManger::GetTimerId(int32_t userId)
147 void StrongAuthManger::RegistUserAuthSuccessEventListener()
170 void StrongAuthManger::AuthEventListenerService::OnNotifyAuthSuccessEvent(int32_t userId,
176 StrongAuthManger::GetInstance()->SetStrongAuthStat(userId, static_cast<int32_t>(StrongAuthReasonFlags::NONE));
177 StrongAuthManger::GetInstance()->ResetStrongAuthTimer(userId);
182 void StrongAuthManger::UnRegistUserAuthSuccessEventListener()
191 void StrongAuthManger::StartStrongAuthTimer(int32_t userId)
210 void StrongAuthManger::ResetStrongAuthTimer(int32_t userId)
223 void StrongAuthManger::DestroyAllStrongAuthTimer()
231 void StrongAuthManger::DestroyStrongAuthTimer(int32_t userId)
244 void StrongAuthManger::SetStrongAuthStat(int32_t userId, int32_t reasonFlag)
257 int32_t StrongAuthManger::GetStrongAuthStat(int32_t userId)