Home
last modified time | relevance | path

Searched refs:Subcontext (Results 1 – 12 of 12) sorted by relevance

/system/core/init/
Dsubcontext.cpp58 static std::unique_ptr<Subcontext> subcontext;
192 void Subcontext::Fork() { in Fork()
235 void Subcontext::Restart() { in Restart()
245 bool Subcontext::PathMatchesSubcontext(const std::string& path) { in PathMatchesSubcontext()
254 Result<SubcontextReply> Subcontext::TransmitMessage(const SubcontextCommand& subcontext_command) { in TransmitMessage()
279 Result<void> Subcontext::Execute(const std::vector<std::string>& args) { in Execute()
303 Result<std::vector<std::string>> Subcontext::ExpandArgs(const std::vector<std::string>& args) { in ExpandArgs()
335 new Subcontext(std::vector<std::string>{"/vendor", "/odm"}, kVendorContext)); in InitializeSubcontext()
339 Subcontext* GetSubcontext() { in GetSubcontext()
Dsubcontext.h37 class Subcontext {
39 Subcontext(std::vector<std::string> path_prefixes, std::string context) in Subcontext() function
64 Subcontext* GetSubcontext();
Daction_parser.h33 ActionParser(ActionManager* action_manager, Subcontext* subcontext) in ActionParser()
42 Subcontext* subcontext_;
Daction.h41 Result<void> InvokeFunc(Subcontext* subcontext) const;
60 Action(bool oneshot, Subcontext* subcontext, const std::string& filename, int line,
92 Subcontext* subcontext_;
Daction_parser.cpp39 bool IsActionableProperty(Subcontext* subcontext, const std::string& prop_name) { in IsActionableProperty()
61 Result<void> ParsePropertyTrigger(const std::string& trigger, Subcontext* subcontext, in ParsePropertyTrigger()
94 Result<void> ParseTriggers(const std::vector<std::string>& args, Subcontext* subcontext, in ParseTriggers()
140 Subcontext* action_subcontext = nullptr; in ParseSection()
Dsubcontext_benchmark.cpp36 auto subcontext = Subcontext({"path"}, context); in BenchmarkSuccess()
Dservice_parser.h33 ServiceList* service_list, Subcontext* subcontext,
91 Subcontext* subcontext_;
Dservice.h67 Service(const std::string& name, Subcontext* subcontext_for_restart_commands,
72 Subcontext* subcontext_for_restart_commands, const std::vector<std::string>& args,
Daction.cpp55 Result<void> Command::InvokeFunc(Subcontext* subcontext) const { in InvokeFunc()
99 Action::Action(bool oneshot, Subcontext* subcontext, const std::string& filename, int line, in Action()
Dsubcontext_test.cpp44 auto subcontext = Subcontext({"dummy_path"}, kTestContext); in RunTest()
Dservice.cpp135 Service::Service(const std::string& name, Subcontext* subcontext_for_restart_commands, in Service()
141 const std::string& seclabel, Subcontext* subcontext_for_restart_commands, in Service()
Dservice_parser.cpp561 Subcontext* restart_action_subcontext = nullptr; in ParseSection()