Home
last modified time | relevance | path

Searched refs:ServiceList (Results 1 – 14 of 14) 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 …]
Dreboot_test.cpp64 auto s = ServiceList::GetInstance().FindService(name); in ~RebootTest()
66 ServiceList::GetInstance().RemoveService(*s); in ~RebootTest()
77 for (const auto& s : ServiceList::GetInstance()) { in GetServiceNames()
104 ServiceList& service_list = ServiceList::GetInstance(); in AddTestService()
124 auto service_a = ServiceList::GetInstance().FindService("A"); in TEST_F()
126 auto service_b = ServiceList::GetInstance().FindService("B"); in TEST_F()
144 ServiceList::GetInstance().AddService(std::move(oneshot_service)); in TEST_F()
151 auto oneshot_service_after_stop = ServiceList::GetInstance().FindService(oneshot_service_name); in TEST_F()
164 auto service_a = ServiceList::GetInstance().FindService("A"); in TEST_F()
166 auto service_b = ServiceList::GetInstance().FindService("B"); in TEST_F()
[all …]
Dinit.h31 Parser CreateParser(ActionManager& action_manager, ServiceList& service_list);
32 Parser CreateServiceOnlyParser(ServiceList& service_list, bool from_apex);
Dinit_test.cpp45 const std::vector<ActionManagerCommand>& commands, ServiceList* service_list) { in TestInit()
68 const std::vector<ActionManagerCommand>& commands, ServiceList* service_list) { in TestInitText()
94 ServiceList service_list; in TEST()
157 ServiceList service_list; in TEST()
172 ServiceList service_list; in TEST()
239 ServiceList service_list; in TEST()
263 ServiceList service_list; in TEST()
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()
525 for (const auto& s : ServiceList::GetInstance().services_in_shutdown_order()) { in StopServices()
552 for (const auto& s : ServiceList::GetInstance()) { in StopServicesAndLogViolations()
640 for (const auto& s : ServiceList::GetInstance()) { in DoReboot()
666 Service* boot_anim = ServiceList::GetInstance().FindService("bootanim"); in DoReboot()
667 Service* surface_flinger = ServiceList::GetInstance().FindService("surfaceflinger"); in DoReboot()
679 for (const auto& service : ServiceList::GetInstance()) { in DoReboot()
710 Service* vold_service = ServiceList::GetInstance().FindService("vold"); in DoReboot()
764 for (const auto& s : ServiceList::GetInstance()) { in EnterShutdown()
[all …]
Dbuiltins.cpp156 for (const auto& service : ServiceList::GetInstance()) { in ForEachServiceInClass()
167 for (const auto& service : ServiceList::GetInstance()) { in do_class_start()
189 for (const auto& service : ServiceList::GetInstance()) { in do_class_start_post_data()
239 Service* svc = ServiceList::GetInstance().FindService(args[1]); in do_enable()
258 ServiceList::GetInstance().AddService(std::move(*service)); in do_exec()
271 ServiceList::GetInstance().AddService(std::move(*service)); in do_exec_background()
276 Service* service = ServiceList::GetInstance().FindService(args[1]); in do_exec_start()
377 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_restart()
384 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_start()
393 Service* svc = ServiceList::GetInstance().FindInterface(args[1]); in do_interface_stop()
[all …]
Dinit.cpp279 ServiceList::GetInstance().DumpState(); in DumpState()
283 Parser CreateParser(ActionManager& action_manager, ServiceList& service_list) { in CreateParser()
295 Parser CreateServiceOnlyParser(ServiceList& service_list, bool from_apex) { in CreateServiceOnlyParser()
304 static void LoadBootScripts(ActionManager& action_manager, ServiceList& service_list) { in LoadBootScripts()
351 for (const auto& s : ServiceList::GetInstance()) { in HandleProcessActions()
430 service = ServiceList::GetInstance().FindInterface(name); in HandleControlMessage()
432 service = ServiceList::GetInstance().FindService(name); in HandleControlMessage()
662 for (const auto& service : ServiceList::GetInstance()) { in HandleKeychord()
853 ServiceList& sm = ServiceList::GetInstance(); in SecondStageMain()
879 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()
Dservice.cpp373 if (is_updatable() && !ServiceList::GetInstance().IsServicesUpdated()) { in ExecStart()
404 if (is_updatable() && !ServiceList::GetInstance().IsServicesUpdated()) { in Start()
405 ServiceList::GetInstance().DelayService(*this); in Start()
485 post_data_ = ServiceList::GetInstance().IsPostData(); in Start()
Dhost_init_verifier.cpp314 ServiceList& sl = ServiceList::GetInstance(); in main()
/system/core/init/test_utils/
Dservice_utils.cpp31 ServiceList& service_list = ServiceList::GetInstance(); in GetOnDeviceServiceInterfacesMap()