Home
last modified time | relevance | path

Searched refs:ScreenLockAppManager (Results 1 - 5 of 5) sorted by relevance

/base/theme/screenlock_mgr/frameworks/native/src/
H A Dscreenlock_app_manager.cpp26 std::mutex ScreenLockAppManager::instanceLock_;
27 sptr<ScreenLockAppManager> ScreenLockAppManager::instance_;
28 sptr<ScreenLockAppDeathRecipient> ScreenLockAppManager::deathRecipient_;
29 std::mutex ScreenLockAppManager::listenerLock_;
30 sptr<ScreenLockSystemAbilityInterface> ScreenLockAppManager::systemEventListener_;
32 ScreenLockAppManager::ScreenLockAppManager() in ScreenLockAppManager() function in OHOS::ScreenLock::ScreenLockAppManager
36 ScreenLockAppManager::~ScreenLockAppManager() in ~ScreenLockAppManager()
[all...]
/base/theme/screenlock_mgr/test/unittest/
H A Dscreenlock_client_test.cpp128 int32_t result = ScreenLockAppManager::GetInstance()->OnSystemEvent(listener); in HWTEST_F()
143 int32_t result = ScreenLockAppManager::GetInstance()->SendScreenLockEvent("test", testNum); in HWTEST_F()
158 int32_t result = ScreenLockAppManager::GetInstance()->OnSystemEvent(listener); in HWTEST_F()
172 ScreenLockAppManager::GetInstance()->screenlockManagerProxy_ = nullptr; in HWTEST_F()
173 sptr<ScreenLockManagerInterface> proxy = ScreenLockAppManager::GetInstance()->GetProxy(); in HWTEST_F()
191 auto proxy = ScreenLockAppManager::GetInstance()->GetProxy(); in HWTEST_F()
214 auto proxy = ScreenLockAppManager::GetInstance()->GetProxy(); in HWTEST_F()
230 auto proxy = ScreenLockAppManager::GetInstance()->GetProxy(); in HWTEST_F()
250 auto proxy = ScreenLockAppManager::GetInstance()->GetProxy(); in HWTEST_F()
272 int32_t result = ScreenLockAppManager in HWTEST_F()
[all...]
/base/theme/screenlock_mgr/frameworks/native/include/
H A Dscreenlock_app_manager.h37 class ScreenLockAppManager : public RefBase { class
39 SCREENLOCK_API ScreenLockAppManager();
40 SCREENLOCK_API ~ScreenLockAppManager() override;
41 SCREENLOCK_API static sptr<ScreenLockAppManager> GetInstance();
56 static sptr<ScreenLockAppManager> instance_;
/base/theme/screenlock_mgr/test/fuzztest/screenlockmanager_fuzzer/
H A Dscreenlockmanager_fuzzer.cpp95 int32_t ret = ScreenLockAppManager::GetInstance()->OnSystemEvent(listener_); in FuzzScreenlockAppManager()
101 int32_t ret = ScreenLockAppManager::GetInstance()->SendScreenLockEvent(event, param); in FuzzScreenlockAppManager()
114 int32_t ret = ScreenLockAppManager::GetInstance()->IsScreenLockDisabled(userId, isDisabled); in FuzzScreenlockIsDisabled()
125 int32_t ret = ScreenLockAppManager::GetInstance()->SetScreenLockDisabled(isDisabled, userId); in FuzzScreenlockSetDisabled()
137 int32_t ret = ScreenLockAppManager::GetInstance()->SetScreenLockAuthState(authState, userId, authToken); in FuzzScreenlockSetAuthState()
148 int32_t ret = ScreenLockAppManager::GetInstance()->GetScreenLockAuthState(userId, authState); in FuzzScreenlockGetAuthState()
159 int32_t ret = ScreenLockAppManager::GetInstance()->RequestStrongAuth(reasonFlag, userId); in FuzzScreenlockRequestStrongAuth()
170 int32_t ret = ScreenLockAppManager::GetInstance()->GetStrongAuth(userId, reasonFlag); in FuzzScreenlockGetStrongAuth()
/base/theme/screenlock_mgr/frameworks/js/napi/src/
H A Dnapi_screenlock_ability.cpp448 int32_t retCode = ScreenLockAppManager::GetInstance()->OnSystemEvent(listener); in NAPI_OnSystemEvent()
499 int32_t retCode = ScreenLockAppManager::GetInstance()->SendScreenLockEvent(context->eventInfo, context->param); in NAPI_ScreenLockSendEvent()
538 int32_t status = ScreenLockAppManager::GetInstance()->IsScreenLockDisabled(userId, isDisabled); in NAPI_IsScreenLockDisabled()
581 int32_t retCode = ScreenLockAppManager::GetInstance()->SetScreenLockDisabled(context->disable, context->userId); in NAPI_SetScreenLockDisabled()
635 int32_t retCode = ScreenLockAppManager::GetInstance()->SetScreenLockAuthState(context->authState, in NAPI_SetScreenLockAuthState()
673 int32_t status = ScreenLockAppManager::GetInstance()->GetScreenLockAuthState(userId, authState); in NAPI_GetScreenLockAuthState()
713 int32_t retCode = ScreenLockAppManager::GetInstance()->RequestStrongAuth(context->reasonFlag, in NAPI_RequestStrongAuth()
751 int32_t status = ScreenLockAppManager::GetInstance()->GetStrongAuth(userId, reasonFlag); in NAPI_GetStrongAuth()

Completed in 4 milliseconds