Home
last modified time | relevance | path

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

/system/core/init/
Dservice.cpp295 if ((flags_ & SVC_ONESHOT) && !(flags_ & SVC_RESTART) && !(flags_ & SVC_RESET)) { in Reap()
300 if (flags_ & (SVC_DISABLED | SVC_RESET)) { in Reap()
411 bool disabled = (flags_ & (SVC_DISABLED | SVC_RESET)); in Start()
414 flags_ &= (~(SVC_DISABLED|SVC_RESTARTING|SVC_RESET|SVC_RESTART|SVC_DISABLED_START)); in Start()
643 StopOrReset(SVC_RESET); in Reset()
651 StopOrReset(SVC_RESET); in ResetIfPostData()
708 if ((how != SVC_DISABLED) && (how != SVC_RESET) && (how != SVC_RESTART)) { in StopOrReset()
714 if (how == SVC_RESET) { in StopOrReset()
715 flags_ |= (flags_ & SVC_RC_DISABLED) ? SVC_DISABLED : SVC_RESET; in StopOrReset()
722 flags_ &= (~(SVC_DISABLED | SVC_RESET)); in StopOrReset()
Dservice.h45 #define SVC_RESET 0x040 // Use when stopping a process, macro