Home
last modified time | relevance | path

Searched refs:flags_ (Results 1 – 2 of 2) sorted by relevance

/system/core/init/
Dservice.cpp165 flags_(0),
191 flags_(flags),
214 if ((flags_ & SVC_TEMPORARY) != 0) { in NotifyStateChange()
296 if (!(flags_ & SVC_ONESHOT) || (flags_ & SVC_RESTART)) { in Reap()
304 if (flags_ & SVC_TEMPORARY) { in Reap()
309 flags_ &= (~SVC_RUNNING); in Reap()
313 if ((flags_ & SVC_ONESHOT) && !(flags_ & SVC_RESTART)) { in Reap()
314 flags_ |= SVC_DISABLED; in Reap()
318 if (flags_ & (SVC_DISABLED | SVC_RESET)) { in Reap()
325 if ((flags_ & SVC_CRITICAL) && !(flags_ & SVC_RESTART)) { in Reap()
[all …]
Dservice.h76 bool IsRunning() { return (flags_ & SVC_RUNNING) != 0; } in IsRunning()
89 void SetShutdownCritical() { flags_ |= SVC_SHUTDOWN_CRITICAL; } in SetShutdownCritical()
90 bool IsShutdownCritical() const { return (flags_ & SVC_SHUTDOWN_CRITICAL) != 0; } in IsShutdownCritical()
91 void UnSetExec() { flags_ &= ~SVC_EXEC; } in UnSetExec()
95 unsigned flags() const { return flags_; } in flags()
156 unsigned flags_; variable