/foundation/window/window_manager/utils/src/ |
H A D | wm_common.cpp | 21 {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 D | window_ffi.cpp | 26 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 D | window_stage_impl.cpp | 53 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 D | window_impl.cpp | 99 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 D | window_manager_impl.cpp | 134 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 D | window_register_manager.cpp | 109 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 D | js_extension_window_register_manager.cpp | 52 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 D | js_extension_window.cpp | 446 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 D | js_window_register_manager.cpp | 46 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 D | js_window_register_manager.cpp | 78 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 D | js_window.cpp | 1072 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 D | js_transition_controller.cpp | 82 return NapiThrowError(env, WmErrorCode::WM_ERROR_STATE_ABNORMALLY); in OnCompleteTransition()
|
H A D | js_window_utils.cpp | 355 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 D | js_window_stage.cpp | 198 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 D | wm_common.h | 208 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 D | js_embeddable_window_stage.cpp | 147 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 D | js_window_manager.cpp | 159 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 D | js_window_manager.cpp | 328 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 D | js_window_extension_context.cpp | 130 static_cast<int32_t>(WmErrorCode::WM_ERROR_STATE_ABNORMALLY))); in OnStartAbility()
|
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/ |
H A D | js_pip_controller.cpp | 147 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 D | js_err_utils.cpp | 119 {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 D | wm_common.h | 238 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 D | js_scene_session_manager.cpp | 2371 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 D | window_impl.cpp | 3545 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UpdateWindowStateWhenShow() 3577 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in UpdateWindowStateWhenHide()
|
H A D | window_scene_session_impl.cpp | 2423 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in StartMoveSystemWindow() 3380 return WmErrorCode::WM_ERROR_STATE_ABNORMALLY; in KeepKeyboardOnFocus()
|