The latest IVehicleHardware adds Subscribe/Unsubscribe function
to replace the existing updateSampleRate. This CL adds the
Subscribe function to protobuf definition and implements it.
Test: atest GRPCVehicleHardwareUnitTest GRPCVehicleProxyServerUnitTest
Flag: EXEMPT hal change
Bug: 328316981
Merged-In: I4f02885b77f21a215a8b282be583f76118e400ba
(cherry-picked from commit: f1a869055f)
Change-Id: I4f02885b77f21a215a8b282be583f76118e400ba
Implement the unsubscribe function in IVehicleHardware. This will
stop the server from generating property update events for the
specified [propId, areaId].
Test: atest GRPCVehicleHardwareUnitTest GRPCVehicleProxyServerUnitTest
Flag: EXEMPT hal change
Bug: 328316981
Merged-In: I35f4860eead0c8ec9b192657fe51cc0ff4319383
(cherry-picked from commit: cb00b1f816)
Change-Id: I35f4860eead0c8ec9b192657fe51cc0ff4319383
This is the first step towards supporting delayed property config
discovery. Right now this does not bring too much benefit since
essential system service such as carwatchdog is still querying
property conifg early in the boot process. In the future once
we separate essential properties with non-essential properties,
we can improve more.
Test: atest DefaultVehicleHalTest
Bug: 342470570
Change-Id: Ie85aa163fa9128aa061dd5b3221954c7acac050c
am skip reason: Merged-In I965e704e29e62cd05540f46ef37d0bfa2a5568db with SHA-1 1c670114fd is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3095336
Change-Id: I657b0f28fd3a9ed6e46612571d0ada651281ec76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I6bab19b20e6fe91dbdb2a6526172a5dd1d092ff5 with SHA-1 f01c7aec0d is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3095335
Change-Id: I4bb0fb59a76dce0464356caf95513758870a63dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In Ia21d26640c465846423cab1a0ff8a283c798b92a with SHA-1 9d3513882a is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3093288
Change-Id: I8d27363e3fe5e5b02361510636ea3252dc522391
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Clarify the result documentation by using exact CDDL descriptions for
the formattedMessage CBOR object.
Test: N/A
Change-Id: I0077c7d53385470ef058b6ce965adb9f7b0bba55
In practice, the AoC can crash while the stream is in
any state, thus this should be allowed for correct
handling of error conditions in the framework.
The list of states when `IStreamCallback.onError` can
be received is not enforced in VTS tests, thus no
test regressions are expected.
Bug: 339400414
Test: repro steps for simulating AoC crash in b/339400414
Change-Id: I9a52779f773307882109e159d715072de5af2ece
According to b/329690075, vendor tests need root to use vendor
lib, otherwise atest will cause link error.
Test: atest FakeVehicleHardwareTest on cf_auto
Flag: EXEMPT bug
Bug: 341762230
Merged-In: I6bab19b20e6fe91dbdb2a6526172a5dd1d092ff5
(cherry-picked from commit: f01c7aec0d)
Change-Id: I6bab19b20e6fe91dbdb2a6526172a5dd1d092ff5
We need to build a FakeVehicleHardware impl on host, thus we need
to add the host_supported option.
Test: Local build on host.
Bug: 328316981
Flag: EXEMPT hal change
Merged-In: Ia21d26640c465846423cab1a0ff8a283c798b92a
(cherry-picked from commit: 9d3513882a)
Change-Id: Ia21d26640c465846423cab1a0ff8a283c798b92a
```
warning: format specifies type 'unsigned int' but the argument has type
'IComposerClient::Command' [-Wformat]
```
Change-Id: I9a585330ef1edd7675e6406318bd966b03c8a209
Implement the unsubscribe function in IVehicleHardware. This will
stop the server from generating property update events for the
specified [propId, areaId].
Test: atest GRPCVehicleHardwareUnitTest GRPCVehicleProxyServerUnitTest
Flag: EXEMPT hal change
Bug: 328316981
Change-Id: I35f4860eead0c8ec9b192657fe51cc0ff4319383
According to b/329690075, vendor tests need root to use vendor
lib, otherwise atest will cause link error.
Test: atest FakeVehicleHardwareTest on cf_auto
Flag: EXEMPT bug
Bug: 341762230
Change-Id: I6bab19b20e6fe91dbdb2a6526172a5dd1d092ff5
The latest IVehicleHardware adds Subscribe/Unsubscribe function
to replace the existing updateSampleRate. This CL adds the
Subscribe function to protobuf definition and implements it.
Test: atest GRPCVehicleHardwareUnitTest GRPCVehicleProxyServerUnitTest
Flag: EXEMPT hal change
Bug: 328316981
Change-Id: I4f02885b77f21a215a8b282be583f76118e400ba