Home
last modified time | relevance | path

Searched refs:AllowInfo (Results 1 - 19 of 19) sorted by relevance

/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
H A 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()
H A Dstandby_service_proxy.cpp171 ErrCode StandbyServiceProxy::GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList, in GetAllowList()
202 auto info = AllowInfo::Unmarshalling(reply); in GetAllowList()
307 ErrCode StandbyServiceProxy::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList, in GetRestrictList()
338 auto info = AllowInfo::Unmarshalling(reply); in GetRestrictList()
H A Dstandby_service_client.cpp94 ErrCode StandbyServiceClient::GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoArray, in GetAllowList()
150 ErrCode StandbyServiceClient::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList, in GetRestrictList()
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dallow_info.h25 class AllowInfo : public Parcelable { class
27 AllowInfo() = default;
28 AllowInfo(uint32_t allowType, const std::string& name, int32_t duration) :allowType_(allowType), in AllowInfo() function in OHOS::DevStandbyMgr::AllowInfo
37 static sptr<AllowInfo> Unmarshalling(Parcel& in);
H A Dstandby_service_client.h86 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
97 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
H A Dstandby_service_proxy.h72 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
110 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service_impl.h105 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
111 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
133 void GetAllowListInner(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
147 void GetTemporaryAllowList(uint32_t allowTypeIndex, std::vector<AllowInfo>& allowInfoList,
149 void GetPersistAllowList(uint32_t allowTypeIndex, std::vector<AllowInfo>& allowInfoList, bool isAllow, bool isApp);
150 void GetRestrictListInner(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
H A Dstandby_service.h53 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
58 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
/foundation/resourceschedule/device_standby/frameworks/include/
H A Distandby_service.h86 virtual ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
97 virtual ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
H A Dstandby_client_unit_test.cpp93 std::vector<AllowInfo> allowInfoList; in HWTEST_F()
98 allowInfoList.emplace_back(AllowInfo {}); in HWTEST_F()
122 auto allowInfo = std::make_shared<AllowInfo>(); in HWTEST_F()
126 EXPECT_EQ(AllowInfo::Unmarshalling(data), nullptr); in HWTEST_F()
261 std::vector<AllowInfo> restrictInfoList; in HWTEST_F()
H A Dmock_standby_client_unit_test.cpp55 std::vector<AllowInfo> allowInfoList; in HWTEST_F()
89 std::vector<AllowInfo> allowInfoList; in HWTEST_F()
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service.cpp221 ErrCode StandbyService::GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList, in GetAllowList()
288 ErrCode StandbyService::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList, in GetRestrictList()
H A Dstandby_service_impl.cpp761 ErrCode StandbyServiceImpl::GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList, in GetAllowList()
782 void StandbyServiceImpl::GetAllowListInner(uint32_t allowType, std::vector<AllowInfo>& allowInfoList, in GetAllowListInner()
799 void StandbyServiceImpl::GetTemporaryAllowList(uint32_t allowTypeIndex, std::vector<AllowInfo>& in GetTemporaryAllowList()
821 void StandbyServiceImpl::GetPersistAllowList(uint32_t allowTypeIndex, std::vector<AllowInfo>& allowInfoList, in GetPersistAllowList()
857 std::vector<AllowInfo> allowInfoList; in GetEligiableRestrictSet()
861 [&allowSet](AllowInfo& allowInfo) { allowSet.insert(allowInfo.GetName()); }); in GetEligiableRestrictSet()
887 ErrCode StandbyServiceImpl::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList, in GetRestrictList()
903 void StandbyServiceImpl::GetRestrictListInner(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList, in GetRestrictListInner()
1379 std::vector<AllowInfo> allowInfoList; in DumpModifyAllowList()
/foundation/resourceschedule/device_standby/frameworks/src/
H A Dstandby_service_stub.cpp130 std::vector<AllowInfo> restrictInfoList {}; in HandleGetRestrictList()
222 std::vector<AllowInfo> allowInfoList {}; in HandleGetAllowList()
/foundation/resourceschedule/device_standby/plugins/strategy/src/
H A Dbase_network_strategy.cpp274 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfig()
303 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfigForApp()
H A Drunning_lock_strategy.cpp319 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfig()
514 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfigForApp()
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/
H A Dstandby_napi_module.cpp131 std::vector<AllowInfo> allowInfoArray {};
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_service_unit_test.cpp199 std::vector<AllowInfo> allowInfoList; in HWTEST_F()
234 std::vector<AllowInfo> allowInfoList; in HWTEST_F()
519 std::vector<AllowInfo> allowInfoList; in HWTEST_F()
818 std::vector<AllowInfo> allowInfoList; in HWMTEST_F()
1098 std::vector<AllowInfo> restrictInfoList; in HWTEST_F()
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_scheduler_service.cpp1143 std::vector<DevStandbyMgr::AllowInfo> allowInfoArray; in CheckStandbyApplyInfo()

Completed in 15 milliseconds