Home
last modified time | relevance | path

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

/system/core/init/
Dservice.cpp257 if (!(flags_ & SVC_ONESHOT) || (flags_ & SVC_RESTART)) { in Reap()
295 if ((flags_ & SVC_ONESHOT) && !(flags_ & SVC_RESTART) && !(flags_ & SVC_RESET)) { in Reap()
315 if (((flags_ & SVC_CRITICAL) || is_process_updatable) && !(flags_ & SVC_RESTART)) { in Reap()
343 flags_ &= (~SVC_RESTART); in Reap()
414 flags_ &= (~(SVC_DISABLED|SVC_RESTARTING|SVC_RESET|SVC_RESTART|SVC_DISABLED_START)); in Start()
423 flags_ |= SVC_RESTART; in Start()
693 StopOrReset(SVC_RESTART); in Restart()
708 if ((how != SVC_DISABLED) && (how != SVC_RESET) && (how != SVC_RESTART)) { in StopOrReset()
721 if (how == SVC_RESTART) { in StopOrReset()
724 flags_ &= (~SVC_RESTART); in StopOrReset()
Dservice.h48 #define SVC_RESTART 0x100 // Use to safely restart (stop, wait, start) a service. macro