Home
last modified time | relevance | path

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

/system/core/init/
Dservice.cpp141 flags_(flags),
161 if ((flags_ & SVC_TEMPORARY) != 0) { in NotifyStateChange()
257 if (!(flags_ & SVC_ONESHOT) || (flags_ & SVC_RESTART)) { in Reap()
285 if (flags_ & SVC_EXEC) UnSetExec(); in Reap()
287 if (flags_ & SVC_TEMPORARY) return; in Reap()
290 flags_ &= (~SVC_RUNNING); in Reap()
295 if ((flags_ & SVC_ONESHOT) && !(flags_ & SVC_RESTART) && !(flags_ & SVC_RESET)) { in Reap()
296 flags_ |= SVC_DISABLED; in Reap()
300 if (flags_ & (SVC_DISABLED | SVC_RESET)) { in Reap()
315 if (((flags_ & SVC_CRITICAL) || is_process_updatable) && !(flags_ & SVC_RESTART)) { in Reap()
[all …]
Dservice.h78 bool IsRunning() { return (flags_ & SVC_RUNNING) != 0; } in IsRunning()
79 bool IsEnabled() { return (flags_ & SVC_DISABLED) == 0; } in IsEnabled()
93 void SetShutdownCritical() { flags_ |= SVC_SHUTDOWN_CRITICAL; } in SetShutdownCritical()
94 bool IsShutdownCritical() const { return (flags_ & SVC_SHUTDOWN_CRITICAL) != 0; } in IsShutdownCritical()
97 flags_ &= ~SVC_EXEC; in UnSetExec()
108 unsigned flags() const { return flags_; } in flags()
135 flags_ |= SVC_ONESHOT; in set_oneshot()
137 flags_ &= ~SVC_ONESHOT; in set_oneshot()
154 unsigned flags_; variable
Dservice_parser.cpp90 service_->flags_ |= SVC_CONSOLE; in ParseConsole()
129 service_->flags_ |= SVC_CRITICAL; in ParseCritical()
134 service_->flags_ |= SVC_DISABLED; in ParseDisabled()
135 service_->flags_ |= SVC_RC_DISABLED; in ParseDisabled()
269 service_->flags_ |= SVC_ONESHOT; in ParseOneshot()
390 service_->flags_ |= SVC_SHUTDOWN_CRITICAL; in ParseShutdown()
478 if (service_->flags_ & SVC_CONSOLE) { in ParseStdioToKmsg()
/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/fs_mgr/libdm/include/libdm/
Ddm.h77 uint32_t flags_; variable
80 explicit Info(uint32_t flags) : flags_(flags) {} in Info()
82 bool IsActiveTablePresent() const { return flags_ & DM_ACTIVE_PRESENT_FLAG; } in IsActiveTablePresent()
83 bool IsBufferFull() const { return flags_ & DM_BUFFER_FULL_FLAG; } in IsBufferFull()
84 bool IsInactiveTablePresent() const { return flags_ & DM_INACTIVE_PRESENT_FLAG; } in IsInactiveTablePresent()
85 bool IsReadOnly() const { return flags_ & DM_READONLY_FLAG; } in IsReadOnly()
86 bool IsSuspended() const { return flags_ & DM_SUSPEND_FLAG; } in IsSuspended()
/system/bt/gd/rust/topshim/btif/
Dbtif_shim.cc171 if (flags_) { in ~BluetoothIntf()
173 for (const char* flag = flags_[i]; flags_[i] != nullptr; ++i) { in ~BluetoothIntf()
177 std::free(const_cast<void*>(static_cast<const void*>(flags_))); in ~BluetoothIntf()
184 flags_ = static_cast<const char**>(std::calloc(initFlags.size() + 1, sizeof(char*))); in ConvertFlags()
185 if (!flags_) return; in ConvertFlags()
188 flags_[i] = strndup(initFlags[i].data(), initFlags[i].size()); in ConvertFlags()
189 if (!flags_) { in ConvertFlags()
207 flags_, in Initialize()
Dbtif_shim.h77 const char** flags_; variable
/system/unwinding/libunwindstack/include/unwindstack/
DMapInfo.h46 flags_(flags), in MapInfo()
95 inline uint16_t flags() const { return flags_; } in flags()
96 inline void set_flags(uint16_t value) { flags_ = value; } in set_flags()
166 uint16_t flags_ = 0; variable
/system/core/libprocessgroup/cgrouprc_format/include/processgroup/format/
Dcgroup_controller.h45 uint32_t flags_; member
/system/bt/btif/src/
Dbtif_av.cc305 return ((flags_ & bitflags_mask) != 0); in CheckFlags()
313 void SetFlags(uint8_t bitflags_mask) { flags_ |= bitflags_mask; } in SetFlags()
320 void ClearFlags(uint8_t bitflags_mask) { flags_ &= ~bitflags_mask; } in ClearFlags()
325 void ClearAllFlags() { flags_ = 0; } in ClearAllFlags()
343 uint8_t flags_; member in BtifAvPeer
884 flags_(0), in BtifAvPeer()
893 if (flags_ & BtifAvPeer::kFlagLocalSuspendPending) { in FlagsToString()
897 if (flags_ & BtifAvPeer::kFlagRemoteSuspend) { in FlagsToString()
901 if (flags_ & BtifAvPeer::kFlagPendingStart) { in FlagsToString()
905 if (flags_ & BtifAvPeer::kFlagPendingStop) { in FlagsToString()
[all …]