Home
last modified time | relevance | path

Searched refs:freezeFrame (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DFakeObd2Frame.cpp108 auto freezeFrame = createVehiclePropValue(VehiclePropertyType::MIXED, 0); in initObd2FreezeFrame() local
109 sensorStore->fillPropValue(dtc, freezeFrame.get()); in initObd2FreezeFrame()
110 freezeFrame->prop = OBD2_FREEZE_FRAME; in initObd2FreezeFrame()
111 ALOGE("freeze frame: %lld", (long long)freezeFrame->timestamp); in initObd2FreezeFrame()
113 propStore->writeValue(*freezeFrame, true); in initObd2FreezeFrame()
130 auto freezeFrame = propStore->readValueOrNull(OBD2_FREEZE_FRAME, 0, timestamp); in fillObd2FreezeFrame() local
131 if (freezeFrame == nullptr) { in fillObd2FreezeFrame()
136 outValue->value.int32Values = freezeFrame->value.int32Values; in fillObd2FreezeFrame()
137 outValue->value.floatValues = freezeFrame->value.floatValues; in fillObd2FreezeFrame()
138 outValue->value.bytes = freezeFrame->value.bytes; in fillObd2FreezeFrame()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/obd2frame/src/
DFakeObd2Frame.cpp121 auto freezeFrame = sensorStore->getSensorProperty(dtc); in initObd2FreezeFrame() local
122 freezeFrame->prop = OBD2_FREEZE_FRAME; in initObd2FreezeFrame()
124 mPropStore->writeValue(std::move(freezeFrame), /*updateStatus=*/true); in initObd2FreezeFrame()
161 for (const auto& freezeFrame : result.value()) { in getObd2DtcInfo() local
162 timestamps.push_back(freezeFrame->timestamp); in getObd2DtcInfo()
/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/
DVehicleManager_fuzzer.cpp343 auto freezeFrame = createVehiclePropValue( in invokeObd2SensorStore() local
346 if (!freezeFrame.get()) { in invokeObd2SensorStore()
349 freezeFrame->prop = mFuzzedDataProvider->ConsumeIntegral<int32_t>(); in invokeObd2SensorStore()
350 sensorStore->fillPropValue(dtc, freezeFrame.get()); in invokeObd2SensorStore()