Home
last modified time | relevance | path

Searched refs:isLocked (Results 1 – 16 of 16) sorted by relevance

/base/theme/screenlock_mgr/test/unittest/
Dscreenlock_service_test.cpp420 bool isLocked = ScreenLockSystemAbility::GetInstance()->IsScreenLocked(); variable
421 EXPECT_EQ(isLocked, true);
461 bool isLocked = ScreenLockSystemAbility::GetInstance()->IsScreenLocked(); variable
462 EXPECT_EQ(isLocked, false);
476 bool isLocked = ScreenLockSystemAbility::GetInstance()->IsScreenLocked(); variable
477 EXPECT_EQ(isLocked, true);
491 bool isLocked = ScreenLockSystemAbility::GetInstance()->IsScreenLocked(); variable
492 EXPECT_EQ(isLocked, true);
506 bool isLocked; variable
507 ScreenLockSystemAbility::GetInstance()->IsLocked(isLocked);
[all …]
Dscreenlock_client_test.cpp69 bool isLocked = ScreenLockSystemAbility::GetInstance()->IsScreenLocked(); variable
70 EXPECT_EQ(isLocked, true);
/base/theme/screenlock_mgr/frameworks/js/napi/test/unittest/src/
DScreenlock.test.js51 let ret = screenLock.isLocked();
94 let ret = screenLock.isLocked();
115 let ret = screenLock.isLocked();
143 let ret = screenLock.isLocked();
164 let ret = screenLock.isLocked();
243 let ret = screenLock.isLocked();
292 let ret = screenLock.isLocked();
313 let ret = screenLock.isLocked();
/base/theme/screenlock_mgr/services/src/
Dscreenlock_manager_stub.cpp76 bool isLocked = false; in OnIsLocked() local
77 int32_t ret = IsLocked(isLocked); in OnIsLocked()
80 reply.WriteBool(isLocked); in OnIsLocked()
Dscreenlock_system_ability.cpp393 int32_t ScreenLockSystemAbility::IsLocked(bool &isLocked) in IsLocked() argument
399 isLocked = IsScreenLocked(); in IsLocked()
/base/theme/screenlock_mgr/test/fuzztest/screenlockmanager_fuzzer/
Dscreenlockmanager_fuzzer.cpp82 bool isLocked = static_cast<bool>(rawData[0] % 2); in IsLockedFuzzTest() local
83 int32_t ret = ScreenLockManager::GetInstance()->IsLocked(isLocked); in IsLockedFuzzTest()
/base/theme/screenlock_mgr/services/include/
Dscreenlock_manager_interface.h31 virtual int32_t IsLocked(bool &isLocked) = 0;
Dscreenlock_system_ability.h136 int32_t IsLocked(bool &isLocked) override;
/base/theme/screenlock_mgr/frameworks/native/src/
Dscreenlock_manager.cpp55 int32_t ScreenLockManager::IsLocked(bool &isLocked) in IsLocked() argument
62 return proxy->IsLocked(isLocked); in IsLocked()
Dscreenlock_manager_proxy.cpp47 int32_t ScreenLockManagerProxy::IsLocked(bool &isLocked) in IsLocked() argument
60 isLocked = reply.ReadBool(); in IsLocked()
/base/update/updater/services/flashd/daemon/
Ddaemon_updater.cpp194 bool isLocked = true; in IsDeviceLocked() local
195 if (auto ret = Updater::UpdateHdiClient::GetInstance().GetLockStatus(isLocked); ret != 0) { in IsDeviceLocked()
199 return isLocked; in IsDeviceLocked()
/base/theme/screenlock_mgr/frameworks/native/include/
Dscreenlock_manager_proxy.h34 int32_t IsLocked(bool &isLocked) override;
/base/theme/screenlock_mgr/interfaces/inner_api/include/
Dscreenlock_manager.h43 SCREENLOCK_API int32_t IsLocked(bool &isLocked);
/base/theme/screenlock_mgr/
DREADME_ZH.md42 | isLocked(): boolean; | 判断屏幕是否锁屏。返回true表示屏幕已锁屏;返回false表示屏幕未锁屏。同步方式 |
107 let isLocked = screenLock.isLocked();
/base/theme/screenlock_mgr/frameworks/js/napi/src/
Dnapi_screenlock_ability.cpp169 bool isLocked = false; in NAPI_IsLocked() local
170 int32_t status = ScreenLockManager::GetInstance()->IsLocked(isLocked); in NAPI_IsLocked()
175 napi_get_boolean(env, isLocked, &result); in NAPI_IsLocked()
/base/hiviewdfx/hilog/frameworks/libhilog/param/
Dproperties.cpp173 bool isLocked() const in isLocked() function in OHOS::HiviewDFX::PropertyTypeLocker
212 if (locker.isLocked()) { in getValue()