Yu Shan
58478bb8c9
Merge "Fix AIDL VHAL metadata extraction script" into main am: 355e79f1b4
am: 0a68ab7149
am: bc3c135e3c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2890512
Change-Id: I2e08fe01f83e6e15135e1f7831ecf62cbc495bdd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 23:51:22 +00:00
Victor Shutemov
1e14bd55bd
Fix AIDL VHAL metadata extraction script
...
Add capability to process values from imports.
Update json metadata file with new data.
Testing:
1. cd hardware/interfaces/automotive/vehicle/aidl/emu_metadata
2. ./generate_emulator_metadata.py ../../aidl_property/android/hardware/automotive/vehicle out.json
Bug: 317529575
Test: manual
Change-Id: I315f1f75c2372796bde3bdacd39246344579c002
2024-01-03 13:25:57 +01:00
Yu Shan
4f5ede6434
Add ScheduleInfo validity check.
...
Define the max task data size. Requires remote access HAL to return
invalid arg if ScheduleInfo is not valid.
Updated the reference impl to add the checks.
Test: atest RemoteAccessServiceUnitTest
Bug: 317405128
Change-Id: Ia17dda2683c3bcc861542cb2fbd812ce8bd368aa
2023-12-28 17:26:50 -08:00
Tyler Trephan
35bf32ff0f
Fixed spelling mistake in LaneCenteringAssistCommand
...
Test: None
Bug: 290972334
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:077e36dee61db38ad8d0e28a62542e571e2921ae )
Merged-In: Ic85ba803abe349ea9a7edd7dca5cbe7159df34ac
Change-Id: Ic85ba803abe349ea9a7edd7dca5cbe7159df34ac
2023-12-27 20:02:52 +00:00
Treehugger Robot
f4fc926bf8
Merge "Fixed documentation for resolution in SubscriptionOptions.aidl" into main
2023-12-21 01:24:09 +00:00
Yu Shan
59f33e4e31
Rename to getAllPendingScheduledTasks.
...
Rename getAllScheduledTasks to getAllPendingScheduledTasks.
Test: Presubmit
Bug: 305285376
Change-Id: I0a908d3c4cc77ff718883e17468a2ff75df470d3
2023-12-20 22:47:02 +00:00
shrikar
43dd9ab7c7
Fixed documentation for resolution in SubscriptionOptions.aidl
...
Bug: 276124296
Test: m
Change-Id: Ia75f4ca8389aedff4636af844dd76dfe8c8b6105
2023-12-19 18:54:22 +00:00
Yu Shan
83baf0e378
Filter unsupported propIds for current version.
...
Do not return properties that are not supported by the current
VHAL version. Note that even though compile time we are implementing
VHAL V3, but V2 might be used at runtime.
Test: atest DefaultVehicleHalTest
Bug: 115764870
Change-Id: If830d93f93fff7d4370798342aa0d047d413674c
2023-12-18 16:24:25 -08:00
Yu Shan
7881e82bf0
Generate VersionForVehicleProperty.h.
...
This will be used in VHAL implementation to filter out properties
that are not supported by the client version.
Test: presubmit
Bug: 115764870
Change-Id: I89d8421debde15677b0fbd6da69335f43b681eff
2023-12-15 16:42:53 -08:00
Yu Shan
10d37ef3aa
Add version annotation.
...
Add aidl_property interface version annotation. This prepares us
for adding VTS test to make sure newly introduced properties are
not supported in older versions.
Test: None
Bug: 316614617
Change-Id: Id16ebc4888160e9a48999bc91e02884805a5189b
2023-12-15 15:20:16 -08:00
Yu Shan
bd65531e3b
Fix empty array object obtain.
...
Test: atest VehicleHalVehicleUtilsTest
Bug: 316432606
Change-Id: I6b2009cf3e96be33cc4abdfaa4c781b46a0f49f8
2023-12-15 15:20:16 -08:00
Yu Shan
3fcc5f2edf
Merge "Make sure the VehiclePropValue object is initialized" into main am: c61a19bc28
am: eb9c7af3e3
am: 7dda5ff288
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871786
Change-Id: I709cb2ebd6f4223cf660c13a93ff214156e91b0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-15 21:16:16 +00:00
Yu Shan
9ecf50386f
Merge changes Iddbd2a14,I2556e784 into main
...
* changes:
Add TaskType to ScheduleInfo.
Add enter garage mode bootup reason.
2023-12-15 20:08:16 +00:00
Yu Shan
c61a19bc28
Merge "Make sure the VehiclePropValue object is initialized" into main
2023-12-15 19:57:50 +00:00
Maxim Pleshivenkov
d635e372fd
Update comments
...
Updated comments for VehicleApPowerStateShutdownParam values.
Bug: 316026370
Change-Id: I8e7b9c0c11755c885588b96b54490f0b70b4f9e0
Test: manual build
Change-Id: I8e7b9c0c11755c885588b96b54490f0b70b4f9e0
2023-12-15 15:47:36 +00:00
Eva Chen
99137fb97c
Merge "Add ULTRASONICS_SENSOR_MEASURED_DISTANCE to HAL layer." into main
2023-12-15 06:46:35 +00:00
Yu Shan
8459a06838
Add TaskType to ScheduleInfo.
...
Add a task type field to schedule serverless remote task. We want
to introduce an ENTER_GARAGE_MODE type where the external system
can set the AP_POWER_BOOT_UP_REASON and makes android enter
garage mode.
Test: atest RemoteAccessServiceUnitTest
Bug: 316233421
Change-Id: Iddbd2a14aa6f4672a2e27f0a05ec2b73b7d1aab2
2023-12-14 17:02:04 -08:00
Yu Shan
efa6db774e
Add enter garage mode bootup reason.
...
Test: m android.hardware.automotive.vehicle.property-update-api
Bug: 316217804
Change-Id: I2556e784d6a1b48c8067b06157176743fe6fa5a2
2023-12-14 17:01:40 -08:00
Shrikar Amirisetty
7482f1a9e3
Merge changes from topics "head-up-display-enabled", "low-speed-emergency-braking-enabled", "low-speed-emergency-braking-state" into main
...
* changes:
Added LOW_SPEED_AUTOMATIC_EMERGENCY_BRAKING_STATE to HAL
Added LOW_SPEED_AUTOMATIC_EMERGENCY_BRAKING_ENABLED to HAL
Added HEAD_UP_DISPLAY_ENABLED to HAL
2023-12-14 22:36:15 +00:00
Eva Chen
3e595ac343
Merge "Add ULTRASONICS_SENSOR_SUPPORTED_RANGES to HAL layer." into main
2023-12-14 05:47:08 +00:00
Eva Chen
13715242aa
Merge "Add ULTRASONICS_SENSOR_DETECTION_RANGE to HAL layer." into main
2023-12-14 04:48:04 +00:00
Eva Chen
5bf8c4d338
Merge "Add ULTRASONICS_SENSOR_FIELD_OF_VIEW to HAL layer." into main
2023-12-14 03:31:13 +00:00
shrikar
bd6ab7324d
Added LOW_SPEED_AUTOMATIC_EMERGENCY_BRAKING_STATE to HAL
...
Bug: 314795767
Test: atest VtsHalAutomotiveVehicle_TargetTest
FakeVehicleHardwareTest
Change-Id: Ib7189abbbd9d9f3870faed146d1c240b03820716
2023-12-14 02:01:53 +00:00
shrikar
d11b9f832f
Added LOW_SPEED_AUTOMATIC_EMERGENCY_BRAKING_ENABLED to HAL
...
Bug: 314786275
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ic80eed8362bba273bac409c175a726317054de7e
2023-12-14 01:18:31 +00:00
Eva Chen
8626ab361c
Merge "Add ULTRASONICS_SENSOR_ORIENTATION to HAL layer." into main
2023-12-14 00:33:52 +00:00
Eva Chen
784e3c325c
Merge "Add ULTRASONICS_SENSOR_POSITION to HAL layer." into main
2023-12-14 00:01:40 +00:00
shrikar
555598956e
Added HEAD_UP_DISPLAY_ENABLED to HAL
...
Bug: 314383237
Test: atest VtsHalAutomotiveVehicle_TargetTest
FakeVehicleHardwareTest
Change-Id: I38fd94520b66fc329b6e1ec62789357046a3b24d
2023-12-14 00:00:39 +00:00
Shrikar Amirisetty
255cfa2840
Merge "Added CROSS_TRAFFIC_MONITORING_WARNING_STATE to HAL" into main
2023-12-13 23:32:48 +00:00
Aaqib Ismail
691b6a1adc
Merge "Change temp approximations to be accurate" into main
2023-12-13 22:30:38 +00:00
Shrikar Amirisetty
60927e3ae5
Merge "Added CROSS_TRAFFIC_MONITORING_ENABLED to HAL" into main
2023-12-13 22:29:11 +00:00
Shrikar Amirisetty
55ca206d93
Merge "Added ELECTRONIC_STABILITY_CONTROL_STATE to HAL" into main
2023-12-13 22:28:46 +00:00
Maxim Pleshivenkov
510537ffa7
Merge "Update VehicleApPowerStateShutdownParam" into main
2023-12-13 20:21:16 +00:00
Liu, Kai1
cb700ebc64
Make sure the VehiclePropValue object is initialized
...
If MALLOC_ZERO_CONTENTS is false, the new created VehiclePropValue
object maybe filled with dirty data, we should initialize it so that
its status member can be initialized to zero to avoid timeout when
car services get properties, such as property OBD2_LIVE_FRAME.
Bug: 315728228
Test: hidl_test
Change-Id: I530bc95a3074c917be853f55cd1736558b140da4
Signed-off-by: Liu, Kai1 <kai1.liu@intel.com>
2023-12-13 16:52:05 +08:00
Eva Chen
756617334f
Add ULTRASONICS_SENSOR_MEASURED_DISTANCE to HAL layer.
...
Bug: 292141998
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I1bdd4fe5bd56a8af24c9b720a3e191a55a6a120b
2023-12-12 22:56:09 -08:00
Eva Chen
df05df56ba
Add ULTRASONICS_SENSOR_SUPPORTED_RANGES to HAL layer.
...
Bug: 292141998
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Id648eeba8590c93d19dbdc5cc9b84fab67f30db4
2023-12-12 22:56:08 -08:00
Eva Chen
968bf44f66
Add ULTRASONICS_SENSOR_DETECTION_RANGE to HAL layer.
...
Bug: 292141998
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I52808bc26422691d2b80e5f45f31a82a44fdfbc4
2023-12-12 22:56:07 -08:00
Eva Chen
727aa3f29d
Add ULTRASONICS_SENSOR_FIELD_OF_VIEW to HAL layer.
...
Bug: 292141998
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I2e8b35317ab7ecc952de1e8680ebfc8eac2a020f
2023-12-12 22:56:07 -08:00
Eva Chen
9e226e5099
Add ULTRASONICS_SENSOR_ORIENTATION to HAL layer.
...
Bug: 292141998
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I5b40cb5ce27a0d4e2b2b67c0a94b47aafa3ebd5c
2023-12-12 22:56:07 -08:00
Eva Chen
544b24ba94
Add ULTRASONICS_SENSOR_POSITION to HAL layer.
...
Bug: 292141998
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I97d2576179bc7e668f6036c911235dc1dcd67dcb
2023-12-12 22:56:06 -08:00
Eva Chen
95e88820a1
Merge "Add new VENDOR VehicleArea to HAL layer." into main
2023-12-13 04:54:16 +00:00
Treehugger Robot
5feeb3a5eb
Merge "Update OWNERS file." into main am: e35fd5922b
am: 8262c93f22
am: 3721dc7ecd
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2871780
Change-Id: I319ee1497cba9062349a09faae65825e9e25afb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 03:54:57 +00:00
Maxim Pleshivenkov
c9782c2e58
Update VehicleApPowerStateShutdownParam
...
Add Emergency Shutdown to VehicleApPowerStateShutdownParam
Bug: 316026370
Change-Id: Ieb250e0d84314a9926fb87ebdb4aa92c247778e0
Test: manual build
2023-12-13 02:58:43 +00:00
Treehugger Robot
e35fd5922b
Merge "Update OWNERS file." into main
2023-12-13 01:28:25 +00:00
Yu Shan
bdd4c1aaea
Update OWNERS file.
...
Test: None
Bug: None
Change-Id: I0c2b9bba98c0543ed44cf7c5ad1a350e195b7b29
2023-12-12 17:24:42 -08:00
Aaqib Ismail
5e119598fa
Change temp approximations to be accurate
...
We need to use a more accurate ratio of celsius to fahrenheit along
with better min/max temperature conversions so if a client sets the
value using standard conversion or using this table, they will produce
the same result. Also, we need to round to the closest increment instead
of truncating.
Bug: 305274504
Bug: 313720524
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest FakeVehicleHardwareTest
Change-Id: Ia4d53e1a904fb2b40f5ec428ab548895c8f307ed
2023-12-12 22:42:29 +00:00
shrikar
813ba7c571
Added CROSS_TRAFFIC_MONITORING_WARNING_STATE to HAL
...
Bug: 313664286
Test: atest VtsHalAutomotiveVehicle_TargetTest
FakeVehicleHardwareTest
Change-Id: I49c6ff1a583a9d2e8504700a4c95de0c69bee21a
2023-12-12 21:27:47 +00:00
shrikar
7fde8f5084
Added CROSS_TRAFFIC_MONITORING_ENABLED to HAL
...
Bug: 313466942
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I8d65d4ab577254a60859ed2f65e0317829ff70b2
2023-12-12 21:21:01 +00:00
shrikar
a45d1cfdc9
Added ELECTRONIC_STABILITY_CONTROL_STATE to HAL
...
Bug: 313455695
Test: atest VtsHalAutomotiveVehicle_TargetTest
FakeVehicleHardwareTest
Change-Id: I8d8d7d749f530a7c738c8a9dfd712496d118715a
2023-12-12 21:19:45 +00:00
shrikar
33a3369d18
Added ELECTRONIC_STABILITY_CONTROL_ENABLED to HAL
...
Bug: 313435670
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I7d9bdc5bfccc3037a29d7d9b72c705797cc53064
2023-12-12 21:16:32 +00:00
shrikar
84866f7c35
Added VALET_MODE_ENABLED to HAL
...
Bug: 313324764
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I2365ac050978ade0d441ff96bf9160bd2b6651e4
2023-12-12 21:16:32 +00:00