Home
last modified time | relevance | path

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

/system/core/init/
Dservice.cpp156 flags_(0),
178 flags_(flags),
197 if ((flags_ & SVC_TEMPORARY) != 0) { in NotifyStateChange()
272 if (!(flags_ & SVC_ONESHOT) || (flags_ & SVC_RESTART)) { in Reap()
280 if (flags_ & SVC_TEMPORARY) { in Reap()
285 flags_ &= (~SVC_RUNNING); in Reap()
289 if ((flags_ & SVC_ONESHOT) && !(flags_ & SVC_RESTART)) { in Reap()
290 flags_ |= SVC_DISABLED; in Reap()
294 if (flags_ & (SVC_DISABLED | SVC_RESET)) { in Reap()
301 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()
94 unsigned flags() const { return flags_; } in flags()
150 unsigned flags_; variable