Home
last modified time | relevance | path

Searched refs:UnapplyAllowResource (Results 1 - 16 of 16) sorted by relevance

/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
H A Dmock_standby_client_unit_test.cpp54 EXPECT_NE(StandbyServiceClient::GetInstance().UnapplyAllowResource(nullRequest), ERR_OK); in HWTEST_F()
88 EXPECT_NE(proxy->UnapplyAllowResource(resouarceRequest), ERR_OK); in HWTEST_F()
103 EXPECT_NE(proxy->UnapplyAllowResource(resouarceRequest), ERR_OK); in HWTEST_F()
H A Dstandby_client_unit_test.cpp73 EXPECT_NE(StandbyServiceClient::GetInstance().UnapplyAllowResource(nullRequest), ERR_OK); in HWTEST_F()
77 EXPECT_NE(StandbyServiceClient::GetInstance().UnapplyAllowResource(resouarceRequest), ERR_OK); in HWTEST_F()
82 EXPECT_EQ(StandbyServiceClient::GetInstance().UnapplyAllowResource(validResRequest), ERR_OK); in HWTEST_F()
/foundation/resourceschedule/device_standby/interfaces/kits/napi/include/
H A Dstandby_napi_module.h27 napi_value UnapplyAllowResource(napi_env env, napi_callback_info info);
/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
H A Dstandby_service_client.cpp80 ErrCode StandbyServiceClient::UnapplyAllowResource(const sptr<ResourceRequest>& resourceRequest) in UnapplyAllowResource() function in OHOS::DevStandbyMgr::StandbyServiceClient
91 return standbyServiceProxy_->UnapplyAllowResource(resourceRequest); in UnapplyAllowResource()
H A Dstandby_service_proxy.cpp140 ErrCode StandbyServiceProxy::UnapplyAllowResource(const sptr<ResourceRequest>& resourceRequest) in UnapplyAllowResource() function in OHOS::DevStandbyMgr::StandbyServiceProxy
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dstandby_service_client.h76 ErrCode UnapplyAllowResource(const sptr<ResourceRequest>& resourceRequest);
H A Dstandby_service_proxy.h62 ErrCode UnapplyAllowResource(const sptr<ResourceRequest>& resourceRequest) override;
/foundation/resourceschedule/device_standby/frameworks/include/
H A Distandby_service.h76 virtual ErrCode UnapplyAllowResource(const sptr<ResourceRequest>& resourceRequest) = 0;
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/
H A Dinit.cpp32 DECLARE_NAPI_FUNCTION("releaseExemptionResource", UnapplyAllowResource), in DeviceStandbyFuncInit()
H A Dstandby_napi_module.cpp294 napi_value UnapplyAllowResource(napi_env env, napi_callback_info info) in UnapplyAllowResource() function
300 ErrCode errCode = StandbyServiceClient::GetInstance().UnapplyAllowResource(resourceRequest); in UnapplyAllowResource()
/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service.h52 ErrCode UnapplyAllowResource(const sptr<ResourceRequest>& resourceRequest) override;
H A Dstandby_service_impl.h104 ErrCode UnapplyAllowResource(const sptr<ResourceRequest>& resourceRequest);
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service.cpp212 ErrCode StandbyService::UnapplyAllowResource(const sptr<ResourceRequest>& resourceRequest) in UnapplyAllowResource() function in OHOS::DevStandbyMgr::StandbyService
218 return StandbyServiceImpl::GetInstance()->UnapplyAllowResource(resourceRequest); in UnapplyAllowResource()
H A Dstandby_service_impl.cpp661 ErrCode StandbyServiceImpl::UnapplyAllowResource(const sptr<ResourceRequest>& resourceRequest) in UnapplyAllowResource() function in OHOS::DevStandbyMgr::StandbyServiceImpl
667 STANDBYSERVICE_LOGD("start UnapplyAllowResource"); in UnapplyAllowResource()
1374 UnapplyAllowResource(resourceRequest); in DumpModifyAllowList()
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_service_unit_test.cpp197 EXPECT_NE(StandbyService::GetInstance()->UnapplyAllowResource(resourceRequest), ERR_OK); in HWTEST_F()
209 StandbyService::GetInstance()->UnapplyAllowResource(resourceRequest); in HWTEST_F()
233 StandbyServiceImpl::GetInstance()->UnapplyAllowResource(resourceRequest); in HWTEST_F()
541 StandbyServiceImpl::GetInstance()->UnapplyAllowResource(resourceRequest); in HWTEST_F()
794 * @tc.desc: test multithread UnapplyAllowResource of StandbyService.
801 StandbyServiceImpl::GetInstance()->UnapplyAllowResource(resourceRequest); in HWMTEST_F()
804 EXPECT_EQ(StandbyServiceImpl::GetInstance()->UnapplyAllowResource(validResRequest), ERR_OK); in HWMTEST_F()
807 StandbyServiceImpl::GetInstance()->UnapplyAllowResource(invalidResRequest); in HWMTEST_F()
/foundation/resourceschedule/device_standby/frameworks/src/
H A Dstandby_service_stub.cpp206 ErrCode result = UnapplyAllowResource(resourceRequest); in HandleUnapplyAllowResource()

Completed in 12 milliseconds