Home
last modified time | relevance | path

Searched refs:ServiceList (Results 1 – 13 of 13) sorted by relevance

/system/core/init/
Dservice_list.cpp24 ServiceList::ServiceList() {} in ServiceList() function in android::init::ServiceList
26 ServiceList& ServiceList::GetInstance() { in GetInstance()
27 static ServiceList instance; in GetInstance()
31 size_t ServiceList::CheckAllCommands() { in CheckAllCommands()
39 void ServiceList::AddService(std::unique_ptr<Service> service) { in AddService()
44 const std::vector<Service*> ServiceList::services_in_shutdown_order() const { in services_in_shutdown_order()
54 void ServiceList::RemoveService(const Service& svc) { in RemoveService()
65 void ServiceList::DumpState() const { in DumpState()
71 void ServiceList::MarkPostData() { in MarkPostData()
75 bool ServiceList::IsPostData() { in IsPostData()
[all …]
Dinit_test.cpp44 const std::vector<ActionManagerCommand>& commands, ServiceList* service_list) { in TestInit()
67 const std::vector<ActionManagerCommand>& commands, ServiceList* service_list) { in TestInitText()
93 ServiceList service_list; in TEST()
156 ServiceList service_list; in TEST()
171 ServiceList service_list; in TEST()
238 ServiceList service_list; in TEST()
262 ServiceList service_list; in TEST()
Dinit.h31 Parser CreateParser(ActionManager& action_manager, ServiceList& service_list);
32 Parser CreateServiceOnlyParser(ServiceList& service_list, bool from_apex);
Dservice_list.h27 class ServiceList {
29 static ServiceList& GetInstance();
32 ServiceList();
Dreboot.cpp90 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()
[all …]
Dbuiltins.cpp155 for (const auto& service : ServiceList::GetInstance()) { in ForEachServiceInClass()
166 for (const auto& service : ServiceList::GetInstance()) { in do_class_start()
188 for (const auto& service : ServiceList::GetInstance()) { in do_class_start_post_data()
238 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_enable()
257 ServiceList::GetInstance().AddService(std::move(*service)); in do_exec()
270 ServiceList::GetInstance().AddService(std::move(*service)); in do_exec_background()
275 Service* service = ServiceList::GetInstance().FindService(args[1]); in do_exec_start()
344 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_restart()
351 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_start()
360 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_stop()
[all …]
Dinit.cpp247 ServiceList::GetInstance().DumpState(); in DumpState()
251 Parser CreateParser(ActionManager& action_manager, ServiceList& service_list) { in CreateParser()
263 Parser CreateServiceOnlyParser(ServiceList& service_list, bool from_apex) { in CreateServiceOnlyParser()
272 static void LoadBootScripts(ActionManager& action_manager, ServiceList& service_list) { in LoadBootScripts()
319 for (const auto& s : ServiceList::GetInstance()) { in HandleProcessActions()
398 service = ServiceList::GetInstance().FindInterface(name); in HandleControlMessage()
400 service = ServiceList::GetInstance().FindService(name); in HandleControlMessage()
619 for (const auto& service : ServiceList::GetInstance()) { in HandleKeychord()
790 ServiceList& sm = ServiceList::GetInstance(); in SecondStageMain()
817 for (const auto& svc : ServiceList::GetInstance()) { in SecondStageMain()
Dsigchld_handler.cpp70 service = ServiceList::GetInstance().FindService(pid, &Service::pid); in ReapOneProcess()
103 ServiceList::GetInstance().RemoveService(*service); in ReapOneProcess()
Dservice_parser.h33 ServiceList* service_list, Subcontext* subcontext,
90 ServiceList* service_list_;
Dlmkd_service.cpp82 for (const auto& service : ServiceList::GetInstance()) { in RegisterServices()
Dhost_init_verifier.cpp270 ServiceList& sl = ServiceList::GetInstance(); in main()
Dservice.cpp368 if (is_updatable() && !ServiceList::GetInstance().IsServicesUpdated()) { in ExecStart()
399 if (is_updatable() && !ServiceList::GetInstance().IsServicesUpdated()) { in Start()
400 ServiceList::GetInstance().DelayService(*this); in Start()
466 post_data_ = ServiceList::GetInstance().IsPostData(); in Start()
/system/core/init/test_utils/
Dservice_utils.cpp31 ServiceList& service_list = ServiceList::GetInstance(); in GetOnDeviceServiceInterfacesMap()