Lines Matching refs:GetInstance
90 for (const auto& s : ServiceList::GetInstance()) { in GetPostDataDebuggingServices()
192 Service* service = ServiceList::GetInstance().FindService("blank_screen"); in TurnOffBacklight()
513 for (const auto& s : ServiceList::GetInstance().services_in_shutdown_order()) { in StopServices()
540 for (const auto& s : ServiceList::GetInstance()) { in StopServicesAndLogViolations()
616 for (const auto& s : ServiceList::GetInstance()) { in DoReboot()
642 Service* boot_anim = ServiceList::GetInstance().FindService("bootanim"); in DoReboot()
643 Service* surface_flinger = ServiceList::GetInstance().FindService("surfaceflinger"); in DoReboot()
654 for (const auto& service : ServiceList::GetInstance()) { in DoReboot()
685 Service* vold_service = ServiceList::GetInstance().FindService("vold"); in DoReboot()
734 for (const auto& s : ServiceList::GetInstance()) { in EnterShutdown()
789 for (const auto& s : ServiceList::GetInstance().services_in_shutdown_order()) { in DoUserspaceReboot()
846 ServiceList::GetInstance().RemoveServiceIf([](const std::unique_ptr<Service>& s) -> bool { in DoUserspaceReboot()
854 for (const auto& s : ServiceList::GetInstance()) { in DoUserspaceReboot()
860 ServiceList::GetInstance().ResetState(); in DoUserspaceReboot()
862 ActionManager::GetInstance().QueueEventTrigger("userspace-reboot-resume"); in DoUserspaceReboot()
911 auto& am = ActionManager::GetInstance(); in HandleUserspaceReboot()
1039 ActionManager::GetInstance().ClearQueue(); in HandlePowerctlMessage()
1041 ActionManager::GetInstance().QueueEventTrigger("shutdown"); in HandlePowerctlMessage()
1047 ActionManager::GetInstance().QueueBuiltinAction(shutdown_handler, "shutdown_done"); in HandlePowerctlMessage()