Home
last modified time | relevance | path

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

/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_; member in OHOS::DevStandbyMgr::AllowInfo
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_; member in OHOS::ResourceRequest
/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()
/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};
/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.cpp597 preAllowType = iter->second->allowType_; in ApplyAllowResInner()
601 if (preAllowType != iter->second->allowType_) { in ApplyAllowResInner()
602 uint32_t alowTypeDiff = iter->second->allowType_ ^ (preAllowType & in ApplyAllowResInner()
603 iter->second->allowType_); in ApplyAllowResInner()
609 if (iter->second->allowType_ == 0) { in ApplyAllowResInner()
652 allowRecord->allowType_ = (allowRecord->allowType_ | allowNumber); in UpdateRecord()
699 if ((allowType & iter->second->allowType_) == 0) { in UnapplyAllowResInner()
721 if (removedNumber == allowRecordPtr->allowType_) { in UnapplyAllowResInner()
725 allowRecordPtr->allowType_ in UnapplyAllowResInner()
[all...]

Completed in 4 milliseconds