/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/ |
H A D | mock_standby_client_unit_test.cpp | 57 EXPECT_NE(StandbyServiceClient::GetInstance().GetAllowList(AllowType::NETWORK, allowInfoList, 0), ERR_OK); in HWTEST_F() 58 EXPECT_NE(StandbyServiceClient::GetInstance().GetAllowList(0, allowInfoList, 0), ERR_OK); in HWTEST_F() 90 EXPECT_NE(proxy->GetAllowList(0, allowInfoList, 0), ERR_OK); in HWTEST_F() 104 EXPECT_NE(proxy->GetAllowList(0, allowInfoList, 0), ERR_OK); in HWTEST_F()
|
H A D | standby_client_unit_test.cpp | 87 * @tc.desc: test GetAllowList. 95 EXPECT_EQ(StandbyServiceClient::GetInstance().GetAllowList(AllowType::NETWORK, allowInfoList, 0), ERR_OK); in HWTEST_F() 96 EXPECT_NE(StandbyServiceClient::GetInstance().GetAllowList(0, allowInfoList, 0), ERR_OK); in HWTEST_F() 97 EXPECT_EQ(StandbyServiceClient::GetInstance().GetAllowList((1 << 6), allowInfoList, 0), ERR_OK); in HWTEST_F() 99 StandbyServiceClient::GetInstance().GetAllowList((1 << 6), allowInfoList, 0); in HWTEST_F()
|
/foundation/resourceschedule/device_standby/interfaces/innerkits/src/ |
H A D | standby_service_client.cpp | 94 ErrCode StandbyServiceClient::GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoArray, in GetAllowList() function in OHOS::DevStandbyMgr::StandbyServiceClient 106 return standbyServiceProxy_->GetAllowList(allowType, allowInfoArray, reasonCode); in GetAllowList()
|
H A D | standby_service_proxy.cpp | 171 ErrCode StandbyServiceProxy::GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList, in GetAllowList() function in OHOS::DevStandbyMgr::StandbyServiceProxy 178 STANDBYSERVICE_LOGW("GetAllowList write descriptor failed"); in GetAllowList() 182 STANDBYSERVICE_LOGW("GetAllowList write parameter failed"); in GetAllowList() 189 STANDBYSERVICE_LOGW("GetAllowList fail: transact ErrCode=%{public}d", result); in GetAllowList() 193 STANDBYSERVICE_LOGW("GetAllowList fail: read result failed."); in GetAllowList() 197 STANDBYSERVICE_LOGW("GetAllowList failed"); in GetAllowList() 204 STANDBYSERVICE_LOGW("GetAllowList Read Parcelable infos failed."); in GetAllowList()
|
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/ |
H A D | standby_service_client.h | 86 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
|
H A D | standby_service_proxy.h | 72 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
|
/foundation/resourceschedule/device_standby/frameworks/include/ |
H A D | istandby_service.h | 86 virtual ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
|
/foundation/resourceschedule/device_standby/services/core/include/ |
H A D | standby_service.h | 53 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
|
H A D | standby_service_impl.h | 105 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
|
/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() function in OHOS::DevStandbyMgr::StandbyService 228 return StandbyServiceImpl::GetInstance()->GetAllowList(allowType, allowInfoList, reasonCode); in GetAllowList()
|
H A D | standby_service_impl.cpp | 761 ErrCode StandbyServiceImpl::GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList, in GetAllowList() function in OHOS::DevStandbyMgr::StandbyServiceImpl 769 STANDBYSERVICE_LOGD("start GetAllowList"); in GetAllowList()
|
/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_service_unit_test.cpp | 200 EXPECT_NE(StandbyService::GetInstance()->GetAllowList(AllowType::NETWORK, allowInfoList, 0), ERR_OK); in HWTEST_F() 210 EXPECT_EQ(StandbyService::GetInstance()->GetAllowList(AllowType::NETWORK, allowInfoList, 0), ERR_OK); in HWTEST_F() 235 StandbyServiceImpl::GetInstance()->GetAllowList(AllowType::NETWORK, allowInfoList, 0); in HWTEST_F() 520 StandbyServiceImpl::GetInstance()->GetAllowList(MAX_ALLOW_TYPE_NUMBER, allowInfoList, in HWTEST_F() 522 StandbyServiceImpl::GetInstance()->GetAllowList(MAX_ALLOW_TYPE_NUMBER, allowInfoList, in HWTEST_F() 812 * @tc.desc: test multithread GetAllowList of StandbyService. 819 StandbyServiceImpl::GetInstance()->GetAllowList(AllowType::NETWORK, allowInfoList, 0); in HWMTEST_F()
|
/foundation/resourceschedule/device_standby/frameworks/src/ |
H A D | standby_service_stub.cpp | 223 ErrCode result = GetAllowList(allowType, allowInfoList, reasonCode); in HandleGetAllowList()
|
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/ |
H A D | standby_napi_module.cpp | 144 asyncCallbackInfo->errCode = StandbyServiceClient::GetInstance().GetAllowList( in AddGetAllowListExecuteCB() 227 NAPI_CALL(env, napi_create_string_latin1(env, "GetAllowList", NAPI_AUTO_LENGTH, &resourceName)); in GetExemptionListApps()
|
/foundation/resourceschedule/work_scheduler/services/native/src/ |
H A D | work_scheduler_service.cpp | 1144 DevStandbyMgr::StandbyServiceClient::GetInstance().GetAllowList(DevStandbyMgr::AllowType::WORK_SCHEDULER, in CheckStandbyApplyInfo()
|