Home
last modified time | relevance | path

Searched refs:DM_ERROR_INVALID_PARAM (Results 1 – 21 of 21) sorted by relevance

/foundation/window/window_manager/dmserver/test/unittest/
Ddisplay_manager_service_test.cpp97 ASSERT_EQ(static_cast<int>(DMError::DM_ERROR_INVALID_PARAM), dms_->Dump(-1, args));
173 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->HasPrivateWindow(0, hasPrivateWindow));
242 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetVirtualScreenSurface(-1, nullptr));
271 …ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->GetScreenSupportedColorGamuts(SCREEN_ID_INVALID, …
272 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->GetScreenSupportedColorGamuts(0, colorGamuts));
275 …ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->GetScreenColorGamut(SCREEN_ID_INVALID, colorGamut…
276 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->GetScreenColorGamut(0, colorGamut));
279 …ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenColorGamut(SCREEN_ID_INVALID, colorGamut…
280 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenColorGamut(0, colorGamut));
282 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, dms_->SetScreenColorGamut(SCREEN_ID_INVALID, 0));
[all …]
Ddisplay_dumper_test.cpp81 ASSERT_EQ(ret, DMError::DM_ERROR_INVALID_PARAM);
Dabstract_screen_controller_test.cpp412 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, absController_->DestroyVirtualScreen(id));
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/
Djs_screen_manager.cpp284 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnRegisterScreenManagerCallback()
290 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnRegisterScreenManagerCallback()
296 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnRegisterScreenManagerCallback()
301 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnRegisterScreenManagerCallback()
318 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnUnregisterScreenManagerCallback()
324 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnUnregisterScreenManagerCallback()
353 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnMakeMirror()
359 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnMakeMirror()
364 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnMakeMirror()
373 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnMakeMirror()
[all …]
Djs_screen.cpp89 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnSetOrientation()
94 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnSetOrientation()
148 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnSetScreenActiveMode()
198 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnSetDensityDpi()
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
Djs_display_manager.cpp134 errCode = DMError::DM_ERROR_INVALID_PARAM; in OnGetDefaultDisplay()
182 errCode = DMError::DM_ERROR_INVALID_PARAM; in OnGetAllDisplay()
243 return DMError::DM_ERROR_INVALID_PARAM; in RegisterDisplayListenerWithType()
251 return DMError::DM_ERROR_INVALID_PARAM; in RegisterDisplayListenerWithType()
263 return DMError::DM_ERROR_INVALID_PARAM; in RegisterDisplayListenerWithType()
295 return DMError::DM_ERROR_INVALID_PARAM; in UnregisterAllDisplayListenerWithType()
320 return DMError::DM_ERROR_INVALID_PARAM; in UnRegisterDisplayListenerWithType()
335 ret = DMError::DM_ERROR_INVALID_PARAM; in UnRegisterDisplayListenerWithType()
355 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnRegisterDisplayManagerCallback()
360 … engine.Throw(CreateJsError(engine, static_cast<int32_t>(DmErrorCode::DM_ERROR_INVALID_PARAM))); in OnRegisterDisplayManagerCallback()
[all …]
/foundation/window/window_manager/previewer/include/
Ddm_common.h92 DM_ERROR_INVALID_PARAM = 130, enumerator
112 DM_ERROR_INVALID_PARAM = 401, enumerator
129 … {DMError::DM_ERROR_INVALID_PARAM, DmErrorCode::DM_ERROR_INVALID_PARAM },
/foundation/window/window_manager/interfaces/innerkits/dm/
Ddm_common.h86 DM_ERROR_INVALID_PARAM = 130, enumerator
106 DM_ERROR_INVALID_PARAM = 401, enumerator
123 … {DMError::DM_ERROR_INVALID_PARAM, DmErrorCode::DM_ERROR_INVALID_PARAM },
/foundation/window/window_manager/dmserver/src/
Ddisplay_manager_service.cpp164 return DMError::DM_ERROR_INVALID_PARAM; in HasPrivateWindow()
252 CHECK_SCREEN_AND_RETURN(screenId, DMError::DM_ERROR_INVALID_PARAM); in DestroyVirtualScreen()
261 CHECK_SCREEN_AND_RETURN(screenId, DMError::DM_ERROR_INVALID_PARAM); in SetVirtualScreenSurface()
279 return DMError::DM_ERROR_INVALID_PARAM; in SetOrientation()
317 CHECK_SCREEN_AND_RETURN(screenId, DMError::DM_ERROR_INVALID_PARAM); in GetScreenSupportedColorGamuts()
324 CHECK_SCREEN_AND_RETURN(screenId, DMError::DM_ERROR_INVALID_PARAM); in GetScreenColorGamut()
331 CHECK_SCREEN_AND_RETURN(screenId, DMError::DM_ERROR_INVALID_PARAM); in SetScreenColorGamut()
338 CHECK_SCREEN_AND_RETURN(screenId, DMError::DM_ERROR_INVALID_PARAM); in GetScreenGamutMap()
346 CHECK_SCREEN_AND_RETURN(screenId, DMError::DM_ERROR_INVALID_PARAM); in SetScreenGamutMap()
353 CHECK_SCREEN_AND_RETURN(screenId, DMError::DM_ERROR_INVALID_PARAM); in SetScreenColorTransform()
[all …]
Ddisplay_dumper.cpp51 return DMError::DM_ERROR_INVALID_PARAM; in Dump()
99 case DMError::DM_ERROR_INVALID_PARAM: in ShowIllegalArgsInfo()
114 return DMError::DM_ERROR_INVALID_PARAM; in DumpInfo()
128 return DMError::DM_ERROR_INVALID_PARAM; in DumpInfo()
Dabstract_screen_controller.cpp686 return DMError::DM_ERROR_INVALID_PARAM; in DestroyVirtualScreen()
879 return DMError::DM_ERROR_INVALID_PARAM; in GetScreenSupportedColorGamuts()
888 return DMError::DM_ERROR_INVALID_PARAM; in GetScreenColorGamut()
897 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenColorGamut()
906 return DMError::DM_ERROR_INVALID_PARAM; in GetScreenGamutMap()
915 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenGamutMap()
924 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenColorTransform()
Dabstract_screen.cpp140 return DMError::DM_ERROR_INVALID_PARAM; in RemoveSurfaceNode()
290 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenColorGamut()
319 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenGamutMap()
/foundation/window/window_manager/dm/test/unittest/
Dscreen_manager_test.cpp97 …ALL(m->Mock(), DestroyVirtualScreen(_)).Times(1).WillOnce(Return(DMError::DM_ERROR_INVALID_PARAM));
101 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, ret);
203 …>Mock(), SetVirtualScreenSurface(_, _)).Times(1).WillOnce(Return(DMError::DM_ERROR_INVALID_PARAM));
204 …ALL(m->Mock(), DestroyVirtualScreen(_)).Times(1).WillOnce(Return(DMError::DM_ERROR_INVALID_PARAM));
209 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, surfaceRes);
210 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, destroyRes);
317 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, result);
321 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, result);
/foundation/window/window_manager/interfaces/kits/napi/screenshot/
Dnative_screenshot_module.cpp181 param->wret = DmErrorCode::DM_ERROR_INVALID_PARAM; in AsyncGetScreenshot()
206 if (param->wret == DmErrorCode::DM_ERROR_INVALID_PARAM) { in Resolve()
208 napi_create_int32(env, (int32_t)DmErrorCode::DM_ERROR_INVALID_PARAM, &code); in Resolve()
291 (int32_t)DMError::DM_ERROR_INVALID_PARAM, "DM_ERROR_INVALID_PARAM"); in ScreenshotModuleInit()
312 (int32_t)DmErrorCode::DM_ERROR_INVALID_PARAM, "DM_ERROR_INVALID_PARAM"); in ScreenshotModuleInit()
/foundation/window/window_manager/dm/src/
Dscreen.cpp180 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenActiveMode()
205 return DMError::DM_ERROR_INVALID_PARAM; in SetDensityDpi()
Dscreen_manager.cpp434 return DMError::DM_ERROR_INVALID_PARAM; in MakeExpand()
438 return DMError::DM_ERROR_INVALID_PARAM; in MakeExpand()
461 return DMError::DM_ERROR_INVALID_PARAM; in MakeMirror()
494 return DMError::DM_ERROR_INVALID_PARAM; in RemoveVirtualScreenFromGroup()
498 return DMError::DM_ERROR_INVALID_PARAM; in RemoveVirtualScreenFromGroup()
Ddisplay_manager_adapter.cpp415 return DMError::DM_ERROR_INVALID_PARAM; in AddSurfaceNodeToDisplay()
426 return DMError::DM_ERROR_INVALID_PARAM; in RemoveSurfaceNodeFromDisplay()
/foundation/window/window_manager/window_scene/session_manager/src/
Dscreen_session_manager.cpp396 return DMError::DM_ERROR_INVALID_PARAM; in GetScreenColorGamut()
400 return DMError::DM_ERROR_INVALID_PARAM; in GetScreenColorGamut()
410 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenColorGamut()
414 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenColorGamut()
424 return DMError::DM_ERROR_INVALID_PARAM; in GetScreenGamutMap()
428 return DMError::DM_ERROR_INVALID_PARAM; in GetScreenGamutMap()
439 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenGamutMap()
443 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenGamutMap()
453 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenColorTransform()
457 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenColorTransform()
[all …]
/foundation/window/window_manager/window_scene/test/unittest/
Dscreen_session_manager_test.cpp134 …ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, ssm_->MakeMirror(mainScreenId, mirrorScreenIds, screenG…
/foundation/window/window_manager/test/systemtest/dms/
Ddisplay_change_test.cpp362 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, defaultScreen_->SetDensityDpi(densityDpi));
373 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, defaultScreen_->SetDensityDpi(densityDpi));
/foundation/window/window_manager/window_scene/session/screen/src/
Dscreen_session.cpp350 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenColorGamut()
377 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenGamutMap()