Home
last modified time | relevance | path

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

/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
H A Dstandby_service_client.cpp188 ErrCode StandbyServiceClient::ReportDeviceStateChanged(DeviceStateType type, bool enabled) in ReportDeviceStateChanged() function in OHOS::DevStandbyMgr::StandbyServiceClient
197 return standbyServiceProxy_->ReportDeviceStateChanged(type, enabled); in ReportDeviceStateChanged()
H A Dstandby_service_proxy.cpp416 ErrCode StandbyServiceProxy::ReportDeviceStateChanged(DeviceStateType type, bool enabled) in ReportDeviceStateChanged() function in OHOS::DevStandbyMgr::StandbyServiceProxy
427 STANDBYSERVICE_LOGW("ReportDeviceStateChanged write parameter failed"); in ReportDeviceStateChanged()
433 STANDBYSERVICE_LOGW("ReportDeviceStateChanged fail: transact ErrCode=%{public}d", result); in ReportDeviceStateChanged()
437 STANDBYSERVICE_LOGW("ReportDeviceStateChanged fail: read result failed."); in ReportDeviceStateChanged()
441 STANDBYSERVICE_LOGW("ReportDeviceStateChanged failed"); in ReportDeviceStateChanged()
482 STANDBYSERVICE_LOGW("ReportDeviceStateChanged wirte parameter failed"); in HandleEvent()
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dstandby_service_client.h126 ErrCode ReportDeviceStateChanged(DeviceStateType type, bool enabled);
H A Dstandby_service_proxy.h127 ErrCode ReportDeviceStateChanged(DeviceStateType type, bool enabled) override;
/foundation/resourceschedule/device_standby/frameworks/include/
H A Distandby_service.h126 virtual ErrCode ReportDeviceStateChanged(DeviceStateType type, bool enabled) = 0;
/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service.h61 ErrCode ReportDeviceStateChanged(DeviceStateType type, bool enabled) override;
H A Dstandby_service_impl.h114 ErrCode ReportDeviceStateChanged(DeviceStateType type, bool enabled);
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service.cpp317 ErrCode StandbyService::ReportDeviceStateChanged(DeviceStateType type, bool enabled) in ReportDeviceStateChanged() function in OHOS::DevStandbyMgr::StandbyService
323 return StandbyServiceImpl::GetInstance()->ReportDeviceStateChanged(type, enabled); in ReportDeviceStateChanged()
H A Dstandby_service_impl.cpp939 ErrCode StandbyServiceImpl::ReportDeviceStateChanged(DeviceStateType type, bool enabled) in ReportDeviceStateChanged() function in OHOS::DevStandbyMgr::StandbyServiceImpl
/foundation/resourceschedule/device_standby/frameworks/src/
H A Dstandby_service_stub.cpp298 ErrCode result = ReportDeviceStateChanged(static_cast<DeviceStateType>(type), enable); in HandleReportDeviceStateChanged()
/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
H A Dstandby_client_unit_test.cpp249 EXPECT_EQ(StandbyServiceClient::GetInstance().ReportDeviceStateChanged(type, enabled), ERR_OK); in HWTEST_F()
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_service_unit_test.cpp1126 * @tc.desc: test ReportDeviceStateChanged.
1135 EXPECT_EQ(StandbyService::GetInstance()->ReportDeviceStateChanged(type, enabled), ERR_OK); in HWTEST_F()
1138 EXPECT_EQ(StandbyService::GetInstance()->ReportDeviceStateChanged(type, enabled), ERR_STANDBY_SYS_NOT_READY); in HWTEST_F()
1143 * @tc.desc: test ReportDeviceStateChanged.
1162 * @tc.desc: test ReportDeviceStateChanged.

Completed in 10 milliseconds