Home
last modified time | relevance | path

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

/system/core/init/
Dservice.cpp343 if (!(flags_ & SVC_ONESHOT) || (flags_ & SVC_RESTART)) { in Reap()
365 if ((flags_ & SVC_ONESHOT) && !(flags_ & SVC_RESTART) && !(flags_ & SVC_RESET)) { in Reap()
378 if (((flags_ & SVC_CRITICAL) || !pre_apexd_) && !(flags_ & SVC_RESTART)) { in Reap()
399 flags_ &= (~SVC_RESTART); in Reap()
898 flags_ &= (~(SVC_DISABLED|SVC_RESTARTING|SVC_RESET|SVC_RESTART|SVC_DISABLED_START)); in Start()
907 flags_ |= SVC_RESTART; in Start()
1202 StopOrReset(SVC_RESTART); in Restart()
1217 if ((how != SVC_DISABLED) && (how != SVC_RESET) && (how != SVC_RESTART)) { in StopOrReset()
1230 if (how == SVC_RESTART) { in StopOrReset()
1233 flags_ &= (~SVC_RESTART); in StopOrReset()
Dservice.h50 #define SVC_RESTART 0x100 // Use to safely restart (stop, wait, start) a service. macro