Home
last modified time | relevance | path

Searched refs:IsScreenRotationLocked (Results 1 - 25 of 33) sorted by relevance

12

/foundation/window/window_manager/dmserver/include/
H A Dscreen_rotation_controller.h49 static bool IsScreenRotationLocked();
H A Ddisplay_manager_proxy.h46 DMError IsScreenRotationLocked(bool& isLocked) override;
H A Ddisplay_manager_service.h53 DMError IsScreenRotationLocked(bool& isLocked) override;
H A Ddisplay_manager_interface.h65 virtual DMError IsScreenRotationLocked(bool& isLocked) = 0;
/foundation/window/window_manager/test/fuzztest/dms/screenmanager_fuzzer/
H A Dscreenmanager_fuzzer.cpp234 bool IsScreenRotationLocked(const uint8_t *data, size_t size) in IsScreenRotationLocked() function
244 screenManager.IsScreenRotationLocked(flag); in IsScreenRotationLocked()
338 OHOS::Rosen::IsScreenRotationLocked(data, size); in LLVMFuzzerTestOneInput()
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Dscreen_manager.h278 DMError IsScreenRotationLocked(bool& isLocked);
/foundation/window/window_manager/dm/test/unittest/
H A Dscreen_manager_test.cpp367 * @tc.name: IsScreenRotationLocked
368 * @tc.desc: for interface coverage & check IsScreenRotationLocked
371 HWTEST_F(ScreenManagerTest, IsScreenRotationLocked, Function | SmallTest | Level1) in HWTEST_F()
375 EXPECT_CALL(m->Mock(), IsScreenRotationLocked(_)).Times(1).WillOnce(Return(DMError::DM_OK)); in HWTEST_F()
378 ret = ScreenManager::GetInstance().IsScreenRotationLocked(result); in HWTEST_F()
380 EXPECT_CALL(m->Mock(), IsScreenRotationLocked(_)).Times(1).WillOnce(Return(DMError::DM_ERROR_NULLPTR)); in HWTEST_F()
381 ret = ScreenManager::GetInstance().IsScreenRotationLocked(result); in HWTEST_F()
H A Ddisplay_manager_adapter_test.cpp467 * @tc.name: IsScreenRotationLocked
468 * @tc.desc: test IsScreenRotationLocked
471 HWTEST_F(DisplayManagerAdapterTest, IsScreenRotationLocked, Function | SmallTest | Level2) in HWTEST_F()
474 DMError ret = SingletonContainer::Get<ScreenManagerAdapter>().IsScreenRotationLocked(isLocked); in HWTEST_F()
/foundation/window/window_manager/test/common/mock/
H A Dmock_display_manager_adapter.h93 MOCK_METHOD1(IsScreenRotationLocked, DMError(bool& isLocked));
/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_service_test.cpp463 * @tc.name: IsScreenRotationLocked
464 * @tc.desc: IsScreenRotationLocked
467 HWTEST_F(DisplayManagerServiceTest, IsScreenRotationLocked, Function | SmallTest | Level3) in HWTEST_F()
470 DMError ret = dms_->IsScreenRotationLocked(isLocked); in HWTEST_F()
H A Dscreen_rotation_controller_test.cpp90 ASSERT_EQ(false, ScreenRotationController::IsScreenRotationLocked()); in HWTEST_F()
93 ASSERT_EQ(true, ScreenRotationController::IsScreenRotationLocked()); in HWTEST_F()
H A Ddisplay_manager_proxy_test.cpp1274 * @tc.name: IsScreenRotationLocked
1275 * @tc.desc: test DisplayManagerProxy::IsScreenRotationLocked
1278 HWTEST_F(DisplayManagerProxyTest, IsScreenRotationLocked, Function | SmallTest | Level1) in HWTEST_F()
1284 auto result = proxy.IsScreenRotationLocked(isLocked); in HWTEST_F()
1502 auto result = proxy.IsScreenRotationLocked(isLocked); in HWTEST_F()
/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_service.cpp774 DMError DisplayManagerService::IsScreenRotationLocked(bool& isLocked) in IsScreenRotationLocked() function in OHOS::Rosen::DisplayManagerService
780 isLocked = ScreenRotationController::IsScreenRotationLocked(); in IsScreenRotationLocked()
H A Dscreen_rotation_controller.cpp54 bool ScreenRotationController::IsScreenRotationLocked() in IsScreenRotationLocked() function in OHOS::Rosen::ScreenRotationController
H A Ddisplay_manager_stub.cpp358 DMError ret = IsScreenRotationLocked(isLocked); in OnRemoteRequest()
/foundation/window/window_manager/dm/src/
H A Ddisplay_manager_adapter.cpp266 DMError ScreenManagerAdapter::IsScreenRotationLocked(bool& isLocked) in IsScreenRotationLocked() function in OHOS::Rosen::ScreenManagerAdapter
269 WLOGFI("DisplayManagerAdapter::IsScreenRotationLocked"); in IsScreenRotationLocked()
270 return displayManagerServiceProxy_->IsScreenRotationLocked(isLocked); in IsScreenRotationLocked()
H A Dscreen_manager.cpp632 DMError ScreenManager::IsScreenRotationLocked(bool& isLocked) in IsScreenRotationLocked() function in OHOS::Rosen::ScreenManager
634 return SingletonContainer::Get<ScreenManagerAdapter>().IsScreenRotationLocked(isLocked); in IsScreenRotationLocked()
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_test.cpp1607 bool res = session->IsScreenRotationLocked(); in HWTEST_F()
1623 bool res = session->IsScreenRotationLocked(); in HWTEST_F()
1629 * @tc.name: IsScreenRotationLocked
1633 HWTEST_F(ScreenSessionTest, IsScreenRotationLocked, Function | SmallTest | Level2) in HWTEST_F()
1635 GTEST_LOG_(INFO) << "ScreenSessionTest: IsScreenRotationLocked start"; in HWTEST_F()
1637 bool res = session->IsScreenRotationLocked(); in HWTEST_F()
1639 GTEST_LOG_(INFO) << "ScreenSessionTest: IsScreenRotationLocked end"; in HWTEST_F()
H A Dscreen_session_manager_proxy_test.cpp1387 * @tc.name: IsScreenRotationLocked
1388 * @tc.desc: IsScreenRotationLocked
1391 HWTEST_F(ScreenSessionManagerProxyTest, IsScreenRotationLocked, Function | SmallTest | Level1) in HWTEST_F()
1400 screenSessionManagerProxy->IsScreenRotationLocked(isLocked)); in HWTEST_F()
1403 screenSessionManagerProxy->IsScreenRotationLocked(isLocked)); in HWTEST_F()
/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h140 virtual DMError IsScreenRotationLocked(bool& isLocked);
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/
H A Dscreen_session_manager_interface.h65 virtual DMError IsScreenRotationLocked(bool& isLocked) override { return DMError::DM_OK; }
H A Dscreen_session_manager_proxy.h120 virtual DMError IsScreenRotationLocked(bool& isLocked) override;
/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_session.h169 bool IsScreenRotationLocked();
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/
H A Djs_screen_manager.cpp132 static napi_value IsScreenRotationLocked(napi_env env, napi_callback_info info) in IsScreenRotationLocked() function in OHOS::Rosen::JsScreenManager
974 SingletonContainer::Get<ScreenManager>().IsScreenRotationLocked(isLocked)); in OnIsScreenRotationLocked()
1249 JsScreenManager::IsScreenRotationLocked); in JsScreenManagerInit()
/foundation/window/window_manager/test/fuzztest/window_scene/screensessionmanager_fuzzer/
H A Dscreensessionmanager_fuzzer.cpp358 proxy->IsScreenRotationLocked(isLocked); in ProxyInterfaceFuzzTestPart4()

Completed in 29 milliseconds

12