Lines Matching refs:aidlvhal
58 std::vector<aidlvhal::VehiclePropConfig> GRPCVehicleHardware::getAllPropertyConfigs() const { in getAllPropertyConfigs()
59 std::vector<aidlvhal::VehiclePropConfig> configs; in getAllPropertyConfigs()
64 aidlvhal::VehiclePropConfig config; in getAllPropertyConfigs()
76 aidlvhal::StatusCode GRPCVehicleHardware::setValues( in setValues()
78 const std::vector<aidlvhal::SetValueRequest>& requests) { in setValues()
95 return aidlvhal::StatusCode::INTERNAL_ERROR; in setValues()
97 std::vector<aidlvhal::SetValueResult> results; in setValues()
101 result.status = static_cast<aidlvhal::StatusCode>(protoResult.status()); in setValues()
106 return aidlvhal::StatusCode::OK; in setValues()
109 aidlvhal::StatusCode GRPCVehicleHardware::getValues( in getValues()
111 const std::vector<aidlvhal::GetValueRequest>& requests) const { in getValues()
124 return aidlvhal::StatusCode::INTERNAL_ERROR; in getValues()
126 std::vector<aidlvhal::GetValueResult> results; in getValues()
130 result.status = static_cast<aidlvhal::StatusCode>(protoResult.status()); in getValues()
132 aidlvhal::VehiclePropValue value; in getValues()
139 return aidlvhal::StatusCode::OK; in getValues()
180 aidlvhal::StatusCode GRPCVehicleHardware::checkHealth() { in checkHealth()
186 return aidlvhal::StatusCode::INTERNAL_ERROR; in checkHealth()
188 return static_cast<aidlvhal::StatusCode>(protoStatus.status_code()); in checkHealth()
191 aidlvhal::StatusCode GRPCVehicleHardware::subscribe(aidlvhal::SubscribeOptions options) { in subscribe()
201 return aidlvhal::StatusCode::OK; in subscribe()
204 return aidlvhal::StatusCode::INTERNAL_ERROR; in subscribe()
206 return static_cast<aidlvhal::StatusCode>(protoStatus.status_code()); in subscribe()
209 aidlvhal::StatusCode GRPCVehicleHardware::unsubscribe(int32_t propId, int32_t areaId) { in unsubscribe()
220 return aidlvhal::StatusCode::OK; in unsubscribe()
223 return aidlvhal::StatusCode::INTERNAL_ERROR; in unsubscribe()
225 return static_cast<aidlvhal::StatusCode>(protoStatus.status_code()); in unsubscribe()
228 aidlvhal::StatusCode GRPCVehicleHardware::updateSampleRate(int32_t propId, int32_t areaId, in updateSampleRate()
239 return aidlvhal::StatusCode::INTERNAL_ERROR; in updateSampleRate()
241 return static_cast<aidlvhal::StatusCode>(protoStatus.status_code()); in updateSampleRate()
267 std::vector<aidlvhal::VehiclePropValue> values; in ValuePollingLoop()
269 values.push_back(aidlvhal::VehiclePropValue()); in ValuePollingLoop()