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();
Dinit.cpp276 ServiceList::GetInstance().DumpState(); in DumpState()
280 Parser CreateParser(ActionManager& action_manager, ServiceList& service_list) { in CreateParser()
292 Parser CreateServiceOnlyParser(ServiceList& service_list, bool from_apex) { in CreateServiceOnlyParser()
301 static void LoadBootScripts(ActionManager& action_manager, ServiceList& service_list) { in LoadBootScripts()
348 for (const auto& s : ServiceList::GetInstance()) { in HandleProcessActions()
427 service = ServiceList::GetInstance().FindInterface(name); in HandleControlMessage()
429 service = ServiceList::GetInstance().FindService(name); in HandleControlMessage()
648 for (const auto& service : ServiceList::GetInstance()) { in HandleKeychord()
825 ServiceList& sm = ServiceList::GetInstance(); in SecondStageMain()
852 for (const auto& svc : ServiceList::GetInstance()) { in SecondStageMain()
Dreboot.cpp91 for (const auto& s : ServiceList::GetInstance()) { in GetDebuggingServices()
193 Service* service = ServiceList::GetInstance().FindService("blank_screen"); in TurnOffBacklight()
624 stop_first.reserve(ServiceList::GetInstance().services().size()); in DoReboot()
625 for (const auto& s : ServiceList::GetInstance()) { in DoReboot()
651 Service* boot_anim = ServiceList::GetInstance().FindService("bootanim"); in DoReboot()
652 Service* surface_flinger = ServiceList::GetInstance().FindService("surfaceflinger"); in DoReboot()
663 for (const auto& service : ServiceList::GetInstance()) { in DoReboot()
694 Service* vold_service = ServiceList::GetInstance().FindService("vold"); in DoReboot()
745 for (const auto& s : ServiceList::GetInstance()) { in EnterShutdown()
788 stop_first.reserve(ServiceList::GetInstance().services().size()); in DoUserspaceReboot()
[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 …]
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().services()) { in RegisterServices()
Dhost_init_verifier.cpp268 ServiceList& sl = ServiceList::GetInstance(); in main()
Dservice.cpp370 if (is_updatable() && !ServiceList::GetInstance().IsServicesUpdated()) { in ExecStart()
401 if (is_updatable() && !ServiceList::GetInstance().IsServicesUpdated()) { in Start()
402 ServiceList::GetInstance().DelayService(*this); in Start()
478 post_data_ = ServiceList::GetInstance().IsPostData(); in Start()
/system/core/init/test_utils/
Dservice_utils.cpp31 ServiceList& service_list = ServiceList::GetInstance(); in GetOnDeviceServiceInterfacesMap()