/foundation/resourceschedule/device_standby/interfaces/innerkits/src/ |
H A D | standby_service_client.cpp | 188 ErrCode StandbyServiceClient::ReportDeviceStateChanged(DeviceStateType type, bool enabled) in ReportDeviceStateChanged() function in OHOS::DevStandbyMgr::StandbyServiceClient 197 return standbyServiceProxy_->ReportDeviceStateChanged(type, enabled); in ReportDeviceStateChanged()
|
H A D | standby_service_proxy.cpp | 416 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 D | standby_service_client.h | 126 ErrCode ReportDeviceStateChanged(DeviceStateType type, bool enabled);
|
H A D | standby_service_proxy.h | 127 ErrCode ReportDeviceStateChanged(DeviceStateType type, bool enabled) override;
|
/foundation/resourceschedule/device_standby/frameworks/include/ |
H A D | istandby_service.h | 126 virtual ErrCode ReportDeviceStateChanged(DeviceStateType type, bool enabled) = 0;
|
/foundation/resourceschedule/device_standby/services/core/include/ |
H A D | standby_service.h | 61 ErrCode ReportDeviceStateChanged(DeviceStateType type, bool enabled) override;
|
H A D | standby_service_impl.h | 114 ErrCode ReportDeviceStateChanged(DeviceStateType type, bool enabled);
|
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | standby_service.cpp | 317 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 D | standby_service_impl.cpp | 939 ErrCode StandbyServiceImpl::ReportDeviceStateChanged(DeviceStateType type, bool enabled) in ReportDeviceStateChanged() function in OHOS::DevStandbyMgr::StandbyServiceImpl
|
/foundation/resourceschedule/device_standby/frameworks/src/ |
H A D | standby_service_stub.cpp | 298 ErrCode result = ReportDeviceStateChanged(static_cast<DeviceStateType>(type), enable); in HandleReportDeviceStateChanged()
|
/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/ |
H A D | standby_client_unit_test.cpp | 249 EXPECT_EQ(StandbyServiceClient::GetInstance().ReportDeviceStateChanged(type, enabled), ERR_OK); in HWTEST_F()
|
/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_service_unit_test.cpp | 1126 * @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.
|