Searched refs:allowType_ (Results 1 – 7 of 7) sorted by relevance
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/ |
D | allow_info.h | 28 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
|
D | resourcce_request.h | 35 … 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/ |
D | allow_info.cpp | 24 WRITE_PARCEL_WITH_RET(out, Uint32, allowType_, false); in Marshalling() 42 READ_PARCEL_WITH_RET(in, Uint32, allowType_, false); in ReadFromParcel()
|
D | resourcce_request.cpp | 25 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/ |
D | allow_record.h | 38 : uid_(uid), pid_(pid), name_(name), allowType_(allowType) {} in AllowRecord() 45 uint32_t allowType_ {0};
|
/foundation/resourceschedule/device_standby/services/core/src/ |
D | allow_record.cpp | 26 value["allowType"] = allowType_; in ParseToJson() 50 this->allowType_ = value.at("allowType").get<uint32_t>(); in ParseFromJson()
|
D | standby_service_impl.cpp | 591 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 …]
|