shrikar
37833e1700
Added HANDS_ON_DETECTION_ENABLED to hardware layer.
...
Bug: 261739790
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I382bad54ba5c26f398b9d925e9dd1672446b684b
2023-01-04 17:40:59 +00:00
shrikar
808a294ee1
Added ADAPTIVE_CRUISE_CONTROL_ENABLED to hardware layer.
...
Bug: 261737998
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I2343329b9ea086b1fa7c22c644e8f02534cbd41b
2023-01-04 17:21:42 +00:00
shrikar
668df368a5
Added EMERGENCY_LANE_KEEP_ASSIST_ENABLED to hardware layer.
...
Bug: 261743859
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I498061d9ef7f8ff5e21db96c9911f7c485377eab
2023-01-04 17:19:32 +00:00
Aaqib Ismail
eea71eab5c
Merge changes from topics "BlindSpotWarningEnabled", "ForwardCollisionWarningEnabled", "LaneDepartureWarningEnabled"
...
* changes:
Add HAL changes for LANE_DEPARTURE_WARNING_ENABLED
Add HAL changes for BLIND_SPOT_WARNING_ENABLED
Add HAL changes for FORWARD_COLLISION_WARNING_ENABLED
2023-01-04 16:51:59 +00:00
Aaqib Ismail
198148569e
Merge "Add HAL changes for LANE_CENTERING_ASSIST_ENABLED"
2023-01-04 16:51:28 +00:00
Aaqib Ismail
ca76c73c0b
Merge changes from topics "SteeringWheelLightsState", "SteeringWheelLightsSwitch"
...
* changes:
Add HAL changes for STEERING_WHEEL_LIGHTS_SWITCH
Add HAL changes for STEERING_WHEEL_LIGHTS_STATE
2023-01-04 02:49:02 +00:00
Aaqib Ismail
f9cd978f00
Merge "Add HAL changes for SEAT_HEADREST_HEIGHT_POS_V2 and deprecate SEAT_HEADREST_HEIGHT_POS"
2023-01-03 23:47:03 +00:00
Aaqib Ismail
4b8688ff02
Add HAL changes for STEERING_WHEEL_LIGHTS_SWITCH
...
Bug: 257268261
Test: atest VtsHalAutomotiveVehicle_TargetTest
atest CtsCarTestCases:CarPropertyManagerTest
atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ic9aadf4adfaf38cdcb80bf0ea4d500ac1855e666
2023-01-03 23:01:20 +00:00
Aaqib Ismail
0dc7ba0df9
Add HAL changes for STEERING_WHEEL_LIGHTS_STATE
...
Bug: 257268085
Test: atest VtsHalAutomotiveVehicle_TargetTest
atest CtsCarTestCases:CarPropertyManagerTest
atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I64cbf203e806b8f74b8e26c68273da5a21bf4070
2023-01-03 23:00:20 +00:00
Aaqib Ismail
7a46cef00f
Add HAL changes for LANE_DEPARTURE_WARNING_ENABLED
...
Bug: 261743848
Test: atest VtsHalAutomotiveVehicle_TargetTest
atest CtsCarTestCases:CarPropertyManagerTest
atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ic9ea2df2a4b729619307f6aa12667d46ba4baa19
2023-01-03 13:55:30 -08:00
Aaqib Ismail
3f7177a9e1
Add HAL changes for BLIND_SPOT_WARNING_ENABLED
...
Bug: 261743498
Test: atest VtsHalAutomotiveVehicle_TargetTest
atest CtsCarTestCases:CarPropertyManagerTest
atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I311d832c3926a764d2d817977b275e8b85c47987
2023-01-03 13:55:30 -08:00
Aaqib Ismail
a251367e65
Add HAL changes for FORWARD_COLLISION_WARNING_ENABLED
...
Bug: 261743618
Test: atest VtsHalAutomotiveVehicle_TargetTest
atest CtsCarTestCases:CarPropertyManagerTest
atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I37cbb2830732ab6c8cc918d7d83725bf4a618bb0
2023-01-03 13:55:30 -08:00
Aaqib Ismail
b1680a7bb2
Add HAL changes for LANE_CENTERING_ASSIST_ENABLED
...
Bug: 261743713
Test: atest VtsHalAutomotiveVehicle_TargetTest
atest CtsCarTestCases:CarPropertyManagerTest
atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I16ea4aa8b21fe6e361afec36f9b4b0f751337757
2023-01-03 13:55:27 -08:00
Aaqib Ismail
5d53aa3b75
Add HAL changes for AUTOMATIC_EMERGENCY_BRAKING_ENABLED
...
Bug: 261743473
Test: atest VtsHalAutomotiveVehicle_TargetTest
atest CtsCarTestCases:CarPropertyManagerTest
atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I889c37a53949b5bd6cad7a376fab11b3dd455ebb
2023-01-02 15:39:35 -08:00
Yu Shan
b2c10d6bf4
Merge "Update doc for subscribing unavailable props."
2022-12-23 02:51:14 +00:00
Aaqib Ismail
4e6144c946
Add HAL changes for SEAT_HEADREST_HEIGHT_POS_V2 and deprecate SEAT_HEADREST_HEIGHT_POS
...
This deprecation process is for the currently unusable property SEAT_HEADREST_HEIGHT_POS which targets the GLOBAL area type instead of the SEAT area type. This means that changes apply to all seats instead of individual seats. This new property addresses this issue and solves it.
Bug: 242587816
Test: atest VtsHalAutomotiveVehicle_TargetTest
atest CtsCarTestCases:CarPropertyManagerTest
atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I1102ffcac6e0c97d73dfc574a5c863a2082d8f3f
2022-12-22 00:56:44 -08:00
Yu Shan
9c69ed1697
Update doc for subscribing unavailable props.
...
Test: None
Bug: 258513729
Change-Id: I31f0a9490d3462bcc1266d14b4b3b893ce1d03a0
2022-12-21 17:18:28 -08:00
shrikar
f77f97462b
Fixed DefaultProperties.json formatting to avoid repohook failure.
...
Bug: 261481870
Test: Repohook
Change-Id: Id45469a70605e0239dbeccd3c7346d3b733a3ed1
2022-12-21 19:43:44 +00:00
Shrikar Amirisetty
f0c24dadb0
Merge changes from topics "engine_auto_idle_stop_enabled", "seat_walk_in_pos"
...
* changes:
Added ENGINE_IDLE_AUTO_STOP_ENABLED to hardware layer.
Added SEAT_WALK_IN_POS to hardware layer.
2022-12-21 17:38:26 +00:00
Shrikar Amirisetty
ce4f43b79e
Merge "Change min/max values to match config array in DefaultProperties.json"
2022-12-20 23:49:27 +00:00
Chris Weir
6911968348
Merge "Add warning about AIDL CAN HAL"
2022-12-17 01:46:04 +00:00
shrikar
8391447881
Added ENGINE_IDLE_AUTO_STOP_ENABLED to hardware layer.
...
Bug: 262765277
Test: VtsHalAutomotiveVehciel_TargetTest
Change-Id: I394cd50b236c3ff045993da9ac10a551cafe16ed
2022-12-16 22:03:19 +00:00
Tyler Trephan
5f66ad09b9
Merge "Added new supportedEnumValues to VehicleAreaConfig.aidl file"
2022-12-16 19:15:31 +00:00
Chris Weir
c847a3cfda
Add warning about AIDL CAN HAL
...
Have the HIDL versions of libcanhaltools and canhalconfigurator provide
a warning message directing the viewer to use the AIDL version.
Bug: 170405615
Test: Build seahawk with AIDL CAN HAL and HIDL canhalconfigurator,
observe warning message.
Change-Id: I83a3dcedbdc5eafd3804e60950d0d8788cd6eddb
2022-12-16 10:49:41 -08:00
shrikar
6ae791692d
Added SEAT_WALK_IN_POS to hardware layer.
...
Bug: 262765640
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I4c27a8670abeb905d54f9e188d218139c06c67bb
2022-12-16 16:44:12 +00:00
shrikar
9460e189fa
Change min/max values to match config array in DefaultProperties.json
...
Bug: 261481870
Test: atest CarPropertyManagerTest
Change-Id: Ifcd9f5a545748360b49a89ab63a5642887eca6da
2022-12-14 16:23:10 +00:00
Chris Weir
eb9d14cbf5
Merge "AIDL CAN HAL"
2022-12-13 00:52:07 +00:00
Steven Moreland
65ee297ef9
Merge "Mark modules frozen explicitly."
2022-12-12 18:27:49 +00:00
Yu Shan
8f0958eb88
Merge changes I3999f4e9,Icc1f90b8
...
* changes:
Avoid holding lock while calling recurrent actions.
Remove lock for fakeVehicleHardware callbacks.
2022-12-09 21:33:27 +00:00
Yu Shan
93a821077e
Avoid holding lock while calling recurrent actions.
...
This CL fixes a dead lock issue caused by RecurrentTimer holding
internal locks while calling actions. The dead lock is caused by
the following situation:
1. Caller holds a lock, call RecurrentTimer.registerCallback which
waits for RecurrentTimer's lock.
2. Another recurrent action happens at the same time. Recurrent
timer holds lock before calling the client action. The client action
is now waiting for the lock that is currently hold by 1.
Test: atest RecurrentTimerTest
Bug: 255574557
Change-Id: I3999f4e9cdf581cb851d5f49341dbcc0c160f234
2022-12-09 10:41:04 -08:00
Changyeon Jo
42c3c902f5
Fix how displays are used in test cases am: 017cb98ee9
am: 1186b99120
am: ed6ebed9f3
am: 819113071d
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821
Change-Id: I41e5a4059d7e0b56c6329b63d86cea0e4d495552
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 01:44:56 +00:00
Changyeon Jo
819113071d
Fix how displays are used in test cases am: 017cb98ee9
am: 1186b99120
am: ed6ebed9f3
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821
Change-Id: I687ff1d38a350929060476001efd289ef5ca507a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 01:16:37 +00:00
Changyeon Jo
ed6ebed9f3
Fix how displays are used in test cases am: 017cb98ee9
am: 1186b99120
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821
Change-Id: Iad80f724c545d9d0e75a785a686e1ff5830a748d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:54:29 +00:00
Changyeon Jo
1186b99120
Fix how displays are used in test cases am: 017cb98ee9
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2305821
Change-Id: I95e906a94413fe0d896573fb66d27c84a9befb66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:26:31 +00:00
Yu Shan
7c671925f0
Remove lock for fakeVehicleHardware callbacks.
...
The callbacks are called very frequently, guarding them with the
main mLock will cause the mLock to become very hot and possibly
blocking other operations from owning the lock. Since the callback
is only set once by DefaultVehicleHal during initialization, it
is really not necessary to guard them with lock.
Test: manual run on gcar_emu
Bug: 255574557
Change-Id: Icc1f90b89578a27729ef8beae3a475966f72d318
2022-12-08 14:42:21 -08:00
Aaqib Ismail
7dea3ee6fc
Merge "Add HAL changes for EV_CURRENT_BATTERY_CAPACITY"
2022-12-08 19:02:28 +00:00
Yu Shan
571cd23ec3
Ignore "-a" dump option.
...
This option will be used when generating bugreport. We don't want
this to cause invalid option error.
Test: adb shell dumpsys
android.hardware.automotive.vehicle.IVehicle/default -a
Bug: 261768324
Change-Id: I27347a6cd063623b01ada2803a06c2c86f936396
2022-12-08 18:54:19 +00:00
Steven Moreland
55228cf00c
Merge "graphics.common V3 -> V4" into tm-qpr-dev-plus-aosp
2022-12-08 18:53:32 +00:00
Steven Moreland
edff13e314
Mark modules frozen explicitly.
...
Makes it easier to see which versions are available.
Bug: 188871598
Test: N/A
Change-Id: Ica76a8225fec8dc5267362cbfd43e06e65ad3f1e
2022-12-08 18:02:08 +00:00
Marc Kassis
132900f4e1
graphics.common V3 -> V4
...
Bug: 251177105
Test: m
Change-Id: I1cb84ec85f98789d0737207a1661b39a25538c96
Merged-In: I1cb84ec85f98789d0737207a1661b39a25538c96
Merged-In: I2e1561f4ccb59a2a833af9a7afd07840ab2ebfa4
2022-12-08 13:20:59 +00:00
Aaqib Ismail
aec678ac7d
Add HAL changes for EV_CURRENT_BATTERY_CAPACITY
...
Bug: 259451992
Test: atest VtsHalAutomotiveVehicle_TargetTest
atest CtsCarTestCases:CarPropertyManagerTest
atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Iafc291171e4ae571e5ca90715ea70d40208da144
2022-12-08 04:37:13 +00:00
Treehugger Robot
e52f382909
Merge changes I3b0c6325,I40f97f4b am: a55e702324
am: 76c6b3a669
am: 673426770e
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2323902
Change-Id: I3e39e3e19e338b9cdb6d09a7fbbdbd86147b55f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 03:23:04 +00:00
Treehugger Robot
673426770e
Merge changes I3b0c6325,I40f97f4b am: a55e702324
am: 76c6b3a669
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2323902
Change-Id: If30240ff6efd244d0e4c16515338fef8dd00bc1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 02:57:12 +00:00
Treehugger Robot
76c6b3a669
Merge changes I3b0c6325,I40f97f4b am: a55e702324
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2323902
Change-Id: Ib0d18654a7f7627fd464b07bd0f902c196f51d03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 02:35:25 +00:00
Aaqib Ismail
6383653c81
Merge "Add HAL changes for EV_BRAKE_REGENERATION_LEVEL"
2022-12-07 23:45:22 +00:00
Yu Shan
df39d6e450
Fix a race condition in remote access HAL.
...
We should not delete ClientContext after we TryCancel it since the
reader in the main task loop might still access it, e.g., while
calling reader->Finish. We must wait under reader->Finish is
returned, then to delete the ClientContext.
This CL also updates README.md to incorporate soong namespace change.
Test: manually test on sdk_car_x86_64-userdebug
Run TestWakeupClientServer
Run --set-ap-state 1 0 and then --set-ap-state 0 0 multiple times.
Bug: 261234399
Change-Id: I3b0c632546c218c4ced43af95a585cd41e0da036
2022-12-07 15:20:06 -08:00
Yu Shan
1532afd33c
Define a new remoteaccess HAL for test.
...
Bug: 261108682
Test: Locally build and run
Change-Id: I40f97f4b10714096a32c5b14c8716b6c8e413419
2022-12-07 15:17:48 -08:00
Gaurav Bhola
c3f1c5f2b7
Merge "Add 2 new properties in VHAL for Special Input handling on passenger displays"
2022-12-07 00:54:58 +00:00
Shrikar Amirisetty
bd63e2533f
Merge "Change default units to be consistent in DefaultProperties.json"
2022-12-07 00:29:45 +00:00
shrikar
ef57d1f473
Change default units to be consistent in DefaultProperties.json
...
Bug: 259879204
Test: atest CarPropertyManagerTest
Change-Id: I752632f4965b523fc16e438dffc8636244a6e23d
2022-12-06 11:51:59 -08:00