commit | 37e69d773b09f0597e0f9670ed971ad3f7e879df | [log] [tgz] |
---|---|---|
author | Enrico Granata <egranata@google.com> | Wed Feb 08 18:09:45 2017 -0800 |
committer | Enrico Granata <egranata@google.com> | Thu Feb 09 17:12:12 2017 -0800 |
tree | 8c651daa8cfb065af4013e01bf1f9ae87c0b3f4d | |
parent | f53dfca395b791bf3d3afbfca17fbf6db782b5c4 [diff] |
Post-O. Finalize Vehicle HAL support for OBD2 diagnostics. Add OBD2_DTC_INFO property to VHAL. This property returns a list of timestamps for which freeze frames are available to be read. Make OBD2_FREEZE_FRAME indexed on timestamp, such that one has to pass a timestamp to retrieve the freeze frame at that timestamp. Add OBD2_DTC_CLEAR to delete some or all of the freeze frames stored. Test: build Change-Id: I30344ffd6e7527f076b3382c32f5507973c9985b