Lines Matching refs:ScreenLockSystemAbility
66 REGISTER_SYSTEM_ABILITY_BY_ID(ScreenLockSystemAbility, SCREENLOCK_SERVICE_ID, true);
70 std::mutex ScreenLockSystemAbility::instanceLock_;
71 sptr<ScreenLockSystemAbility> ScreenLockSystemAbility::instance_;
73 std::shared_ptr<ffrt::queue> ScreenLockSystemAbility::queue_;
74 ScreenLockSystemAbility::ScreenLockSystemAbility(int32_t systemAbilityId, bool runOnCreate) in ScreenLockSystemAbility() function in OHOS::ScreenLock::ScreenLockSystemAbility
78 ScreenLockSystemAbility::~ScreenLockSystemAbility() {} in ~ScreenLockSystemAbility()
80 sptr<ScreenLockSystemAbility> ScreenLockSystemAbility::GetInstance() in GetInstance()
86 instance_ = new ScreenLockSystemAbility(SCREENLOCK_SERVICE_ID, true); in GetInstance()
105 ScreenLockSystemAbility::AccountSubscriber::AccountSubscriber(const OsAccountSubscribeInfo &subscri… in AccountSubscriber()
109 void ScreenLockSystemAbility::AccountSubscriber::OnAccountsChanged(const int &id) in OnAccountsChanged()
127 int32_t ScreenLockSystemAbility::Init() in Init()
129 bool ret = Publish(ScreenLockSystemAbility::GetInstance()); in Init()
139 void ScreenLockSystemAbility::OnStart() in OnStart()
162 void ScreenLockSystemAbility::OnAddSystemAbility(int32_t systemAbilityId, const std::string &device… in OnAddSystemAbility()
168 … displayPowerEventListener_ = new ScreenLockSystemAbility::ScreenLockDisplayPowerEventListener(); in OnAddSystemAbility()
180 void ScreenLockSystemAbility::RegisterDisplayPowerEventListener(int32_t times) in RegisterDisplayPowerEventListener()
196 void ScreenLockSystemAbility::InitServiceHandler() in InitServiceHandler()
206 void ScreenLockSystemAbility::InitUserId() in InitUserId()
232 void ScreenLockSystemAbility::OnStop() in OnStop()
251 void ScreenLockSystemAbility::ScreenLockDisplayPowerEventListener::OnDisplayPowerEvent(DisplayPower… in OnDisplayPowerEvent()
277 void ScreenLockSystemAbility::OnScreenOff(EventStatus status) in OnScreenOff()
289 void ScreenLockSystemAbility::OnScreenOn(EventStatus status) in OnScreenOn()
301 void ScreenLockSystemAbility::OnSystemReady() in OnSystemReady()
322 void ScreenLockSystemAbility::OnWakeUp(EventStatus status) in OnWakeUp()
334 void ScreenLockSystemAbility::OnSleep(EventStatus status) in OnSleep()
346 void ScreenLockSystemAbility::OnExitAnimation() in OnExitAnimation()
352 void ScreenLockSystemAbility::StrongAuthChanged(int32_t userId, int32_t reasonFlag) in StrongAuthChanged()
361 int32_t ScreenLockSystemAbility::UnlockScreen(const sptr<ScreenLockCallbackInterface> &listener) in UnlockScreen()
367 int32_t ScreenLockSystemAbility::Unlock(const sptr<ScreenLockCallbackInterface> &listener) in Unlock()
378 int32_t ScreenLockSystemAbility::UnlockInner(const sptr<ScreenLockCallbackInterface> &listener) in UnlockInner()
403 int32_t ScreenLockSystemAbility::Lock(const sptr<ScreenLockCallbackInterface> &listener) in Lock()
424 int32_t ScreenLockSystemAbility::Lock(int32_t userId) in Lock()
437 int32_t ScreenLockSystemAbility::IsLocked(bool &isLocked) in IsLocked()
449 bool ScreenLockSystemAbility::IsScreenLocked() in IsScreenLocked()
458 bool ScreenLockSystemAbility::GetSecure() in GetSecure()
482 int32_t ScreenLockSystemAbility::OnSystemEvent(const sptr<ScreenLockSystemAbilityInterface> &listen… in OnSystemEvent()
500 int32_t ScreenLockSystemAbility::SendScreenLockEvent(const std::string &event, int param) in SendScreenLockEvent()
521 int32_t ScreenLockSystemAbility::IsScreenLockDisabled(int userId, bool &isDisabled) in IsScreenLockDisabled()
534 int32_t ScreenLockSystemAbility::SetScreenLockDisabled(bool disable, int userId) in SetScreenLockDisabled()
555 int32_t ScreenLockSystemAbility::SetScreenLockAuthState(int authState, int32_t userId, std::string … in SetScreenLockAuthState()
567 int32_t ScreenLockSystemAbility::GetScreenLockAuthState(int userId, int32_t &authState) in GetScreenLockAuthState()
580 int32_t ScreenLockSystemAbility::RequestStrongAuth(int reasonFlag, int32_t userId) in RequestStrongAuth()
588 int32_t ScreenLockSystemAbility::GetStrongAuth(int userId, int32_t &reasonFlag) in GetStrongAuth()
595 void ScreenLockSystemAbility::SetScreenlocked(bool isScreenlocked) in SetScreenlocked()
608 int ScreenLockSystemAbility::Dump(int fd, const std::vector<std::u16string> &args) in Dump()
625 void ScreenLockSystemAbility::RegisterDumpCommand() in RegisterDumpCommand()
648 void ScreenLockSystemAbility::PublishEvent(const std::string &eventAction) in PublishEvent()
657 void ScreenLockSystemAbility::LockScreenEvent(int stateResult) in LockScreenEvent()
679 void ScreenLockSystemAbility::UnlockScreenEvent(int stateResult) in UnlockScreenEvent()
693 void ScreenLockSystemAbility::SystemEventCallBack(const SystemEvent &systemEvent, TraceTaskId trace… in SystemEventCallBack()
718 void ScreenLockSystemAbility::NotifyUnlockListener(const int32_t screenLockResult) in NotifyUnlockListener()
733 void ScreenLockSystemAbility::NotifyDisplayEvent(DisplayEvent event) in NotifyDisplayEvent()
743 void ScreenLockSystemAbility::ResetFfrtQueue() in ResetFfrtQueue()
748 bool ScreenLockSystemAbility::IsAppInForeground(int32_t callingPid, uint32_t callingTokenId) in IsAppInForeground()
766 bool ScreenLockSystemAbility::IsSystemApp() in IsSystemApp()
771 bool ScreenLockSystemAbility::CheckPermission(const std::string &permissionName) in CheckPermission()