Override subscribe/unsubscribe in FakeVehicleHardware, now it will only
generate property change events for subscribed properties.
Test: atest DefaultVehicleHalTest android.car.cts.CarPropertyManagerTest
Bug: 306262618
Change-Id: Ice39f059820d4ec6039acb4daf9975514f2eb22b
Avoid holding lock while calling property store
OnValueChangeCallback. This might cause dead lock if
VehiclePropertyStore is accessed within the callback.
Test: atest VehiclePropertyStoreTest
Bug: 306511577
Change-Id: I5e29e9715d4429ccde5145af385a363bac548af7
These two functions replaces updateSampleRate. Previously
updateSampleRate will be called when a continuous property is
subscribed/unsubscribed. However, IVehicleHardware layer does not
know when an on-change property is subscribed/unsubscribed. This CL
introduces two new functions to notify IVehicleHardware when any
properties are subscribed/unsubscribed.
Test: atest DefaultVehicleHalTest
Bug: 306262618
Change-Id: I8d32d1eb919036015b5082f74e259bcd4b1bd29e
Add enableVariableUpdateRate to subscribe options and
supportVariableUpdateRate to VehicleAreaConfig. If variable update
rate is enabled, VHAL will only send property change events for
continuous property if the property's value changes. This is for
improving performance and not send duplicate events.
Test: m
Bug: 306754638
Change-Id: Ic0d1ec2ebbf8ed6c26da3f3b820ac85e9c345b2c
Supports batching property change events based on configured time
window in DefaultVehicleHal. This will reduce binder callbacks but
will increase latency. This is configurable from IVehicleHardware
side, default is off.
Test: atest DefaultVehicleHalTest
Bug: 305111644
Change-Id: Id703e8486fdeb98a88cc27dbebe4d79f232f7e3d
Changed VHAL version from V2 to V3 for VehicleAreaConfig changes
Bug: 290801790
Test: manual build
Change-Id: I20c85f2144b088ef2e70def32602c0d41c602d29
Handles the schedule task request from GRPC. Starts a thread
for the scheduled tasks and injects the task data through the grpc
channel.
Test: m -j TestWakeupClientServerHost && atest TestWakeupClientServerHostUnitTest
Bug: 297271235
Change-Id: Ia9f1d7fa3dadb3be68e31987622bc6df9271e929
Implement the ScheduleTask APIs in reference remote access
HAL by using grpc to communicate with an external grpc server.
Test: atest RemoteAccessServiceUnitTest
Bug: 297271235
Change-Id: I2d363aa244c842cea5be0c35f4f3a7961eb3cc0b
- with defaults user don't have to change their Android.bp when there is
a update
- update AIDL audio interfaces with android.media.audio.common.types
- update Spatialization and HeadTracking AIDL usage
Bug: 273373363
Bug: 293370815
Test: m
Change-Id: Ic9d8afc1d4e19e4243c66065b0a5d29156632851
- CameraStreamBuffering test is modified to use the minimum number of
frame buffers that is required to run a camera pipeline for a single
client instead of using an arbitrarily chosen number, which may not
work for certain device implementations.
- Fix a name of v1.0 EvsManager implementation in
VtsHalEvsV1_0TargetTest.cpp
Bug: 305642713
Test: atest VtsHalEvsV1_0TargetTest and
atest VtsHalEvsV1_1TargetTest
Change-Id: Ieec986dbdf947311e0bc86871432da8a988d37ad
getPropConfigs() will return error when the property is not supported
instead of returning an empty array. Also make sure GTEST_SKIP is called
directly in the test function, not the helper function since it
will only abort the current function.
Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 301577794
Change-Id: I99e2cb8bd00430fe9668e8a911a60bbfe97bc4e0
Allow CDD required properties not to be supported in VHAL VTS since
this is already covered in CTS. We also need to consider special
cases where one VHAL instance does not support all required
properties.
Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 301577794
Merged-In: I93020e7e024760601bc5a8edf9997cc356a568c6
Change-Id: I93020e7e024760601bc5a8edf9997cc356a568c6
(Cherry-picked from commit b84f6f3c68fcd7f613146146821130eb354865c1)
Allow CDD required properties not to be supported in VHAL VTS since
this is already covered in CTS. We also need to consider special
cases where one VHAL instance does not support all required
properties.
Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 301577794
(Cherry-picked from commit b84f6f3c68fcd7f613146146821130eb354865c1)
Change-Id: I93020e7e024760601bc5a8edf9997cc356a568c6
* changes:
Add additional HVAC_POWER_ON dependent properties
Use HVAC_POWER_ON config array for determining power dependent props
Send CarPropertyValue status when HVAC power state changes