Home
last modified time | relevance | path

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

/system/core/init/
Dservice.cpp267 if (!(flags_ & SVC_ONESHOT) || (flags_ & SVC_RESTART)) { in Reap()
313 if ((flags_ & SVC_ONESHOT) && !(flags_ & SVC_RESTART) && !(flags_ & SVC_RESET)) { in Reap()
363 if (((flags_ & SVC_CRITICAL) || is_process_updatable) && !(flags_ & SVC_RESTART)) { in Reap()
391 flags_ &= (~SVC_RESTART); in Reap()
599 flags_ |= SVC_RESTART; in Start()
815 flags_ &= ~(SVC_DISABLED | SVC_RESTARTING | SVC_RESET | SVC_RESTART | SVC_DISABLED_START); in ResetFlagsForStart()
867 StopOrReset(SVC_RESTART); in Restart()
882 if ((how != SVC_DISABLED) && (how != SVC_RESET) && (how != SVC_RESTART)) { in StopOrReset()
897 if (how == SVC_RESTART) { in StopOrReset()
900 flags_ &= (~SVC_RESTART); in StopOrReset()
Dservice.h50 #define SVC_RESTART 0x100 // Use to safely restart (stop, wait, start) a service. macro