Home
last modified time | relevance | path

Searched refs:IsKeepScreenOn (Results 1 - 25 of 37) sorted by relevance

12

/foundation/window/window_manager/previewer/include/
H A Dwindow_option.h176 bool IsKeepScreenOn() const;
H A Dwindow.h180 virtual bool IsKeepScreenOn() const = 0;
H A Dwindow_impl.h109 virtual bool IsKeepScreenOn() const override;
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow_option.h168 bool IsKeepScreenOn() const;
H A Dwindow.h937 virtual bool IsKeepScreenOn() const { return false; } in IsKeepScreenOn() function in OHOS::OHOS::OHOS::OHOS::OHOS::OHOS::OHOS::OHOS::Rosen::Window
/foundation/window/window_manager/previewer/src/
H A Dwindow_option.cpp114 bool WindowOption::IsKeepScreenOn() const in IsKeepScreenOn() function in OHOS::Rosen::WindowOption
H A Dwindow_impl.cpp498 bool WindowImpl::IsKeepScreenOn() const in IsKeepScreenOn() function in OHOS::Rosen::WindowImpl
/foundation/window/window_manager/wmserver/src/
H A Dwindow_node.cpp319 bool WindowNode::IsKeepScreenOn() const in IsKeepScreenOn() function in OHOS::Rosen::WindowNode
321 return property_->IsKeepScreenOn(); in IsKeepScreenOn()
H A Dwindow_root.cpp643 HandleKeepScreenOn(child->GetWindowId(), child->IsKeepScreenOn()); in PostProcessAddWindowNode()
645 HandleKeepScreenOn(node->GetWindowId(), node->IsKeepScreenOn()); in PostProcessAddWindowNode()
H A Dwindow_controller.cpp1512 node->SetKeepScreenOn(property->IsKeepScreenOn()); in UpdateProperty()
1513 windowRoot_->HandleKeepScreenOn(node->GetWindowId(), node->IsKeepScreenOn()); in UpdateProperty()
/foundation/window/window_manager/interfaces/kits/napi/extension_window/
H A Djs_extension_window_utils.cpp106 napi_set_named_property(env, objValue, "isKeepScreenOn", CreateJsValue(env, window->IsKeepScreenOn())); in CreateJsExtensionWindowProperties()
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_option_test.cpp332 ASSERT_EQ(true, option->IsKeepScreenOn()); in HWTEST_F()
334 ASSERT_EQ(false, option->IsKeepScreenOn()); in HWTEST_F()
H A Dwindow_impl_test.cpp1205 ASSERT_FALSE(window->IsKeepScreenOn()); in HWTEST_F()
1207 ASSERT_TRUE(window->IsKeepScreenOn()); in HWTEST_F()
1209 ASSERT_FALSE(window->IsKeepScreenOn()); in HWTEST_F()
1233 ASSERT_FALSE(window->IsKeepScreenOn()); in HWTEST_F()
1237 ASSERT_TRUE(window->IsKeepScreenOn()); in HWTEST_F()
1239 ASSERT_FALSE(window->IsKeepScreenOn()); in HWTEST_F()
H A Dwindow_scene_session_impl_test.cpp1409 ASSERT_TRUE(window->IsKeepScreenOn()); in HWTEST_F()
1411 ASSERT_FALSE(window->IsKeepScreenOn()); in HWTEST_F()
/foundation/window/window_manager/wm/src/
H A Dwindow_option.cpp187 bool WindowOption::IsKeepScreenOn() const in IsKeepScreenOn() function in OHOS::Rosen::WindowOption
/foundation/window/window_manager/wmserver/include/
H A Dwindow_node.h115 bool IsKeepScreenOn() const;
/foundation/window/window_manager/window_scene/test/unittest/
H A Dwindow_session_property_test.cpp333 * @tc.name: IsKeepScreenOn
334 * @tc.desc: IsKeepScreenOn test
337 HWTEST_F(WindowSessionPropertyTest, IsKeepScreenOn, Function | SmallTest | Level2) in HWTEST_F()
340 bool result = windowSessionProperty.IsKeepScreenOn(); in HWTEST_F()
965 ASSERT_EQ(keepScreenOn, property->IsKeepScreenOn()); in HWTEST_F()
968 ASSERT_EQ(keepScreenOn, property->IsKeepScreenOn()); in HWTEST_F()
H A Dscene_session_test.cpp408 * @tc.name: IsKeepScreenOn
409 * @tc.desc: IsKeepScreenOn
412 HWTEST_F(SceneSessionTest, IsKeepScreenOn, Function | SmallTest | Level2) in HWTEST_F()
416 info.bundleName_ = "IsKeepScreenOn"; in HWTEST_F()
425 ASSERT_EQ(true, scensession->IsKeepScreenOn()); in HWTEST_F()
427 ASSERT_EQ(false, scensession->IsKeepScreenOn()); in HWTEST_F()
/foundation/window/window_manager/utils/include/
H A Dwindow_property.h116 bool IsKeepScreenOn() const;
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_window.h81 virtual bool IsKeepScreenOn() const {return false;} in IsKeepScreenOn() function in OHOS::Rosen::MockWindow
/foundation/window/window_manager/wm/include/
H A Dwindow_scene_session_impl.h114 virtual bool IsKeepScreenOn() const override;
/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_node_test.cpp492 * @tc.desc: SetKeepScreenOn & IsKeepScreenOn
503 ASSERT_EQ(false, windowNode->IsKeepScreenOn()); in HWTEST_F()
505 ASSERT_EQ(true, windowNode->IsKeepScreenOn()); in HWTEST_F()
/foundation/window/window_manager/utils/test/unittest/
H A Dwindow_property_test.cpp386 * @tc.desc: IsKeepScreenOn test
394 bool res = winPropSrc.IsKeepScreenOn(); in HWTEST_F()
/foundation/window/window_manager/window_scene/common/include/
H A Dwindow_session_property.h119 bool IsKeepScreenOn() const;
/foundation/window/window_manager/utils/src/
H A Dwindow_property.cpp444 bool WindowProperty::IsKeepScreenOn() const in IsKeepScreenOn() function in OHOS::Rosen::WindowProperty

Completed in 37 milliseconds

12