Lines Matching defs:DisplayManagerService

36 constexpr HiviewDFX::HiLogLabel LABEL = {LOG_CORE, HILOG_DOMAIN_DISPLAY, "DisplayManagerService"};

39 WM_IMPLEMENT_SINGLE_INSTANCE(DisplayManagerService)
41 SystemAbility::MakeAndRegisterAbility(&SingletonContainer::Get<DisplayManagerService>());
51 DisplayManagerService::DisplayManagerService() : SystemAbility(DISPLAY_MANAGER_SERVICE_SA_ID, true),
53 std::bind(&DisplayManagerService::NotifyDisplayStateChange, this,
57 std::bind(&DisplayManagerService::NotifyDisplayStateChange, this,
65 int DisplayManagerService::Dump(int fd, const std::vector<std::u16string>& args)
73 void DisplayManagerService::OnStart()
80 sptr<DisplayManagerService> dms = this;
82 if (!Publish(sptr<DisplayManagerService>(this))) {
88 bool DisplayManagerService::Init()
90 WLOGFI("DisplayManagerService::Init start");
97 WLOGFI("DisplayManagerService::Init success");
101 void DisplayManagerService::ConfigureDisplayManagerService()
129 void DisplayManagerService::ConfigureWaterfallDisplayCompressionParams()
143 void DisplayManagerService::RegisterDisplayChangeListener(sptr<IDisplayChangeListener> listener)
149 void DisplayManagerService::RegisterWindowInfoQueriedListener(const sptr<IWindowInfoQueriedListener>& listener)
154 DMError DisplayManagerService::HasPrivateWindow(DisplayId displayId, bool& hasPrivateWindow)
173 void DisplayManagerService::NotifyDisplayStateChange(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo,
183 void DisplayManagerService::NotifyScreenshot(DisplayId displayId)
190 sptr<DisplayInfo> DisplayManagerService::GetDefaultDisplayInfo()
202 sptr<DisplayInfo> DisplayManagerService::GetDisplayInfoById(DisplayId displayId)
212 sptr<DisplayInfo> DisplayManagerService::GetDisplayInfoByScreen(ScreenId screenId)
222 ScreenId DisplayManagerService::CreateVirtualScreen(VirtualScreenOption option,
241 DMError DisplayManagerService::DestroyVirtualScreen(ScreenId screenId)
258 DMError DisplayManagerService::SetVirtualScreenSurface(ScreenId screenId, sptr<IBufferProducer> surface)
271 DMError DisplayManagerService::SetOrientation(ScreenId screenId, Orientation orientation)
285 DMError DisplayManagerService::SetOrientationFromWindow(ScreenId screenId, Orientation orientation, bool withAnimation)
291 bool DisplayManagerService::SetRotationFromWindow(ScreenId screenId, Rotation targetRotation, bool withAnimation)
297 std::shared_ptr<Media::PixelMap> DisplayManagerService::GetDisplaySnapshot(DisplayId displayId, DmErrorCode* errorCode)
313 DMError DisplayManagerService::GetScreenSupportedColorGamuts(ScreenId screenId,
321 DMError DisplayManagerService::GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut)
328 DMError DisplayManagerService::SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx)
335 DMError DisplayManagerService::GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap)
342 DMError DisplayManagerService::SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap)
350 DMError DisplayManagerService::SetScreenColorTransform(ScreenId screenId)
357 void DisplayManagerService::OnStop()
362 DMError DisplayManagerService::RegisterDisplayManagerAgent(const sptr<IDisplayManagerAgent>& displayManagerAgent,
377 DMError DisplayManagerService::UnregisterDisplayManagerAgent(const sptr<IDisplayManagerAgent>& displayManagerAgent,
392 bool DisplayManagerService::WakeUpBegin(PowerStateChangeReason reason)
403 bool DisplayManagerService::WakeUpEnd()
414 bool DisplayManagerService::SuspendBegin(PowerStateChangeReason reason)
426 bool DisplayManagerService::SuspendEnd()
437 bool DisplayManagerService::SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason)
444 bool DisplayManagerService::SetScreenPowerForAll(ScreenPowerState state, PowerStateChangeReason reason)
454 ScreenPowerState DisplayManagerService::GetScreenPower(ScreenId dmsScreenId)
459 bool DisplayManagerService::SetDisplayState(DisplayState state)
473 ScreenId DisplayManagerService::GetScreenIdByDisplayId(DisplayId displayId) const
483 DisplayState DisplayManagerService::GetDisplayState(DisplayId displayId)
489 bool DisplayManagerService::TryToCancelScreenOff()
495 bool DisplayManagerService::SetScreenBrightness(uint64_t screenId, uint32_t level)
501 uint32_t DisplayManagerService::GetScreenBrightness(uint64_t screenId)
508 void DisplayManagerService::NotifyDisplayEvent(DisplayEvent event)
517 bool DisplayManagerService::SetFreeze(std::vector<DisplayId> displayIds, bool isFreeze)
527 DMError DisplayManagerService::MakeMirror(ScreenId mainScreenId, std::vector<ScreenId> mirrorScreenIds,
560 DMError DisplayManagerService::StopMirror(const std::vector<ScreenId>& mirrorScreenIds)
582 void DisplayManagerService::RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens)
587 void DisplayManagerService::UpdateRSTree(DisplayId displayId, DisplayId parentDisplayId,
599 DMError DisplayManagerService::AddSurfaceNodeToDisplay(DisplayId displayId,
611 DMError DisplayManagerService::RemoveSurfaceNodeFromDisplay(DisplayId displayId,
623 sptr<ScreenInfo> DisplayManagerService::GetScreenInfoById(ScreenId screenId)
633 sptr<ScreenGroupInfo> DisplayManagerService::GetScreenGroupInfoById(ScreenId screenId)
643 ScreenId DisplayManagerService::GetScreenGroupIdByScreenId(ScreenId screenId)
653 std::vector<DisplayId> DisplayManagerService::GetAllDisplayIds()
658 DMError DisplayManagerService::GetAllScreenInfos(std::vector<sptr<ScreenInfo>>& screenInfos)
676 DMError DisplayManagerService::MakeExpand(std::vector<ScreenId> expandScreenIds, std::vector<Point> startPoints,
732 DMError DisplayManagerService::StopExpand(const std::vector<ScreenId>& expandScreenIds)
753 DMError DisplayManagerService::SetScreenActiveMode(ScreenId screenId, uint32_t modeId)
763 DMError DisplayManagerService::SetVirtualPixelRatio(ScreenId screenId, float virtualPixelRatio)
774 DMError DisplayManagerService::IsScreenRotationLocked(bool& isLocked)
784 DMError DisplayManagerService::SetScreenRotationLocked(bool isLocked)
793 DMError DisplayManagerService::SetScreenRotationLockedFromJs(bool isLocked)
802 void DisplayManagerService::SetGravitySensorSubscriptionEnabled()
812 sptr<CutoutInfo> DisplayManagerService::GetCutoutInfo(DisplayId displayId)
817 void DisplayManagerService::NotifyPrivateWindowStateChanged(bool hasPrivate)
822 std::vector<DisplayPhysicalResolution> DisplayManagerService::GetAllDisplayPhysicalResolution()
825 sptr<DisplayInfo> displayInfo = DisplayManagerService::GetDefaultDisplayInfo();