Home
last modified time | relevance | path

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

/ohos5.0/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A 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
H A 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
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
H A Dallow_info.cpp24 WRITE_PARCEL_WITH_RET(out, Uint32, allowType_, false); in Marshalling()
42 READ_PARCEL_WITH_RET(in, Uint32, allowType_, false); in ReadFromParcel()
H A Dresourcce_request.cpp25 WRITE_PARCEL_WITH_RET(out, Uint32, allowType_, false); in Marshalling()
46 READ_PARCEL_WITH_RET(in, Uint32, allowType_, false); in ReadFromParcel()
/ohos5.0/foundation/resourceschedule/device_standby/services/core/include/
H A Dallow_record.h38 : uid_(uid), pid_(pid), name_(name), allowType_(allowType) {} in AllowRecord()
47 uint32_t allowType_ {0};
/ohos5.0/foundation/resourceschedule/device_standby/services/core/src/
H A Dallow_record.cpp26 value["allowType"] = allowType_; in ParseToJson()
73 this->allowType_ = value.at("allowType").get<uint32_t>(); in setAllowRecordField()
H A Dstandby_service_impl.cpp608 preAllowType = iter->second->allowType_; in ApplyAllowResInner()
612 if (preAllowType != iter->second->allowType_) { in ApplyAllowResInner()
613 uint32_t alowTypeDiff = iter->second->allowType_ ^ (preAllowType & in ApplyAllowResInner()
614 iter->second->allowType_); in ApplyAllowResInner()
620 if (iter->second->allowType_ == 0) { in ApplyAllowResInner()
663 allowRecord->allowType_ = (allowRecord->allowType_ | allowNumber); in UpdateRecord()
710 if ((allowType & iter->second->allowType_) == 0) { in UnapplyAllowResInner()
732 if (removedNumber == allowRecordPtr->allowType_) { in UnapplyAllowResInner()
736 allowRecordPtr->allowType_ = allowRecordPtr->allowType_ - removedNumber; in UnapplyAllowResInner()
817 if ((allowRecordPtr->allowType_ & (1 << allowTypeIndex)) == 0) { in GetTemporaryAllowList()
[all …]