Home
last modified time | relevance | path

Searched refs:subcontexts (Results 1 – 4 of 4) sorted by relevance

/system/core/init/
Daction_parser.h33 ActionParser(ActionManager* action_manager, std::vector<Subcontext>* subcontexts) in ActionParser() argument
34 : action_manager_(action_manager), subcontexts_(subcontexts), action_(nullptr) {} in ActionParser()
Dsubcontext.cpp363 static std::vector<Subcontext> subcontexts; variable
369 subcontexts.emplace_back(path_prefix, secontext); in InitializeSubcontexts()
372 return &subcontexts; in InitializeSubcontexts()
376 for (auto& subcontext : subcontexts) { in SubcontextChildReap()
389 for (auto& subcontext : subcontexts) { in SubcontextTerminate()
Dinit.cpp102 static std::vector<Subcontext>* subcontexts; variable
112 parser.AddSectionParser("service", std::make_unique<ServiceParser>(&service_list, subcontexts)); in CreateParser()
113 parser.AddSectionParser("on", std::make_unique<ActionParser>(&action_manager, subcontexts)); in CreateParser()
123 parser.AddSectionParser("service", std::make_unique<ServiceParser>(&service_list, subcontexts)); in CreateServiceOnlyParser()
701 subcontexts = InitializeSubcontexts(); in SecondStageMain()
Dservice.h311 ServiceParser(ServiceList* service_list, std::vector<Subcontext>* subcontexts) in ServiceParser() argument
312 : service_list_(service_list), subcontexts_(subcontexts), service_(nullptr) {} in ServiceParser()