Lines Matching refs:sensorAsyncResp
106 const std::shared_ptr<SensorsAsyncResp>& sensorAsyncResp, in afterPowerCapSettingGet() argument
112 messages::internalError(sensorAsyncResp->asyncResp->res); in afterPowerCapSettingGet()
118 sensorAsyncResp->asyncResp->res.jsonValue["PowerControl"]; in afterPowerCapSettingGet()
129 sensorAsyncResp->chassisId + in afterPowerCapSettingGet()
199 afterGetChassis(const std::shared_ptr<SensorsAsyncResp>& sensorAsyncResp, in afterGetChassis() argument
233 if (interfaceChassisName == sensorAsyncResp->chassisId) in afterGetChassis()
243 sensorAsyncResp->chassisId); in afterGetChassis()
251 [sensorAsyncResp](const boost::system::error_code& ec, in afterGetChassis()
254 ) { afterPowerCapSettingGet(sensorAsyncResp, ec, properties); }); in afterGetChassis()
268 auto sensorAsyncResp = std::make_shared<SensorsAsyncResp>( in handleChassisPowerGet() local
272 getChassisData(sensorAsyncResp); in handleChassisPowerGet()
285 std::bind_front(afterGetChassis, sensorAsyncResp)); in handleChassisPowerGet()
297 auto sensorAsyncResp = std::make_shared<SensorsAsyncResp>( in handleChassisPowerPatch() local
304 if (!json_util::readJsonPatch(req, sensorAsyncResp->asyncResp->res, in handleChassisPowerPatch()
314 sensorAsyncResp->asyncResp, sensorAsyncResp->chassisId, in handleChassisPowerPatch()
315 std::bind_front(afterGetChassisPath, sensorAsyncResp, in handleChassisPowerPatch()
323 setSensorsOverride(sensorAsyncResp, allCollections); in handleChassisPowerPatch()