Home
last modified time | relevance | path

Searched refs:flags_ (Results 1 – 5 of 5) sorted by relevance

/system/core/libprocessgroup/cgrouprc_format/
Dcgroup_controller.cpp23 CgroupController::CgroupController() : version_(0), flags_(0) { in CgroupController()
35 flags_ = flags; in CgroupController()
47 return flags_; in flags()
59 flags_ = flags; in set_flags()
/system/core/init/
Dservice.cpp229 flags_(flags),
247 if ((flags_ & SVC_TEMPORARY) != 0) { in NotifyStateChange()
343 if (!(flags_ & SVC_ONESHOT) || (flags_ & SVC_RESTART)) { in Reap()
355 if (flags_ & SVC_EXEC) UnSetExec(); in Reap()
357 if (flags_ & SVC_TEMPORARY) return; in Reap()
360 flags_ &= (~SVC_RUNNING); in Reap()
365 if ((flags_ & SVC_ONESHOT) && !(flags_ & SVC_RESTART) && !(flags_ & SVC_RESET)) { in Reap()
366 flags_ |= SVC_DISABLED; in Reap()
370 if (flags_ & (SVC_DISABLED | SVC_RESET)) { in Reap()
378 if (((flags_ & SVC_CRITICAL) || !pre_apexd_) && !(flags_ & SVC_RESTART)) { in Reap()
[all …]
Dservice.h77 bool IsRunning() { return (flags_ & SVC_RUNNING) != 0; } in IsRunning()
92 void SetShutdownCritical() { flags_ |= SVC_SHUTDOWN_CRITICAL; } in SetShutdownCritical()
93 bool IsShutdownCritical() const { return (flags_ & SVC_SHUTDOWN_CRITICAL) != 0; } in IsShutdownCritical()
96 flags_ &= ~SVC_EXEC; in UnSetExec()
106 unsigned flags() const { return flags_; } in flags()
189 unsigned flags_; variable
/system/core/libprocessgroup/cgrouprc_format/include/processgroup/format/
Dcgroup_controller.h45 uint32_t flags_; member
/system/bt/btif/src/
Dbtif_av.cc291 return ((flags_ & bitflags_mask) != 0); in CheckFlags()
299 void SetFlags(uint8_t bitflags_mask) { flags_ |= bitflags_mask; } in SetFlags()
306 void ClearFlags(uint8_t bitflags_mask) { flags_ &= ~bitflags_mask; } in ClearFlags()
311 void ClearAllFlags() { flags_ = 0; } in ClearAllFlags()
329 uint8_t flags_; member in BtifAvPeer
872 flags_(0), in BtifAvPeer()
880 if (flags_ & BtifAvPeer::kFlagLocalSuspendPending) { in FlagsToString()
884 if (flags_ & BtifAvPeer::kFlagRemoteSuspend) { in FlagsToString()
888 if (flags_ & BtifAvPeer::kFlagPendingStart) { in FlagsToString()
892 if (flags_ & BtifAvPeer::kFlagPendingStop) { in FlagsToString()
[all …]