Home
last modified time | relevance | path

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

/system/core/init/
Dsignal_handler.cpp80 if (!(svc->flags & SVC_ONESHOT) || (svc->flags & SVC_RESTART)) { in wait_for_one_process()
106 if ((svc->flags & SVC_ONESHOT) && !(svc->flags & SVC_RESTART)) { in wait_for_one_process()
117 if ((svc->flags & SVC_CRITICAL) && !(svc->flags & SVC_RESTART)) { in wait_for_one_process()
132 svc->flags &= (~SVC_RESTART); in wait_for_one_process()
Dinit.h87 #define SVC_RESTART 0x100 // Use to safely restart (stop, wait, start) a service. macro
Dinit.cpp191 svc->flags &= (~(SVC_DISABLED|SVC_RESTARTING|SVC_RESET|SVC_RESTART|SVC_DISABLED_START)); in service_start()
408 if ((how != SVC_DISABLED) && (how != SVC_RESET) && (how != SVC_RESTART)) { in service_stop_or_reset()
444 service_stop_or_reset(svc, SVC_RESTART); in service_restart()