platform_hardware_interfaces/automotive/vehicle/2.0/default
Yu Shan c69b857b8d Use timestamp from property store when get prop.
Previously the timestamp in property events might come from two
different sources. For property update events, the timestamp is
generated from VehicleHalServer. For getProperty request, the
timestamp is generated from EmulatedVehicleHal. This might cause
a getProperty request which returns an older value to have a newer
timestamp compared to the newer property update event. As a result,
the new property update event will be ignored by the client, which
should not be the case since the property is actually updated and
the client should get the update.

This causes flaky test cases if the client is try to subscribe, which
will cause a get property request for the initial value and the client
is changing the value, which will cause a new property update event at
the same time.

Test: atest android.hardware.automotive.vehicle@2.0-default-impl-unit-tests
Bug: 311219830
Change-Id: I78613b1de30624011bd90a5d0da244f0e3d67337
2023-11-30 13:06:07 -08:00
..
common Use timestamp from property store when get prop. 2023-11-30 13:06:07 -08:00
impl/vhal_v2_0 Use timestamp from property store when get prop. 2023-11-30 13:06:07 -08:00
tests Merge "Refactored vehicleManager_fuzzer" into main 2023-11-17 09:15:07 +00:00
Android.bp Updated fuzz_config in Android.bp file 2023-03-23 14:26:25 +05:30
android.hardware.automotive.vehicle@2.0-default-service.rc
android.hardware.automotive.vehicle@2.0-default-service.xml
TEST_MAPPING Move flaky HIDL VHAL impl test to post submit. 2023-06-29 17:52:20 -07:00
VehicleService.cpp VehicleManager: use with RefBase 2022-07-15 22:55:13 +00:00