Home
last modified time | relevance | path

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

/foundation/window/window_manager/utils/src/
H A Dwm_common.cpp21 {WMError::WM_DO_NOTHING, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
22 {WMError::WM_ERROR_DESTROYED_OBJECT, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
24 {WMError::WM_ERROR_INVALID_OPERATION, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
28 {WMError::WM_ERROR_INVALID_TYPE, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
29 {WMError::WM_ERROR_INVALID_WINDOW, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
30 {WMError::WM_ERROR_INVALID_WINDOW_MODE_OR_SIZE, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
38 {WMError::WM_ERROR_NULLPTR, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
47 {WMError::WM_ERROR_INVALID_SESSION, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/
H A Dwindow_ffi.cpp26 const int32_t WM_ERROR_STATE_ABNORMALLY = 1300002; variable
78 return WM_ERROR_STATE_ABNORMALLY; in FfiOHOSWindowHide()
91 return WM_ERROR_STATE_ABNORMALLY; in FfiOHOSWindowHideWithAnimation()
104 return WM_ERROR_STATE_ABNORMALLY; in FfiOHOSWindowShowWindow()
117 return WM_ERROR_STATE_ABNORMALLY; in FfiOHOSWindowShowWithAnimation()
130 return WM_ERROR_STATE_ABNORMALLY; in FfiOHOSWindowDestroyWindow()
143 return WM_ERROR_STATE_ABNORMALLY; in FfiOHOSWindowMoveWindowTo()
156 return WM_ERROR_STATE_ABNORMALLY; in FfiOHOSWindowResize()
169 return WM_ERROR_STATE_ABNORMALLY; in FfiOHOSWindowSetWindowMode()
183 *errCode = WM_ERROR_STATE_ABNORMALLY; in FfiOHOSWindowGetWindowProperties()
[all...]
H A Dwindow_stage_impl.cpp53 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in GetMainWindow()
58 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in GetMainWindow()
63 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in GetMainWindow()
74 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in CreateSubWindow()
79 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in CreateSubWindow()
86 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in CreateSubWindow()
91 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in CreateSubWindow()
100 RetStruct ret = {.code = static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY), .len = 0, .data = nullptr}; in GetSubWindow()
104 ret.code = static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in GetSubWindow()
123 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in OnLoadContent()
[all...]
H A Dwindow_impl.cpp99 result.ret = static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in CheckWindow()
128 errCode = WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in HideWithAnimation()
148 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in ShowWindow()
160 errCode = WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ShowWithAnimation()
225 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in SetWindowMode()
243 *errCode = static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in GetWindowProperties()
299 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in SetWindowBackgroundColor()
326 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in SetBackdropBlurStyle()
352 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in SetPreferredOrientation()
398 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in GetWindowAvoidArea()
[all...]
H A Dwindow_manager_impl.cpp134 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in FindWindow()
138 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in FindWindow()
152 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in GetLastWindow()
158 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in GetLastWindow()
163 return static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in GetLastWindow()
H A Dwindow_register_manager.cpp109 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessLifeCycleEventRegister()
126 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessOccupiedAreaChangeRegister()
202 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in RegisterListener()
206 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in RegisterListener()
210 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in RegisterListener()
215 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in RegisterListener()
235 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UnregisterListener()
239 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UnregisterListener()
254 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UnregisterListener()
/foundation/window/window_manager/interfaces/kits/napi/extension_window/
H A Djs_extension_window_register_manager.cpp52 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessWindowChangeRegister()
69 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessAvoidAreaChangeRegister()
86 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessLifeCycleEventRegister()
121 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in RegisterListener()
125 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in RegisterListener()
134 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in RegisterListener()
154 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UnregisterListener()
158 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UnregisterListener()
189 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UnregisterListener()
H A Djs_extension_window.cpp446 return NapiThrowError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in OnGetWindowPropertiesSync()
454 return NapiThrowError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in OnGetWindowPropertiesSync()
470 CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnDestroyWindow()
477 CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnDestroyWindow()
508 return NapiThrowError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in OnIsWindowShowingSync()
523 static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnShowWindow()
529 static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnShowWindow()
587 CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnSetUIContent()
641 task.Reject(env, CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnLoadContent()
700 return NapiThrowError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in OnGetWindowAvoidArea()
[all...]
/foundation/window/window_manager/previewer/mock/
H A Djs_window_register_manager.cpp46 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessSystemAvoidAreaChangeRegister()
50 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessSystemAvoidAreaChangeRegister()
68 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessAvoidAreaChangeRegister()
90 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in RegisterListener()
95 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in RegisterListener()
104 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in RegisterListener()
147 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UnregisterListener()
152 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UnregisterListener()
185 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UnregisterListener()
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_window_register_manager.cpp78 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessWindowChangeRegister()
95 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessSystemAvoidAreaChangeRegister()
99 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessSystemAvoidAreaChangeRegister()
117 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessAvoidAreaChangeRegister()
134 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessLifeCycleEventRegister()
151 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessOccupiedAreaChangeRegister()
212 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessTouchOutsideRegister()
229 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessWindowVisibilityChangeRegister()
245 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessWindowNoInteractionRegister()
278 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in ProcessScreenshotRegister()
[all...]
H A Djs_window.cpp1072 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnShowWindow()
1113 errCode = WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in OnShowWithAnimation()
1133 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnShowWithAnimation()
1214 JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnDestroyWindow()
1266 JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in HideWindowFunction()
1309 errCode = WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in OnHideWithAnimation()
1324 JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnHideWithAnimation()
1356 JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnRecover()
1388 JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnRestore()
1500 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnMoveWindowTo()
[all...]
H A Djs_transition_controller.cpp82 return NapiThrowError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in OnCompleteTransition()
H A Djs_window_utils.cpp355 napi_set_named_property(env, objValue, "WM_ERROR_STATE_ABNORMALLY", CreateJsValue(env, in WindowErrorCodeInit()
356 static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in WindowErrorCodeInit()
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_stage_napi/
H A Djs_window_stage.cpp198 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY, in OnGetMainWindow()
224 napi_throw(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnGetMainWindowSync()
236 napi_throw(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnEvent()
265 napi_throw(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnEvent()
285 napi_throw(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OffEvent()
302 napi_throw(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OffEvent()
391 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnLoadContent()
462 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnCreateSubWindow()
471 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY, in OnCreateSubWindow()
508 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnGetSubWindow()
[all...]
/foundation/window/window_manager/previewer/include/
H A Dwm_common.h208 WM_ERROR_STATE_ABNORMALLY = 1300002, member in OHOS::Rosen::WindowType::WindowState::WmErrorCode
271 {WMError::WM_DO_NOTHING, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
272 {WMError::WM_ERROR_DESTROYED_OBJECT, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
274 {WMError::WM_ERROR_INVALID_OPERATION, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
278 {WMError::WM_ERROR_INVALID_TYPE, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
279 {WMError::WM_ERROR_INVALID_WINDOW, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
280 {WMError::WM_ERROR_INVALID_WINDOW_MODE_OR_SIZE, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
288 {WMError::WM_ERROR_NULLPTR, WmErrorCode::WM_ERROR_STATE_ABNORMALLY },
/foundation/window/window_manager/interfaces/kits/napi/embeddable_window_stage/
H A Djs_embeddable_window_stage.cpp147 static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY), in OnGetMainWindow()
166 napi_throw(env, CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnGetMainWindowSync()
323 task.Reject(env, CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnLoadContent()
/foundation/window/window_manager/previewer/mock/window_manager_napi/
H A Djs_window_manager.cpp159 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY, in GetTopWindowTask()
168 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY, in GetTopWindowTask()
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_manager_napi/
H A Djs_window_manager.cpp328 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY, in CreateNewSubWindowTask()
340 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY, in CreateNewSubWindowTask()
369 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY, in CreateSubWindowTask()
598 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnGetSnapshot()
604 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnGetSnapshot()
702 napi_throw(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY)); in OnFindWindowSync()
870 lists->errorCode = newApi ? static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY) : in GetTopWindowTask()
879 lists->errorCode = newApi ? static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY) : in GetTopWindowTask()
890 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY, in GetTopWindowTask()
910 task.Reject(env, JsErrUtils::CreateJsError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY, in GetTopWindowTask()
[all...]
/foundation/window/window_manager/extension/window_extension/src/
H A Djs_window_extension_context.cpp130 static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnStartAbility()
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/
H A Djs_pip_controller.cpp147 task.Reject(env, CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY), in OnStopPictureInPicture()
356 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in RegisterListenerWithType()
/foundation/window/window_manager/interfaces/kits/napi/common/
H A Djs_err_utils.cpp119 {WmErrorCode::WM_ERROR_STATE_ABNORMALLY, WM_ERROR_CODE_MSG_STATE_ABNORMALLY }, member in OHOS::Rosen::WmErrorCode
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwm_common.h238 WM_ERROR_STATE_ABNORMALLY = 1300002, member in OHOS::Rosen::WindowType::WindowModeType::WmErrorCode
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_session_manager.cpp2371 napi_throw(env, CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnGetRootSceneUIContext()
2378 napi_throw(env, CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnGetRootSceneUIContext()
2384 napi_throw(env, CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnGetRootSceneUIContext()
2936 task.Reject(env, CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnGetSessionSnapshotPixelMap()
2949 task.Reject(env, CreateJsError(env, static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnGetSessionSnapshotPixelMap()
/foundation/window/window_manager/wm/src/
H A Dwindow_impl.cpp3545 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UpdateWindowStateWhenShow()
3577 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UpdateWindowStateWhenHide()
H A Dwindow_scene_session_impl.cpp2423 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in StartMoveSystemWindow()
3380 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in KeepKeyboardOnFocus()

Completed in 46 milliseconds