Home
last modified time | relevance | path

Searched refs:isLocked (Results 1 - 15 of 15) sorted by relevance

/base/theme/screenlock_mgr/test/unittest/
H A Dscreenlock_service_test.cpp382 bool isLocked = ScreenLockSystemAbility::GetInstance()->IsScreenLocked(); in HWTEST_F() local
383 EXPECT_EQ(isLocked, true); in HWTEST_F()
424 bool isLocked = ScreenLockSystemAbility::GetInstance()->IsScreenLocked(); in HWTEST_F() local
425 EXPECT_EQ(isLocked, false); in HWTEST_F()
439 bool isLocked = ScreenLockSystemAbility::GetInstance()->IsScreenLocked(); in HWTEST_F() local
440 EXPECT_EQ(isLocked, false); in HWTEST_F()
454 bool isLocked = ScreenLockSystemAbility::GetInstance()->IsScreenLocked(); in HWTEST_F() local
455 EXPECT_EQ(isLocked, false); in HWTEST_F()
469 bool isLocked; in HWTEST_F() local
470 ScreenLockSystemAbility::GetInstance()->IsLocked(isLocked); in HWTEST_F()
485 bool isLocked; HWTEST_F() local
502 bool isLocked; HWTEST_F() local
524 bool isLocked; HWTEST_F() local
557 bool isLocked; HWTEST_F() local
[all...]
H A Dscreenlock_client_test.cpp69 bool isLocked = ScreenLockSystemAbility::GetInstance()->IsScreenLocked(); in HWTEST_F() local
70 EXPECT_EQ(isLocked, true); in HWTEST_F()
/base/theme/screenlock_mgr/frameworks/native/src/
H A Dscreenlock_manager.cpp51 int32_t ScreenLockManager::IsLocked(bool &isLocked) in IsLocked() argument
58 return proxy->IsLocked(isLocked); in IsLocked()
H A 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/
H A 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/interfaces/inner_api/include/
H A Dscreenlock_manager.h45 * @param isLocked Indicates the screen lock state.
48 SCREENLOCK_API int32_t IsLocked(bool &isLocked);
H A Dscreenlock_manager_interface.h31 virtual int32_t IsLocked(bool &isLocked) = 0;
/base/theme/screenlock_mgr/test/fuzztest/screenlockmanager_fuzzer/
H A 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/src/
H A Dscreenlock_manager_stub.cpp93 bool isLocked = false; in OnIsLocked() local
94 int32_t ret = IsLocked(isLocked); in OnIsLocked()
97 reply.WriteBool(isLocked); in OnIsLocked()
H A Dscreenlock_system_ability.cpp437 int32_t ScreenLockSystemAbility::IsLocked(bool &isLocked) in IsLocked() argument
445 isLocked = IsScreenLocked(); in IsLocked()
/base/theme/screenlock_mgr/frameworks/native/include/
H A Dscreenlock_manager_proxy.h34 int32_t IsLocked(bool &isLocked) override;
/base/update/updater/test/unittest/flashd_test/
H A Dflashd_unittest.cpp460 bool isLocked = true; in HWTEST_F() local
461 if (auto ret = Updater::UpdateHdiClient::GetInstance().GetLockStatus(isLocked); ret != 0) { in HWTEST_F()
464 EXPECT_EQ(isLocked, false); in HWTEST_F()
/base/theme/screenlock_mgr/services/include/
H A Dscreenlock_system_ability.h147 int32_t IsLocked(bool &isLocked) override;
/base/hiviewdfx/hilog/frameworks/libhilog/param/
H A Dproperties.cpp174 bool isLocked() const in isLocked() function in OHOS::PropertyTypeLocker
213 if (locker.isLocked()) { in getValue()
/base/theme/screenlock_mgr/frameworks/js/napi/src/
H A Dnapi_screenlock_ability.cpp68 DECLARE_NAPI_FUNCTION("isLocked", OHOS::ScreenLock::NAPI_IsLocked), in Init()
193 bool isLocked = false; in NAPI_IsLocked() local
194 int32_t status = ScreenLockManager::GetInstance()->IsLocked(isLocked); in NAPI_IsLocked()
202 napi_get_boolean(env, isLocked, &result); in NAPI_IsLocked()

Completed in 11 milliseconds