/foundation/window/window_manager/wm/src/ |
H A D | window_agent.cpp | 36 return WMError::WM_ERROR_NULLPTR; in UpdateWindowRect() 46 return WMError::WM_ERROR_NULLPTR; in UpdateWindowMode() 56 return WMError::WM_ERROR_NULLPTR; in UpdateWindowModeSupportInfo() 66 return WMError::WM_ERROR_NULLPTR; in UpdateFocusStatus() 76 return WMError::WM_ERROR_NULLPTR; in UpdateAvoidArea() 86 return WMError::WM_ERROR_NULLPTR; in UpdateWindowState() 96 return WMError::WM_ERROR_NULLPTR; in UpdateWindowDragInfo() 106 return WMError::WM_ERROR_NULLPTR; in UpdateDisplayId() 117 return WMError::WM_ERROR_NULLPTR; in UpdateOccupiedAreaChangeInfo() 128 return WMError::WM_ERROR_NULLPTR; in UpdateOccupiedAreaAndRect() [all...] |
H A D | window_scene.cpp | 72 return WMError::WM_ERROR_NULLPTR; in Init() 94 return WMError::WM_ERROR_NULLPTR; in Init() 105 return WMError::WM_ERROR_NULLPTR; in Init() 157 return WMError::WM_ERROR_NULLPTR; in GoForeground() 168 return WMError::WM_ERROR_NULLPTR; in GoBackground() 178 return WMError::WM_ERROR_NULLPTR; in GoDestroy() 196 return WMError::WM_ERROR_NULLPTR; in OnNewWant() 207 return WMError::WM_ERROR_NULLPTR; in SetSystemBarProperty() 217 return WMError::WM_ERROR_NULLPTR; in RequestFocus() 247 return WMError::WM_ERROR_NULLPTR; in NotifyMemoryLevel() [all...] |
H A D | window_manager.cpp | 390 return WMError::WM_ERROR_NULLPTR;
in RegisterWMSConnectionChangedListener() 423 return WMError::WM_ERROR_NULLPTR;
in RegisterFocusChangedListener() 451 return WMError::WM_ERROR_NULLPTR;
in UnregisterFocusChangedListener() 476 return WMError::WM_ERROR_NULLPTR;
in RegisterWindowModeChangedListener() 504 return WMError::WM_ERROR_NULLPTR;
in UnregisterWindowModeChangedListener() 529 return WMError::WM_ERROR_NULLPTR;
in RegisterSystemBarChangedListener() 558 return WMError::WM_ERROR_NULLPTR;
in UnregisterSystemBarChangedListener() 606 return WMError::WM_ERROR_NULLPTR;
in RegisterWindowUpdateListener() 633 return WMError::WM_ERROR_NULLPTR;
in UnregisterWindowUpdateListener() 657 return WMError::WM_ERROR_NULLPTR;
in RegisterVisibilityChangedListener() [all...] |
H A D | window_manager_lite.cpp | 290 return WMError::WM_ERROR_NULLPTR; in RegisterFocusChangedListener() 318 return WMError::WM_ERROR_NULLPTR; in UnregisterFocusChangedListener() 343 return WMError::WM_ERROR_NULLPTR; in RegisterVisibilityChangedListener() 372 return WMError::WM_ERROR_NULLPTR; in UnregisterVisibilityChangedListener() 456 return WMError::WM_ERROR_NULLPTR; in RegisterDrawingContentChangedListener() 485 return WMError::WM_ERROR_NULLPTR; in UnregisterDrawingContentChangedListener() 529 return WMError::WM_ERROR_NULLPTR; in RegisterWindowModeChangedListener() 556 return WMError::WM_ERROR_NULLPTR; in UnregisterWindowModeChangedListener() 581 return WMError::WM_ERROR_NULLPTR; in RegisterCameraWindowChangedListener() 609 return WMError::WM_ERROR_NULLPTR; in UnregisterCameraWindowChangedListener() [all...] |
H A D | window_extension_session_impl.cpp | 80 return WMError::WM_ERROR_NULLPTR; in Create() 83 return WMError::WM_ERROR_NULLPTR; in Create() 317 return WMError::WM_ERROR_NULLPTR; in SetPrivacyMode() 349 return WMError::WM_ERROR_NULLPTR; in HidePrivacyContentForHost() 512 return WMError::WM_ERROR_NULLPTR; in NapiSetUIContent() 530 return WMError::WM_ERROR_NULLPTR; in NapiSetUIContent() 650 return WMError::WM_ERROR_NULLPTR; in GetSystemViewportConfig() 655 return WMError::WM_ERROR_NULLPTR; in GetSystemViewportConfig() 851 CHECK_HOST_SESSION_RETURN_ERROR_IF_NULL(hostSession, WMError::WM_ERROR_NULLPTR); in GetAvoidAreaByType() 1110 return WMError::WM_ERROR_NULLPTR; in UpdateExtWindowFlags() [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_agent_test.cpp | 71 ASSERT_EQ(err, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 86 ASSERT_EQ(err, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 101 ASSERT_EQ(err, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 116 ASSERT_EQ(err, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 132 ASSERT_EQ(err, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 147 ASSERT_EQ(err, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 165 ASSERT_EQ(err, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 180 ASSERT_EQ(err, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 197 ASSERT_EQ(err, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 217 ASSERT_EQ(err, WMError::WM_ERROR_NULLPTR); in HWTEST_F() [all...] |
H A D | window_manager_test.cpp | 226 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, ret);
in HWTEST_F() 256 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowManager.RegisterCameraFloatWindowChangedListener(nullptr));
in HWTEST_F() 260 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_ERROR_NULLPTR));
in HWTEST_F() 261 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowManager.RegisterCameraFloatWindowChangedListener(listener));
in HWTEST_F() 290 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowManager.UnregisterCameraFloatWindowChangedListener(nullptr));
in HWTEST_F() 331 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowManager.RegisterVisibilityChangedListener(nullptr));
in HWTEST_F() 335 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_ERROR_NULLPTR));
in HWTEST_F() 336 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowManager.RegisterVisibilityChangedListener(listener));
in HWTEST_F() 366 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowManager.UnregisterVisibilityChangedListener(nullptr));
in HWTEST_F() 404 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowManage in HWTEST_F() [all...] |
H A D | window_scene_test.cpp | 100 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->Init(displayId, abilityContext, listener, optionTest));
in HWTEST_F() 131 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->Init(displayId, abilityContext_, listener, optionTest, iSession));
in HWTEST_F() 147 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->Init(displayId, abilityContext, listener, optionTest, iSession));
in HWTEST_F() 164 ASSERT_EQ(WMError::WM_ERROR_NULLPTR,
in HWTEST_F() 291 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->OnNewWant(want));
in HWTEST_F() 325 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->NotifyMemoryLevel(level));
in HWTEST_F() 386 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->SetSystemBarProperty(type, property));
in HWTEST_F() 417 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->GoForeground());
in HWTEST_F() 446 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scene->GoBackground());
in HWTEST_F() 475 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, scen in HWTEST_F() [all...] |
H A D | window_manager_lite_test.cpp | 181 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowManager.RegisterCameraWindowChangedListener(nullptr)); in HWTEST_F() 185 EXPECT_CALL(m->Mock(), RegisterWindowManagerAgent(_, _)).Times(1).WillOnce(Return(WMError::WM_ERROR_NULLPTR)); in HWTEST_F() 186 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowManager.RegisterCameraWindowChangedListener(listener)); in HWTEST_F() 215 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowManager.UnregisterCameraWindowChangedListener(nullptr)); in HWTEST_F() 252 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, ret1); in HWTEST_F() 253 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, ret2); in HWTEST_F() 257 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, ret3); in HWTEST_F() 258 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, ret4); in HWTEST_F() 264 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, ret5); in HWTEST_F() 265 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, ret in HWTEST_F() [all...] |
H A D | window_session_impl_test.cpp | 140 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, window->Connect()); in HWTEST_F() 147 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, window->Connect()); in HWTEST_F() 746 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, window->Connect()); in HWTEST_F() 755 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, window->Connect()); in HWTEST_F() 1191 ASSERT_EQ(res, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 1223 ASSERT_EQ(res, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 1225 ASSERT_EQ(res, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 1229 ASSERT_EQ(res, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 1231 ASSERT_EQ(res, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 1235 ASSERT_EQ(res, WMError::WM_ERROR_NULLPTR); in HWTEST_F() [all...] |
H A D | window_session_impl_test3.cpp | 94 ASSERT_EQ(res, WMError::WM_ERROR_NULLPTR); in HWTEST_F() 163 ASSERT_EQ(window_->RegisterWindowNoInteractionListener(nullptr), WMError::WM_ERROR_NULLPTR); in HWTEST_F() 164 ASSERT_EQ(window_->UnregisterWindowNoInteractionListener(nullptr), WMError::WM_ERROR_NULLPTR); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_window.h | 112 const sptr<IWindowLifeCycle>& listener) {return WMError::WM_ERROR_NULLPTR;} in RegisterLifeCycleListener() 114 const sptr<IWindowChangeListener>& listener) {return WMError::WM_ERROR_NULLPTR;} in RegisterWindowChangeListener() 116 const sptr<IWindowLifeCycle>& listener) {return WMError::WM_ERROR_NULLPTR;} in UnregisterLifeCycleListener() 118 const sptr<IWindowChangeListener>& listener) {return WMError::WM_ERROR_NULLPTR;} in UnregisterWindowChangeListener() 120 sptr<IAvoidAreaChangedListener>& listener) {return WMError::WM_ERROR_NULLPTR;} in RegisterAvoidAreaChangeListener() 122 sptr<IAvoidAreaChangedListener>& listener) {return WMError::WM_ERROR_NULLPTR;} in UnregisterAvoidAreaChangeListener() 124 const sptr<IWindowDragListener>& listener) {return WMError::WM_ERROR_NULLPTR;} in RegisterDragListener() 126 const sptr<IWindowDragListener>& listener) {return WMError::WM_ERROR_NULLPTR;} in UnregisterDragListener() 128 sptr<IDisplayMoveListener>& listener) {return WMError::WM_ERROR_NULLPTR;} in RegisterDisplayMoveListener() 130 sptr<IDisplayMoveListener>& listener) {return WMError::WM_ERROR_NULLPTR;} in UnregisterDisplayMoveListener() [all...] |
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_snapshot_test.cpp | 63 ASSERT_EQ(static_cast<int32_t>(WMError::WM_ERROR_NULLPTR), snapshotController_->GetSnapshot(nullptr, snapshot_));
in HWTEST_F() 79 ASSERT_EQ(static_cast<int32_t>(WMError::WM_ERROR_NULLPTR),
in HWTEST_F() 97 ASSERT_EQ(static_cast<int32_t>(WMError::WM_ERROR_NULLPTR),
in HWTEST_F() 122 ASSERT_EQ(static_cast<int32_t>(WMError::WM_ERROR_NULLPTR),
in HWTEST_F() 126 ASSERT_EQ(static_cast<int32_t>(WMError::WM_ERROR_NULLPTR),
in HWTEST_F()
|
H A D | starting_window_test.cpp | 223 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, StartingWindow::DrawStartingWindow(node, pixelMap, 0x00FFFFFF, true)); in HWTEST_F() 261 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, StartingWindow::DrawStartingWindow(node_, pixelMap, 0x00FFFFFF, true)); in HWTEST_F() 357 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, RemoteAnimation::SetWindowAnimationController(testController)); in HWTEST_F() 374 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, RemoteAnimation::SetWindowAnimationController(testController)); in HWTEST_F() 392 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, RemoteAnimation::SetWindowAnimationController(testController)); in HWTEST_F() 456 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, StartingWindow::SetStartingWindowAnimation(windowNode)); in HWTEST_F() 464 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, StartingWindow::SetStartingWindowAnimation(node_)); in HWTEST_F()
|
H A D | window_group_mgr_test.cpp | 113 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, rs); in HWTEST_F() 115 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, rs); in HWTEST_F()
|
H A D | window_system_effect_test.cpp | 130 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, WindowSystemEffect::SetCornerRadius(node_)); in HWTEST_F() 133 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, WindowSystemEffect::SetCornerRadius(node_)); in HWTEST_F()
|
/foundation/window/window_manager/wmserver/src/window_snapshot/ |
H A D | snapshot_controller.cpp | 36 return static_cast<int32_t>(WMError::WM_ERROR_NULLPTR);
in GetSnapshot() 40 return static_cast<int32_t>(WMError::WM_ERROR_NULLPTR);
in GetSnapshot() 66 return static_cast<int32_t>(WMError::WM_ERROR_NULLPTR);
in GetSnapshot()
|
H A D | snapshot_stub.cpp | 46 reply.WriteInt32(static_cast<int32_t>(WMError::WM_ERROR_NULLPTR));
in OnRemoteRequest()
|
/foundation/window/window_manager/previewer/src/ |
H A D | window_scene.cpp | 43 return WMError::WM_ERROR_NULLPTR; in Init() 52 return WMError::WM_ERROR_NULLPTR; in Init() 71 return WMError::WM_ERROR_NULLPTR; in Init() 111 return WMError::WM_ERROR_NULLPTR; in GoDestroy()
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_system_effect.cpp | 50 return WMError::WM_ERROR_NULLPTR; in SetCornerRadius() 76 return WMError::WM_ERROR_NULLPTR; in SetCornerRadius() 110 return WMError::WM_ERROR_NULLPTR; in SetWindowShadow() 128 return WMError::WM_ERROR_NULLPTR; in SetWindowShadow() 174 return WMError::WM_ERROR_NULLPTR; in SetWindowEffect()
|
H A D | window_controller.cpp | 176 return WMError::WM_ERROR_NULLPTR; in GetFocusWindowNode() 257 return WMError::WM_ERROR_NULLPTR; in CreateWindow() 320 return WMError::WM_ERROR_NULLPTR; in AddWindowNode() 599 return WMError::WM_ERROR_NULLPTR; in RemoveWindowNode() 652 return WMError::WM_ERROR_NULLPTR; in DestroyWindow() 684 return WMError::WM_ERROR_NULLPTR; in ResizeRect() 748 return WMError::WM_ERROR_NULLPTR; in RequestFocus() 763 return WMError::WM_ERROR_NULLPTR; in SetWindowMode() 1013 return WMError::WM_ERROR_NULLPTR; in SetWindowType() 1033 return WMError::WM_ERROR_NULLPTR; in SetWindowFlags() [all...] |
H A D | window_manager_agent_controller.cpp | 30 return wmAgentContainer_.RegisterAgent(windowManagerAgent, type) ? WMError::WM_OK : WMError::WM_ERROR_NULLPTR;
in RegisterWindowManagerAgent() 36 return wmAgentContainer_.UnregisterAgent(windowManagerAgent, type) ? WMError::WM_OK : WMError::WM_ERROR_NULLPTR;
in UnregisterWindowManagerAgent()
|
H A D | window_root.cpp | 254 return WMError::WM_ERROR_NULLPTR; in SaveWindow() 288 return WMError::WM_ERROR_NULLPTR; in MinimizeStructuredAppWindowsExceptSelf() 795 return WMError::WM_ERROR_NULLPTR; in AddWindowNode() 860 return WMError::WM_ERROR_NULLPTR; in RemoveWindowNode() 932 return WMError::WM_ERROR_NULLPTR; in UpdateWindowNode() 952 return WMError::WM_ERROR_NULLPTR; in UpdateSizeChangeReason() 1107 return WMError::WM_ERROR_NULLPTR; in DestroyWindow() 1278 return WMError::WM_ERROR_NULLPTR; in RequestFocus() 1287 return WMError::WM_ERROR_NULLPTR; in RequestFocus() 1300 return WMError::WM_ERROR_NULLPTR; in RequestActiveWindow() [all...] |
H A D | starting_window.cpp | 159 return WMError::WM_ERROR_NULLPTR; in CreateLeashAndStartingSurfaceNode() 167 return WMError::WM_ERROR_NULLPTR; in CreateLeashAndStartingSurfaceNode() 177 return WMError::WM_ERROR_NULLPTR; in DrawStartingWindow() 191 return WMError::WM_ERROR_NULLPTR; in DrawStartingWindow() 210 return WMError::WM_ERROR_NULLPTR; in SetStartingWindowAnimation()
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | session_manager.cpp | 188 return WMError::WM_ERROR_NULLPTR; in InitMockSMSProxy() 194 return WMError::WM_ERROR_NULLPTR; in InitMockSMSProxy() 199 return WMError::WM_ERROR_NULLPTR; in InitMockSMSProxy() 315 return WMError::WM_ERROR_NULLPTR; in RegisterWMSConnectionChangedListener()
|