/ohos5.0/foundation/resourceschedule/device_standby/frameworks/src/ |
H A D | standby_service_stub.cpp | 124 uint32_t restrictType {0}; in HandleGetRestrictList() local 126 if (!data.ReadUint32(restrictType) || !data.ReadUint32(reasonCode)) { in HandleGetRestrictList() 131 ErrCode result = GetRestrictList(restrictType, restrictInfoList, reasonCode); in HandleGetRestrictList()
|
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/innerkits/src/ |
H A D | standby_service_client.cpp | 149 ErrCode StandbyServiceClient::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restri… in GetRestrictList() argument 161 return standbyServiceProxy_->GetRestrictList(restrictType, restrictInfoList, reasonCode); in GetRestrictList()
|
H A D | standby_service_proxy.cpp | 307 ErrCode StandbyServiceProxy::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restric… in GetRestrictList() argument 317 if (!data.WriteUint32(restrictType) || !data.WriteUint32(reasonCode)) { in GetRestrictList()
|
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/ |
H A D | standby_client_unit_test.cpp | 260 uint32_t restrictType = 1; variable 263 …EXPECT_EQ(StandbyServiceClient::GetInstance().GetRestrictList(restrictType, restrictInfoList, reas…
|
/ohos5.0/foundation/resourceschedule/device_standby/interfaces/innerkits/include/ |
H A D | standby_service_proxy.h | 110 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
|
H A D | standby_service_client.h | 97 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
|
/ohos5.0/foundation/resourceschedule/device_standby/frameworks/include/ |
H A D | istandby_service.h | 97 virtual ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
|
/ohos5.0/foundation/resourceschedule/device_standby/services/core/include/ |
H A D | standby_service_impl.h | 110 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList, 145 void GetRestrictListInner(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
|
H A D | standby_service.h | 57 ErrCode GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfoList,
|
/ohos5.0/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | standby_service.cpp | 285 ErrCode StandbyService::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrictInfo… in GetRestrictList() argument 292 …return StandbyServiceImpl::GetInstance()->GetRestrictList(restrictType, restrictInfoList, reasonCo… in GetRestrictList()
|
H A D | standby_service_impl.cpp | 902 ErrCode StandbyServiceImpl::GetRestrictList(uint32_t restrictType, std::vector<AllowInfo>& restrict… in GetRestrictList() argument 910 if (!CheckAllowTypeInfo(restrictType)) { in GetRestrictList() 914 GetRestrictListInner(restrictType, restrictInfoList, reasonCode); in GetRestrictList() 918 void StandbyServiceImpl::GetRestrictListInner(uint32_t restrictType, std::vector<AllowInfo>& restri… in GetRestrictListInner() argument 921 STANDBYSERVICE_LOGD("start GetRestrictListInner, restrictType is %{public}d", restrictType); in GetRestrictListInner() 923 uint32_t restrictNumber = restrictType & (1 << restrictTypeIndex); in GetRestrictListInner()
|
/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_service_unit_test.cpp | 1097 uint32_t restrictType = 1; variable 1100 …EXPECT_EQ(StandbyService::GetInstance()->GetRestrictList(restrictType, restrictInfoList, reasonCod… 1104 GetRestrictList(restrictType, restrictInfoList, reasonCode), ERR_STANDBY_SYS_NOT_READY);
|