/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_window.h | 41 virtual WMError SetAPPWindowLabel(const std::string& label) {return WMError::WM_OK;} in SetAPPWindowLabel() 42 virtual WMError SetAPPWindowIcon(const std::shared_ptr<Media::PixelMap>& icon) {return WMError::WM_OK;} in SetAPPWindowIcon() 54 virtual WMError SetFocusable(bool isFocusable) {return WMError::WM_OK;} in SetFocusable() 56 virtual WMError SetTouchable(bool isTouchable) {return WMError::WM_OK;} in SetTouchable() 61 virtual WMError SetWindowType(WindowType type) {return WMError in IsLayoutFullScreen() [all...] |
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_manager_stub_impl.h | 25 WMError CreateWindow(sptr<IWindow>& window, sptr<WindowProperty>& property, in CreateWindow() 29 return WMError::WM_OK; in CreateWindow() 31 WMError AddWindow(sptr<WindowProperty>& property) in AddWindow() 33 return WMError::WM_OK; in AddWindow() 35 WMError RemoveWindow(uint32_t windowId, bool isFromInnerkits) in RemoveWindow() 37 return WMError::WM_OK; in RemoveWindow() 39 WMError DestroyWindow(uint32_t windowId, bool onlySelf = false) in DestroyWindow() 41 return WMError::WM_OK; in DestroyWindow() 43 WMError RequestFocus(uint32_t windowId) in RequestFocus() 45 return WMError in RequestFocus() [all...] |
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_multi_ability_test.cpp | 54 ASSERT_EQ(WMError::WM_OK, windowscene->GoBackground());
in DoSceneResource() 55 ASSERT_EQ(WMError::WM_OK, windowscene->GoDestroy());
in DoSceneResource() 57 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowscene->GoBackground());
in DoSceneResource() 58 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, windowscene->GoDestroy());
in DoSceneResource() 76 ASSERT_EQ(WMError::WM_OK, scene1->GoForeground());
in HWTEST_F() 77 ASSERT_EQ(WMError::WM_OK, scene2->GoForeground());
in HWTEST_F() 78 ASSERT_EQ(WMError::WM_OK, scene3->GoForeground());
in HWTEST_F() 79 ASSERT_EQ(WMError::WM_OK, scene4->GoForeground());
in HWTEST_F() 80 ASSERT_EQ(WMError::WM_OK, scene5->GoForeground());
in HWTEST_F() 82 ASSERT_NE(WMError in HWTEST_F() [all...] |
H A D | window_app_floating_window_test.cpp | 131 if (scene->GoForeground() == WMError::WM_OK) {
in HWTEST_F() 132 ASSERT_EQ(WMError::WM_OK, scene->GoForeground());
in HWTEST_F() 135 ASSERT_EQ(WMError::WM_OK, fltWin->Show());
in HWTEST_F() 137 ASSERT_EQ(WMError::WM_OK, fltWin->Hide());
in HWTEST_F() 138 if (scene->GoForeground() == WMError::WM_OK) {
in HWTEST_F() 139 ASSERT_EQ(WMError::WM_OK, scene->GoForeground());
in HWTEST_F() 141 ASSERT_NE(WMError::WM_OK, scene->GoForeground());
in HWTEST_F() 144 ASSERT_EQ(WMError::WM_OK, fltWin->Destroy());
in HWTEST_F() 146 if (scene->GoDestroy() == WMError::WM_OK) {
in HWTEST_F() 147 ASSERT_EQ(WMError in HWTEST_F() [all...] |
H A D | window_effect_test.cpp | 78 ASSERT_EQ(WMError::WM_OK, window->SetCornerRadius(0.0));
in HWTEST_F() 79 ASSERT_EQ(WMError::WM_OK, window->SetCornerRadius(16.0));
in HWTEST_F() 80 ASSERT_EQ(WMError::WM_OK, window->SetCornerRadius(1000.0));
in HWTEST_F() 81 ASSERT_EQ(WMError::WM_OK, window->SetCornerRadius(-1.0));
in HWTEST_F() 83 ASSERT_EQ(WMError::WM_OK, window->Destroy());
in HWTEST_F() 96 ASSERT_EQ(WMError::WM_OK, window->SetShadowRadius(0.0));
in HWTEST_F() 97 ASSERT_EQ(WMError::WM_OK, window->SetShadowRadius(16.0));
in HWTEST_F() 98 ASSERT_EQ(WMError::WM_OK, window->SetShadowRadius(1000.0));
in HWTEST_F() 99 ASSERT_EQ(WMError::WM_ERROR_INVALID_PARAM, window->SetShadowRadius(-1.0));
in HWTEST_F() 101 ASSERT_EQ(WMError in HWTEST_F() [all...] |
/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | window.h | 509 static WMError DefaultCreateErrCode = WMError::WM_OK; 522 WMError& errCode = DefaultCreateErrCode); 535 const sptr<IRemoteObject>& iSession, WMError& errCode = DefaultCreateErrCode, 548 const std::shared_ptr<OHOS::AbilityRuntime::Context>& context, WMError& errCode = DefaultCreateErrCode); 683 virtual WMError SetFocusable(bool isFocusable) { return WMError::WM_OK; } in SetFocusable() 696 virtual WMError SetTouchable(bool isTouchable) { return WMError::WM_OK; } in SetTouchable() 728 * @return WMError [all...] |
H A D | window_manager_lite.h | 50 WMError RegisterFocusChangedListener(const sptr<IFocusChangedListener>& listener); 57 WMError UnregisterFocusChangedListener(const sptr<IFocusChangedListener>& listener); 64 WMError RegisterVisibilityChangedListener(const sptr<IVisibilityChangedListener>& listener); 71 WMError UnregisterVisibilityChangedListener(const sptr<IVisibilityChangedListener>& listener); 78 WMError GetVisibilityWindowInfo(std::vector<sptr<WindowVisibilityInfo>>& infos) const; 92 WMError RegisterDrawingContentChangedListener(const sptr<IDrawingContentChangedListener>& listener); 100 WMError UnregisterDrawingContentChangedListener(const sptr<IDrawingContentChangedListener>& listener); 107 WMError RegisterWindowModeChangedListener(const sptr<IWindowModeChangedListener>& listener); 114 WMError UnregisterWindowModeChangedListener(const sptr<IWindowModeChangedListener>& listener); 122 WMError RegisterCameraWindowChangedListene [all...] |
/foundation/window/window_manager/previewer/include/ |
H A D | window.h | 69 virtual WMError OnSetSpecificBarProperty(WindowType type, const SystemBarProperty& property) = 0; 120 static WMError DefaultCreateErrCode = WMError::WM_OK; 125 WMError& errCode = DefaultCreateErrCode); 143 virtual WMError SetFocusable(bool isFocusable) = 0; 145 virtual WMError SetTouchable(bool isTouchable) = 0; 150 virtual WMError SetWindowMode(WindowMode mode) = 0; 151 virtual WMError SetWindowType(WindowType type) = 0; 152 virtual WMError SetAlpha(float alpha) = 0; 153 virtual WMError SetTransfor [all...] |
H A D | window_impl.h | 69 virtual WMError SetFocusable(bool isFocusable) override; 71 virtual WMError SetTouchable(bool isTouchable) override; 82 virtual WMError SetWindowType(WindowType type) override; 83 virtual WMError SetWindowMode(WindowMode mode) override; 84 virtual WMError SetAlpha(float alpha) override; 85 virtual WMError SetTransform(const Transform& trans) override; 86 virtual WMError AddWindowFlag(WindowFlag flag) override; 87 virtual WMError RemoveWindowFlag(WindowFlag flag) override; 88 virtual WMError SetWindowFlags(uint32_t flags) override; 89 virtual WMError SetSystemBarPropert [all...] |
/foundation/window/window_manager/wm/src/ |
H A D | window_agent.cpp | 31 WMError WindowAgent::UpdateWindowRect(const struct Rect& rect, bool decoStatus, WindowSizeChangeReason reason, in UpdateWindowRect() 36 return WMError::WM_ERROR_NULLPTR; in UpdateWindowRect() 39 return WMError::WM_OK; in UpdateWindowRect() 42 WMError WindowAgent::UpdateWindowMode(WindowMode mode) in UpdateWindowMode() 46 return WMError::WM_ERROR_NULLPTR; in UpdateWindowMode() 49 return WMError::WM_OK; in UpdateWindowMode() 52 WMError WindowAgent::UpdateWindowModeSupportInfo(uint32_t modeSupportInfo) in UpdateWindowModeSupportInfo() 56 return WMError::WM_ERROR_NULLPTR; in UpdateWindowModeSupportInfo() 59 return WMError::WM_OK; in UpdateWindowModeSupportInfo() 62 WMError WindowAgen [all...] |
H A D | window_adapter.cpp | 69 WMError WindowAdapter::CreateWindow(sptr<IWindow>& window, sptr<WindowProperty>& windowProperty, in CreateWindow() 72 INIT_PROXY_CHECK_RETURN(WMError::WM_ERROR_SAMGR); in CreateWindow() 75 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR); in CreateWindow() 79 WMError WindowAdapter::AddWindow(sptr<WindowProperty>& windowProperty) in AddWindow() 81 INIT_PROXY_CHECK_RETURN(WMError::WM_ERROR_SAMGR); in AddWindow() 84 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR); in AddWindow() 88 WMError WindowAdapter::RemoveWindow(uint32_t windowId, bool isFromInnerkits) in RemoveWindow() 90 INIT_PROXY_CHECK_RETURN(WMError::WM_ERROR_SAMGR); in RemoveWindow() 93 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR); in RemoveWindow() 97 WMError WindowAdapte [all...] |
H A D | window_adapter_lite.cpp | 54 WMError WindowAdapterLite::RegisterWindowManagerAgent(WindowManagerAgentType type, in RegisterWindowManagerAgent() 57 INIT_PROXY_CHECK_RETURN(WMError::WM_ERROR_SAMGR); in RegisterWindowManagerAgent() 60 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR); in RegisterWindowManagerAgent() 73 WMError WindowAdapterLite::UnregisterWindowManagerAgent(WindowManagerAgentType type, in UnregisterWindowManagerAgent() 76 INIT_PROXY_CHECK_RETURN(WMError::WM_ERROR_SAMGR); in UnregisterWindowManagerAgent() 79 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError::WM_ERROR_SAMGR); in UnregisterWindowManagerAgent() 108 if (wmsProxy->RegisterWindowManagerAgent(it.first, agent) != WMError::WM_OK) { in ReregisterWindowManagerLiteAgent() 115 WMError WindowAdapterLite::CheckWindowId(int32_t windowId, int32_t& pid) in CheckWindowId() 117 INIT_PROXY_CHECK_RETURN(WMError::WM_ERROR_SAMGR); in CheckWindowId() 120 CHECK_PROXY_RETURN_ERROR_IF_NULL(wmsProxy, WMError in CheckWindowId() [all...] |
/foundation/window/window_manager/utils/src/ |
H A D | wm_common.cpp | 19 const std::map<WMError, WmErrorCode> WM_JS_TO_ERROR_CODE_MAP { 20 {WMError::WM_OK, WmErrorCode::WM_OK }, 21 {WMError::WM_DO_NOTHING, WmErrorCode::WM_ERROR_STATE_ABNORMALLY }, 22 {WMError::WM_ERROR_DESTROYED_OBJECT, WmErrorCode::WM_ERROR_STATE_ABNORMALLY }, 23 {WMError::WM_ERROR_DEVICE_NOT_SUPPORT, WmErrorCode::WM_ERROR_DEVICE_NOT_SUPPORT }, 24 {WMError::WM_ERROR_INVALID_OPERATION, WmErrorCode::WM_ERROR_STATE_ABNORMALLY }, 25 {WMError::WM_ERROR_INVALID_PARAM, WmErrorCode::WM_ERROR_INVALID_PARAM }, 26 {WMError::WM_ERROR_INVALID_PERMISSION, WmErrorCode::WM_ERROR_NO_PERMISSION }, 27 {WMError::WM_ERROR_NOT_SYSTEM_APP, WmErrorCode::WM_ERROR_NOT_SYSTEM_APP }, 28 {WMError [all...] |
/foundation/window/window_manager/previewer/src/ |
H A D | window_impl.cpp | 159 WMError WindowImpl::SetFocusable(bool isFocusable) in SetFocusable() 161 return WMError::WM_OK; in SetFocusable() 169 WMError WindowImpl::SetTouchable(bool isTouchable) in SetTouchable() 171 return WMError::WM_OK; in SetTouchable() 219 WMError WindowImpl::GetAvoidAreaByType(AvoidAreaType type, AvoidArea& avoidArea) in GetAvoidAreaByType() 224 return WMError::WM_OK; in GetAvoidAreaByType() 228 return WMError::WM_OK; in GetAvoidAreaByType() 231 WMError WindowImpl::SetWindowType(WindowType type) in SetWindowType() 233 return WMError::WM_OK; in SetWindowType() 236 WMError WindowImp [all...] |
/foundation/window/window_manager/wm/src/zidl/ |
H A D | window_proxy.cpp | 30 WMError WindowProxy::UpdateWindowRect(const struct Rect& rect, bool decoStatus, WindowSizeChangeReason reason, in UpdateWindowRect() 38 return WMError::WM_ERROR_IPC_FAILED; in UpdateWindowRect() 43 return WMError::WM_ERROR_IPC_FAILED; in UpdateWindowRect() 47 return WMError::WM_ERROR_IPC_FAILED; in UpdateWindowRect() 51 return WMError::WM_ERROR_IPC_FAILED; in UpdateWindowRect() 57 return WMError::WM_ERROR_IPC_FAILED; in UpdateWindowRect() 62 return WMError::WM_ERROR_IPC_FAILED; in UpdateWindowRect() 69 return WMError::WM_ERROR_IPC_FAILED; in UpdateWindowRect() 74 return WMError::WM_ERROR_IPC_FAILED; in UpdateWindowRect() 76 return WMError in UpdateWindowRect() [all...] |
/foundation/window/window_manager/wm/include/ |
H A D | window_scene_session_impl.h | 28 WMError Create(const std::shared_ptr<AbilityRuntime::Context>& context, 30 WMError Show(uint32_t reason = 0, bool withAnimation = false, bool withFocus = true) override; 31 WMError Hide(uint32_t reason, bool withAnimation, bool isFromInnerkits) override; 32 WMError Destroy(bool needNotifyServer, bool needClearListener = true) override; 33 WMError NotifyDrawingCompleted() override; 34 WMError SetTextFieldAvoidInfo(double textFieldPositionY, double textFieldHeight) override; 37 WMError DisableAppWindowDecor() override; 39 WMError Minimize() override; 40 WMError MaximizeFloating() override; 41 WMError Maximiz [all...] |
H A D | window_agent.h | 30 WMError UpdateWindowRect(const struct Rect& rect, bool decoStatus, WindowSizeChangeReason reason, 32 WMError UpdateWindowMode(WindowMode mode) override; 33 WMError UpdateWindowModeSupportInfo(uint32_t modeSupportInfo) override; 34 WMError UpdateFocusStatus(bool focused) override; 35 WMError UpdateAvoidArea(const sptr<AvoidArea>& avoidArea, AvoidAreaType type) override; 36 WMError UpdateWindowState(WindowState state) override; 37 WMError UpdateWindowDragInfo(const PointInfo& point, DragEvent event) override; 38 WMError UpdateDisplayId(DisplayId from, DisplayId to) override; 39 WMError UpdateOccupiedAreaChangeInfo(const sptr<OccupiedAreaChangeInfo>& info, 41 WMError UpdateOccupiedAreaAndRec [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_proxy_test.cpp | 63 WMError err = windowProxy_->UpdateWindowRect(Rect {0, 0, 0, 0}, false, WindowSizeChangeReason::HIDE); in HWTEST_F() 64 ASSERT_EQ(err, WMError::WM_OK); in HWTEST_F() 74 WMError err = windowProxy_->UpdateWindowMode(WindowMode::WINDOW_MODE_FLOATING); in HWTEST_F() 75 ASSERT_EQ(err, WMError::WM_OK); in HWTEST_F() 85 WMError err = windowProxy_->UpdateWindowModeSupportInfo(WindowModeSupport::WINDOW_MODE_SUPPORT_SPLIT_PRIMARY); in HWTEST_F() 86 ASSERT_EQ(err, WMError::WM_OK); in HWTEST_F() 96 WMError err = windowProxy_->UpdateFocusStatus(false); in HWTEST_F() 97 ASSERT_EQ(err, WMError::WM_OK); in HWTEST_F() 108 WMError err = windowProxy_->UpdateAvoidArea(avoidArea, AvoidAreaType::TYPE_SYSTEM); in HWTEST_F() 109 ASSERT_EQ(err, WMError in HWTEST_F() [all...] |
H A D | window_scene_effect_test.cpp | 80 ASSERT_EQ(WMError::WM_OK, window->SetCornerRadius(0.0)); in HWTEST_F() 81 ASSERT_EQ(WMError::WM_OK, window->SetCornerRadius(16.0)); in HWTEST_F() 82 ASSERT_EQ(WMError::WM_OK, window->SetCornerRadius(1000.0)); in HWTEST_F() 83 ASSERT_EQ(WMError::WM_OK, window->SetCornerRadius(-1.0)); in HWTEST_F() 85 ASSERT_EQ(WMError::WM_OK, window->Destroy(true)); in HWTEST_F() 98 ASSERT_EQ(WMError::WM_OK, window->SetShadowRadius(0.0)); in HWTEST_F() 99 ASSERT_EQ(WMError::WM_OK, window->SetShadowRadius(16.0)); in HWTEST_F() 100 ASSERT_EQ(WMError::WM_OK, window->SetShadowRadius(1000.0)); in HWTEST_F() 101 ASSERT_EQ(WMError::WM_ERROR_INVALID_PARAM, window->SetShadowRadius(-1.0)); in HWTEST_F() 103 ASSERT_EQ(WMError in HWTEST_F() [all...] |
H A D | window_impl_test2.cpp | 78 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in CreateStretchableWindow() 79 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in CreateStretchableWindow() 80 ASSERT_EQ(WMError::WM_OK, window->Create(INVALID_WINDOW_ID)); in CreateStretchableWindow() 82 EXPECT_CALL(m->Mock(), AddWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK)); in CreateStretchableWindow() 83 ASSERT_EQ(WMError::WM_OK, window->Show()); in CreateStretchableWindow() 101 ASSERT_EQ(WMError::WM_ERROR_INVALID_WINDOW, window->RequestFocus()); in HWTEST_F() 104 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK)); in HWTEST_F() 105 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK)); in HWTEST_F() 106 ASSERT_EQ(WMError::WM_OK, window->Create(INVALID_WINDOW_ID)); in HWTEST_F() 108 EXPECT_CALL(m->Mock(), RequestFocus(_)).WillOnce(Return(WMError in HWTEST_F() [all...] |
H A D | window_impl_test.cpp | 73 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK));
in CreateStretchableWindow() 74 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK));
in CreateStretchableWindow() 75 ASSERT_EQ(WMError::WM_OK, window->Create(INVALID_WINDOW_ID));
in CreateStretchableWindow() 77 EXPECT_CALL(m->Mock(), AddWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK));
in CreateStretchableWindow() 78 ASSERT_EQ(WMError::WM_OK, window->Show());
in CreateStretchableWindow() 96 EXPECT_CALL(m->Mock(), GetSystemConfig(_)).WillOnce(Return(WMError::WM_OK));
in HWTEST_F() 97 EXPECT_CALL(m->Mock(), CreateWindow(_, _, _, _, _)).Times(1).WillOnce(Return(WMError::WM_OK));
in HWTEST_F() 98 ASSERT_EQ(WMError::WM_OK, window->Create(INVALID_WINDOW_ID));
in HWTEST_F() 100 EXPECT_CALL(m->Mock(), DestroyWindow(_)).Times(1).WillOnce(Return(WMError::WM_OK));
in HWTEST_F() 101 ASSERT_EQ(WMError in HWTEST_F() [all...] |
/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
H A D | scene_session_manager_interface.h | 159 virtual WMError GetSessionSnapshotById(int32_t persistentId, SessionSnapshot& snapshot) in GetSessionSnapshotById() 161 return WMError::WM_OK; in GetSessionSnapshotById() 172 WMError CreateWindow(sptr<IWindow>& window, sptr<WindowProperty>& property, 174 uint32_t& windowId, sptr<IRemoteObject> token) override { return WMError::WM_OK; } 175 WMError AddWindow(sptr<WindowProperty>& property) override { return WMError::WM_OK; } 176 WMError RemoveWindow(uint32_t windowId, bool isFromInnerkits) override { return WMError::WM_OK; } 177 WMError DestroyWindow(uint32_t windowId, bool onlySelf = false) override { return WMError [all...] |
/foundation/window/window_manager/test/common/mock/ |
H A D | mock_IWindow.h | 31 MOCK_METHOD4(UpdateWindowRect, WMError(const struct Rect& rect, bool decoStatus, WindowSizeChangeReason reason, 33 MOCK_METHOD1(UpdateWindowMode, WMError(WindowMode mode)); 34 MOCK_METHOD1(UpdateWindowModeSupportInfo, WMError(uint32_t modeSupportInfo)); 35 MOCK_METHOD1(UpdateFocusStatus, WMError(bool focused)); 36 MOCK_METHOD2(UpdateAvoidArea, WMError(const sptr<AvoidArea>& avoidArea, AvoidAreaType type)); 37 MOCK_METHOD1(UpdateWindowState, WMError(WindowState state)); 38 MOCK_METHOD2(UpdateWindowDragInfo, WMError(const PointInfo& point, DragEvent event)); 39 MOCK_METHOD2(UpdateDisplayId, WMError(DisplayId from, DisplayId to)); 40 MOCK_METHOD2(UpdateOccupiedAreaChangeInfo, WMError(const sptr<OccupiedAreaChangeInfo>& info, 42 MOCK_METHOD3(UpdateOccupiedAreaAndRect, WMError(cons [all...] |
H A D | mock_window_adapter.h | 26 MOCK_METHOD5(CreateWindow, WMError(sptr<IWindow>& window, sptr<WindowProperty>& windowProperty,
28 MOCK_METHOD1(AddWindow, WMError(sptr<WindowProperty>& windowProperty));
29 MOCK_METHOD2(RemoveWindow, WMError(uint32_t windowId, bool isFromInnerkits));
31 MOCK_METHOD1(DestroyWindow, WMError(uint32_t windowId));
32 MOCK_METHOD2(UpdateProperty, WMError(sptr<WindowProperty>& windowProperty, PropertyChangeAction action));
33 MOCK_METHOD2(GetTopWindowId, WMError(uint32_t mainWinId, uint32_t& topWinId));
34 MOCK_METHOD3(GetAvoidAreaByType, WMError(uint32_t windowId, AvoidAreaType type, AvoidArea& avoidArea));
35 MOCK_METHOD2(BindDialogTarget, WMError(uint32_t& windowId, sptr<IRemoteObject> targetToken));
36 MOCK_METHOD2(UpdateRsTree, WMError(uint32_t windowId, bool isAdd));
37 MOCK_METHOD1(MinimizeAllAppWindows, WMError(DisplayI [all...] |
/foundation/window/window_manager/wmserver/src/zidl/ |
H A D | window_manager_proxy.cpp | 32 WMError WindowManagerProxy::CreateWindow(sptr<IWindow>& window, sptr<WindowProperty>& property, in CreateWindow() 40 return WMError::WM_ERROR_IPC_FAILED; in CreateWindow() 45 return WMError::WM_ERROR_IPC_FAILED; in CreateWindow() 50 return WMError::WM_ERROR_IPC_FAILED; in CreateWindow() 55 return WMError::WM_ERROR_IPC_FAILED; in CreateWindow() 60 return WMError::WM_ERROR_IPC_FAILED; in CreateWindow() 67 return WMError::WM_ERROR_IPC_FAILED; in CreateWindow() 71 return WMError::WM_ERROR_IPC_FAILED; in CreateWindow() 77 return static_cast<WMError>(ret); in CreateWindow() 80 WMError WindowManagerProx [all...] |