/foundation/multimodalinput/input/service/display_state_manager/include/ |
H A D | display_event_monitor.h | 56 void SetScreenLocked(bool isLocked) in SetScreenLocked() argument 58 isScreenLocked_ = isLocked; in SetScreenLocked()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | lock_status_observer.cpp | 100 void LockStatusObserver::OnStatusChange(bool isLocked) const in OnStatusChange() 106 lockStatusChangedNotifier_->NotifyEvent(LOCK_STATUS_CHANGE_EVENT, &isLocked); in OnStatusChange()
|
H A D | lock_status_observer.h | 30 void OnStatusChange(bool isLocked) const;
|
/foundation/window/window_manager/interfaces/innerkits/dm/ |
H A D | screen_manager.h | 259 * @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 D | storage_engine_manager.cpp | 173 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 D | display_manager_proxy.h | 46 DMError IsScreenRotationLocked(bool& isLocked) override;
47 DMError SetScreenRotationLocked(bool isLocked) override;
48 DMError SetScreenRotationLockedFromJs(bool isLocked) override;
|
H A D | display_manager_service.h | 53 DMError IsScreenRotationLocked(bool& isLocked) override;
54 DMError SetScreenRotationLocked(bool isLocked) override;
55 DMError SetScreenRotationLockedFromJs(bool isLocked) override;
|
H A D | screen_rotation_controller.h | 50 static DMError SetScreenRotationLocked(bool isLocked);
|
H A D | display_manager_interface.h | 63 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 D | runtime_context_process_system_api_adapter_impl_test.cpp | 200 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 D | display_manager_stub.cpp | 357 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 D | display_manager_service.cpp | 774 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 D | screen_rotation_controller.cpp | 59 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 D | js_screen_session.cpp | 189 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 D | display_manager_service_test.cpp | 469 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 D | mock_display_manager_adapter.h | 92 MOCK_METHOD1(SetScreenRotationLocked, DMError(bool isLocked));
93 MOCK_METHOD1(IsScreenRotationLocked, DMError(bool& isLocked));
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_client_proxy_test.cpp | 183 bool isLocked = false; in HWTEST_F() local 186 screenSessionManagerClientProxy_->OnScreenRotationLockedChanged(screenId, isLocked); in HWTEST_F()
|
H A D | screen_session_manager_client_stub_test.cpp | 179 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 D | screen_session_manager_client_interface.h | 60 virtual void OnScreenRotationLockedChanged(ScreenId screenId, bool isLocked) = 0;
|
H A D | screen_session_manager_client_proxy.h | 41 void OnScreenRotationLockedChanged(ScreenId screenId, bool isLocked) override;
|
/foundation/window/window_manager/dm/src/ |
H A D | display_manager_adapter.cpp | 252 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 D | screen_manager.cpp | 622 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 D | test_jsvm.cpp | 471 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 D | display_manager_adapter_test.cpp | 457 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 D | display_manager_adapter.h | 138 virtual DMError SetScreenRotationLocked(bool isLocked);
139 virtual DMError SetScreenRotationLockedFromJs(bool isLocked);
140 virtual DMError IsScreenRotationLocked(bool& isLocked);
|