Lines Matching refs:Service

132 unsigned long Service::next_start_order_ = 1;
133 bool Service::is_exec_service_running_ = false;
135 Service::Service(const std::string& name, Subcontext* subcontext_for_restart_commands, in Service() function in android::init::Service
137 : Service(name, 0, 0, 0, {}, 0, "", subcontext_for_restart_commands, args, from_apex) {} in Service()
139 Service::Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, in Service() function in android::init::Service
163 void Service::NotifyStateChange(const std::string& new_state) const { in NotifyStateChange()
190 void Service::KillProcessGroup(int signal, bool report_oneshot) { in KillProcessGroup()
222 void Service::SetProcessAttributesAndCaps() { in SetProcessAttributesAndCaps()
259 void Service::Reap(const siginfo_t& siginfo) { in Reap()
350 void Service::DumpState() const { in DumpState()
363 Result<void> Service::ExecStart() { in ExecStart()
394 Result<void> Service::Start() { in Start()
618 Result<void> Service::StartIfNotDisabled() { in StartIfNotDisabled()
627 Result<void> Service::Enable() { in Enable()
635 void Service::Reset() { in Reset()
639 void Service::ResetIfPostData() { in ResetIfPostData()
648 Result<void> Service::StartIfPostData() { in StartIfPostData()
658 void Service::Stop() { in Stop()
662 void Service::Terminate() { in Terminate()
671 void Service::Timeout() { in Timeout()
683 void Service::Restart() { in Restart()
696 void Service::StopOrReset(int how) { in StopOrReset()
728 Result<std::unique_ptr<Service>> Service::MakeTemporaryOneshotService( in MakeTemporaryOneshotService()
784 return std::make_unique<Service>(name, flags, *uid, *gid, supp_gids, namespace_flags, seclabel, in MakeTemporaryOneshotService()