Home
last modified time | relevance | path

Searched refs:sensorStore (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DEmulatedVehicleHal.cpp45 std::unique_ptr<Obd2SensorStore> sensorStore( in fillDefaultObd2Frame() local
48 sensorStore->setIntegerSensor(DiagnosticIntegerSensorIndex::FUEL_SYSTEM_STATUS, in fillDefaultObd2Frame()
50 sensorStore->setIntegerSensor(DiagnosticIntegerSensorIndex::MALFUNCTION_INDICATOR_LIGHT_ON, 0); in fillDefaultObd2Frame()
51 sensorStore->setIntegerSensor(DiagnosticIntegerSensorIndex::IGNITION_MONITORS_SUPPORTED, in fillDefaultObd2Frame()
53 sensorStore->setIntegerSensor(DiagnosticIntegerSensorIndex::IGNITION_SPECIFIC_MONITORS, in fillDefaultObd2Frame()
58 sensorStore->setIntegerSensor(DiagnosticIntegerSensorIndex::INTAKE_AIR_TEMPERATURE, 35); in fillDefaultObd2Frame()
59 sensorStore->setIntegerSensor(DiagnosticIntegerSensorIndex::COMMANDED_SECONDARY_AIR_STATUS, in fillDefaultObd2Frame()
61 sensorStore->setIntegerSensor(DiagnosticIntegerSensorIndex::NUM_OXYGEN_SENSORS_PRESENT, 1); in fillDefaultObd2Frame()
62 sensorStore->setIntegerSensor(DiagnosticIntegerSensorIndex::RUNTIME_SINCE_ENGINE_START, 500); in fillDefaultObd2Frame()
63 sensorStore->setIntegerSensor( in fillDefaultObd2Frame()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/
DVehicleManager_fuzzer.cpp268 std::unique_ptr<Obd2SensorStore> sensorStore( in invokeObd2SensorStore() local
270 if (sensorStore) { in invokeObd2SensorStore()
271 sensorStore->setIntegerSensor(kDiagnosticIntIndex[diagnosticIntIndex], diagnosticIntValue); in invokeObd2SensorStore()
272 sensorStore->setFloatSensor(kDiagnosticFloatIndex[diagnosticFloatIndex], in invokeObd2SensorStore()
274 sensorStore->getIntegerSensors(); in invokeObd2SensorStore()
275 sensorStore->getFloatSensors(); in invokeObd2SensorStore()
276 sensorStore->getSensorsBitmask(); in invokeObd2SensorStore()
282 sensorStore->fillPropValue(dtc, freezeFrame.get()); in invokeObd2SensorStore()