Treehugger Robot
2b1b325a06
Merge changes from topic "sdv-vhal-emulator-service" into udc-qpr-dev-plus-aosp am: dfa4ae0d28
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24805466
Change-Id: I32b745bb733b52d6fd77c17fd584da5a6c073575
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-23 23:18:53 +00:00
Aaqib Ismail
b795b1d1f8
Move VHAL config dirs to protected am: 7d483bc656
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24763109
Change-Id: Iab730128e61e96628c710a9015d298fc07359c47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-23 23:18:50 +00:00
Aaqib Ismail
ba0124af54
Make 2.0-libproto-native visible to sdv_ivi_cf am: b5310066d4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24725582
Change-Id: Ie19139f92ade10a84f824921e9f5f0fb88a5c66c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-23 23:18:45 +00:00
terryguan
88eb9d0fce
Add buffer result for generating vendor configs
...
Add buffers to verify the success of generating and restoring vendor
configs.
Bug: 281835821
Test: atest android.car.apitest.CarPropertyManagerTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6791803d4ad568c8ba66d20199e84746f412df23 )
Merged-In: Ic3cb8bf3e606847ff55d719900ad0b764b56aaf4
Change-Id: Ic3cb8bf3e606847ff55d719900ad0b764b56aaf4
2023-09-20 20:45:42 +00:00
Aaqib Ismail
514c23cad5
Make event callback accessible to child classes
...
Bug: 291278377
Test: m
Change-Id: Idb667aa847ba566713068a47b12dc849ffcf96cc
2023-09-19 17:55:01 -07:00
Yu Shan
c067a9b52e
Merge "Rename reference VHAL to V3." into main
2023-09-19 19:41:03 +00:00
Aaqib Ismail
7d483bc656
Move VHAL config dirs to protected
...
Bug: 291278377
Test: m
Change-Id: I3c67e0b9398e7891bcfecddac5169fb76536cc25
2023-09-19 12:38:27 -07:00
Aaqib Ismail
b5310066d4
Make 2.0-libproto-native visible to sdv_ivi_cf
...
Bug: 291278377
Test: m
Change-Id: I4eba410eef0b410299bde34265b0392114e33d7b
2023-09-19 12:38:27 -07:00
Yu Shan
c1ee98677e
Rename reference VHAL to V3.
...
The current target is actually supporting VHAL v2
interface, but we did not update the name. Update its name to V3
since it is going to support VHAL v3 interface.
Test: Presubmit
Bug: 300694866
Change-Id: I54bd15edb83add03b0fe8272b6e8787fef7003cf
2023-09-15 17:55:15 -07:00
Aaqib Ismail
2dff22274c
Fix clang lint warnings am: ccf273d307
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24763110
Change-Id: Iac9e75bbb3e310feeae56c50d59d331e2ba34578
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 05:45:31 +00:00
Aaqib Ismail
ccf273d307
Fix clang lint warnings
...
Bug: 291278377
Test: m
Change-Id: Ifcfecc313c8d27fb04a20b4e6bf304b04f4a5b55
2023-09-15 04:40:17 +00:00
Treehugger Robot
089d39f69c
Merge "Add buffer result for generating vendor configs" into main
2023-09-14 21:09:12 +00:00
Ayushi Khopkar
a9d67d5eb7
Updated vehicleManager_fuzzer
...
Resolved fdsan abort issue
Test: ./vehicleManager_fuzzer
Bug: 232476708
Bug: 263591012
Change-Id: I51bf940e61574db4255eedc0f264375d8908282d
2023-09-13 12:01:35 +05:30
Antonio Kantek
e226dcd2e8
Merge "Add visibility to "//cts/tests/tests/car_permission_tests"" into main
2023-09-08 18:14:38 +00:00
Aaqib Ismail
810144a168
Add missing supportedEnumValues
...
Bug: 299192013
Test: m
Change-Id: I36d1e4942cb44604539e384bde9300ac8ca8eba2
2023-09-05 17:52:12 -07:00
Aaqib Ismail
e279306e57
Add missing status codes
...
Bug: 299191602
Test: m
Change-Id: I65a74ac6e93ec5ffcf32b54b6a11c983b1c32262
2023-09-05 17:20:49 -07:00
Antonio Kantek
b22a274542
Add visibility to "//cts/tests/tests/car_permission_tests"
...
Bug: 298100097
Test: atest CarSecurityPermissionTest
Change-Id: Ia613cbb47fe2a6efd1c518aeee8b0cca15af7e13
2023-09-05 20:29:38 +00:00
Treehugger Robot
3c8c62f7ee
Merge "Allow empty preuload_files." into main
2023-08-30 20:41:27 +00:00
Yu Shan
b1fc8c914f
Allow empty preuload_files.
...
When a CL only removes file, the PREUPLOAD_FILES in repohook might
be empty.
Test: None
Bug: 298222655
Change-Id: I70bb347c02c5d09a0525313087acb9c38b9a2ff2
2023-08-30 11:51:04 -07:00
Yu Shan
2fd9496ecd
Use AIDL for test vendor properties.
...
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
2023-08-28 17:48:30 -07:00
Shrikar Amirisetty
892e1feaa0
Merge "Added logic for ACC properties to return NOT_AVAILABLE in standard CC." into main
2023-08-28 19:40:17 +00:00
Xin Li
879960bdce
Merge Android U (ab/10368041)
...
Bug: 291102124
Merged-In: I7b6fffac2ada0e039f79bad8cc9b4d954e9c3460
Change-Id: I9466127d8d0fa38df36ca99f704853b2db871e67
2023-08-25 13:29:30 -07:00
Eva Chen
af66916e2c
Merge changes from topic "vhal_v3" into main
...
* changes:
Add UNKNOWN to VehicleAreaSeat aidl.
Update VHAL property version to v3.
2023-08-24 19:51:21 +00:00
shrikar
cc3f5884cd
Added logic for ACC properties to return NOT_AVAILABLE in standard CC.
...
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
2023-08-24 12:50:38 +00:00
terryguan
6791803d4a
Add buffer result for generating vendor configs
...
Add buffers to verify the success of generating and restoring vendor
configs.
Bug: 281835821
Test: atest android.car.apitest.CarPropertyManagerTest
Change-Id: Ic3cb8bf3e606847ff55d719900ad0b764b56aaf4
2023-08-22 17:46:12 -07:00
Krzysztof Kosiński
9d92d55a55
Add missing gRPC include. am: c608187f21
am: e1ea603e02
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24501312
Change-Id: I5730c9a2586715d4bcf36e7cbcbc55ebb89513fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-21 22:43:16 +00:00
Krzysztof Kosiński
c608187f21
Add missing gRPC include.
...
Othewise the header is not self contained and breaks when
upgrading gRPC.
Bug: 279548314
Test: presubmit
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3d3baed1bc85f8ddddb2764a5a09cd4d578419f0 )
Merged-In: Ife50863bd16eda6bc639261b1f91fdfcf48f6294
Change-Id: Ife50863bd16eda6bc639261b1f91fdfcf48f6294
2023-08-21 20:12:27 +00:00
Krzysztof Kosiński
3d3baed1bc
Add missing gRPC include.
...
Othewise the header is not self contained and breaks when
upgrading gRPC.
Bug: 279548314
Test: presubmit
Change-Id: Ife50863bd16eda6bc639261b1f91fdfcf48f6294
2023-08-19 02:07:47 +00:00
Eva Chen
46d65626e2
Add UNKNOWN to VehicleAreaSeat aidl.
...
Bug: 293521207
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Idf42a5735eb8e187759c3d84cc4891a473d97d35
2023-08-11 13:24:29 -07:00
Eva Chen
b36d24d12a
Update VHAL property version to v3.
...
Bug: 295405997
Test: Manual Build
Change-Id: I2faf065006e6889309caf69a9b277f42fdc00702
2023-08-11 13:24:21 -07:00
Yu Shan
21d7b02a9a
[RESTRICT AUTOMERGE] Pass property set error to subscribed clients.
...
Pass the async property set error generated by VehicleHardware layer
to subscribed clients.
Test: atest DefaultVehicleHalTest
Bug: 286384730
Bug: 292001021
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6fe26625db72da7760014d0c71019fb3e847e2d3 )
Merged-In: Iadd92e1c0c741ad6450a0508fe9e6301bdfe66c5
Change-Id: Iadd92e1c0c741ad6450a0508fe9e6301bdfe66c5
2023-08-02 22:03:41 +00:00
Treehugger Robot
ab51d34ef7
Merge "Changed radius to diameter in INFO_EXTERIOR_DIMENSIONS docs in HAL layer" into main
2023-07-25 19:31:19 +00:00
shrikar
c665f4e34f
Changed radius to diameter in INFO_EXTERIOR_DIMENSIONS docs in HAL layer
...
Bug: 284972202
Test: manual build
Change-Id: Ib72aa4d93d2fcf8c9961fd143842018efe27c18c
2023-07-24 18:30:28 +00:00
Yu Shan
8ddd65dbc0
Add script to parse VehicleProperty.aidl to CSV.
...
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
2023-07-11 14:33:36 -07:00
Yu Shan
bc614aeae0
Minor update on access annotation.
...
Test: None
Bug: 288331747
Change-Id: I3a2246c1c5fd02d06fa2c8f08dc69ac0506bfbcb
2023-07-11 14:33:36 -07:00
Yu Shan
595c1da89f
Add more access annotations.
...
For some READ_WRITE property, READ is also allowed. Add the annotations
to reflect that.
Test: None
Bug: 288331747
Change-Id: I46d86606087e747e217269db028ddf03c9bdc0b6
2023-07-10 16:57:45 -07:00
Treehugger Robot
795e58a333
Merge "Pass property set error to subscribed clients." into udc-qpr-dev am: 94a43b30ef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/23880264
Change-Id: If342d76ba837924f37f051253326b7a0ecaf91c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-10 21:46:10 +00:00
Treehugger Robot
94a43b30ef
Merge "Pass property set error to subscribed clients." into udc-qpr-dev
2023-07-10 21:07:10 +00:00
Yu Shan
733c744072
Merge "Minor fix to comment style." into main
2023-07-10 18:35:34 +00:00
Treehugger Robot
fb867bc8a6
Merge "Cleanup dead code." into main
2023-07-08 03:45:03 +00:00
Treehugger Robot
9eb7b82d9a
Merge "Fix flaky recurrent timer test." into main am: d0cb2e73b2
am: 83e99ff3b1
am: b3f840a6ff
am: d8ab63802a
am: e993d4b849
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2651319
Change-Id: If412439e197b7d2cfbf5570314f2e9c81e287ec2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-07 23:53:36 +00:00
Treehugger Robot
d8ab63802a
Merge "Fix flaky recurrent timer test." into main am: d0cb2e73b2
am: 83e99ff3b1
am: b3f840a6ff
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2651319
Change-Id: Ia670893b8cebee92cb8d6f2248123009c434382c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-07 22:28:53 +00:00
Yu Shan
fda1197d79
Pass property set error to subscribed clients.
...
Pass the async property set error generated by VehicleHardware layer
to subscribed clients
Test: atest DefaultVehicleHalTest
Bug: 286384730
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7b1448edcfd3f88365932e2d94659952444aae2b )
Merged-In: Iadd92e1c0c741ad6450a0508fe9e6301bdfe66c5
Change-Id: Iadd92e1c0c741ad6450a0508fe9e6301bdfe66c5
2023-07-07 21:26:02 +00:00
Yu Shan
bdba2b578d
Fix flaky recurrent timer test.
...
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
)
2023-07-07 20:30:43 +00:00
Treehugger Robot
9c5889cecb
Merge "Pass property set error to subscribed clients." into main
2023-07-07 01:41:20 +00:00
Yu Shan
52c0a3dd9d
Minor fix to comment style.
...
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
2023-07-06 17:41:01 -07:00
Yu Shan
4ea2dbc27b
Cleanup dead code.
...
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
2023-07-06 17:41:01 -07:00
Yu Shan
7b1448edcf
Pass property set error to subscribed clients.
...
Pass the async property set error generated by VehicleHardware layer
to subscribed clients
Test: atest DefaultVehicleHalTest
Bug: 286384730
Change-Id: Iadd92e1c0c741ad6450a0508fe9e6301bdfe66c5
2023-07-06 17:18:18 -07:00
Yu Shan
76d7fbf6a1
Fix flaky recurrent timer test.
...
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
2023-07-05 17:16:59 -07:00
Yu Shan
ddd7b58149
Fix a type conversion bug.
...
Convert int64_t to long on x86 platform loses info.
Test: atest FakeVehicleHardwareTest on cf_gwear_x86.
Bug: 288376096
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:76aaef448fcd9458b07b1d78ea4b79165af0cde0 )
Merged-In: I8826e2c0ba6c3e26af858a1d8f1388b75d537082
Change-Id: I8826e2c0ba6c3e26af858a1d8f1388b75d537082
2023-06-30 20:55:19 +00:00
Yu Shan
76aaef448f
Fix a type conversion bug.
...
Convert int64_t to long on x86 platform loses info.
Test: atest FakeVehicleHardwareTest on cf_gwear_x86.
Bug: 288376096
Change-Id: I8826e2c0ba6c3e26af858a1d8f1388b75d537082
2023-06-30 19:07:17 +00:00
Yu Shan
51b5c77534
Move flaky HIDL VHAL impl test to post submit.
...
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
2023-06-29 17:52:20 -07:00
Yu Shan
d68149e363
Support VEHICLE_IN_USE and SHUTDOWN_REQUEST.
...
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
2023-06-22 20:48:23 -07:00
Keith Mok
57baaafe40
Fix repo upload fail if no symbolic link to python3
...
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
2023-06-13 23:15:05 +00:00
Yu Shan
41dd7f18fc
Add generate_vehicle_property_enums repo hook.
...
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
2023-06-08 18:34:57 +00:00
Terry Guan
3204e6cfea
Merge "Adding for adding async large parcelalbe callbacks functionality" into udc-dev am: 7059468d04
am: 37a380ee3c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/23071837
Change-Id: Id4a670c82eb618a9f0491cad6ed09d5d77c6fd5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 14:37:51 +00:00
Terry Guan
7059468d04
Merge "Adding for adding async large parcelalbe callbacks functionality" into udc-dev
2023-05-10 13:12:49 +00:00
Eva Chen
aab3c500ea
Merge "Remove note for ADAS properties." into udc-dev am: d795ebd56c
am: b8dce6ec8e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/23065866
Change-Id: Ic64ecbddc880e31f90dc299f19699bfa6f0c3ee0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 01:07:56 +00:00
Eva Chen
d795ebd56c
Merge "Remove note for ADAS properties." into udc-dev
2023-05-09 23:11:49 +00:00
terryguan
a2fa508d3f
Adding for adding async large parcelalbe callbacks functionality
...
Bug: 270740905
Test: atest com.android.car.CarPropertyManagerTest
Test: atest android.car.apitest.CarPropertyManagerTest
Test: atest com.android.car.hal.PropertyHalServiceTest
Test: manual, verified largeParcelable using shared memeory
Change-Id: Ic01402ceb58ea93957777bec4965121c594fa35e
2023-05-08 08:48:58 -07:00
Terry Guan
fd899003df
Merge "Added debug statement and refresh in default vehicle hal" into udc-dev am: 9368d6dc23
am: d65b493cd7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/22531494
Change-Id: I809711595420d500b2105aade81726e0f1f2fe1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-06 02:17:53 +00:00
Eva Chen
49281ae7a6
Remove note for ADAS properties.
...
Bug: 281133179
Test: Comment only change
Change-Id: I6d9c8dfa0fead76195616023442e09887ae74aac
2023-05-05 15:19:22 -07:00
terryguan
f3cd073e86
Added debug statement and refresh in default vehicle hal
...
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
2023-05-04 13:37:06 -07:00
Treehugger Robot
7d64a06ff9
Merge "Add FakeVehicleStubUnitTest as presubmit."
2023-05-01 20:32:34 +00:00
Yu Shan
3586a8d1cc
Add FakeVehicleStubUnitTest as presubmit.
...
FakeVehicleStubUnitTest depends on the fake vhal config file, so it
must be run as presubmit if we modify the config file.
Test: Presubmit
Bug: 279077869
Change-Id: If191cba503466a38a0bfdb9808d187affeaf2a62
2023-05-01 11:52:16 -07:00
Treehugger Robot
f8cdade2d3
Merge "Mention that ErrorState and StatusCode must match" into udc-dev
2023-04-28 01:42:34 +00:00
Aaqib Ismail
bc591f4356
Merge "Add UNKNOWN fan direction to HVAC_FAN_DIRECTION_AVAILABLE for emulator" into udc-dev
2023-04-25 18:37:10 +00:00
Aaqib Ismail
210a66568b
Mention that ErrorState and StatusCode must match
...
Bug: 277972734
Test: presubmit
Change-Id: If9da64ff1a163dce2b5f913187c18ba032a16016
2023-04-24 12:28:07 -07:00
Aaqib Ismail
a089c8ed53
Implement ADAS properties in emulator VHAL
...
For properties that support the ErrorState enum, they are set to
ErrorState#NOT_AVAILABLE_DISABLED when the ADAS feature is disabled.
For all the other ADAS properties, they return
StatusCode#NOT_AVAILABLE_DISABLED when that ADAS feature is disabled.
Bug: 277359330
Bug: 277359630
Bug: 277359374
Bug: 277359394
Bug: 277359419
Bug: 277359421
Bug: 277359396
Bug: 277359260
Test: atest FakeVehicleHardwareTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Change-Id: I11386cbaa320038001c650a63cc70f6ca6498c09
2023-04-20 18:26:42 -07:00
Aaqib Ismail
260d94ed57
Add UNKNOWN fan direction to HVAC_FAN_DIRECTION_AVAILABLE for emulator
...
Bug: 279077869
Test: atest CtsCarTestCases:CarPropertyManagerTest
Change-Id: I6f1ccac01d28e630646a0455f53922e3e68483d3
2023-04-20 16:37:05 -07:00
Xin Li
71a948bc4c
Merge Android 13 QPR3 tm-qpr-dev-plus-aosp-without-vendor@9936994
...
Bug: 275386652
Merged-In: Icd15f6e7bfdd7b3e3d0d4b407195258d4171c560
Change-Id: I115d5b25fc5b997a76ac4672262945f3393a9c78
2023-04-18 16:34:16 -07:00
Treehugger Robot
8a01e4676c
Merge changes Ida3533de,Ifec6e212 into udc-dev
...
* changes:
Complete VHAL GRPC Interfaces
GRPC Vehicle Proxy Server
2023-04-14 20:53:25 +00:00
Sihu Song
61859e7776
Merge "Add emulator metadata generator script" am: 72205da1e6
am: 1d67e9c801
am: 87a1249b48
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2531482
Change-Id: Ia976f5fe77f914c2d9da41c7098fc04522f8d8b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 03:30:05 +00:00
Sihu Song
87a1249b48
Merge "Add emulator metadata generator script" am: 72205da1e6
am: 1d67e9c801
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2531482
Change-Id: I2c074435ff63deae7d19bc8a1b7d1f7d6cd5f66e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 02:57:02 +00:00
Sihu Song
72205da1e6
Merge "Add emulator metadata generator script"
2023-04-14 01:40:15 +00:00
Treehugger Robot
27ddba211b
Merge "Use IsSubsetOf matcher for comparing changed vs updated properties" into udc-dev
2023-04-14 00:32:29 +00:00
Treehugger Robot
4ce4be5c61
Merge changes I4c49f255,I26c4260b into udc-dev
...
* changes:
HVAC dependent properties should return NOT_AVAILABLE_DISABLED
Print out content of VehiclePropValue when test fails
2023-04-14 00:32:24 +00:00
TreeHugger Robot
d6818349ef
Merge "AIDL VHAL GRPC Client" into udc-dev
2023-04-13 00:37:33 +00:00
Aaqib Ismail
76dbff1e9c
Use IsSubsetOf matcher for comparing changed vs updated properties
...
The previous implementation did not work as intended because it was
comparing using equality. This means that if there is a mismatch in
the number of elements in each list it would fail.
Bug: 277359330
Bug: 277359630
Bug: 277359374
Bug: 277359394
Bug: 277359419
Bug: 277359421
Bug: 277359396
Bug: 277359260
Test: atest FakeVehicleHardwareTest
Change-Id: If624ee39271725c6158c004181104ca6b30d4598
2023-04-12 16:31:23 -07:00
Aaqib Ismail
5df458d2c0
HVAC dependent properties should return NOT_AVAILABLE_DISABLED
...
To be consistent with the new API in Android U, NOT_AVAILABLE_DISABLED
is the more appropiate StatusCode.
Bug: 255430764
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest FakeVehicleHardwareTest
Change-Id: I4c49f255817f1f9bc2888c99177c6dc666213ab6
2023-04-12 16:31:23 -07:00
Aaqib Ismail
dc90e2265f
Print out content of VehiclePropValue when test fails
...
Currently when a test fails, it prints out a byte representation of the
object which is not helpful.
Bug: 277359330
Bug: 277359630
Bug: 277359374
Bug: 277359394
Bug: 277359419
Bug: 277359421
Bug: 277359396
Bug: 277359260
Test: atest FakeVehicleHardwareTest
Change-Id: I26c4260b2dbf5a71fbfe94e11c111b482337e6f5
2023-04-12 16:31:20 -07:00
Hao Chen
a810fb2583
Complete VHAL GRPC Interfaces
...
Add missing operations from IVehicleHardware.h
Bug: 266001013
Test: `atest GRPCVehicleHardwareUnitTest GRPCVehicleProxyServerUnitTest`
Change-Id: Ida3533dedce49c49c4762b2f9a43997317f5d2c4
2023-04-12 16:17:51 -07:00
Hao Chen
32d467066a
GRPC Vehicle Proxy Server
...
The GRPC proxy server speaks to another IVehicleHardware (no matter if it is real or fake) to serve
other GRPC vehicle hardware(s). It can be used as a real GRPC Vehicle
Hardware backend when it is running on the machine that have a direct
access to the real vehicle bus, or it can also be used as a fake backend
for testing.
Test: `atest GRPCVehicleProxyServerUnitTest`
Bug: 266001013
Change-Id: Ifec6e21223986a68ab089a87a9664c1b52601ea2
2023-04-12 16:12:18 -07:00
Hao Chen
6cb8689d10
AIDL VHAL GRPC Client
...
Bug: 266001013
Test: `atest GRPCVehicleHardwareUnitTest`
Change-Id: I89b1c260aa2c34f353e88547a92718bb1cc37e5f
2023-04-12 14:31:50 -07:00
Aaqib Ismail
5638a35174
Split BLIND_SPOT_WARNING_STATE into 2 area IDs on emulator
...
Bug: 277359374
Test: atest CtsCarTestCases:CarPropertyManagerTest
Change-Id: Ic8ff9757086281c693aee86e4f1c5f8430e02c07
2023-04-11 11:51:08 -07:00
Alex Buynytskyy
1deeb7fabf
Merge "UpsideDownCake is now 34" into udc-dev
2023-04-11 01:17:33 +00:00
Shrikar Amirisetty
6ef7a20d3d
Merge "Added info to docs to answer Q20 from Ford pending questions." into udc-dev
2023-04-10 14:02:16 +00:00
Shrikar Amirisetty
cdd964a8d0
Merge changes from topics "move_pos_consistency", "steering_wheel_depth_docs" into udc-dev
...
* changes:
Changed STEERING_WHEEL_DEPTH min/max value definition in HAL.
Changed *_MOVE and *_POS HAL docs to be consistent.
2023-04-10 14:02:03 +00:00
Shrikar Amirisetty
f4d09bba11
Merge "Added info to HAL docs to answer Q14 from Ford pending questions." into udc-dev
2023-04-10 14:01:39 +00:00
Alex Buynytskyy
ec1198d941
UpsideDownCake is now 34
...
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +00:00
shrikar
0eca9c3d6b
Added info to docs to answer Q20 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: I921a7fc0a896e7343d0f0c51a1eb40f5e95aee10
2023-04-07 21:54:24 +00:00
shrikar
45bd6fa885
Changed STEERING_WHEEL_DEPTH min/max value definition in HAL.
...
Bug: 276327125
Test: manual build
Change-Id: I5a5cf3033ac50d3816b508544315a16a52161b35
2023-04-07 21:54:04 +00:00
shrikar
f77dd218aa
Changed *_MOVE and *_POS HAL docs to be consistent.
...
Bug: 259477002
Test: manual build
Change-Id: Ie69333bdb68c97c844fbf0cc93bd75ffe6f58093
2023-04-07 21:53:37 +00:00
shrikar
e18364056a
Added info to HAL docs to answer Q14 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: Icd1607e7f05cee7eec3f0a9826e3590149ff5c08
2023-04-07 20:55:23 +00:00
Shrikar Amirisetty
265347eebd
Merge "Added info to docs to answer Q25 from Ford pending questions." into udc-dev
2023-04-07 19:18:23 +00:00
shrikar
36f0b25a19
Added info to docs to answer Q25 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: I21e2672ff41ad6b8fc08866641abe58dd75c8efc
2023-04-07 15:04:59 +00:00
Aaqib Ismail
df979bb50b
Document how HVAC_AUTO_ON can be indirectly disabled
...
Bug: 259582041
Test: presubmit
Change-Id: I05edfbc35dd3830696803e7e5010402330584867
2023-04-03 13:56:10 -07:00
Treehugger Robot
db2d265280
Merge "Updated fuzz_config in Android.bp file" am: bf89d7ed4a
am: 3978a1cb20
am: e81ca58e04
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505240
Change-Id: I36ec106ff1f8709ac54ba661d12eeb83cd48ae32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 07:07:03 +00:00
Treehugger Robot
e81ca58e04
Merge "Updated fuzz_config in Android.bp file" am: bf89d7ed4a
am: 3978a1cb20
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2505240
Change-Id: I18ac45a2c6033fc84a1c2b2cbc7768fcdda20c96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 06:31:35 +00:00
Aaqib Ismail
49e36808da
Fix inconsistencies in VehicleArea HAL documentation
...
Remove references of area types and use more consistent language.
Use same documentation across AIDL and HIDL definitions.
Bug: 259987652
Test: presubmit
Change-Id: I4da6ff23fd221698c9fbe9c9f817f51959a49a79
2023-03-29 20:12:05 +00:00
TreeHugger Robot
4a29be87c5
Merge "Specify that a read_write property can be read only in HAL" into udc-dev
2023-03-24 23:56:16 +00:00
Aaqib Ismail
97d9c731d8
Specify that a read_write property can be read only in HAL
...
Not all read_write properties are included. For example, properties
not exposed through CarPropertyManager are not included. The only
other exception is HVAC_TEMPERATURE_VALUE_SUGGESTION because it behaves
like a function call so it needs to be writable.
Bug: 195962745
Test: presubmit
Change-Id: Ief758fd45b7d21ba2d81899d5bb056c3bc24b15b
2023-03-24 22:23:03 +00:00
TreeHugger Robot
26ca5c56e9
Merge "Added HAL docs for unsupported LOCATION_CHARACTERIZATION behaviour." into udc-dev
2023-03-24 20:13:39 +00:00
shrikar
496e3fb377
Added HAL docs for unsupported LOCATION_CHARACTERIZATION behaviour.
...
Bug: 271007857
Test: manual build
Change-Id: Ifdb8a0752831967356b2d919a7a10c07363c72d6
2023-03-24 18:05:59 +00:00
Aaqib Ismail
e12b0af461
Merge "Implement HVAC_TEMPERATURE_VALUE_SUGGESTION in emulator VHAL" into udc-dev
2023-03-24 00:51:27 +00:00
TreeHugger Robot
8286fe4cd8
Merge "Update default emulator values for HVAC_TEMPERATURE_VALUE_SUGGESTION" into udc-dev
2023-03-24 00:32:16 +00:00
Ayushi Khopkar
5088c6cdc3
Updated fuzz_config in Android.bp file
...
Added new fields in fuzz_config like - hotlists,
description, vector, service_privilege, users, fuzzed_code_usage, etc.
Bug: 271384401
Test: Build vehicleManager_fuzzer
Change-Id: I0d648ae43328ca8860daa8cf39e8e2d10868952a
2023-03-23 14:26:25 +05:30
Aaqib Ismail
e148beb7f2
Merge "Update Cruise Control properties HAL docs" into udc-dev
2023-03-23 01:03:56 +00:00
Devin Moore
42bf8fd06c
Merge changes from topic "hal_impl_test_auto_udc" into udc-dev
...
* changes:
Update automotive.audiocontrol manifest and compat matrix
Update vhal manifest fragment and compat matrix
2023-03-22 23:28:30 +00:00
TreeHugger Robot
4937559024
Merge "Fix flakiness in DefaultVhalImpl_test." into udc-dev
2023-03-21 22:55:10 +00:00
Aaqib Ismail
7cb57f0950
Update Cruise Control properties HAL docs
...
Specify the exact StatusCode that should be returned when the property
is not available.
Bug: 271302963
Test: presubmit
Change-Id: I448071ca970985f20d1e414104c90142ca58e0f2
2023-03-21 22:20:54 +00:00
Shrikar Amirisetty
c3ac3a46b3
Merge "Added info to docs to answer Q35 from Ford pending questions." into udc-dev
2023-03-21 21:05:48 +00:00
Shrikar Amirisetty
508b5da10f
Merge "Added info to docs to answer Q30 from Ford pending questions." into udc-dev
2023-03-21 19:17:10 +00:00
shrikar
39332b5b97
Added info to docs to answer Q35 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: I597b9861852a078282c95244f9360f2cb73f175a
2023-03-21 16:58:11 +00:00
shrikar
c47e21c398
Added info to docs to answer Q30 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: Ib843b6ea42772d32768ebc20a47ea7e172abc714
2023-03-21 16:55:53 +00:00
Aaqib Ismail
881bb30026
Implement HVAC_TEMPERATURE_VALUE_SUGGESTION in emulator VHAL
...
This property behaves like a function call taking the value set and
outputting the expected temperature values.
Bug: 270448817
Test: atest FakeVehicleHardwareTest
Change-Id: Idf9840312a59b186850b2d6b2c2fb57fee545283
2023-03-17 18:09:30 -07:00
Aaqib Ismail
1027904931
Update default emulator values for HVAC_TEMPERATURE_VALUE_SUGGESTION
...
Bug: 270448817
Test: atest CtsCarTestCases:CarPropertyManagerTest
Change-Id: I21d9a600475effdd37881630fc49e7247cdad283
2023-03-17 17:41:27 -07:00
Yu Shan
e548fc8c6b
Fix flakiness in DefaultVhalImpl_test.
...
Test: atest android.hardware.automotive.vehicle@2.0-default-impl-unit-tests
Bug: 272569067
Change-Id: I54c45d80cf09d314cafbd30844e9fbe296de4986
2023-03-17 17:08:30 -07:00
Devin Moore
55eee605c9
Update vhal manifest fragment and compat matrix
...
We are serving V2 of the vhal interface, so reflect that in the manifest
fragment.
Test: lunch cf_x86_64_auto-userdebug && atest hal_implementation_test
Bug: 266868868
Change-Id: I86217712f225df64cb3494be3461d7ff39d80064
2023-03-17 21:15:19 +00:00
Shrikar Amirisetty
ff4d7eb84f
Merge "Added info to docs to answer Q8 from Ford pending questions." into udc-dev
2023-03-17 21:01:36 +00:00
shrikar
011284e9c1
Added info to docs to answer Q8 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: I695d50e79ea39e669443d1fe40b91fbb204d2b98
2023-03-17 15:15:09 +00:00
Shrikar Amirisetty
cb91b245c4
Merge "Removing DRIVER_ATTENTION_MONITORING properties from HAL layer." into udc-dev
2023-03-16 23:53:20 +00:00
Shrikar Amirisetty
54ddd06932
Merge "Added info to docs to answer Q9 from Ford pending questions." into udc-dev
2023-03-16 16:22:07 +00:00
shrikar
5b85c927c6
Added info to docs to answer Q9 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: Ibd47982ba7426519ca03dd110b2b6bc5fd2e8e71
2023-03-15 18:03:30 +00:00
shrikar
63aa43987b
Updated SEAT_MEMORY_SELECT maxValue documentation.
...
Specified that maxValue must be equal to (numSeatPositions - 1).
Bug: 262358054
Test: manual build
Change-Id: I41304f5ca0dc4d997543a0f059c7486f179e5526
2023-03-15 17:51:38 +00:00
Victor Shutemov
1d4fe975c5
Add emulator metadata generator script
...
Add script to generate vehicle properties metadata file
for use with emulator's vehicle tab.
Metadata includes:
- names of the properties,
- names for the data enum values
- change and access modes
Change-Id: Ica1df3466b7965916d11adc513f6472d439e1119
2023-03-15 11:27:14 +00:00
shrikar
dced9c7772
Removing DRIVER_ATTENTION_MONITORING properties from HAL layer.
...
Bug: 273522827
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Id7c505960b5395812e0d420997b3a0917bf02ba2
2023-03-14 18:10:24 +00:00
Tyler Trephan
84fb8327e8
Merge "Updated emulator model year to 2023." into udc-dev
2023-03-13 20:25:04 +00:00
Shrikar Amirisetty
f7e4b9f044
Merge "Added info to HAL docs to answer Q1 from Ford pending questions." into udc-dev
2023-03-13 19:12:01 +00:00
Shrikar Amirisetty
1d2fd73391
Merge "Update properties and FakeVehicleHardware to support multi-display" into udc-dev
2023-03-13 19:10:46 +00:00
Tyler Trephan
321f961b89
Updated emulator model year to 2023.
...
Test: None
Fix: 273299574
Change-Id: I6680954b16ace598e6753034d7e2d6a3ff0fc2f8
2023-03-13 17:54:40 +00:00
Shrikar Amirisetty
07dc7743d9
Merge "Added info to HAL docs to answer Q7 from Ford pending questions." into udc-dev
2023-03-13 17:08:42 +00:00
Aaqib Ismail
1ce072d300
Capitalize specific terms and add periods to end of
...
first sentence in HAL docs
The terms that are capitalized have associated acronyms.
Bug: 264476063
Test: presubmit
Change-Id: I595bdae60ec86516c95e31467b20062c8e33ebaa
2023-03-10 17:40:11 -08:00
Hao Chen
f932f29274
Merge "Add VHAL Requests and Results Proto Messages" into udc-dev
2023-03-11 00:14:47 +00:00
Shrikar Amirisetty
442ae0b912
Merge "Added info to HAL docs to answer Q2 from Ford pending questions." into udc-dev
2023-03-10 23:40:08 +00:00
shrikar
d3868d2673
Added info to HAL docs to answer Q2 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: I43b62459ac51ee34870929c2b9a4444b8b968adb
2023-03-10 22:11:57 +00:00
shrikar
d04352ee1e
Added info to HAL docs to answer Q7 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: I4f8f4a307bad6925ef4286ac17da8a0a3ae0ae6a
2023-03-10 22:05:14 +00:00
Hao Chen
18e5463966
Add VHAL Requests and Results Proto Messages
...
Bug: 266001013
Test: Build
Change-Id: I594f38cb96dc03c567b37babd1bdc01102b156ae
2023-03-10 12:40:15 -08:00
shrikar
8a140238a7
Added info to HAL docs to answer Q1 from Ford pending questions.
...
Bug: 259309511
Test: manual build
Change-Id: I246b89202c03e9472bece7c60be0f7c2f19ffc08
2023-03-10 19:45:19 +00:00
Shrikar Amirisetty
5827d41ccd
Merge "Updated SEAT_EASY_ACCESS_ENABLED HAL docs to specify meaning of areaId." into udc-dev
2023-03-09 23:10:00 +00:00
shrikar
c64a669ac4
Updated SEAT_EASY_ACCESS_ENABLED HAL docs to specify meaning of areaId.
...
Bug: 262740299
Test: manual build
Change-Id: If6c5b06ba4ecd83485bf593e64254507deaf6caf
2023-03-08 17:56:13 +00:00
Shrikar Amirisetty
2df9045398
Merge "Added ADAPTIVE_CRUISE_CONTROL_LEAD_VEHICLE_MEASURED_DISTANCE to HAL." into udc-dev
2023-03-07 17:46:15 +00:00
shrikar
86ce85e8cb
Update properties and FakeVehicleHardware to support multi-display
...
Bug: 255430764
Test: atest CarPropertyManagerTest
Test: atest FakeVehicleHardwareTest
Change-Id: I7e3db2e9e7e0cb58588b11d064e1fa14f2007a2a
Merged-In: I7e3db2e9e7e0cb58588b11d064e1fa14f2007a2a
2023-03-07 17:44:58 +00:00
Yu Shan
5fd7fa7be8
Merge changes I7d338eef,I95c9f796,I56b160b6 into udc-dev
...
* changes:
Change BindToDeviceSocketMutator to lib.
Specify a eth interface for grpc connection.
Add trace to measure VHAL performance.
2023-03-06 23:06:31 +00:00
Yu Shan
302ab9efc3
Add trace to measure VHAL performance.
...
Test: Manually run on emulator.
Bug: 269669729
Change-Id: I56b160b624c43d29aa85fffd28d1611fe63f7efc
2023-03-06 12:18:17 -08:00
Yu Shan
6ced2e4258
Fix flakiness in DefaultVehicleHalTest.
...
Test: atest DefaultVehicleHalTest
Bug: 270225041
Change-Id: I1657ad038aac9e6a153aa458c13bd0720be23f1f
2023-03-06 19:37:54 +00:00
Aaqib Ismail
8c34f76686
Add units to WINDSHIELD_WIPERS_PERIOD HAL doc
...
Bug: 271302606
Test: presubmit
Change-Id: I047817cf85a8516256607c15315ed8a8d94fbac2
2023-03-01 12:20:50 -08:00
shrikar
f62d7472e8
Added ADAPTIVE_CRUISE_CONTROL_LEAD_VEHICLE_MEASURED_DISTANCE to HAL.
...
Bug: 266861470
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I586f75dea83f52dda4dd2c776aec1d5af417263b
Merged-In: I586f75dea83f52dda4dd2c776aec1d5af417263b
2023-03-01 00:33:57 +00:00
Shrikar Amirisetty
e7e734ab62
Merge "Added LOCATION_CHARACTERIZATION to HAL layer." into udc-dev
2023-02-28 23:29:37 +00:00
Shrikar Amirisetty
2a64c94176
Merge "Updated HVAC property docs with go/revising-hvac-additional-rule" into udc-dev
2023-02-28 21:22:28 +00:00