Searched refs:Subcontext (Results 1 – 12 of 12) sorted by relevance
/system/core/init/ |
D | subcontext.cpp | 58 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()
|
D | subcontext.h | 37 class Subcontext { 39 Subcontext(std::vector<std::string> path_prefixes, std::string context) in Subcontext() function 64 Subcontext* GetSubcontext();
|
D | action_parser.h | 33 ActionParser(ActionManager* action_manager, Subcontext* subcontext) in ActionParser() 42 Subcontext* subcontext_;
|
D | action.h | 41 Result<void> InvokeFunc(Subcontext* subcontext) const; 60 Action(bool oneshot, Subcontext* subcontext, const std::string& filename, int line, 92 Subcontext* subcontext_;
|
D | action_parser.cpp | 39 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()
|
D | subcontext_benchmark.cpp | 36 auto subcontext = Subcontext({"path"}, context); in BenchmarkSuccess()
|
D | service_parser.h | 33 ServiceList* service_list, Subcontext* subcontext, 91 Subcontext* subcontext_;
|
D | service.h | 67 Service(const std::string& name, Subcontext* subcontext_for_restart_commands, 72 Subcontext* subcontext_for_restart_commands, const std::vector<std::string>& args,
|
D | action.cpp | 55 Result<void> Command::InvokeFunc(Subcontext* subcontext) const { in InvokeFunc() 99 Action::Action(bool oneshot, Subcontext* subcontext, const std::string& filename, int line, in Action()
|
D | subcontext_test.cpp | 44 auto subcontext = Subcontext({"dummy_path"}, kTestContext); in RunTest()
|
D | service.cpp | 135 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()
|
D | service_parser.cpp | 561 Subcontext* restart_action_subcontext = nullptr; in ParseSection()
|