commit | 3be21ccf01766b9f05b4078dd510defe6736d6ec | [log] [tgz] |
---|---|---|
author | Kai Wang <kwangsudo@google.com> | Fri May 14 23:44:10 2021 +0000 |
committer | Kai Wang <kwangsudo@google.com> | Fri May 14 23:47:00 2021 +0000 |
tree | f57b7d65205acf7b7ea3e5642503b4c1c4539ef3 | |
parent | cb66da1bf324d005e79680bdea02940a2f11bdbf [diff] |
Rename Unix_time property to EPOCH_TIME Bug: 188227292 Test: build and flash with google VHAL check property from KitchenSink Change-Id: I7dc1833a000949f246a1a8be6f87970a1478832b
diff --git a/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h b/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h index abf33a3..e234aa9 100644 --- a/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +++ b/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h
@@ -1201,7 +1201,7 @@ { .config = { - .prop = toInt(VehicleProperty::UNIX_TIME), + .prop = toInt(VehicleProperty::EPOCH_TIME), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, },
diff --git a/automotive/vehicle/2.0/types.hal b/automotive/vehicle/2.0/types.hal index e22f9fa..6bfda32 100644 --- a/automotive/vehicle/2.0/types.hal +++ b/automotive/vehicle/2.0/types.hal
@@ -1446,7 +1446,7 @@ * @access VehiclePropertyAccess:READ_WRITE * @unit VehicleUnit:MILLI_SECS */ - UNIX_TIME = ( + EPOCH_TIME = ( 0x0606 | VehiclePropertyGroup:SYSTEM | VehiclePropertyType:INT64