Home
last modified time | relevance | path

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

/system/core/init/
Dservice.cpp299 flags_ |= SVC_DISABLED; in Reap()
303 if (flags_ & (SVC_DISABLED | SVC_RESET)) { in Reap()
408 bool disabled = (flags_ & (SVC_DISABLED | SVC_RESET)); in Start()
411 flags_ &= (~(SVC_DISABLED|SVC_RESTARTING|SVC_RESET|SVC_RESTART|SVC_DISABLED_START)); in Start()
437 flags_ |= SVC_DISABLED; in Start()
445 flags_ |= SVC_DISABLED; in Start()
619 if (!(flags_ & SVC_DISABLED)) { in StartIfNotDisabled()
628 flags_ &= ~(SVC_DISABLED | SVC_RC_DISABLED); in Enable()
659 StopOrReset(SVC_DISABLED); in Stop()
664 flags_ |= SVC_DISABLED; in Terminate()
[all …]
Dservice.h39 #define SVC_DISABLED 0x001 // do not autostart with class macro
79 bool IsEnabled() { return (flags_ & SVC_DISABLED) == 0; } in IsEnabled()
Dservice_parser.cpp101 service_->flags_ |= SVC_DISABLED; in ParseDisabled()