Home
last modified time | relevance | path

Searched refs:allowType_ (Results 1 – 7 of 7) sorted by relevance

/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
Dallow_info.h28 AllowInfo(uint32_t allowType, const std::string& name, int32_t duration) :allowType_(allowType), in AllowInfo()
54 return allowType_; in GetAllowType()
84 allowType_ = allowType; in SetAllowType()
109 uint32_t allowType_; variable
Dresourcce_request.h35 … const std::string& reason, uint32_t reasonCode) : allowType_(allowType), uid_(uid), name_(name), in ResourceRequest()
61 return allowType_; in GetAllowType()
71 allowType_ = allowType; in SetAllowType()
177 uint32_t allowType_; variable
/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
Dallow_info.cpp24 WRITE_PARCEL_WITH_RET(out, Uint32, allowType_, false); in Marshalling()
42 READ_PARCEL_WITH_RET(in, Uint32, allowType_, false); in ReadFromParcel()
Dresourcce_request.cpp25 WRITE_PARCEL_WITH_RET(out, Uint32, allowType_, false); in Marshalling()
46 READ_PARCEL_WITH_RET(in, Uint32, allowType_, false); in ReadFromParcel()
/foundation/resourceschedule/device_standby/services/core/include/
Dallow_record.h38 : uid_(uid), pid_(pid), name_(name), allowType_(allowType) {} in AllowRecord()
45 uint32_t allowType_ {0};
/foundation/resourceschedule/device_standby/services/core/src/
Dallow_record.cpp26 value["allowType"] = allowType_; in ParseToJson()
50 this->allowType_ = value.at("allowType").get<uint32_t>(); in ParseFromJson()
Dstandby_service_impl.cpp591 preAllowType = iter->second->allowType_; in ApplyAllowResInner()
595 if (preAllowType != iter->second->allowType_) { in ApplyAllowResInner()
596 uint32_t alowTypeDiff = iter->second->allowType_ ^ (preAllowType & in ApplyAllowResInner()
597 iter->second->allowType_); in ApplyAllowResInner()
603 if (iter->second->allowType_ == 0) { in ApplyAllowResInner()
646 allowRecord->allowType_ = (allowRecord->allowType_ | allowNumber); in UpdateRecord()
686 if ((allowType & iter->second->allowType_) == 0) { in UnapplyAllowResInner()
708 if (removedNumber == allowRecordPtr->allowType_) { in UnapplyAllowResInner()
712 allowRecordPtr->allowType_ = allowRecordPtr->allowType_ - removedNumber; in UnapplyAllowResInner()
789 if ((allowRecordPtr->allowType_ & (1 << allowTypeIndex)) == 0) { in GetTemporaryAllowList()
[all …]