Home
last modified time | relevance | path

Searched refs:GetAllowList (Results 1 - 15 of 15) sorted by relevance

/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
H A Dmock_standby_client_unit_test.cpp57 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 Dstandby_client_unit_test.cpp87 * @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 Dstandby_service_client.cpp94 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 Dstandby_service_proxy.cpp171 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 Dstandby_service_client.h86 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
H A Dstandby_service_proxy.h72 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
/foundation/resourceschedule/device_standby/frameworks/include/
H A Distandby_service.h86 virtual ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service.h53 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
H A Dstandby_service_impl.h105 ErrCode GetAllowList(uint32_t allowType, std::vector<AllowInfo>& allowInfoList,
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service.cpp221 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 Dstandby_service_impl.cpp761 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 Dstandby_service_unit_test.cpp200 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 Dstandby_service_stub.cpp223 ErrCode result = GetAllowList(allowType, allowInfoList, reasonCode); in HandleGetAllowList()
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/
H A Dstandby_napi_module.cpp144 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 Dwork_scheduler_service.cpp1144 DevStandbyMgr::StandbyServiceClient::GetInstance().GetAllowList(DevStandbyMgr::AllowType::WORK_SCHEDULER, in CheckStandbyApplyInfo()

Completed in 12 milliseconds