Home
last modified time | relevance | path

Searched refs:hasPrivateWindow (Results 1 - 25 of 30) sorted by relevance

12

/foundation/window/window_manager/test/systemtest/dms/
H A Ddisplay_manager_test.cpp143 bool hasPrivateWindow = false; in HWTEST_F() local
145 DisplayManager::GetInstance().HasPrivateWindow(id, hasPrivateWindow); in HWTEST_F()
149 DisplayManager::GetInstance().HasPrivateWindow(id, hasPrivateWindow); in HWTEST_F()
151 ASSERT_TRUE(!hasPrivateWindow); in HWTEST_F()
188 bool hasPrivateWindow = false; in HWTEST_F() local
190 DisplayManager::GetInstance().HasPrivateWindow(id, hasPrivateWindow); in HWTEST_F()
194 if (!hasPrivateWindow) { in HWTEST_F()
195 ASSERT_TRUE(!hasPrivateWindow); in HWTEST_F()
225 bool hasPrivateWindow = false; in HWTEST_F() local
227 DisplayManager::GetInstance().HasPrivateWindow(id, hasPrivateWindow); in HWTEST_F()
278 bool hasPrivateWindow = false; HWTEST_F() local
319 bool hasPrivateWindow = false; HWTEST_F() local
350 bool hasPrivateWindow = false; HWTEST_F() local
[all...]
/foundation/window/window_manager/interfaces/kits/cj/display_runtime/
H A Dcj_display_manager.cpp153 bool *hasPrivateWindow = static_cast<bool*>(malloc(sizeof(bool))); in HasPrivateWindow() local
154 if (hasPrivateWindow == nullptr) { in HasPrivateWindow()
158 *hasPrivateWindow = false; in HasPrivateWindow()
160 SingletonContainer::Get<DisplayManager>().HasPrivateWindow(displayId_, *hasPrivateWindow)); in HasPrivateWindow()
162 "[DisplayManager] Display id = %{public}" PRIu64", hasPrivateWindow = %{public}u err = %{public}d", in HasPrivateWindow()
163 static_cast<uint64_t>(displayId_), *hasPrivateWindow, errorCode); in HasPrivateWindow()
166 free(hasPrivateWindow); in HasPrivateWindow()
170 ret.data = static_cast<void*>(hasPrivateWindow); in HasPrivateWindow()
/foundation/window/window_manager/utils/include/
H A Dwindow_info_queried_listener.h25 virtual void HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) = 0;
/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_service_test.cpp91 void HasPrivateWindow(DisplayId id, bool& hasPrivateWindow) override {};
168 bool hasPrivateWindow = false; in HWTEST_F() local
173 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->HasPrivateWindow(0, hasPrivateWindow)); in HWTEST_F()
176 ASSERT_EQ(DMError::DM_ERROR_NULLPTR, dms_->HasPrivateWindow(1, hasPrivateWindow)); in HWTEST_F()
H A Ddisplay_manager_proxy_test.cpp825 bool hasPrivateWindow = true; in HWTEST_F() local
826 auto result1 = proxy1.HasPrivateWindow(0, hasPrivateWindow); in HWTEST_F()
830 auto result2 = proxy1.HasPrivateWindow(0, hasPrivateWindow); in HWTEST_F()
/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_stub.cpp377 bool hasPrivateWindow = false; in OnRemoteRequest() local
378 DMError ret = HasPrivateWindow(id, hasPrivateWindow); in OnRemoteRequest()
380 reply.WriteBool(hasPrivateWindow); in OnRemoteRequest()
H A Ddisplay_manager_service.cpp154 DMError DisplayManagerService::HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) in HasPrivateWindow() argument
167 windowInfoQueriedListener_->HasPrivateWindow(displayId, hasPrivateWindow); in HasPrivateWindow()
/foundation/window/window_manager/wmserver/include/
H A Dwindow_manager_service.h58 virtual void HasPrivateWindow(DisplayId id, bool& hasPrivateWindow) override;
144 void HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow);
/foundation/window/window_manager/dmserver/include/
H A Ddisplay_manager_proxy.h37 DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) override;
H A Ddisplay_manager_service.h66 DMError HasPrivateWindow(DisplayId id, bool& hasPrivateWindow) override;
H A Ddisplay_manager_interface.h42 virtual DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) = 0;
/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_manager_service_test.cpp919 bool hasPrivateWindow = false; in HWTEST_F() local
921 wms->HasPrivateWindow(displayId, hasPrivateWindow); in HWTEST_F()
945 bool hasPrivateWindow = false; in HWTEST_F() local
947 windowInfoQueriedListener->HasPrivateWindow(displayId, hasPrivateWindow); in HWTEST_F()
/foundation/window/window_manager/wmserver/src/
H A Dwindow_manager_service.cpp1588 void WindowManagerService::HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) in HasPrivateWindow() argument
1590 auto task = [this, displayId, &hasPrivateWindow]() mutable { in HasPrivateWindow()
1591 hasPrivateWindow = windowRoot_->HasPrivateWindow(displayId); in HasPrivateWindow()
1594 WLOGI("called %{public}u", hasPrivateWindow); in HasPrivateWindow()
1609 void WindowInfoQueriedListener::HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) in HasPrivateWindow() argument
1612 WindowManagerService::GetInstance().HasPrivateWindow(displayId, hasPrivateWindow); in HasPrivateWindow()
/foundation/window/window_manager/dm/test/unittest/
H A Ddisplay_manager_adapter_test.cpp626 bool hasPrivateWindow = false; in HWTEST_F() local
628 hasPrivateWindow); in HWTEST_F()
H A Ddisplay_manager_test.cpp713 bool hasPrivateWindow = false; in HWTEST_F() local
714 auto ret = DisplayManager::GetInstance().HasPrivateWindow(0, hasPrivateWindow); in HWTEST_F()
727 bool hasPrivateWindow = false; in HWTEST_F() local
728 auto ret = DisplayManager::GetInstance().pImpl_->HasPrivateWindow(0, hasPrivateWindow); in HWTEST_F()
/foundation/window/window_manager/test/fuzztest/window_scene/screensessionmanager_fuzzer/
H A Dscreensessionmanager_fuzzer.cpp374 bool hasPrivateWindow; in ProxyInterfaceFuzzTestPart5() local
375 proxy->HasPrivateWindow(displayId, hasPrivateWindow); in ProxyInterfaceFuzzTestPart5()
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Ddisplay_manager.h212 * @param hasPrivateWindow True means display has private window, false means the opposite.
215 DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow);
/foundation/window/window_manager/dm/src/
H A Ddisplay_manager.cpp54 DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow);
887 DMError DisplayManager::HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) in HasPrivateWindow() argument
889 return pImpl_->HasPrivateWindow(displayId, hasPrivateWindow); in HasPrivateWindow()
892 DMError DisplayManager::Impl::HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) in HasPrivateWindow() argument
894 return SingletonContainer::Get<DisplayManagerAdapter>().HasPrivateWindow(displayId, hasPrivateWindow); in HasPrivateWindow()
H A Ddisplay_manager_adapter.cpp534 DMError DisplayManagerAdapter::HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) in HasPrivateWindow() argument
538 return displayManagerServiceProxy_->HasPrivateWindow(displayId, hasPrivateWindow); in HasPrivateWindow()
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/
H A Dscreen_session_manager_stub.cpp570 bool hasPrivateWindow = false; in OnRemoteRequest() local
571 DMError ret = HasPrivateWindow(id, hasPrivateWindow); in OnRemoteRequest()
573 reply.WriteBool(hasPrivateWindow); in OnRemoteRequest()
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
H A Djs_display_manager.cpp650 bool hasPrivateWindow = false; in OnHasPrivateWindow() local
674 SingletonContainer::Get<DisplayManager>().HasPrivateWindow(displayId, hasPrivateWindow)); in OnHasPrivateWindow()
675 WLOGI("[NAPI]Display id = %{public}" PRIu64", hasPrivateWindow = %{public}u err = %{public}d", in OnHasPrivateWindow()
676 static_cast<uint64_t>(displayId), hasPrivateWindow, errCode); in OnHasPrivateWindow()
682 napi_get_boolean(env, hasPrivateWindow, &result); in OnHasPrivateWindow()
1173 BindNativeFunction(env, exportObj, "hasPrivateWindow", moduleName, JsDisplayManager::HasPrivateWindow); in JsDisplayManagerInit()
/foundation/window/window_manager/dm/include/
H A Ddisplay_manager_adapter.h65 virtual DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow);
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/
H A Dscreen_session_manager_interface.h39 virtual DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) override { return DMError::DM_OK; }
H A Dscreen_session_manager_proxy.h124 virtual DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) override;
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_manager_proxy_test.cpp1489 bool hasPrivateWindow = true; in HWTEST_F() local
1493 screenSessionManagerProxy->HasPrivateWindow(displayId, hasPrivateWindow)); in HWTEST_F()
1496 screenSessionManagerProxy->HasPrivateWindow(displayId, hasPrivateWindow)); in HWTEST_F()

Completed in 35 milliseconds

12