Remove H2BGraphicBufferProducer usages from the default EVS HAL
implementation.
Bug: 297601247
Bug: 298091684
Test: Run evs_app on the cuttlefish emulator.
Change-Id: Ibca21d8e9cf87deb79c0050f9adcf02b5f16d34b
When a CL only removes file, the PREUPLOAD_FILES in repohook might
be empty.
Test: None
Bug: 298222655
Change-Id: I70bb347c02c5d09a0525313087acb9c38b9a2ff2
Use AIDL enum instead of hard coding the test vendor property
definitions so that we don't have to duplicate the value among VHAL
and the clients. This also shows how vendor can uses a custom AIDL
enum to define vendor properties.
Test: atest FakeVehicleHardwareTest
Bug: 296913406
Change-Id: Ief889b86bfbef136f8afd4a4f49405f2213b441c
Implement a host program that could be used to test the remote
access feature. The program will provides grpc service that the
remote access HAL running on device can talk to to get tasks. The
program will also use adb/aemu command to control the power of the
Android instance.
This CL also changes the GRPC service address for the default
remoteaccess HAL to 10.0.2.2 which points to the host's 127.0.0.1
from the emulator.
Test: m -j TestWakeupClientServerHost, run manually.
TestWakeupClientServerHost
>>> inject task [clientID] taskdata
verify emualtor boot up
verify emulator shutdown after task finish
>>> power on
verify emualtor boot up
>>> inject task [clientID] taskdata
verify emulator does not shutdown after task finish
>>> power off
>>> inject task [clientID] taskdata
verify emulator boot up
>>> set vehicleInUse
verify emulator does not shutdown after task finish
>>> power off
>>> genFakeTask start [clientID]
verify emulator starts up to execute remote tasks.
verify emulator shuts down after 300s.
verify emulator restarts after shutdown.
>>> genFakeTask stop
verify emulator shuts down after finishing last task.
Bug: 285205122
Change-Id: I22b660448d8b495cf3ced3378c1c1dc10051d87a
ACC properties and certain CRUISE_CONTROL_COMMAND enums will return
StatusCode NOT_AVAILABLE_DISABLED when CRUISE_CONTROL_TYPE is STANDARD.
Bug: 268680457
Test: atest FakeVehicleHardwareTest
Change-Id: Id79c93a0dab6224dd3e6fae3aa747781a848aa94
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
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
Merged-In: Iff271ca440426871ed3a798bab50b9532f9256f0
(cherry picked from commit 76d7fbf6a1)
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