diff options
| author | Jindong <jindong.yue@nxp.com> | 2019-12-27 10:50:59 +0800 |
|---|---|---|
| committer | Jindong <jindong.yue@nxp.com> | 2020-01-07 10:25:37 +0800 |
| commit | 70e33216a66e4e7ebc35123559040e485c72f521 (patch) | |
| tree | 682b22cb13b9b7b1acb811a159d8cbf93f862027 /identity/support/src/cppbor_parse.cpp | |
| parent | c4ccbc1a77ee2da8cad4e303a83f1dadcc55f7b8 (diff) | |
VHAL: fix CTS CarPropertyManagerTest#testRegisterCallback
This case asserts property PERF_VEHICLE_SPEED can have different
number event happened with different event rate:
SENSOR_RATE_NORMAL or SENSOR_RATE_FASTEST.
But CarPropertyManager.java says:
Rate has no effect if the property has one of the following change modes
* CarPropertyConfig#VEHICLE_PROPERTY_CHANGE_MODE_STATIC
* CarPropertyConfig#VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE
So modify PERF_VEHICLE_SPEED change mode to CONTINUOUS.
Test:
run cts -m CtsCarTestCases -t android.car.cts.CarPropertyManagerTest#testRegisterCallback
Change-Id: I99e3d672d052a5cde9aaad78221caac510e81b40
Signed-off-by: Jindong <jindong.yue@nxp.com>
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions
