Othewise the header is not self contained and breaks when
upgrading gRPC.
Bug: 279548314
Test: presubmit
Change-Id: Ife50863bd16eda6bc639261b1f91fdfcf48f6294
Allow parsing the VHAL property definitions/annotations in
VehicleProperty.aidl into a CSV file so that we can generate
documentation.
Test: python generate_annotation_enums.py --output_csv /tmp/prop.csv
Bug: 288331747
Change-Id: Icc5d023c8efdc01ead220313d6a7c66d22c63a0a
For some READ_WRITE property, READ is also allowed. Add the annotations
to reflect that.
Test: None
Bug: 288331747
Change-Id: I46d86606087e747e217269db028ddf03c9bdc0b6
Use a separate block for HVAC properties comments since we will use
the first line as description for the property and hvac fan speed
description will not be correct.
Test: None
Bug: 288331747
Change-Id: Ie6518dec394a3d9c90bd2cb5b38939a2cdd7cccf
We no longer implement subscription by periodically requesting
get from VHAL layer, so most of the logic in subscriptionClient
is no longer useful.
Test: atest DefaultVehicleHalTest, manually run on emulator verify
subscription works.
Bug: 288627179
Change-Id: Ice3824514b3205ca3446baf0086be81eda0c47d6
Pass the async property set error generated by VehicleHardware layer
to subscribed clients
Test: atest DefaultVehicleHalTest
Bug: 286384730
Change-Id: Iadd92e1c0c741ad6450a0508fe9e6301bdfe66c5
Do not rely on sleep in tests, but wait for the events to happen
before timeout. Set the timeout to be large enough (5s) so that the
tests are more stable.
Test: atest RecurrentTimerTest
Bug: 289759453
Change-Id: Iff271ca440426871ed3a798bab50b9532f9256f0
Convert int64_t to long on x86 platform loses info.
Test: atest FakeVehicleHardwareTest on cf_gwear_x86.
Bug: 288376096
Change-Id: I8826e2c0ba6c3e26af858a1d8f1388b75d537082
The tests is flaky by nature because it depends on timer. Although
the flakiness is low, it is too flaky to run as presubmit.
Test: atest -s emulator-5554 DefaultVhalImplTest
Bug: 288197123
Change-Id: I735e3e6197769e47372f025d7eb82d54159a8ff8
Support VEHICLE_IN_USE and SHUTDOWN_REQUEST properties in reference
VHAL. They are used for remote access feature.
Test: atest FakeVehicleHardwareTest
Bug: 285205122
Change-Id: Ideb964d1ee625b127bc8e708b46f9639dd59c011
generate_annotation_enums.py was added to repo hook but it specific
pthon instrad of python3, on system without symbolic link to python3 from python, repo upload would failed with a file not found error.
Test: Manual test
Bug: 287123042
Change-Id: I61167c5e97bcabb0b0c1b86971f19ce483ff198f
This repo hook will check whether the generated enum definition files
require update if VehicleProperty.aidl is updated and prompt user
to run generate_annotation_enums.py if requires update.
The repo hook will do nothing if the preupload files does not contain
VehicleProperty.aidl file.
Test: Manual test
Bug: 286286188
Change-Id: Iea1fdb26d8a76c5aff346ca5cb38ed145fe957d7
With Stable-AIDL structure, we have the same VTS test serving
multiple versions. It is possible that vendors implement older
version on the latest tree.
Therefore, the new API tests should not add new requirements on
older versions. Protect the new tests with version check to
ensure they are only executed if meeting version requirements.
Bug: 281945739
Test: run vts --module VtsAidlHalAudioControlTest
Change-Id: Ia186313088a3e8551b11a92259667edd0c6a3878
Update the test folder directory. The previous temp directory
is not allowed to be accessed by selinux rule.
Test: Manual follow remote access test plan on seahawk.
Bug: 272773565
Change-Id: I2b8b05f56560d3d28d0d61e816d345f8d03f59a5
Support a debug command that will inject a fake remote task for
testing on next reboot with specified latency. This is used to
simulate the situation when a remote task arrives while the device
is not booted up and the task will be delivered once the device
boots up.
Test: Manually test on seahawk.
Bug: 275880463
Change-Id: I6eb064893bea0700da80dfa2dcf3079ddb0b59a1
Added a debug statement to allow for a debug command to generate a large
amount of propConfigs to test large parcelables. DefaultVehicleHal
needed to refresh the properties when DefaultVehicleHal's
getAllPropConfigs is called
Bug: 270740905
Test: atest DefaultVehicleHalTest
Test: atest android.car.apitest.CarPropertyManagerTest
Test: --rerun-until-failure 3
Test: Manual
Change-Id: I95eb98cef64e327894760783ffe9883975359d89