Searched refs:isScreenLocked (Results 1 - 8 of 8) sorted by relevance
/foundation/ability/ability_runtime/services/abilitymgr/src/screen_lock/ |
H A D | unlock_screen_manager.cpp | 54 bool isScreenLocked = OHOS::ScreenLock::ScreenLockManager::GetInstance()->IsScreenLocked(); in UnlockScreen() local 56 TAG_LOGD(AAFwkTag::ABILITYMGR, "isScreenLocked: %{public}d, isScreenSecured: %{public}d", in UnlockScreen() 57 isScreenLocked, isScreenSecured); in UnlockScreen() 58 if (isScreenLocked && isScreenSecured) { in UnlockScreen() 74 if (isScreenLocked) { in UnlockScreen()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/store/ |
H A D | auto_cache.cpp | 150 bool isScreenLocked = ScreenManager::GetInstance()->IsLocked(); in CloseStore() local 152 [this, &storeId, isScreenLocked, &storeIds, &closeStores](auto &key, auto &delegates) { in CloseStore() 156 (!isScreenLocked || it->second.GetArea() < GeneralStore::EL4) && in CloseStore() 183 bool isScreenLocked = ScreenManager::GetInstance()->IsLocked(); in CloseExcept() local 184 stores_.EraseIf([&users, isScreenLocked](const auto &tokenId, std::map<std::string, Delegate> &delegates) { in CloseExcept() 191 if ((isScreenLocked && it->second.GetArea() >= GeneralStore::EL4) || !it->second.Close()) { in CloseExcept() 217 bool isScreenLocked = ScreenManager::GetInstance()->IsLocked(); in GarbageCollect() local 218 stores_.EraseIf([¤t, isForce, isScreenLocked](auto &key, std::map<std::string, Delegate> &delegates) { in GarbageCollect() 221 if ((!isScreenLocked || it->second.GetArea() < GeneralStore::EL4) && (isForce || it->second < current) && in GarbageCollect()
|
/foundation/communication/nfc/services/src/ |
H A D | nfc_event_handler.cpp | 74 bool isScreenLocked = IsScreenLocked();
in CheckScreenState() local 75 if (isScreenOn && isScreenLocked) {
in CheckScreenState() 77 } else if (!isScreenOn && !isScreenLocked) {
in CheckScreenState() 79 } else if (!isScreenOn && isScreenLocked) {
in CheckScreenState() 81 } else if (isScreenOn && !isScreenLocked) {
in CheckScreenState()
|
/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler.cpp | 978 bool isScreenLocked = DISPLAY_MONITOR->GetScreenLocked(); in CheckSpecialRepeatKey() local 979 MMI_HILOGI("ScreenStatus: %{public}s, isScreenLocked: %{public}d", screenStatus.c_str(), isScreenLocked); in CheckSpecialRepeatKey() 980 if (screenStatus == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF || isScreenLocked) { in CheckSpecialRepeatKey() 1908 bool isScreenLocked = DISPLAY_MONITOR->GetScreenLocked(); in HandleMatchedSequence() local 1909 MMI_HILOGI("screenStatus: %{public}s, isScreenLocked: %{public}d", screenStatus.c_str(), isScreenLocked); in HandleMatchedSequence() 1921 if (bundleName == matchName && isScreenLocked) { in HandleMatchedSequence() 2486 bool isScreenLocked = DISPLAY_MONITOR->GetScreenLocked(); in TouchPadKnuckleDoubleClickProcess() local 2487 if (screenStatus == EventFwk::CommonEventSupport::COMMON_EVENT_SCREEN_OFF || isScreenLocked) { in TouchPadKnuckleDoubleClickProcess() [all...] |
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_session_manager.cpp | 2532 bool isScreenLocked = false; in OnSetScreenLocked() local 2533 if (!ConvertFromJsValue(env, argv[0], isScreenLocked)) { in OnSetScreenLocked() 2534 WLOGFE("[NAPI]Failed to convert parameter to isScreenLocked"); in OnSetScreenLocked() 2539 SceneSessionManager::GetInstance().SetScreenLocked(isScreenLocked); in OnSetScreenLocked()
|
/foundation/distributeddatamgr/pasteboard/services/core/src/ |
H A D | pasteboard_service.cpp | 126 auto isScreenLocked = OHOS::ScreenLock::ScreenLockManager::GetInstance()->IsScreenLocked(); in InitScreenStatus() local 127 PasteboardService::currentScreenStatus = isScreenLocked ? ScreenEvent::ScreenLocked : ScreenEvent::ScreenUnlocked; in InitScreenStatus()
|
/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | scene_session_manager.h | 249 void SetScreenLocked(const bool isScreenLocked);
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_session_manager.cpp | 5435 void SceneSessionManager::SetScreenLocked(const bool isScreenLocked) in SetScreenLocked() argument 5437 isScreenLocked_ = isScreenLocked; in SetScreenLocked()
|
Completed in 34 milliseconds