Home
last modified time | relevance | path

Searched refs:restrictInfoList (Results 1 - 12 of 12) sorted by relevance

/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
H A Dstandby_service_client.cpp150 ErrCode StandbyServiceClient::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList, in GetRestrictList() argument
158 if (!restrictInfoList.empty()) { in GetRestrictList()
160 restrictInfoList.clear(); in GetRestrictList()
162 return standbyServiceProxy_->GetRestrictList(restrictType, restrictInfoList, reasonCode); in GetRestrictList()
H A Dstandby_service_proxy.cpp307 ErrCode StandbyServiceProxy::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList, in GetRestrictList() argument
343 restrictInfoList.emplace_back(*info); in GetRestrictList()
/foundation/resourceschedule/device_standby/frameworks/src/
H A Dstandby_service_stub.cpp130 std::vector<AllowInfo> restrictInfoList {}; in HandleGetRestrictList()
131 ErrCode result = GetRestrictList(restrictType, restrictInfoList, reasonCode); in HandleGetRestrictList()
136 if (!reply.WriteUint32(restrictInfoList.size())) { in HandleGetRestrictList()
140 for (auto& info : restrictInfoList) { in HandleGetRestrictList()
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dstandby_service_client.h93 * @param restrictInfoList result represents restricted types and apps.
97 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
H A Dstandby_service_proxy.h110 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
/foundation/resourceschedule/device_standby/frameworks/include/
H A Distandby_service.h93 * @param restrictInfoList result represents restricted types and apps.
97 virtual ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service.h58 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
H A Dstandby_service_impl.h111 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
150 void GetRestrictListInner(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service.cpp288 ErrCode StandbyService::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList, in GetRestrictList() argument
295 return StandbyServiceImpl::GetInstance()->GetRestrictList(restrictType, restrictInfoList, reasonCode); in GetRestrictList()
H A Dstandby_service_impl.cpp887 ErrCode StandbyServiceImpl::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList, in GetRestrictList() argument
899 GetRestrictListInner(restrictType, restrictInfoList, reasonCode); in GetRestrictList()
903 void StandbyServiceImpl::GetRestrictListInner(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList, in GetRestrictListInner() argument
913 GetPersistAllowList(restrictTypeIndex, restrictInfoList, false, isApp); in GetRestrictListInner()
/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
H A Dstandby_client_unit_test.cpp261 std::vector<AllowInfo> restrictInfoList; in HWTEST_F() local
263 EXPECT_EQ(StandbyServiceClient::GetInstance().GetRestrictList(restrictType, restrictInfoList, reasonCode), ERR_OK); in HWTEST_F()
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_service_unit_test.cpp1098 std::vector<AllowInfo> restrictInfoList; in HWTEST_F() local
1100 EXPECT_EQ(StandbyService::GetInstance()->GetRestrictList(restrictType, restrictInfoList, reasonCode), ERR_OK); in HWTEST_F()
1104 GetRestrictList(restrictType, restrictInfoList, reasonCode), ERR_STANDBY_SYS_NOT_READY); in HWTEST_F()

Completed in 10 milliseconds