Home
last modified time | relevance | path

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

/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
H A Dstandby_service_client.cpp175 ErrCode StandbyServiceClient::ReportPowerOverused(const std::string &module, uint32_t level) in ReportPowerOverused() function in OHOS::DevStandbyMgr::StandbyServiceClient
185 return standbyServiceProxy_->ReportPowerOverused(module, level); in ReportPowerOverused()
H A Dstandby_service_proxy.cpp384 ErrCode StandbyServiceProxy::ReportPowerOverused(const std::string &module, uint32_t level) in ReportPowerOverused() function in OHOS::DevStandbyMgr::StandbyServiceProxy
395 STANDBYSERVICE_LOGW("ReportPowerOverused write parameter failed"); in ReportPowerOverused()
402 STANDBYSERVICE_LOGW("ReportPowerOverused fail: transact ErrCode=%{public}d", result); in ReportPowerOverused()
406 STANDBYSERVICE_LOGW("ReportPowerOverused fail: read result failed."); in ReportPowerOverused()
410 STANDBYSERVICE_LOGW("ReportPowerOverused failed"); in ReportPowerOverused()
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dstandby_service_client.h161 ErrCode ReportPowerOverused(const std::string &module, uint32_t level);
H A Dstandby_service_proxy.h146 ErrCode ReportPowerOverused(const std::string &module, uint32_t level) override;
/foundation/resourceschedule/device_standby/frameworks/include/
H A Distandby_service.h163 virtual ErrCode ReportPowerOverused(const std::string &module, uint32_t level) = 0;
/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service.h66 ErrCode ReportPowerOverused(const std::string &module, uint32_t level) override;
H A Dstandby_service_impl.h116 ErrCode ReportPowerOverused(const std::string &module, uint32_t level);
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service.cpp307 ErrCode StandbyService::ReportPowerOverused(const std::string &module, uint32_t level) in ReportPowerOverused() function in OHOS::DevStandbyMgr::StandbyService
314 return StandbyServiceImpl::GetInstance()->ReportPowerOverused(module, level); in ReportPowerOverused()
H A Dstandby_service_impl.cpp930 ErrCode StandbyServiceImpl::ReportPowerOverused(const std::string &module, uint32_t level) in ReportPowerOverused() function in OHOS::DevStandbyMgr::StandbyServiceImpl
/foundation/resourceschedule/device_standby/frameworks/src/
H A Dstandby_service_stub.cpp281 ErrCode result = ReportPowerOverused(module, level); in HandleReportPowerOverused()
/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
H A Dstandby_client_unit_test.cpp282 * @tc.desc: test ReportPowerOverused.
290 EXPECT_EQ(StandbyServiceClient::GetInstance().ReportPowerOverused(TEST_MODULE_NAME, level), ERR_OK); in HWTEST_F()
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_service_unit_test.cpp1354 * @tc.desc: test ReportPowerOverused.
1364 EXPECT_EQ(StandbyService::GetInstance()->ReportPowerOverused(TEST_MODULE_NAME, level), ERR_OK); in HWTEST_F()
1368 EXPECT_EQ(StandbyService::GetInstance()->ReportPowerOverused(TEST_MODULE_NAME, level), ERR_STANDBY_SYS_NOT_READY); in HWTEST_F()

Completed in 10 milliseconds