Home
last modified time | relevance | path

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

123

/foundation/multimodalinput/input/service/display_state_manager/include/
H A Ddisplay_event_monitor.h56 void SetScreenLocked(bool isLocked) in SetScreenLocked() argument
58 isScreenLocked_ = isLocked; in SetScreenLocked()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dlock_status_observer.cpp100 void LockStatusObserver::OnStatusChange(bool isLocked) const in OnStatusChange()
106 lockStatusChangedNotifier_->NotifyEvent(LOCK_STATUS_CHANGE_EVENT, &isLocked); in OnStatusChange()
H A Dlock_status_observer.h30 void OnStatusChange(bool isLocked) const;
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Dscreen_manager.h259 * @param isLocked True means forbid to rotate screen, false means the opposite.
262 DMError SetScreenRotationLocked(bool isLocked);
267 * @param isLocked True means forbid to rotate screen, false means the opposite.
270 DMError SetScreenRotationLockedFromJs(bool isLocked);
275 * @param isLocked Query the rotation lock status.
278 DMError IsScreenRotationLocked(bool& isLocked);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dstorage_engine_manager.cpp173 bool isLocked = *static_cast<bool *>(lockStatus); in RegisterLockStatusListener()
174 LOGD("[StorageEngineManager] Lock status to %d", isLocked); in RegisterLockStatusListener()
175 if (isLocked) { in RegisterLockStatusListener()
179 [this, isLocked] { LockStatusNotifier(isLocked); }); in RegisterLockStatusListener()
/foundation/window/window_manager/dmserver/include/
H A Ddisplay_manager_proxy.h46 DMError IsScreenRotationLocked(bool& isLocked) override;
47 DMError SetScreenRotationLocked(bool isLocked) override;
48 DMError SetScreenRotationLockedFromJs(bool isLocked) override;
H A Ddisplay_manager_service.h53 DMError IsScreenRotationLocked(bool& isLocked) override;
54 DMError SetScreenRotationLocked(bool isLocked) override;
55 DMError SetScreenRotationLockedFromJs(bool isLocked) override;
H A Dscreen_rotation_controller.h50 static DMError SetScreenRotationLocked(bool isLocked);
H A Ddisplay_manager_interface.h63 virtual DMError SetScreenRotationLocked(bool isLocked) = 0;
64 virtual DMError SetScreenRotationLockedFromJs(bool isLocked) = 0;
65 virtual DMError IsScreenRotationLocked(bool& isLocked) = 0;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Druntime_context_process_system_api_adapter_impl_test.cpp200 bool isLocked = RuntimeContext::GetInstance()->IsAccessControlled(); in HWTEST_F() local
201 EXPECT_FALSE(isLocked); in HWTEST_F()
209 isLocked = RuntimeContext::GetInstance()->IsAccessControlled(); in HWTEST_F()
210 EXPECT_TRUE(!isLocked); in HWTEST_F()
/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_stub.cpp357 bool isLocked = false; in OnRemoteRequest() local
358 DMError ret = IsScreenRotationLocked(isLocked); in OnRemoteRequest()
360 reply.WriteBool(isLocked); in OnRemoteRequest()
364 bool isLocked = static_cast<bool>(data.ReadBool()); in OnRemoteRequest() local
365 DMError ret = SetScreenRotationLocked(isLocked); in OnRemoteRequest()
370 bool isLocked = static_cast<bool>(data.ReadBool()); in OnRemoteRequest() local
371 DMError ret = SetScreenRotationLockedFromJs(isLocked); in OnRemoteRequest()
H A Ddisplay_manager_service.cpp774 DMError DisplayManagerService::IsScreenRotationLocked(bool& isLocked) in IsScreenRotationLocked() argument
780 isLocked = ScreenRotationController::IsScreenRotationLocked(); in IsScreenRotationLocked()
784 DMError DisplayManagerService::SetScreenRotationLocked(bool isLocked) in SetScreenRotationLocked() argument
790 return ScreenRotationController::SetScreenRotationLocked(isLocked); in SetScreenRotationLocked()
793 DMError DisplayManagerService::SetScreenRotationLockedFromJs(bool isLocked) in SetScreenRotationLockedFromJs() argument
799 return ScreenRotationController::SetScreenRotationLocked(isLocked); in SetScreenRotationLockedFromJs()
H A Dscreen_rotation_controller.cpp59 DMError ScreenRotationController::SetScreenRotationLocked(bool isLocked) in SetScreenRotationLocked() argument
61 isScreenRotationLocked_ = isLocked; in SetScreenRotationLocked()
62 if (isLocked) { in SetScreenRotationLocked()
/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/
H A Djs_screen_session.cpp189 bool isLocked = true; in OnSetScreenRotationLocked() local
192 WLOGFE("ConvertNativeValueTo isLocked failed!"); in OnSetScreenRotationLocked()
196 napi_get_value_bool(env, nativeVal, &isLocked); in OnSetScreenRotationLocked()
202 screenSession_->SetScreenRotationLockedFromJs(isLocked); in OnSetScreenRotationLocked()
206 auto asyncTask = [isLocked, env, task = napiAsyncTask.get()]() { in OnSetScreenRotationLocked()
209 SingletonContainer::Get<ScreenManager>().SetScreenRotationLockedFromJs(isLocked)); in OnSetScreenRotationLocked()
583 void JsScreenSession::OnScreenRotationLockedChange(bool isLocked, ScreenId screenId) in OnScreenRotationLockedChange() argument
586 WLOGD("Call js callback: %{public}s isLocked:%{public}u.", callbackType.c_str(), isLocked); in OnScreenRotationLockedChange()
593 auto asyncTask = [jsCallbackRef, callbackType, isLocked, en in OnScreenRotationLockedChange()
[all...]
/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_service_test.cpp469 bool isLocked = true; in HWTEST_F() local
470 DMError ret = dms_->IsScreenRotationLocked(isLocked); in HWTEST_F()
481 bool isLocked = true; in HWTEST_F() local
482 DMError ret = dms_->SetScreenRotationLocked(isLocked); in HWTEST_F()
493 bool isLocked = true; in HWTEST_F() local
494 DMError ret = dms_->SetScreenRotationLockedFromJs(isLocked); in HWTEST_F()
/foundation/window/window_manager/test/common/mock/
H A Dmock_display_manager_adapter.h92 MOCK_METHOD1(SetScreenRotationLocked, DMError(bool isLocked));
93 MOCK_METHOD1(IsScreenRotationLocked, DMError(bool& isLocked));
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_client_proxy_test.cpp183 bool isLocked = false; in HWTEST_F() local
186 screenSessionManagerClientProxy_->OnScreenRotationLockedChanged(screenId, isLocked); in HWTEST_F()
H A Dscreen_session_manager_client_stub_test.cpp179 bool isLocked = false; in HWTEST_F() local
180 data.WriteBool(isLocked); in HWTEST_F()
600 bool isLocked = false; in HWTEST_F() local
601 data.WriteBool(isLocked); in HWTEST_F()
/foundation/window/window_manager/window_scene/screen_session_manager_client/include/zidl/
H A Dscreen_session_manager_client_interface.h60 virtual void OnScreenRotationLockedChanged(ScreenId screenId, bool isLocked) = 0;
H A Dscreen_session_manager_client_proxy.h41 void OnScreenRotationLockedChanged(ScreenId screenId, bool isLocked) override;
/foundation/window/window_manager/dm/src/
H A Ddisplay_manager_adapter.cpp252 DMError ScreenManagerAdapter::SetScreenRotationLocked(bool isLocked) in SetScreenRotationLocked() argument
256 return displayManagerServiceProxy_->SetScreenRotationLocked(isLocked); in SetScreenRotationLocked()
259 DMError ScreenManagerAdapter::SetScreenRotationLockedFromJs(bool isLocked) in SetScreenRotationLockedFromJs() argument
263 return displayManagerServiceProxy_->SetScreenRotationLockedFromJs(isLocked); in SetScreenRotationLockedFromJs()
266 DMError ScreenManagerAdapter::IsScreenRotationLocked(bool& isLocked) in IsScreenRotationLocked() argument
270 return displayManagerServiceProxy_->IsScreenRotationLocked(isLocked); in IsScreenRotationLocked()
H A Dscreen_manager.cpp622 DMError ScreenManager::SetScreenRotationLocked(bool isLocked) in SetScreenRotationLocked() argument
624 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenRotationLocked(isLocked); in SetScreenRotationLocked()
627 DMError ScreenManager::SetScreenRotationLockedFromJs(bool isLocked) in SetScreenRotationLockedFromJs() argument
629 return SingletonContainer::Get<ScreenManagerAdapter>().SetScreenRotationLockedFromJs(isLocked); in SetScreenRotationLockedFromJs()
632 DMError ScreenManager::IsScreenRotationLocked(bool& isLocked) in IsScreenRotationLocked() argument
634 return SingletonContainer::Get<ScreenManagerAdapter>().IsScreenRotationLocked(isLocked); in IsScreenRotationLocked()
/foundation/arkui/napi/test/unittest/jsvm/
H A Dtest_jsvm.cpp471 bool isLocked = false; in HWTEST_F() local
472 JSVM_CALL(OH_JSVM_IsLocked(env, &isLocked)); in HWTEST_F()
477 bool isLocked = false; in HWTEST_F() local
478 JSVM_CALL(OH_JSVM_IsLocked(env, &isLocked)); in HWTEST_F()
/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_manager_adapter_test.cpp457 bool isLocked = false; in HWTEST_F() local
458 DMError ret = SingletonContainer::Get<ScreenManagerAdapter>().SetScreenRotationLocked(isLocked); in HWTEST_F()
473 bool isLocked = false; in HWTEST_F() local
474 DMError ret = SingletonContainer::Get<ScreenManagerAdapter>().IsScreenRotationLocked(isLocked); in HWTEST_F()
/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h138 virtual DMError SetScreenRotationLocked(bool isLocked);
139 virtual DMError SetScreenRotationLockedFromJs(bool isLocked);
140 virtual DMError IsScreenRotationLocked(bool& isLocked);

Completed in 18 milliseconds

123