/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_session_manager.cpp | 1626 errCode = WSErrorCode::WS_ERROR_INVALID_PARAM; in OnRequestSceneSession() 1641 if (errCode == WSErrorCode::WS_ERROR_INVALID_PARAM) { in OnRequestSceneSession() 1679 errCode = WSErrorCode::WS_ERROR_INVALID_PARAM; in OnUpdateSceneSessionWant() 1697 if (errCode == WSErrorCode::WS_ERROR_INVALID_PARAM) { in OnUpdateSceneSessionWant() 1759 errCode = WSErrorCode::WS_ERROR_INVALID_PARAM; in OnRequestSceneSessionBackground() 1787 if (errCode == WSErrorCode::WS_ERROR_INVALID_PARAM) { in OnRequestSceneSessionBackground() 1826 errCode = WSErrorCode::WS_ERROR_INVALID_PARAM; in OnRequestSceneSessionDestruction() 2007 errCode = WSErrorCode::WS_ERROR_INVALID_PARAM; in OnRequestSceneSessionByCall() 2054 errCode = WSErrorCode::WS_ERROR_INVALID_PARAM; in OnStartAbilityBySpecified() 2095 errCode = WSErrorCode::WS_ERROR_INVALID_PARAM; in OnStartUIAbilityBySCB() [all …]
|
H A D | js_scene_session.cpp | 2315 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnSetPrivacyMode() 2322 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnSetPrivacyMode() 2344 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnSetSystemSceneOcclusionAlpha() 2351 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnSetSystemSceneOcclusionAlpha() 2372 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnSetSystemSceneForceUIFirst() 2379 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnSetSystemSceneForceUIFirst() 2400 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnMarkSystemSceneUIFirst() 2407 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnMarkSystemSceneUIFirst() 2414 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnMarkSystemSceneUIFirst() 4016 napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnSetSystemActive() [all …]
|
H A D | js_root_scene_session.cpp | 93 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnRegisterCallback() 100 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnRegisterCallback() 107 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnRegisterCallback() 117 … env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), "Root scene session is null!")); in OnRegisterCallback() 145 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnLoadContent() 154 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnLoadContent()
|
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/ |
H A D | js_screen_session_manager.cpp | 416 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnUpdateScreenRotationProperty() 423 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnUpdateScreenRotationProperty() 469 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnNotifyScreenLockEvent() 476 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnNotifyScreenLockEvent() 501 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnGetPhyScreenProperty() 508 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnGetPhyScreenProperty() 524 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnUpdateAvailableArea() 531 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnUpdateAvailableArea() 558 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnSetScreenOffDelayTime() 566 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnSetScreenOffDelayTime() [all …]
|
H A D | js_screen_session.cpp | 126 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnLoadContent() 135 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM), in OnLoadContent() 303 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM))); in OnRegisterCallback() 310 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM))); in OnRegisterCallback() 317 … napi_throw(env, CreateJsError(env, static_cast<int32_t>(WSErrorCode::WS_ERROR_INVALID_PARAM))); in OnRegisterCallback()
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
H A D | scene_session_manager_lite_proxy.cpp | 198 return WSError::WS_ERROR_INVALID_PARAM; in RegisterSessionListener() 227 return WSError::WS_ERROR_INVALID_PARAM; in UnRegisterSessionListener() 520 return WSError::WS_ERROR_INVALID_PARAM; in GetSessionSnapshot() 528 return WSError::WS_ERROR_INVALID_PARAM; in GetSessionSnapshot() 533 return WSError::WS_ERROR_INVALID_PARAM; in GetSessionSnapshot() 563 return WSError::WS_ERROR_INVALID_PARAM; in SetSessionContinueState() 596 return WSError::WS_ERROR_INVALID_PARAM; in LockSession() 600 return WSError::WS_ERROR_INVALID_PARAM; in LockSession() 624 return WSError::WS_ERROR_INVALID_PARAM; in UnlockSession() 628 return WSError::WS_ERROR_INVALID_PARAM; in UnlockSession() [all …]
|
H A D | scene_session_manager_proxy.cpp | 874 return WSError::WS_ERROR_INVALID_PARAM; in RegisterSessionListener() 902 return WSError::WS_ERROR_INVALID_PARAM; in UnRegisterSessionListener() 1250 return WSError::WS_ERROR_INVALID_PARAM; in GetSessionDumpInfo() 1285 return WSError::WS_ERROR_INVALID_PARAM; in GetSessionSnapshot() 1293 return WSError::WS_ERROR_INVALID_PARAM; in GetSessionSnapshot() 1298 return WSError::WS_ERROR_INVALID_PARAM; in GetSessionSnapshot() 1327 return WSError::WS_ERROR_INVALID_PARAM; in GetUIContentRemoteObj() 1331 return WSError::WS_ERROR_INVALID_PARAM; in GetUIContentRemoteObj() 1361 return WSError::WS_ERROR_INVALID_PARAM; in SetSessionContinueState() 1434 return WSError::WS_ERROR_INVALID_PARAM; in LockSession() [all …]
|
H A D | scene_session_manager_lite_stub.cpp | 211 reply.WriteInt32(static_cast<int32_t>(WSError::WS_ERROR_INVALID_PARAM)); in HandleRegisterSessionListener() 224 reply.WriteInt32(static_cast<int32_t>(WSError::WS_ERROR_INVALID_PARAM)); in HandleUnRegisterSessionListener()
|
H A D | scene_session_manager_stub.cpp | 448 reply.WriteInt32(static_cast<int32_t>(WSError::WS_ERROR_INVALID_PARAM)); in HandleRegisterSessionListener() 462 reply.WriteInt32(static_cast<int32_t>(WSError::WS_ERROR_INVALID_PARAM)); in HandleUnRegisterSessionListener()
|
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | sub_session_lifecycle_test.cpp | 112 ASSERT_EQ(result, WSError::WS_ERROR_INVALID_PARAM); 116 ASSERT_EQ(result, WSError::WS_ERROR_INVALID_PARAM); 132 ASSERT_EQ(result, WSError::WS_ERROR_INVALID_PARAM);
|
H A D | system_session_lifecycle_test.cpp | 152 ASSERT_EQ(result, WSError::WS_ERROR_INVALID_PARAM); 168 ASSERT_EQ(result, WSError::WS_ERROR_INVALID_PARAM);
|
H A D | scene_session_manager_test2.cpp | 1451 ASSERT_EQ(result02, WSError::WS_ERROR_INVALID_PARAM); 1452 ASSERT_EQ(result01, WSError::WS_ERROR_INVALID_PARAM); 1624 ASSERT_EQ(WSError::WS_ERROR_INVALID_PARAM, ret); 1628 ASSERT_EQ(WSError::WS_ERROR_INVALID_PARAM, ret); 1632 ASSERT_EQ(WSError::WS_ERROR_INVALID_PARAM, ret); 1636 ASSERT_EQ(WSError::WS_ERROR_INVALID_PARAM, ret);
|
H A D | session_listener_controller_test.cpp | 158 ASSERT_EQ(res, WSError::WS_ERROR_INVALID_PARAM);
|
H A D | scene_session_manager_proxy_test.cpp | 756 …ASSERT_EQ(WSError::WS_ERROR_INVALID_PARAM, sceneSessionManagerProxy_->RegisterSessionListener(list… 773 …ASSERT_EQ(WSError::WS_ERROR_INVALID_PARAM, sceneSessionManagerProxy_->UnRegisterSessionListener(li… 903 …ASSERT_EQ(WSError::WS_ERROR_INVALID_PARAM, sceneSessionManagerProxy_->RegisterIAbilityManagerColla…
|
H A D | scene_session_manager_test5.cpp | 1087 ASSERT_EQ(ret, WSError::WS_ERROR_INVALID_PARAM); 1104 ASSERT_EQ(ret, WSError::WS_ERROR_INVALID_PARAM); 1121 ASSERT_EQ(ret, WSError::WS_ERROR_INVALID_PARAM);
|
H A D | scene_session_manager_lifecycle_test.cpp | 210 ASSERT_EQ(WSError::WS_ERROR_INVALID_PARAM, ret); 218 ASSERT_EQ(WSError::WS_ERROR_INVALID_PARAM, ret);
|
H A D | scene_session_test2.cpp | 208 ASSERT_EQ(result, WSError::WS_ERROR_INVALID_PARAM); 211 ASSERT_EQ(result, WSError::WS_ERROR_INVALID_PARAM); 214 ASSERT_EQ(result, WSError::WS_ERROR_INVALID_PARAM);
|
H A D | scene_session_lifecycle_test.cpp | 914 ASSERT_EQ(res, WSError::WS_ERROR_INVALID_PARAM); 930 ASSERT_EQ(res, WSError::WS_ERROR_INVALID_PARAM);
|
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/include/ |
H A D | ws_common.h | 74 WS_ERROR_INVALID_PARAM, enumerator 93 WS_ERROR_INVALID_PARAM = 401, enumerator 111 { WSError::WS_ERROR_INVALID_PARAM, WSErrorCode::WS_ERROR_STATE_ABNORMALLY },
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_session_manager.cpp | 4599 return WSError::WS_ERROR_INVALID_PARAM; in GetSpecifiedSessionDumpInfo() 4603 return WSError::WS_ERROR_INVALID_PARAM; in GetSpecifiedSessionDumpInfo() 5639 return WSError::WS_ERROR_INVALID_PARAM; in SendTouchEvent() 6619 return WSError::WS_ERROR_INVALID_PARAM; in GetMainWindowStatesByPid() 6884 return WSError::WS_ERROR_INVALID_PARAM; in GetAllAbilityInfos() 6898 return WSError::WS_ERROR_INVALID_PARAM; in GetBatchAbilityInfos() 6910 return WSError::WS_ERROR_INVALID_PARAM; in GetBatchAbilityInfos() 6931 return WSError::WS_ERROR_INVALID_PARAM; in GetAbilityInfo() 6936 return WSError::WS_ERROR_INVALID_PARAM; in GetAbilityInfo() 6952 return WSError::WS_ERROR_INVALID_PARAM; in GetAbilityInfo() [all …]
|
H A D | session_listener_controller.cpp | 44 return WSError::WS_ERROR_INVALID_PARAM; in AddSessionListener()
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | scene_session.cpp | 178 ret = WSError::WS_ERROR_INVALID_PARAM; in ReconnectInner() 195 ret = WSError::WS_ERROR_INVALID_PARAM; in ReconnectInner() 894 return WSError::WS_ERROR_INVALID_PARAM; in CheckAspectRatioValid() 898 return WSError::WS_ERROR_INVALID_PARAM; in CheckAspectRatioValid() 906 return WSError::WS_ERROR_INVALID_PARAM; in CheckAspectRatioValid() 911 return WSError::WS_ERROR_INVALID_PARAM; in CheckAspectRatioValid() 917 return WSError::WS_ERROR_INVALID_PARAM; in CheckAspectRatioValid() 921 return WSError::WS_ERROR_INVALID_PARAM; in CheckAspectRatioValid() 994 return WSError::WS_ERROR_INVALID_PARAM; in UpdateRect() 2144 return WSError::WS_ERROR_INVALID_PARAM; in HandleEnterWinwdowArea() [all …]
|
H A D | extension_session.cpp | 157 return WSError::WS_ERROR_INVALID_PARAM; in ConnectInner()
|
/ohos5.0/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_scene_session_impl_test3.cpp | 191 EXPECT_EQ(WSError::WS_ERROR_INVALID_PARAM, ret); 193 EXPECT_EQ(WSError::WS_ERROR_INVALID_PARAM, ret); 1487 EXPECT_EQ(WSError::WS_ERROR_INVALID_PARAM, ret);
|
H A D | window_extension_session_impl_test.cpp | 1436 …_EQ(window_->NotifyDensityFollowHost(isFollowHost, densityValue), WSError::WS_ERROR_INVALID_PARAM); 1438 …_EQ(window_->NotifyDensityFollowHost(isFollowHost, densityValue), WSError::WS_ERROR_INVALID_PARAM);
|