/foundation/resourceschedule/device_standby/interfaces/innerkits/src/ |
H A D | allow_info.cpp | 22 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 D | standby_service_proxy.cpp | 171 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 D | standby_service_client.cpp | 94 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 D | allow_info.h | 25 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 D | standby_service_client.h | 86 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList, 97 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
|
H A D | standby_service_proxy.h | 72 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 D | standby_service_impl.h | 105 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 D | standby_service.h | 53 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 D | istandby_service.h | 86 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 D | standby_client_unit_test.cpp | 93 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 D | mock_standby_client_unit_test.cpp | 55 std::vector<AllowInfo> allowInfoList; in HWTEST_F() 89 std::vector<AllowInfo> allowInfoList; in HWTEST_F()
|
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | standby_service.cpp | 221 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 D | standby_service_impl.cpp | 761 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 D | standby_service_stub.cpp | 130 std::vector<AllowInfo> restrictInfoList {}; in HandleGetRestrictList() 222 std::vector<AllowInfo> allowInfoList {}; in HandleGetAllowList()
|
/foundation/resourceschedule/device_standby/plugins/strategy/src/ |
H A D | base_network_strategy.cpp | 274 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfig() 303 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfigForApp()
|
H A D | running_lock_strategy.cpp | 319 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfig() 514 std::vector<AllowInfo> allowInfoList {}; in GetExemptionConfigForApp()
|
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/ |
H A D | standby_napi_module.cpp | 131 std::vector<AllowInfo> allowInfoArray {};
|
/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_service_unit_test.cpp | 199 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 D | work_scheduler_service.cpp | 1143 std::vector<DevStandbyMgr::AllowInfo> allowInfoArray; in CheckStandbyApplyInfo()
|