Lines Matching defs:remote

32     sptr<IRemoteObject> remote = Remote();

33 if (remote == nullptr) {
34 WLOGFW("GetDefaultDisplayInfo: remote is nullptr");
45 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DEFAULT_DISPLAY_INFO),
59 sptr<IRemoteObject> remote = Remote();
60 if (remote == nullptr) {
61 WLOGFW("GetDisplayInfoById: remote is nullptr");
76 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DISPLAY_BY_ID),
92 sptr<IRemoteObject> remote = Remote();
93 if (remote == nullptr) {
94 WLOGFE("fail to get displayInfo by screenId: remote is null");
109 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DISPLAY_BY_SCREEN),
126 sptr<IRemoteObject> remote = Remote();
127 if (remote == nullptr) {
128 WLOGFW("CreateVirtualScreen: remote is nullptr");
159 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_CREATE_VIRTUAL_SCREEN),
172 sptr<IRemoteObject> remote = Remote();
173 if (remote == nullptr) {
174 WLOGFW("DestroyVirtualScreen: remote is nullptr");
189 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_DESTROY_VIRTUAL_SCREEN),
199 sptr<IRemoteObject> remote = Remote();
200 if (remote == nullptr) {
201 WLOGFW("SetVirtualScreenSurface: remote is nullptr");
225 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_VIRTUAL_SCREEN_SURFACE),
235 sptr<IRemoteObject> remote = Remote();
236 if (remote == nullptr) {
237 WLOGFW("fail to set orientation: remote is null");
256 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_ORIENTATION),
266 sptr<IRemoteObject> remote = Remote();
267 if (remote == nullptr) {
268 WLOGFW("GetDisplaySnapshot: remote is nullptr");
285 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DISPLAY_SNAPSHOT),
306 sptr<IRemoteObject> remote = Remote();
307 if (remote == nullptr) {
308 WLOGFW("DisplayManagerProxy::GetScreenSupportedColorGamuts: remote is nullptr");
323 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_GET_SUPPORTED_COLOR_GAMUTS),
345 sptr<IRemoteObject> remote = Remote();
346 if (remote == nullptr) {
347 WLOGFW("DisplayManagerProxy::GetScreenColorGamut: remote is nullptr");
362 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_GET_COLOR_GAMUT),
377 sptr<IRemoteObject> remote = Remote();
378 if (remote == nullptr) {
379 WLOGFW("DisplayManagerProxy::SetScreenColorGamut: remote is nullptr");
394 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_SET_COLOR_GAMUT),
404 sptr<IRemoteObject> remote = Remote();
405 if (remote == nullptr) {
406 WLOGFW("DisplayManagerProxy::GetScreenGamutMap: remote is nullptr");
421 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_GET_GAMUT_MAP),
436 sptr<IRemoteObject> remote = Remote();
437 if (remote == nullptr) {
438 WLOGFW("DisplayManagerProxy::SetScreenGamutMap: remote is nullptr");
453 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_SET_GAMUT_MAP),
463 sptr<IRemoteObject> remote = Remote();
464 if (remote == nullptr) {
465 WLOGFW("DisplayManagerProxy::SetScreenColorTransform: remote is nullptr");
480 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_SET_COLOR_TRANSFORM),
490 sptr<IRemoteObject> remote = Remote();
491 if (remote == nullptr) {
492 WLOGFW("GetPixelFormat: remote is nullptr");
507 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_GET_PIXEL_FORMAT),
522 sptr<IRemoteObject> remote = Remote();
523 if (remote == nullptr) {
524 WLOGFW("SetPixelFormat: remote is nullptr");
539 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_SET_PIXEL_FORMAT),
549 sptr<IRemoteObject> remote = Remote();
550 if (remote == nullptr) {
551 WLOGFW("GetSupportedHDRFormats: remote is nullptr");
566 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_GET_SUPPORTED_HDR_FORMAT),
588 sptr<IRemoteObject> remote = Remote();
589 if (remote == nullptr) {
590 WLOGFW("GetScreenHDRFormat: remote is nullptr");
605 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_GET_HDR_FORMAT),
620 sptr<IRemoteObject> remote = Remote();
621 if (remote == nullptr) {
622 WLOGFW("SetScreenHDRFormat: remote is nullptr");
637 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_SET_HDR_FORMAT),
648 sptr<IRemoteObject> remote = Remote();
649 if (remote == nullptr) {
650 WLOGFW("GetSupportedColorSpaces: remote is nullptr");
665 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_GET_SUPPORTED_COLOR_SPACE),
687 sptr<IRemoteObject> remote = Remote();
688 if (remote == nullptr) {
689 WLOGFW("GetScreenColorSpace: remote is nullptr");
704 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_GET_COLOR_SPACE),
719 sptr<IRemoteObject> remote = Remote();
720 if (remote == nullptr) {
721 WLOGFW("SetScreenColorSpace: remote is nullptr");
736 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_SET_COLOR_SPACE),
747 sptr<IRemoteObject> remote = Remote();
748 if (remote == nullptr) {
749 WLOGFW("RegisterDisplayManagerAgent: remote is nullptr");
771 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_REGISTER_DISPLAY_MANAGER_AGENT),
782 sptr<IRemoteObject> remote = Remote();
783 if (remote == nullptr) {
784 WLOGFW("UnregisterDisplayManagerAgent: remote is nullptr");
806 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_UNREGISTER_DISPLAY_MANAGER_AGENT),
816 sptr<IRemoteObject> remote = Remote();
817 if (remote == nullptr) {
818 WLOGFW("[UL_POWER]WakeUpBegin: remote is nullptr");
833 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_WAKE_UP_BEGIN),
843 sptr<IRemoteObject> remote = Remote();
844 if (remote == nullptr) {
845 WLOGFW("[UL_POWER]WakeUpEnd: remote is nullptr");
856 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_WAKE_UP_END),
866 sptr<IRemoteObject> remote = Remote();
867 if (remote == nullptr) {
868 WLOGFW("[UL_POWER]SuspendBegin: remote is nullptr");
883 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SUSPEND_BEGIN),
893 sptr<IRemoteObject> remote = Remote();
894 if (remote == nullptr) {
895 WLOGFW("[UL_POWER]SuspendEnd: remote is nullptr");
906 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SUSPEND_END),
916 sptr<IRemoteObject> remote = Remote();
917 if (remote == nullptr) {
918 WLOGFW("[UL_POWER]SetScreenPowerForAll: remote is nullptr");
937 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_SCREEN_POWER_FOR_ALL),
947 sptr<IRemoteObject> remote = Remote();
948 if (remote == nullptr) {
949 WLOGFW("[UL_POWER]SetSpecifiedScreenPower: remote is nullptr");
972 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_SPECIFIED_SCREEN_POWER),
982 sptr<IRemoteObject> remote = Remote();
983 if (remote == nullptr) {
984 WLOGFW("GetScreenPower: remote is nullptr");
999 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_SCREEN_POWER),
1009 sptr<IRemoteObject> remote = Remote();
1010 if (remote == nullptr) {
1011 WLOGFW("[UL_POWER]SetDisplayState: remote is nullptr");
1026 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_DISPLAY_STATE),
1036 sptr<IRemoteObject> remote = Remote();
1037 if (remote == nullptr) {
1038 WLOGFW("GetDisplayState: remote is nullptr");
1053 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DISPLAY_STATE),
1063 sptr<IRemoteObject> remote = Remote();
1064 if (remote == nullptr) {
1065 WLOGFW("[UL_POWER]TryToCancelScreenOff: remote is nullptr");
1076 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_TRY_TO_CANCEL_SCREEN_OFF),
1087 sptr<IRemoteObject> remote = Remote();
1088 if (remote == nullptr) {
1089 WLOGFW("GetAllDisplayIds: remote is nullptr");
1100 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_ALL_DISPLAYIDS),
1111 sptr<IRemoteObject> remote = Remote();
1112 if (remote == nullptr) {
1113 WLOGFW("GetCutoutInfo: remote is null");
1127 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_CUTOUT_INFO),
1139 sptr<IRemoteObject> remote = Remote();
1140 if (remote == nullptr) {
1141 WLOGFW("AddSurfaceNodeToDisplay: remote is nullptr");
1160 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_ADD_SURFACE_NODE),
1172 sptr<IRemoteObject> remote = Remote();
1173 if (remote == nullptr) {
1174 WLOGFW("RemoveSurfaceNodeFromDisplay: remote is nullptr");
1193 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_REMOVE_SURFACE_NODE),
1204 sptr<IRemoteObject> remote = Remote();
1205 if (remote == nullptr) {
1206 WLOGFW("HasPrivateWindow: remote is nullptr");
1221 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_HAS_PRIVATE_WINDOW),
1232 sptr<IRemoteObject> remote = Remote();
1233 if (remote == nullptr) {
1234 WLOGFW("NotifyDisplayEvent: remote is nullptr");
1249 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_NOTIFY_DISPLAY_EVENT),
1258 sptr<IRemoteObject> remote = Remote();
1259 if (remote == nullptr) {
1260 WLOGFW("SetFreeze: remote is nullptr");
1280 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_FREEZE_EVENT),
1291 sptr<IRemoteObject> remote = Remote();
1292 if (remote == nullptr) {
1293 WLOGFW("create mirror fail: remote is null");
1310 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_MAKE_MIRROR),
1322 sptr<IRemoteObject> remote = Remote();
1323 if (remote == nullptr) {
1324 WLOGFW("StopMirror fail: remote is null");
1340 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_STOP_MIRROR),
1350 sptr<IRemoteObject> remote = Remote();
1351 if (remote == nullptr) {
1352 WLOGFW("GetScreenInfoById: remote is nullptr");
1367 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_SCREEN_INFO_BY_ID),
1387 sptr<IRemoteObject> remote = Remote();
1388 if (remote == nullptr) {
1389 WLOGFW("GetScreenGroupInfoById: remote is nullptr");
1404 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_SCREEN_GROUP_INFO_BY_ID),
1420 sptr<IRemoteObject> remote = Remote();
1421 if (remote == nullptr) {
1422 WLOGFW("GetAllScreenInfos: remote is nullptr");
1433 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_ALL_SCREEN_INFOS),
1446 sptr<IRemoteObject> remote = Remote();
1447 if (remote == nullptr) {
1448 WLOGFW("MakeExpand: remote is null");
1469 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_MAKE_EXPAND),
1481 sptr<IRemoteObject> remote = Remote();
1482 if (remote == nullptr) {
1483 WLOGFW("StopExpand fail: remote is null");
1499 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SCREEN_STOP_EXPAND),
1509 sptr<IRemoteObject> remote = Remote();
1510 if (remote == nullptr) {
1511 WLOGFW("cancel make mirror or expand fail: remote is null");
1527 if (remote->SendRequest(static_cast<uint32_t>(
1536 sptr<IRemoteObject> remote = Remote();
1537 if (remote == nullptr) {
1538 WLOGFW("SetScreenActiveMode: remote is null");
1553 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_SCREEN_ACTIVE_MODE),
1563 sptr<IRemoteObject> remote = Remote();
1564 if (remote == nullptr) {
1565 WLOGFW("SetVirtualPixelRatio: remote is null");
1580 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_VIRTUAL_PIXEL_RATIO),
1590 sptr<IRemoteObject> remote = Remote();
1591 if (remote == nullptr) {
1592 WLOGFW("SetResolution: remote is null");
1608 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_RESOLUTION),
1618 sptr<IRemoteObject> remote = Remote();
1619 if (remote == nullptr) {
1620 WLOGFW("GetDensityInCurResolution: remote is null");
1635 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DENSITY_IN_CURRENT_RESOLUTION),
1646 sptr<IRemoteObject> remote = Remote();
1647 if (remote == nullptr) {
1648 WLOGFW("remote is nullptr");
1658 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_IS_SCREEN_ROTATION_LOCKED),
1670 sptr<IRemoteObject> remote = Remote();
1671 if (remote == nullptr) {
1672 WLOGFW("remote is null");
1687 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_SCREEN_ROTATION_LOCKED),
1697 sptr<IRemoteObject> remote = Remote();
1698 if (remote == nullptr) {
1699 WLOGFW("remote is null");
1714 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_SET_SCREEN_ROTATION_LOCKED_FROM_JS),
1725 sptr<IRemoteObject> remote = Remote();
1726 if (remote == nullptr) {
1727 WLOGFW("DisplayManagerProxy::ResizeVirtualScreen: remote is nullptr");
1751 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_RESIZE_VIRTUAL_SCREEN),
1762 sptr<IRemoteObject> remote = Remote();
1763 if (remote == nullptr) {
1764 WLOGFW("make unique screen failed: remote is null");
1784 if (remote->SendRequest(
1795 sptr<IRemoteObject> remote = Remote();
1796 if (remote == nullptr) {
1797 TLOGE(WmsLogTag::DMS, "remote is nullptr");
1807 if (remote->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_ALL_PHYSICAL_DISPLAY_RESOLUTION),