summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Granata2017-04-05 16:31:41 -0500
committerEnrico Granata2017-04-06 16:30:54 -0500
commitce7ee20db58fd3816dcdd19dc1e2f6c8f26b0d5a (patch)
treecb30bffcfb7ffdca74505dd10c2e0af1f850cac9 /obd2-lib
parente16aa2df82c061f52273981a9205092fafe77f90 (diff)
downloadplatform-packages-services-car-ce7ee20db58fd3816dcdd19dc1e2f6c8f26b0d5a.tar.gz
platform-packages-services-car-ce7ee20db58fd3816dcdd19dc1e2f6c8f26b0d5a.tar.xz
platform-packages-services-car-ce7ee20db58fd3816dcdd19dc1e2f6c8f26b0d5a.zip
Add code to convert a CarDiagnosticEvent into Diagnostic Json
Test: runtest -x packages/services/Car/tests/carservice_test/src/com/android/car/test/CarDiagnosticManagerTest.java runtest -x packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/Obd2LiveFrameGeneratorTest.java Change-Id: I3e20ed08566161763933aa6c35b1f7aa7c2feca2
Diffstat (limited to 'obd2-lib')
-rw-r--r--obd2-lib/src/com/android/car/obd2/Obd2LiveFrameGenerator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/obd2-lib/src/com/android/car/obd2/Obd2LiveFrameGenerator.java b/obd2-lib/src/com/android/car/obd2/Obd2LiveFrameGenerator.java
index 3fffd22b..26f408ff 100644
--- a/obd2-lib/src/com/android/car/obd2/Obd2LiveFrameGenerator.java
+++ b/obd2-lib/src/com/android/car/obd2/Obd2LiveFrameGenerator.java
@@ -27,7 +27,7 @@ import java.util.Optional;
27import java.util.Set; 27import java.util.Set;
28 28
29public class Obd2LiveFrameGenerator { 29public class Obd2LiveFrameGenerator {
30 public static final int FRAME_TYPE_LIVE = 1; 30 public static final String FRAME_TYPE_LIVE = "live";
31 public static final String TAG = Obd2LiveFrameGenerator.class.getSimpleName(); 31 public static final String TAG = Obd2LiveFrameGenerator.class.getSimpleName();
32 32
33 private final Obd2Connection mConnection; 33 private final Obd2Connection mConnection;