Commit graph

1497 commits

Author SHA1 Message Date
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
Shrikar Amirisetty
ac867e5ec7 Merge "Added ADAPTIVE_CRUISE_CONTROL_TARGET_TIME_GAP to HAL layer." into udc-dev 2023-02-28 21:20:11 +00:00
shrikar
f7f16932da Updated HVAC property docs with go/revising-hvac-additional-rule
Bug: 267352912
Test: manual build
Change-Id: I0b68d92d1a6e3a7739145bd302933e00c7f1aac1
2023-02-27 23:36:54 +00:00
shrikar
34563642f3 Added LOCATION_CHARACTERIZATION to HAL layer.
Bug: 269141226
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ia53508f032d905b8f211606238bb6c650f787d2b
Merged-In: Ia53508f032d905b8f211606238bb6c650f787d2b
2023-02-24 00:50:46 +00:00
Yu Shan
9c762cde05 Merge "Increase timer test tolerance." into udc-dev 2023-02-23 01:12:41 +00:00
shrikar
b9661d31f1 Added ADAPTIVE_CRUISE_CONTROL_TARGET_TIME_GAP to HAL layer.
Bug: 266866449
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ibe1a9cdcc6a82e20f4c0524b362ea52d3ca02f25
Merged-In: Ibe1a9cdcc6a82e20f4c0524b362ea52d3ca02f25
2023-02-22 23:00:42 +00:00
Shrikar Amirisetty
39571d50ad Merge "Added temporary unavailable state behavior to ADAS ENABLED property docs" into udc-dev 2023-02-22 22:47:46 +00:00
Shrikar Amirisetty
ba86452481 Merge "Added CRUISE_CONTROL_TARGET_SPEED to HAL layer." into udc-dev 2023-02-22 22:47:10 +00:00
shrikar
a5634fe6a0 Added temporary unavailable state behavior to ADAS ENABLED property docs
Bug: 269785806
Test: manual build
Change-Id: I43c37fbe692ed1a5c1bdf36dee4cb7bda4e4ad5b
2023-02-22 18:42:59 +00:00
shrikar
fde8c2428e Added CRUISE_CONTROL_TARGET_SPEED to HAL layer.
Bug: 266861469
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ie156bf9df65024bc39e4a1cd40fa870aa69d3a57
Merged-In: Ie156bf9df65024bc39e4a1cd40fa870aa69d3a57
2023-02-22 16:58:23 +00:00
Yu Shan
a0060489fd Increase timer test tolerance.
This test was flaky on cf. Increase the tolerance to make it stable.
This CL also modifies subscribe test to not rely on sleep to make
it stable.

Test: Presubmit
Bug: 268603744 270074790
Change-Id: I4a8003be152ef0a1f409f3705892fffee58170dd
2023-02-21 18:51:00 -08:00
Jusik Chung
ce60031f6e Merge "VHAL for PERF_VEHICLE_SPEED_DISPLAY." into tm-qpr-dev am: 2549d56990
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/21475566

Change-Id: I5ea8be5f964004b670edd3874f6c948fac2268c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 01:34:00 +00:00
Jusik Chung
c36d6be8ff VHAL for PERF_VEHICLE_SPEED_DISPLAY.
Bug: 261934875
Bug: 261943854
Test: adb shell cmd car_service get-property-value 0x11600208
Change-Id: I0390189129ebd41a913f5fc0f903a0ee22b226d7
Merged-In: Ifdd41da591e8c352326a247f65a59cda36b76981
2023-02-21 23:56:29 +00:00
Terry Guan
70f85b7c0d Added Vendor Error Properties
Bug: 269501288
Test: atest android.car.apitest.CarPropertyManagerTest
Test: atest FakeVehicleHardwareTest
Change-Id: Ia5ec83c750095774fe409edd6e3f2f6072987b9c
Merged-In: Ia5ec83c750095774fe409edd6e3f2f6072987b9c
(cherry picked from commit eb47a4729e)
2023-02-21 18:55:09 +00:00
Eric Jeong
a9a3ec3e1a Add PASSENGER_DISPLAY_BRIGHTNESS property
- DISPLAY_BRIGHTNESS can send a brightness to be applied on one display.
- On multi-display devices, brightness of each display should be
  communicated separately to VHAL.
- PASSENGER_DISPLAY_BRIGHTNESS is added to serve that purpose.

Bug: 269186221
Test: build okay
Change-Id: I749ecd451afc4f24039f6e594860f1cb0fcf3509
(cherry picked from commit b9748bad63)
Merged-In: I749ecd451afc4f24039f6e594860f1cb0fcf3509
2023-02-17 18:03:39 +00:00
Terry Guan
e9d306d75e Merge "Added additional comments for vendor error codes" 2023-02-17 00:02:38 +00:00
Aaqib Ismail
48d2e1c688 Merge "Add missing documentation in HAL for enum states" 2023-02-16 21:35:10 +00:00
Aaqib Ismail
68175631b6 Add missing documentation in HAL for enum states
This change for WindshieldWipersState, VehicleOilLevel, and
TrailerState aligns the documentation in the HAL with the API level.

Bug: 269329431
Test: presubmit
Change-Id: I115ac9a6f03c051b0de526e60a44dca41220533f
2023-02-16 19:49:12 +00:00
Terry Guan
543009b95e Added additional comments for vendor error codes
Added documentation for vendor code of 0 as well as changing the value
of vendor codes to be from 0x0001 to 0xffff

Bug: 268748245
Test: manual
Change-Id: I355524acc0094bbf3ecd5183df77cbeea82d55b1
2023-02-16 09:33:48 -08:00
Aaqib Ismail
c0da595666 Merge "Add HAL changes for WINDSHIELD_WIPERS_SWITCH" 2023-02-16 05:00:40 +00:00
Aaqib Ismail
c37a211ed5 Add HAL changes for WINDSHIELD_WIPERS_SWITCH
Bug: 266986465
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:WindshieldWipersSwitchTest
Test: atest AndroidCarApiTest:WindshieldWipersSwitchTest
Change-Id: Idebd9dea3e03a8c37984af87a502c23d55433b73
2023-02-15 13:24:52 -08:00
shrikar
22164c6be5 Added DRIVER_ATTENTION_MONITORING_STATE to HAL layer.
Bug: 264946416
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ie68b718d719dc5de050d31f6dd614ce5e9ecb32c
2023-02-15 17:12:04 +00:00
shrikar
39859e91e8 Added DRIVER_ATTENTION_MONITORING_WARNING to HAL layer.
Bug: 264946418
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I7eb6fd0c781c5b4bf500e9d137a74860100f6be4
2023-02-15 17:11:04 +00:00
shrikar
a6785997b3 Added HANDS_ON_DETECTION_WARNING to HAL layer.
Bug: 264946505
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Idc807524b06e8001a795d63f9ad2f1294a834a0f
2023-02-15 17:09:11 +00:00
shrikar
6d88bf5b9a Added HANDS_ON_DETECTION_DRIVER_STATE to HAL layer
Bug: 264946425
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I89ed7c254917eb48b69682b18950c15f60afd2f0
2023-02-15 17:08:34 +00:00
Shrikar Amirisetty
a3ebd83775 Merge changes from topics "cc_command", "cc_state", "cc_type", "elka_state", "rename_acc"
* changes:
  Added CRUISE_CONTROL_COMMAND to HAL layer.
  Added CRUISE_CONTROL_STATE to HAL layer.
  Added CRUISE_CONTROL_TYPE to HAL layer.
  Added EMERGENCY_LANE_KEEP_ASSIST_STATE to HAL layer.
  Renamed ADAPTIVE_CRUISE_CONTROL_ENABLED to CRUISE_CONTROL_ENABLED in HAL
2023-02-15 16:49:59 +00:00
TreeHugger Robot
83c9899fb1 Merge "Add new EVS service types" 2023-02-14 20:51:17 +00:00
shrikar
5df0f9574c Added CRUISE_CONTROL_COMMAND to HAL layer.
Bug: 266861468
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I7c6ca1d392932158ae3016194b6c092c03b7a44e
2023-02-14 19:32:28 +00:00
shrikar
2753b9edff Added CRUISE_CONTROL_STATE to HAL layer.
Bug: 266866448
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I35a10ba6a3799a86265fc26d8d0643b7d7bdd446
2023-02-14 19:32:17 +00:00
shrikar
d440ed4177 Added CRUISE_CONTROL_TYPE to HAL layer.
Bug: 266858123
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I2a8c6ac72c1c6f3feb90ffeb7a7b7f8fef0443c7
2023-02-14 19:32:08 +00:00
shrikar
80cc0c5a32 Added EMERGENCY_LANE_KEEP_ASSIST_STATE to HAL layer.
Bug: 264946353
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I16a046e0eed02ba79bf7ed6212e9063b91b9f43a
2023-02-14 19:32:00 +00:00
shrikar
5d1b816b8d Renamed ADAPTIVE_CRUISE_CONTROL_ENABLED to CRUISE_CONTROL_ENABLED in HAL
Bug: 261737998
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I34ad0ba32a5f2ad2037fbe65c011c63d400a12e4
2023-02-14 16:41:22 +00:00
TreeHugger Robot
410310aa4f Merge "Update BLIND_SPOT_WARNING_ENABLED documentation in HAL" 2023-02-10 04:49:08 +00:00
Aaqib Ismail
c10e6cb721 Merge "Add MILLI_SECS to VehicleUnit.aidl" 2023-02-10 02:27:21 +00:00
Aaqib Ismail
ff29c893c0 Merge changes from topics "LaneCenteringAssistCommand", "LaneCenteringAssistState", "LaneDepartureWarningState"
* changes:
  Update FORWARD_COLLISION_WARNING_ENABLED documentation in HAL
  Update AUTOMATIC_EMERGENCY_BRAKING_ENABLED documentation in HAL
  Update LANE_DEPARTURE_WARNING_ENABLED documentation in HAL
  Add HAL changes for LANE_DEPARTURE_WARNING_STATE
  Add HAL changes for LANE_CENTERING_ASSIST_COMMAND
  Update LANE_CENTERING_ASSIST_ENABLED documentation in HAL
  Add HAL changes for LANE_CENTERING_ASSIST_STATE
2023-02-10 02:26:18 +00:00
Eva Chen
f2202358a5 Merge "Add explanatory note to ADAS properties." 2023-02-10 01:19:56 +00:00
Aaqib Ismail
9f398eb933 Merge "Update LANE_KEEP_ASSIST_ENABLED documentation in HAL" 2023-02-09 20:04:45 +00:00
Changyeon Jo
f8091f5d08 Add new EVS service types
This change adds below new service types to EvsServiceType enum.
- FRONTVIEW
- LEFTVIEW
- RIGHTVIEW
- DRIVERVIEW
- FRONTPASSENGERSVIEW
- REARPASSENGERSVIEW
- USER_DEFINED

Bug: 191940626
Test: m -j
Change-Id: I907cd8e588e38659eedb77ac882b3a498f75f2d3
2023-02-09 11:21:16 -08:00
Aaqib Ismail
dacd5b0512 Update BLIND_SPOT_WARNING_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 264946039
Test: presubmit
Change-Id: I06092b1571aaa63ab165a8e2a2d04f9d57eccb64
2023-02-09 10:17:08 -08:00
Aaqib Ismail
326c88dd0f Update FORWARD_COLLISION_WARNING_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 264946034
Test: presubmit
Change-Id: I720dd691bc859d3113fa48f0f5b9a0b4a909d952
2023-02-09 10:14:34 -08:00
Aaqib Ismail
d76f8458a6 Update AUTOMATIC_EMERGENCY_BRAKING_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 264336118
Test: presubmit
Change-Id: I28de0aceaabb33647085d80b79da215da4a146cf
2023-02-09 10:13:04 -08:00
Aaqib Ismail
162976161a Update LANE_DEPARTURE_WARNING_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 266998630
Test: presubmit
Change-Id: If1acfe2454d552b2339c636cd7d790fa42f3bc10
2023-02-09 10:12:41 -08:00
Aaqib Ismail
8462db5859 Add HAL changes for LANE_DEPARTURE_WARNING_STATE
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for this property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.

Bug: 266998630
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:LaneDepartureWarningStateTest
Test: atest AndroidCarApiTest:LaneDepartureWarningStateTest
Change-Id: Ic26fcfe8b41bb44a851daf59d64f0ceb536333c3
2023-02-09 10:12:34 -08:00
Aaqib Ismail
0ffd39c1e4 Add HAL changes for LANE_CENTERING_ASSIST_COMMAND
Bug: 264946354
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:LaneCenteringAssistCommandTest
Test: atest AndroidCarApiTest:LaneCenteringAssistCommandTest
Change-Id: I126ed24748f9ef7cd9bc0541e2bdbf75eac43edf
2023-02-09 10:12:26 -08:00
Aaqib Ismail
f5b63fcf13 Update LANE_CENTERING_ASSIST_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 264946042
Test: presubmit
Change-Id: Idfd427fb69948f81307c29acd6285826e2cada99
2023-02-09 10:12:01 -08:00
Aaqib Ismail
db03444d5a Add HAL changes for LANE_CENTERING_ASSIST_STATE
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for this property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.

Bug: 264946042
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:LaneCenteringAssistStateTest
Test: atest AndroidCarApiTest:LaneCenteringAssistStateTest
Change-Id: I3f805bedff35eef2731a7d9fc0bec593e3c639a3
2023-02-09 10:11:25 -08:00
Aaqib Ismail
38ca038608 Update LANE_KEEP_ASSIST_ENABLED documentation in HAL
Temporary errors should be conveyed through ErrorState values in the
STATE property.

Bug: 264946157
Test: presubmit
Change-Id: I1ac2d570ff47efb879acdef110e9775baf6cea4b
2023-02-09 10:10:49 -08:00
TreeHugger Robot
28224192ba Merge changes from topics "GloveBoxLocked", "GloveBoxOpened"
* changes:
  Add HAL changes for GLOVE_BOX_LOCKED
  Add HAL changes for GLOVE_BOX_DOOR_POS
2023-02-09 17:54:51 +00:00
Aaqib Ismail
732a1d77b0 Add HAL changes for WINDSHIELD_WIPERS_STATE
Bug: 266985981
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:WindshieldWipersStateTest
Test: atest AndroidCarApiTest:WindshieldWipersStateTest
Change-Id: I0c23d71f5d020886733ffebf8d11fe17172e3683
2023-02-09 06:43:18 +00:00
Aaqib Ismail
63d52d1d59 Add HAL changes for WINDSHIELD_WIPERS_PERIOD
Bug: 266986551
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsPermission2TestCases:PermissionPolicyTest
Change-Id: Icf06bd00a55a46769d6cca9ecc37e31227e0e16a
2023-02-09 06:42:36 +00:00
Terry Guan
f5555f4408 Merge "Changed Status code" 2023-02-09 03:54:06 +00:00
Aaqib Ismail
654e766039 Merge "Add HAL changes for LANE_KEEP_ASSIST_STATE" 2023-02-08 23:29:34 +00:00
Aaqib Ismail
78db2ca676 Add HAL changes for LANE_KEEP_ASSIST_STATE
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for this property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.

Bug: 264946157
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:LaneKeepAssistStateTest
Test: atest AndroidCarApiTest:LaneKeepAssistStateTest
Change-Id: I60ea32b21dc79d692eeb733e4b38deb16a3231f2
2023-02-08 14:49:12 -08:00
Aaqib Ismail
38ecabbabf Add HAL documentation for ErrorState values
Bug: 267174892
Test: presubmit
Change-Id: I724a9e633011cf664b7f9e0b62106074a2d9e7c6
2023-02-07 23:49:44 -08:00
Aaqib Ismail
5e1b683b2a Add NOT_AVAILABLE_POOR_VISIBILITY to supportedEnumValues
Update supportedEnumValues array for ADAS STATE properties with new
state. Adjust defaultValue to a more sensible value for ADAS
properties.

Bug: 267174892
Test: presubmit
Change-Id: I2e2c130524156a8ef302ea774ce4dcbfe1260c4a
2023-02-07 23:49:44 -08:00
Aaqib Ismail
34454421e8 Add NOT_AVAILABLE_POOR_VISIBILITY to ErrorState in HAL
Added NOT_AVAILABLE_POOR_VISIBILITY to ErrorState enum between
NOT_AVAILABLE_SPEED_HIGH and NOT_AVAILABLE_SAFETY to be consistent with
StatusCode.

Bug: 267174892
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest AndroidCarApiTest:ErrorStateTest
Change-Id: Iad0edb555c7d0f6c3f4570cb489663e65eb08fd4
2023-02-07 23:49:43 -08:00
Aaqib Ismail
ebf1303803 Add MILLI_SECS to VehicleUnit.aidl
VehicleUnit contains MILLI_SECS in types.hal but not in
VehicleUnit.aidl.

Bug: 267556675
Test: atest VehicleUnitTest
Change-Id: I9616ab75575da32b108e1fca811357ea7464b12d
2023-02-07 23:43:45 -08:00
Aaqib Ismail
57be403812 Add HAL changes for GLOVE_BOX_LOCKED
Bug: 259434512
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Iab43d0f65d3e3b0e7ff15aaf29c70eb9e4501e12
2023-02-07 23:40:09 -08:00
Arati Gerdes
d86c7fd877 Add HAL changes for GLOVE_BOX_DOOR_POS
Test: atest CtsCarTestCases:CarPropertyManagerTest
Bug: 259434426
Change-Id: I2936baae6b6bf3ce4dd0a88e3a3b58fa5c794e76
2023-02-07 23:37:42 -08:00
Terry Guan
197ac1301a Changed Status code
Changed status code comment to reflect changes for vendor error codes.

Bug: 268261402
Test: atest CarPropertyManagerUnitTest
Change-Id: I232f429c4d6caea7ee6736554e84cbbc64ed9996
2023-02-07 20:43:25 -08:00
Eva Chen
370f10e3c1 Add explanatory note to ADAS properties.
Bug: 255851113
Test: Presubmit only. Documentation only change.
Change-Id: I159ed7d5a05cdd412b7b76cda14709195f04c260
2023-02-07 20:15:22 -08:00
TreeHugger Robot
22e54da5c6 Merge "Created OWNERS file for aidl_property and added tylertrephan@google.com" 2023-02-08 02:25:25 +00:00
Yu Shan
816b73b1b5 Merge "Define VEHICLE_IN_USE property." 2023-02-08 01:51:26 +00:00
Tyler Trephan
2fa1126ee3 Created OWNERS file for aidl_property and added tylertrephan@google.com
Test: None
Fix: 255430764
Change-Id: I41ce607225a5955267bbc027580eb831d821bfa2
2023-02-08 00:57:02 +00:00
Yu Shan
76a464073d Define VEHICLE_IN_USE property.
Test: m -j android.hardware.automotive.vehicle.property-update-api
Bug: 267813114
Change-Id: I366117ff228f75b607fda97888075bd355638cf4
2023-02-06 16:09:31 -08:00
Eva Chen
6594289414 Add new StatusCode values for ADAS properties.
Add NOT_AVAILABLE_DISABLED, NOT_AVAILABLE_SPEED_LOW,
NOT_AVAILABLE_SPEED_HIGH, NOT_AVAILABLE_POOR_VISIBILITY,
and NOT_AVAILABLE_SAFETY StatusCode definitions.

These were added to support ADAS properties, but could
be used for non-ADAS properties.

Bug: 263294718
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ic3a8cd30f1fb0f7b0300cc77ab8ca7cb66b15316
2023-02-03 17:11:52 -08:00
shrikar
05049a153a Fixed ErrorState.aidl to include int backing.
Bug: 267228426
Test: atest CarPropertyManagerTest
Change-Id: Ibd223f784b1694c844d8fb4025aaefccb6e7de8f
2023-01-31 23:07:00 +00:00
Aaqib Ismail
442c89c4cb Update automotive generated AIDL files
Bug: 266986551
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Iedf926b34839e00e224653e6bdcf8fd440c4acf5
2023-01-31 07:33:58 -08:00
TreeHugger Robot
68f58940bb Merge "Update BLIND_SPOT_WARNING_ENABLED documentation in HAL" 2023-01-31 03:25:54 +00:00
Shrikar Amirisetty
a78cbdb154 Merge "Shifted unique IDS of HOD and Driver Attention Monitoring Enabled in HAL" 2023-01-31 01:23:31 +00:00
TreeHugger Robot
bf0a59bcc1 Merge "Turn off clang-format for vehicle property generated files" 2023-01-31 00:17:27 +00:00
Aaqib Ismail
905f3f92e6 Merge "Add HAL changes for BLIND_SPOT_WARNING_STATE" 2023-01-31 00:16:27 +00:00
Aaqib Ismail
2e8915d69d Turn off clang-format for vehicle property generated files
clang-format hurts readability for these generated files.

Bug: 266986551
Test: manual build
Change-Id: I78432f4dd208ab1a554e16342a9a568f9a7a104d
2023-01-30 21:33:05 +00:00
Aaqib Ismail
08e0026339 Update BLIND_SPOT_WARNING_ENABLED documentation in HAL
An implementation of BLIND_SPOT_WARNING_ENABLED should return false when
there's an issue with the ADAS system and it cannot retrieve the
property. It should not return NOT_AVAILABLE.

Bug: 264946039
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I3f8765b9bbaa96931dd2ae0bab1c8fbc913b261c
2023-01-30 10:07:42 -08:00
Aaqib Ismail
5fc97bb5bf Add HAL changes for BLIND_SPOT_WARNING_STATE
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for this property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.

Bug: 264946039
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest CtsCarTestCases:BlindSpotWarningStateTest
Test: atest AndroidCarApiTest:BlindSpotWarningStateTest
Change-Id: Idc64af44ecdf33ee5c89d3bf7d303498d80a0d14
2023-01-30 10:06:42 -08:00
shrikar
64212ebb2e Shifted unique IDS of HOD and Driver Attention Monitoring Enabled in HAL
Since 1 new ACC property had been introduced, we decided to shift the
unique IDs of all the ADAS properties that come after it, namely the HOD
and Driver attention monitoring properties, by 1.

Bug: 266850785
Test: atest CarPropertyManagerTest
Change-Id: I63e296c03dbac678eaed6e35d68c8cacc383f949
2023-01-27 18:49:31 +00:00
shrikar
f139105ace Corrected VehicleProperty.aidl path to current path
Bug: 266883153
Test: manual build
Change-Id: Ia2a4c5d08988b64edfd7a9b051fb77bfb3b423ef
2023-01-27 18:47:14 +00:00
Eva Chen
e4fad34b10 Merge "Update automotive generated aidl files." 2023-01-24 22:10:06 +00:00
Eva Chen
be7cea7bc3 Update automotive generated aidl files.
Bug: 263294718
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I5fc5bfa32e1ec7db20d75b36a4dbcbb08d65a048
2023-01-23 18:10:46 -08:00
Aaqib Ismail
ae119c5198 Update ADAS ENABLED properties documentation if property unavailable
An implementation of AUTOMATIC_EMERGENCY_BRAKING_ENABLED or FORWARD_COLLISION_WARNING_ENABLED should return false when there's an issue with the ADAS system and it cannot retrieve
the property. It should not return NOT_AVAILABLE.

Bug: 264946034
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: Ieddbcdf766543cfb94cb5b295b22ac4369641c81
2023-01-23 15:51:50 -08:00
Shrikar Amirisetty
1d7be47b7b Merge "Change default units to be consistent in tm-qpr-dev/DefaultConfig.h" into tm-qpr-dev am: 53cb2459e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20814765

Change-Id: Ibe4529d4e61d574076ee2a72e573fa4eaaeaf1e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 19:16:07 +00:00
Aaqib Ismail
0a1ab29d5f Revert^2 "Add HAL changes for FORWARD_COLLISION_WARNING_STATE"
5ffba9ec3d

Change-Id: If381249e155e450e47240301c263bcd1538ec071
2023-01-20 03:52:21 +00:00
shrikar
f331f1202f Change default units to be consistent in tm-qpr-dev/DefaultConfig.h
Bug: 259879204
Test: atest CarPropertyManagerTest
Change-Id: I6060ffbce028dc95091e2b002b594a5b6a5eed48
Merged-In: Ib159f781f61de8a7cd1498ad2a07e5dbd0eca734
2023-01-19 17:07:33 +00:00
Aaqib Ismail
5ffba9ec3d Revert "Add HAL changes for FORWARD_COLLISION_WARNING_STATE"
Revert submission 20919248-ForwardCollisionWarningState

Reason for revert: Build breakage

Reverted changes: /q/submissionid:20919248-ForwardCollisionWarningState

Change-Id: I8d0704948bb2dc61c0e1b4a220a97a834315bcf4
2023-01-19 00:36:58 +00:00
Aaqib Ismail
f59b886f80 Add HAL changes for FORWARD_COLLISION_WARNING_STATE
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for this property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.

Bug: 264946034
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest ForwardCollisionWarningStateTest
Change-Id: Ib9292d8e64cc0d404065efccbfcf7fabd9fd1f69
2023-01-17 15:13:16 -08:00
Aaqib Ismail
cf854badaf Update AUTOMATIC_EMERGENCY_BRAKING_ENABLED documentation in HAL
An implementation of AUTOMATIC_EMERGENCY_BRAKING_ENABLED should return
false when there's an issue with the ADAS system and it cannot retrieve
the property. It should not return NOT_AVAILABLE.

Bug: 264336118
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I2dab0c48865ed1ccc40433b9fbe5ea341a2488f3
2023-01-17 15:13:13 -08:00
Aaqib Ismail
28ee23c0fd Add HAL changes for AUTOMATIC_EMERGENCY_BRAKING_STATE
This property supports error states in addition to its own state.
This is why the comments mention two @data_enums for the property.
This works because states are integer values so as long as all states
have distinct integer values, this functions correctly.

Bug: 264336118
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Test: atest AutomaticEmergencyBrakingStateTest
Test: atest ErrorStateTest
Change-Id: I6acf5958caf00822b1455915cc715e04453d0bbd
2023-01-17 15:02:57 -08:00
Shrikar Amirisetty
9c55cdbadd Merge "Made default units consistent in deprecated DefaultConfig.h" 2023-01-13 23:07:18 +00:00
Yu Shan
f3eec35b15 Merge "Split VHAL property into a separate AIDL interface." 2023-01-13 21:27:43 +00:00
shrikar
417865dcdc Made default units consistent in deprecated DefaultConfig.h
Bug: 259879204
Test: Presubmit
Change-Id: Ic03687406d5a8860717da6f0d871df967dafce81
2023-01-13 01:43:37 +00:00
Eva Chen
fc963e6420 Merge "Update VtsHalAutomotiveVehicleTargetTest::verifyProperty to only run on implemented properties." 2023-01-10 18:44:34 +00:00
Eva Chen
17bc578112 Update VtsHalAutomotiveVehicleTargetTest::verifyProperty to only run on implemented properties.
Bug: 264730687
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I027e2324f30b34600bc1036bfcdd1547b245667f
2023-01-09 21:26:00 -08:00
TreeHugger Robot
78acb2e350 Merge changes from topic "vhal_static_lib"
* changes:
  Define a makefile for vhal static libs.
  Make HVAC dep properties unavailable to get when power is off.
2023-01-10 03:19:03 +00:00
Yu Shan
4247384b4d Split VHAL property into a separate AIDL interface.
Split VHAL property definitions and enums out from the VHAL interface
so that we can update the property separatly. This allows us to
backport new property definition to older releases more easily.

Test: Manual build
Bug: 264600792
Change-Id: I6040a1d4d7832a970a5ad5e5a28c359b15b402fb
2023-01-09 16:52:38 -08:00
TreeHugger Robot
589fb1a134 Merge "Add --keyinputv2 and --motioninput options to genfakedata." 2023-01-07 08:01:33 +00:00
Gaurav Bhola
259c71fdf5 Add --keyinputv2 and --motioninput options to genfakedata.
- These are required to send keyinputv2 and motioninput events via fake
  VHal.

Fix: 263184145
Test: Manually tested by sending events
Test: atest FakeVehicleHardwareTest
Change-Id: I078f6e27d4a0de5ac145f9c2058f53f8567ba293
2023-01-06 18:10:55 -08:00
Yu Shan
842efa2ebb Define a makefile for vhal static libs.
This prepares for upcoming VHAL interface split.

Test: Manual build
Bug: 264600792

Change-Id: I1686d37ac07d53f3e9c92302a9097844b54e9fc7
2023-01-06 17:01:08 -08:00
Yu Shan
ddf0ea0d8f Make HVAC dep properties unavailable to get when power is off.
Previously HVAC properties are unavailable to set when hvac power is
off. This CL makes VHAL returns NOT_AVAILABLE for get as well. VHAL
will also generate property change event when the power is switched
on again.

Test: atest FakeVehicleHardwareTest
Bug: 262461830
Change-Id: I17ca8a4e48f3ff5854226a6a38a42220078073d5
2023-01-06 17:01:08 -08:00
TreeHugger Robot
b6bfd93aa9 Merge "Move startThreadPool up in VHAL init." 2023-01-06 22:55:34 +00:00
Shrikar Amirisetty
5bef862c38 Merge "Added DRIVER_ATTENTION_MONITORING_ENABLED to hardware layer." 2023-01-05 18:18:33 +00:00
Aaqib Ismail
ef35a21716 Merge "Add HAL changes for LANE_KEEP_ASSIST_ENABLED" 2023-01-05 17:24:00 +00:00
Aaqib Ismail
20cc66a8e0 Add HAL changes for LANE_KEEP_ASSIST_ENABLED
Bug: 261743711
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I9e8dbb601ad320357d062aa665a9a9ba215b469a
2023-01-05 02:01:01 +00:00
TreeHugger Robot
7bf9fdb69e Merge "Updated HVAC_TEMPERATURE_SET configArray ranges" 2023-01-05 01:20:10 +00:00
Shrikar Amirisetty
a5e546788e Merge changes from topics "adaptive_cruise_control_enabled", "emergency_lane_keep_assist_enabled", "hands_on_detection_enabled"
* changes:
  Added HANDS_ON_DETECTION_ENABLED to hardware layer.
  Added ADAPTIVE_CRUISE_CONTROL_ENABLED to hardware layer.
  Added EMERGENCY_LANE_KEEP_ASSIST_ENABLED to hardware layer.
2023-01-04 23:32:43 +00:00
Yu Shan
1edc327a39 Move startThreadPool up in VHAL init.
This should improve the VHAL bootup performance.

Test: Manual build
Bug: 264442710
Change-Id: Ifd85d0f9ad33ac2dd71cbcb986370dc6bb2265aa
2023-01-04 13:49:58 -08:00
Shrikar Amirisetty
d30ff95a38 Merge "Added EV_STOPPING_MODE to hardware layer." 2023-01-04 20:47:23 +00:00
Shrikar Amirisetty
7bbe0c90e2 Merge changes from topics "seat_footwell_lights_state", "seat_footwell_lights_switch"
* changes:
  Added SEAT_FOOTWELL_LIGHTS_SWITCH to hardware layer
  Added SEAT_FOOTWELL_LIGHTS_STATE to hardware layer
2023-01-04 18:40:09 +00:00
shrikar
2c7aaa6588 Added DRIVER_ATTENTION_MONITORING_ENABLED to hardware layer.
Bug: 261739791
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I6452d0660d0625f7fde4ba87097d16d8dd28b656
2023-01-04 18:25:32 +00:00
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
Tyler Trephan
19207b6350 Updated HVAC_TEMPERATURE_SET configArray ranges
Test: atest CarPropertyManagerTest
Bug: 264304693
Change-Id: I83c2baef2cf76318bb75c90007986e2d75fd9493
2023-01-03 22:53:49 +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
shrikar
2dae80f739 Added EV_STOPPING_MODE to hardware layer.
Bug: 262901831
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I11dd297c96594c864beaf4917f3a2a3706a0cd76
2022-12-22 23:34:00 +00:00
shrikar
93cf1beb8f Added SEAT_FOOTWELL_LIGHTS_SWITCH to hardware layer
Bug: 257268780
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: If64a1a0488eea21e369c60d7206771f56ffaa53a
2022-12-22 16:59:13 +00:00
shrikar
fb65ae5f98 Added SEAT_FOOTWELL_LIGHTS_STATE to hardware layer
Bug: 257268511
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I51e02f8fb646ea032ecf325bd13efbc628a0b1f6
2022-12-22 16:57:44 +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
Treehugger Robot
1df03b9d8b Merge "Mark modules frozen explicitly." am: 11fa86bbb4 am: a4eefbe687
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2328923

Change-Id: I3ac5155f4178060d87cdea9630d89ef28a0f6d4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-20 01:20:18 +00:00
Treehugger Robot
11fa86bbb4 Merge "Mark modules frozen explicitly." 2022-12-20 00:01:29 +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
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
Steven Moreland
13666147e9 Mark modules frozen explicitly.
Makes it easier to see which versions are available.

Bug: 188871598
Test: N/A
Change-Id: Iec656df1d0008d95ab50f9bd8806517b95242f00
Merged-In: Ica76a8225fec8dc5267362cbfd43e06e65ad3f1e
2022-12-14 01:47:26 +00:00
Steven Moreland
65ee297ef9 Merge "Mark modules frozen explicitly." 2022-12-12 18:27:49 +00:00
Yu Shan
2f3325628a Avoid holding lock while calling recurrent actions. am: 417ca2541a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20682672

Change-Id: Ifa21b22ec2d6f9c1b2eb567ff2f5d0a3ebd1919e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-10 03:51:12 +00:00
Yu Shan
417ca2541a 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
(cherry picked from commit 93a821077e)
2022-12-09 21:41:59 +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
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
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
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
Aaqib Ismail
6383653c81 Merge "Add HAL changes for EV_BRAKE_REGENERATION_LEVEL" 2022-12-07 23:45:22 +00: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
Aaqib Ismail
9e38f92ec1 Merge "Update HAL code comments for EV_BATTERY_LEVEL" 2022-12-06 09:03:14 +00:00
TreeHugger Robot
5353fd23fd Merge "[UserHal] Fix emulated vhal --user-hal" 2022-12-05 21:30:05 +00:00
Yu Shan
d20f22d250 Define SHUTDOWN_REQUEST property.
Test: m -j android.hardware.automotive.vehicle-update-api
Bug: 260913967
Change-Id: I9661fdd0426b5d42c9b949cbf97a15dfed7d9590
2022-12-02 13:56:41 -08:00
Shrikar Amirisetty
da9b3895d2 Merge "Fixed SEAT_AIRBAG_ENABLED throwing ASSUMPTION_FAILED in cts test" 2022-12-02 21:27:37 +00:00
Yu Shan
2f6358ee57 Merge "Fix FakeUserHal issues." 2022-12-02 20:57:35 +00:00
Ethan Lee
59c2ac021c [UserHal] Fix emulated vhal --user-hal
Change vhal so that it prints help message with --help argument. Remove prefixes from dump function. Updated testDumpFakeUserHal.

Test: adb shell dumpsys android.hardware.automotive.vehicle.IVehicle/default --help
Fixes: 260943479

Change-Id: I5dff80558482108ea1e875154a0c94c8f5cd0b67
2022-12-02 19:20:31 +00:00
Tyler Trephan
23247c497a Added new supportedEnumValues to VehicleAreaConfig.aidl file
Test: atest CarPropertyManagerTest JsonConfigLoaderUnitTest
Bug: 259476396
Change-Id: Iea031a5b0bca2f9030dbfb2df2fc182cb600a785
2022-12-02 17:19:42 +00:00
Yu Shan
d078837144 Fix FakeUserHal issues.
FakeuserHal was not working and this CL fixes two issues. One is
the fake property value's timestamp is by default 0 which cause
the write to property store failed. The second is that areaId needs
to be set to 0 when responding to the client.

Test: atest FakeVehicleHardwareTest
test on gcar_emu
adb shell cmd car_service get-initial-user-info COLD_BOOT
adb shell dumpsys android.hardware.automotive.vehicle.IVehicle/default --set 299896583 -a 1 -i 666 1 11
adb shell cmd car_service get-initial-user-info COLD_BOOT
Bug: 260934188

Change-Id: I61d895a15d21308700849acacf39057b1845430f
2022-12-01 17:30:54 -08:00
Gaurav Bhola
fe0d53312c Add 2 new properties in VHAL for Special Input handling on passenger displays
- HW_KEY_INPUT_V2: A per seat property to inject the h/w key events like HOME, BACK, VOLUME etc
- HW_MOTION_INPUT: A per seat property to inject the h/w motion events i.e. motion events arising from mouse, trackpads etc.

Bug: 260000521
Test: Builds successfully

Change-Id: I1b49823769f4b5a2bdcc94e58c6d18c7332f5a28
2022-12-01 15:54:00 -08:00
Aaqib Ismail
c20ec6dad7 Merge "Update HAL code comments for INFO_EV_BATTERY_CAPACITY" 2022-12-01 23:05:23 +00:00
Aaqib Ismail
8cfe13bf1f Update HAL code comments for INFO_EV_BATTERY_CAPACITY
Bug: 260464528
Test: N/A
Change-Id: I7f32bcb10e24271ca9452fdb63841d6a5e4eb2f1
2022-12-01 19:10:21 +00:00
Aaqib Ismail
1b72d1b2c7 Update HAL code comments for EV_BATTERY_LEVEL
Bug: 260464610
Test: N/A
Change-Id: I6577d7bf055cdee7648309b3cb9beb76104dfc81
2022-12-01 18:56:13 +00:00
shrikar
68b70cc924 Fixed SEAT_AIRBAG_ENABLED throwing ASSUMPTION_FAILED in cts test
Bug: 257268798
Test: atest CarPropertyManagerTest
Change-Id: I38fa60ece4123f374edf18a27c856512f7e07b39
2022-11-30 17:08:04 -08:00
Shrikar Amirisetty
edba8ed357 Merge "Added SEAT_AIRBAG_ENABLED to hardware layer." 2022-11-30 07:30:33 +00:00
Aaqib Ismail
c69e968ba7 Add HAL changes for EV_BRAKE_REGENERATION_LEVEL
Bug: 259451659
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I07cf21f15cca0cebe25d65dd92eb1dff57c390a1
2022-11-28 23:59:36 +00:00
shrikar
2a081c5269 Added SEAT_LUMBAR_VERTICAL_MOVE to hardware layer
Bug: 257268500
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I437270c9bbc0ba37eecde1845a1f3a69b8b4007a
2022-11-23 22:29:04 +00:00
shrikar
eff71b2f83 Added SEAT_LUMBAR_VERTICAL_POS to hardware layer.
Bug: 257268339
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I698ff091e20a9a2c141687b0180d470c6652b12c
2022-11-23 22:28:56 +00:00
shrikar
1f0ce0d2d3 Added SEAT_CUSHION_SIDE_SUPPORT_MOVE to hardware layer.
Bug: 257268273
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I18d418556ed763fc12e875b74044ca9e292dcb67
2022-11-23 22:28:49 +00:00
Antonio Kantek
c8d1488b5e Merge "Update CustomInputType functions comment" am: 3d008424b7 am: 6ff664e119 am: be4c734096
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2309968

Change-Id: Ice1507cf2971e6cbfcab08f8800769fe35eb4cb1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23 18:40:25 +00:00
Antonio Kantek
be4c734096 Merge "Update CustomInputType functions comment" am: 3d008424b7 am: 6ff664e119
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2309968

Change-Id: Ie4ef94cfd34c8650c84f1e8cd19ee6a961bd46f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 18:43:51 +00:00
Antonio Kantek
6ff664e119 Merge "Update CustomInputType functions comment" am: 3d008424b7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2309968

Change-Id: Ia6ceef0dd32416aae1eb51902342f33f0e9b3ccc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22 18:17:12 +00:00
Antonio Kantek
5dbc8f091b Update CustomInputType functions comment
Update CustomInputType functions comment to reflect that they are now optional and OEMs are free to use any int32 to represent an custom input event.

Bug: 255390449
Test: m (built)
Change-Id: I8878c1330f7fe3ba35ea10307a4ba4c4c88b1d57
2022-11-22 01:16:59 +00:00
Aaqib Ismail
d4d6adf1ec Add HAL changes for STEERING_WHEEL_EASY_ACCESS_ENABLED
Bug: 257267892
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I729b46f2cc3f41777c2d45eb84898b80fb2b4680
2022-11-19 00:31:08 +00:00
shrikar
b96e3766b9 Added SEAT_AIRBAG_ENABLED to hardware layer.
Bug: 257268798
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I60fbd303a5af6c25c9d242320865eb2cfd2ff61e
2022-11-18 23:37:53 +00:00
shrikar
802ecb524c Added SEAT_CUSHION_SIDE_SUPPORT_POS to hardware layer.
Bug: 257268342
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I2f8a64399f634a930e55d16700009652063adee6
2022-11-18 18:55:50 +00:00
shrikar
3326de0352 Added SEAT_EASY_ACCESS_ENABLED to hardware layer.
Bug: 257268353
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I31c9712d628e4be1e667ee9e7abedbc38c25f725
2022-11-18 18:54:32 +00:00
shrikar
a13672130f Added new properties MIRROR_AUTO_FOLD_ENABLED, MIRROR_AUTO_TILT_ENABLED
to hardware layer.

Bug: 255665707, 255666465
Test: atest VtsHalAutomotiveVehicle_TargetTest
Change-Id: I0323cac908424a82cbe7c9c2c77480cdaab01cc5
2022-11-17 10:48:56 -08:00
Aaqib Ismail
68d3f12869 Add HAL changes for STEERING_WHEEL_LOCKED
Bug: 257267840
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ie493bc51f66d76effc7d9591c491d583ace1c2e3
2022-11-16 18:27:35 +00:00
Aaqib Ismail
8d05118d79 Add HAL changes for STEERING_WHEEL_THEFT_LOCK_ENABLED
Bug: 257267788
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I1e75635f409c740b6517ca17a7c48ceabe8db475
2022-11-16 00:01:15 -08:00
Aaqib Ismail
6c4bf195bb Add HAL changes for STEERING_WHEEL_HEIGHT_MOVE
Bug: 257267721
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I335f01415798bee322d15b551999e3a959356362
2022-11-15 21:01:18 -08:00
Aaqib Ismail
eac86904c3 Merge "Add HAL changes for STEERING_WHEEL_HEIGHT_POS" 2022-11-16 04:41:31 +00:00
Yu Shan
7375390e59 Merge "Add VehicleApPowerBootupReason enum." 2022-11-15 18:46:20 +00:00
Yu Shan
0cd9b7e48d Add VehicleApPowerBootupReason enum.
Test: m android.hardware.automotive.vehicle-update-api
Bug: 222024090
Change-Id: If49f96aac26a4a4ce64ecafcb8590f68bf329b88
2022-11-14 18:56:37 -08:00
Aaqib Ismail
53b81c9035 Add HAL changes for STEERING_WHEEL_HEIGHT_POS
Bug: 257267718
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I63ea5ac5d7d238799a2300a06b93fc40155d2801
2022-11-12 17:32:14 -08:00
Aaqib Ismail
34fe92f6cb Add HAL changes for STEERING_WHEEL_DEPTH_MOVE
Bug: 257267543
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I8aecb04b38a4ec985d1efe7fdd53f18a2bc80432
2022-11-09 13:40:03 -08:00
Aaqib Ismail
7f941b4d2c Add HAL changes for STEERING_WHEEL_DEPTH_POS
Bug: 257267540
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I0908e4262bc643a3fd39d351e4696b13ae3d0713
2022-11-09 13:38:16 -08:00
Aaqib Ismail
2048670d42 Add HAL changes for DOOR_CHILD_LOCK_ENABLED
Bug: 255664772
Test: atest VtsHalAutomotiveVehicle_TargetTest
      atest CtsCarTestCases:CarPropertyManagerTest
      atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: I69ff243f81c135673bb202a9c95d8e75d894a8f8
2022-11-07 10:35:04 -08:00
Yu Shan
1d2d4dd1b7 Add INFO_VIN in reference VHAL.
This is for remote access HAL to use as device ID.
This CL is already included in internal branch but cannot be directly
cherry-picked due to refactoring in reference VHAL.

Test: Local build.
Bug: 255623880
Change-Id: Iec798ffa7df852e6c300d0dd18f2d599c58f2228
Merged-In: I682ab87ef1ff1839ecae92d05a4135810d92bee1
Merged-In: Iecc496e2a64a3270819cf90935ea6deec8a4c9f3
2022-10-26 17:37:58 -07:00
seanhong
f9a3f83eab DO NOT MERGE Add missing seat memory properties to DefaultConfig.h for CTS tests am: 458a13bc05
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19775211

Change-Id: I43d81ddcac5f9766e1a233b60dde38cbed07e729
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 17:07:03 +00:00
TreeHugger Robot
0a4e57f8e8 Merge "DO NOT MERGE Add missing seat memory properties to DefaultConfig.h for CTS tests" into tm-qpr-dev 2022-10-25 16:29:31 +00:00
TreeHugger Robot
b4a5f6d76f Merge "Added DOOR_MOVE to the default configuration" 2022-10-22 01:18:56 +00:00
Tyler Trephan
c4ae4e4d24 Added DOOR_MOVE to the default configuration
Test: atest CarPropertyManagerTest
Bug: 239753202
Change-Id: Iefcf92a070261fe20160dbf211c5f6579fd23b4b
2022-10-19 21:02:40 +00:00
shrikar
af227755f0 Improve docs for PARKING_BRAKE in vehicle properties AIDL file
Bug: 254078947
Test: presubmit
Change-Id: Id4963466f4210f52b6fe0ccb43dcac3a62a087d2
2022-10-18 18:53:41 +00:00
Filip Zakrzewski
40aaf8be7f Merge "Add automotive-general-tests tag to the test" 2022-09-27 04:10:59 +00:00
Filip
96617435b7 Add automotive-general-tests tag to the test
Test: manual

Bug: 246471877

Change-Id: Idb97b33b8f3b2a18fa9b43199e069c03bf40b44d
2022-09-26 19:05:59 +00:00
Tyler Trephan
740ffa4097 Added PERF_VEHICLE_SPEED_DISPLAY to Google VHAL
Test: atest AtsCarPropertyHostTest
Bug: 241518123
Change-Id: I9218f63a62ebf77cc3056e12d1acb5f0f3ecbbb0
2022-09-21 23:46:14 +00:00
Sean Hong
4c92238193 Merge "Add seat memory properties to DefaultProperties.json for CTS tests" 2022-09-20 02:01:57 +00:00
seanhong
1c61f1cb6f Add seat memory properties to DefaultProperties.json for CTS tests
Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: I49b9dcf001ba1cf45f3be0d26d96f0da97bd314e
2022-09-14 20:33:22 +00:00
Yu Shan
3ab609e808 Merge "Add VHAL_SUPPORTED_PROPERTY_IDS to ref VHAL." into tm-qpr-dev am: d17a96da75
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19936514

Change-Id: Ifa18aee13c337af85d3ae3dcee84bc9bb33e5f52
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-14 19:18:06 +00:00