/foundation/window/window_manager/test/systemtest/dms/ |
H A D | display_manager_test.cpp | 143 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 D | cj_display_manager.cpp | 153 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 D | window_info_queried_listener.h | 25 virtual void HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) = 0;
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_manager_service_test.cpp | 91 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 D | display_manager_proxy_test.cpp | 825 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 D | display_manager_stub.cpp | 377 bool hasPrivateWindow = false;
in OnRemoteRequest() local 378 DMError ret = HasPrivateWindow(id, hasPrivateWindow);
in OnRemoteRequest() 380 reply.WriteBool(hasPrivateWindow);
in OnRemoteRequest()
|
H A D | display_manager_service.cpp | 154 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 D | window_manager_service.h | 58 virtual void HasPrivateWindow(DisplayId id, bool& hasPrivateWindow) override; 144 void HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow);
|
/foundation/window/window_manager/dmserver/include/ |
H A D | display_manager_proxy.h | 37 DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) override;
|
H A D | display_manager_service.h | 66 DMError HasPrivateWindow(DisplayId id, bool& hasPrivateWindow) override;
|
H A D | display_manager_interface.h | 42 virtual DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) = 0;
|
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_manager_service_test.cpp | 919 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 D | window_manager_service.cpp | 1588 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 D | display_manager_adapter_test.cpp | 626 bool hasPrivateWindow = false;
in HWTEST_F() local 628 hasPrivateWindow);
in HWTEST_F()
|
H A D | display_manager_test.cpp | 713 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 D | screensessionmanager_fuzzer.cpp | 374 bool hasPrivateWindow; in ProxyInterfaceFuzzTestPart5() local 375 proxy->HasPrivateWindow(displayId, hasPrivateWindow); in ProxyInterfaceFuzzTestPart5()
|
/foundation/window/window_manager/interfaces/innerkits/dm/ |
H A D | display_manager.h | 212 * @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 D | display_manager.cpp | 54 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 D | display_manager_adapter.cpp | 534 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 D | screen_session_manager_stub.cpp | 570 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 D | js_display_manager.cpp | 650 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 D | display_manager_adapter.h | 65 virtual DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow);
|
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/ |
H A D | screen_session_manager_interface.h | 39 virtual DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) override { return DMError::DM_OK; }
|
H A D | screen_session_manager_proxy.h | 124 virtual DMError HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow) override;
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_proxy_test.cpp | 1489 bool hasPrivateWindow = true; in HWTEST_F() local 1493 screenSessionManagerProxy->HasPrivateWindow(displayId, hasPrivateWindow)); in HWTEST_F() 1496 screenSessionManagerProxy->HasPrivateWindow(displayId, hasPrivateWindow)); in HWTEST_F()
|