Home
last modified time | relevance | path

Searched refs:AllowInfo (Results 1 – 20 of 20) sorted by relevance

/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
Dallow_info.cpp22 bool AllowInfo::Marshalling(Parcel& out) const in Marshalling()
30 sptr<AllowInfo> AllowInfo::Unmarshalling(Parcel& in) in Unmarshalling()
32 sptr<AllowInfo> info = new (std::nothrow) AllowInfo(); in Unmarshalling()
40 bool AllowInfo::ReadFromParcel(Parcel& in) in ReadFromParcel()
Dstandby_service_client.cpp94 ErrCode StandbyServiceClient::GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoArr… in GetAllowList()
129 ErrCode StandbyServiceClient::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restri… in GetRestrictList()
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
Dallow_info.h25 class AllowInfo : public Parcelable {
27 AllowInfo() = default;
28 AllowInfo(uint32_t allowType, const std::string& name, int32_t duration) :allowType_(allowType), in AllowInfo() function
37 static sptr<AllowInfo> Unmarshalling(Parcel& in);
Dstandby_service_client.h77 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
88 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
/foundation/resourceschedule/device_standby/services/core/include/
Dstandby_service_impl.h74 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
80 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
100 void GetAllowListInner(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
110 void GetTemporaryAllowList(uint32_t allowTypeIndex, std::vector<AllowInfo>& allowInfoList,
112 …void GetPersistAllowList(uint32_t allowTypeIndex, std::vector<AllowInfo>& allowInfoList, bool isAl…
113 void GetRestrictListInner(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
Dstandby_service.h53 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
57 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
/foundation/resourceschedule/device_standby/frameworks/include/
Dstandby_service_proxy.h72 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
100 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
Distandby_service.h85 virtual ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
96 virtual ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
Dstandby_client_unit_test.cpp92 std::vector<AllowInfo> allowInfoList;
97 allowInfoList.emplace_back(AllowInfo {});
122 EXPECT_EQ(AllowInfo::Unmarshalling(data), nullptr);
257 std::vector<AllowInfo> restrictInfoList;
Dmock_standby_client_unit_test.cpp55 std::vector<AllowInfo> allowInfoList;
84 std::vector<AllowInfo> allowInfoList;
/foundation/resourceschedule/device_standby/frameworks/src/
Dstandby_service_proxy.cpp167 ErrCode StandbyServiceProxy::GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList, in GetAllowList()
198 auto info = AllowInfo::Unmarshalling(reply); in GetAllowList()
271 ErrCode StandbyServiceProxy::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restric… in GetRestrictList()
302 auto info = AllowInfo::Unmarshalling(reply); in GetRestrictList()
Dstandby_service_stub.cpp120 std::vector<AllowInfo> restrictInfoList {}; in HandleGetRestrictList()
212 std::vector<AllowInfo> allowInfoList {}; in HandleGetAllowList()
/foundation/resourceschedule/device_standby/interfaces/innerkits/
Dlibstandby_innerkits.versionscript16 *AllowInfo*;
/foundation/resourceschedule/device_standby/services/core/src/
Dstandby_service_impl.cpp747 ErrCode StandbyServiceImpl::GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList, in GetAllowList()
766 void StandbyServiceImpl::GetAllowListInner(uint32_t allowType, std::vector<AllowInfo>& allowInfoLis… in GetAllowListInner()
783 void StandbyServiceImpl::GetTemporaryAllowList(uint32_t allowTypeIndex, std::vector<AllowInfo>& in GetTemporaryAllowList()
805 void StandbyServiceImpl::GetPersistAllowList(uint32_t allowTypeIndex, std::vector<AllowInfo>& allow… in GetPersistAllowList()
841 std::vector<AllowInfo> allowInfoList; in GetEligiableRestrictSet()
845 [&allowSet](AllowInfo& allowInfo) { allowSet.insert(allowInfo.GetName()); }); in GetEligiableRestrictSet()
876 ErrCode StandbyServiceImpl::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrict… in GetRestrictList()
896 void StandbyServiceImpl::GetRestrictListInner(uint32_t restrictType, std::vector<AllowInfo>& restri… in GetRestrictListInner()
1142 std::vector<AllowInfo> allowInfoList; in DumpModifyAllowList()
Dstandby_service.cpp213 ErrCode StandbyService::GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList, in GetAllowList()
265 ErrCode StandbyService::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfo… in GetRestrictList()
/foundation/resourceschedule/device_standby/plugins/strategy/src/
Dbase_network_strategy.cpp262 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfig()
291 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfigForApp()
Drunning_lock_strategy.cpp308 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfig()
504 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfigForApp()
/foundation/resourceschedule/device_standby/services/test/unittest/
Dstandby_service_unit_test.cpp203 std::vector<AllowInfo> allowInfoList;
238 std::vector<AllowInfo> allowInfoList;
523 std::vector<AllowInfo> allowInfoList;
833 std::vector<AllowInfo> allowInfoList;
1118 std::vector<AllowInfo> restrictInfoList;
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/
Dstandby_napi_module.cpp131 std::vector<AllowInfo> allowInfoArray {};
/foundation/resourceschedule/work_scheduler/services/native/src/
Dwork_scheduler_service.cpp781 std::vector<DevStandbyMgr::AllowInfo> allowInfoArray; in CheckStandbyApplyInfo()