/foundation/window/window_manager/dmserver/test/unittest/ |
D | display_manager_service_test.cpp | 97 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 …]
|
D | display_dumper_test.cpp | 81 ASSERT_EQ(ret, DMError::DM_ERROR_INVALID_PARAM);
|
D | abstract_screen_controller_test.cpp | 412 ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, absController_->DestroyVirtualScreen(id));
|
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/ |
D | js_screen_manager.cpp | 284 … 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 …]
|
D | js_screen.cpp | 89 … 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/ |
D | js_display_manager.cpp | 134 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/ |
D | dm_common.h | 92 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/ |
D | dm_common.h | 86 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/ |
D | display_manager_service.cpp | 164 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 …]
|
D | display_dumper.cpp | 51 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()
|
D | abstract_screen_controller.cpp | 686 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()
|
D | abstract_screen.cpp | 140 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/ |
D | screen_manager_test.cpp | 97 …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/ |
D | native_screenshot_module.cpp | 181 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/ |
D | screen.cpp | 180 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenActiveMode() 205 return DMError::DM_ERROR_INVALID_PARAM; in SetDensityDpi()
|
D | screen_manager.cpp | 434 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()
|
D | display_manager_adapter.cpp | 415 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/ |
D | screen_session_manager.cpp | 396 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/ |
D | screen_session_manager_test.cpp | 134 …ASSERT_EQ(DMError::DM_ERROR_INVALID_PARAM, ssm_->MakeMirror(mainScreenId, mirrorScreenIds, screenG…
|
/foundation/window/window_manager/test/systemtest/dms/ |
D | display_change_test.cpp | 362 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/ |
D | screen_session.cpp | 350 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenColorGamut() 377 return DMError::DM_ERROR_INVALID_PARAM; in SetScreenGamutMap()
|