diff options
author | Calvin Huang <calhuang@google.com> | 2020-03-11 14:53:21 -0700 |
---|---|---|
committer | Calvin Huang <calhuang@google.com> | 2020-03-16 12:41:11 -0700 |
commit | 62d956df9ef9160e43c06c3c6935c252d12975ac (patch) | |
tree | 04b208f7e20771ed07ee97444805725546e7a9a8 /common | |
parent | ec446abd4003553a5cbe55a8a069d90c6cb63760 (diff) | |
download | device_generic_car-62d956df9ef9160e43c06c3c6935c252d12975ac.tar.gz device_generic_car-62d956df9ef9160e43c06c3c6935c252d12975ac.tar.bz2 device_generic_car-62d956df9ef9160e43c06c3c6935c252d12975ac.zip |
Add VHAL property init value with json
Bug: 150978133
Test: Manual
Change-Id: Iefbcaff996c70cf7e43e22f53098011a1c437196
Diffstat (limited to 'common')
-rw-r--r-- | common/vhaloverride/ev.car.json | 16 | ||||
-rw-r--r-- | common/vhaloverride/uxr.car.json | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/common/vhaloverride/ev.car.json b/common/vhaloverride/ev.car.json new file mode 100644 index 0000000..b063765 --- /dev/null +++ b/common/vhaloverride/ev.car.json @@ -0,0 +1,16 @@ +[ + { + "timestamp": 0, + "areaId": 0, + "name": "INFO_FUEL_TYPE", + "value": [10], + "prop": 289472773 + }, + { + "timestamp": 0, + "name": "INFO_EV_CONNECTOR_TYPE", + "value": [1, 5], + "areaId": 0, + "prop": 289472775 + } +] diff --git a/common/vhaloverride/uxr.car.json b/common/vhaloverride/uxr.car.json new file mode 100644 index 0000000..c7652ba --- /dev/null +++ b/common/vhaloverride/uxr.car.json @@ -0,0 +1,23 @@ +[ + { + "timestamp": 0, + "areaId": 0, + "name": "PERF_VEHICLE_SPEED", + "value": 50.0, + "prop": 291504647 + }, + { + "timestamp": 0, + "areaId": 0, + "name": "GEAR_SELECTION", + "value": 8, + "prop": 289408000 + }, + { + "timestamp": 0, + "areaId": 0, + "name": "PARKING_BRAKE_ON", + "value": 0, + "prop": 287310850 + } +] |