Commit graph

1031 commits

Author SHA1 Message Date
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
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
ede3c2aafb Update comment for SUPPORTED_PROPERTY_IDS.
Test: None
Bug: 246606989
Change-Id: Ic8aa060bae2577229e96ce7b113bf1d452784dcd
2022-09-13 19:01:34 -07:00
TreeHugger Robot
3d92794e98 Merge "Add VHAL_SUPPORTED_PROPERTY_IDS to ref VHAL." 2022-09-13 17:18:06 +00:00
Yu Shan
b88515aa50 Add VHAL_SUPPORTED_PROPERTY_IDS to ref VHAL.
Add the special property VHAL_SUPPORTED_PROPERTY_IDS to ref VHAL
to test getting all property configs through multiiple requests.

Test: atest DefaultConfigSupportedPropertyIdsTest
Run gcar emulator and check HVAC property.
Bug: 243449202

Change-Id: I9e7e8e798044c363548b879db1c4f39841362bbd
2022-09-12 21:07:01 -07:00
seanhong
ca5d6b7098 Add INFO_VIN to DefaultProperties.json for CTS tests
Test: atest CarPropertyManagerTest
Bug: 244335921
Change-Id: I682ab87ef1ff1839ecae92d05a4135810d92bee1
2022-09-08 19:18:15 +00:00
seanhong
0c2a38d33b Add Window_MOVE property to DefaultProperties.json for CTS tests
Test: atest CarPropertyManagerTest
Bug: 239100623
Change-Id: I9a1975b4c9448a2fc33a6602cded3d128c7a32df
2022-09-08 18:47:07 +00:00
Maxim Pleshivenkov
c56e91c84a Fixed typo in path for vendor power policy
Bug: 244739595
Change-Id: I01b907dea960a4084eba60198deeb6001ef62c25
2022-09-02 17:38:57 +00:00
Yu Shan
d8488f6d3f Merge "Define SUPPORTED_PROPERTY_IDS." 2022-08-31 01:26:23 +00:00
Sean Hong
7fdec19347 Merge "Add interior light switch properties to DefaultProperties.json for CTS tests" 2022-08-31 00:27:27 +00:00
Pawan Wagh
3dbeea2adc Merge "Updating cc_fuzz with default service fuzzer config" 2022-08-26 02:35:26 +00:00
seanhong
8ddf43678e Add interior light switch properties to DefaultProperties.json for CTS
tests

Test: atest CarPropertyManagerTest
Bug: 242740101
Change-Id: I0efa0622d6a24d2ef6873b04f65fe82a76326c11
2022-08-25 04:38:51 +00:00
TreeHugger Robot
70ffeca37a Merge "Update GsrComplianceRequirementType." 2022-08-25 02:07:54 +00:00
Yu Shan
47f2e5871d Define SUPPORTED_PROPERTY_IDS.
This property is only used for HIDL interface to workaround
getAllPropConfigs result is too large and exceeds binder limitation.

We cannot change HIDL interface so we add this property to AIDL
interface and mark it as deprecated.

Test: m android.hardware.automotive.vehicle-update-api
python tools/generate_annotation_enums.py
Bug: 243449202

Change-Id: Id6058b207a3b117013c2caf4cfd1744950222c41
2022-08-24 15:44:06 -07:00
Sean Hong
048085f777 Merge "Add missing mirror properties to DefaultProperties.json for CTS tests" 2022-08-24 20:23:08 +00:00
Yu Shan
c7763e42bf Update GsrComplianceRequirementType.
Update the name according to Car Service definition.

Test: m android.hardware.automotive.vehicle-update-api
Bug: 237005566
Change-Id: Idbc24b7b9e8b5d697d0921b79f5b903345f2cc7e
2022-08-24 13:21:39 -07:00
Pawan
a759ebf350 Updating cc_fuzz with default service fuzzer config
Using service_fuzzer_defaults in
	- android.hardware.automotive.vehicle@V1-default-service_fuzzer
	- android.hardware.automotive.occupant_awareness-service.fuzzer

Bug: 240318902
Test: m android.hardware.automotive.vehicle@V1-default-service_fuzzer
Test: m android.hardware.automotive.occupant_awareness-service.fuzzer
Change-Id: I22cbbec92a7281081c355bb78d2ae87aa90732fa
2022-08-22 23:18:11 +00:00
Sean Hong
60aa03924f Merge "Add interior lights state properties to DefaultProperties.json for CTS tests" 2022-08-19 20:42:55 +00:00
seanhong
fddcb4a043 Add interior lights state properties to DefaultProperties.json for CTS
tests

Test: atest CarPropertyManagerTest
Bug: 241161716
Change-Id: Id97df0340200b5b9900033c8703abacfb65a7f83
2022-08-16 23:36:37 +00:00
seanhong
a5698a3983 Add missing mirror properties to DefaultProperties.json for CTS tests
Test: atest CarPropertyManagerTest
Bug: 241161716
Change-Id: Id647540ccd071134249a8122f537090c9e132dbf
2022-08-16 00:10:21 +00:00
seanhong
4ccf651c01 Add seat headrest properties to DefaultProperties.json for CTS tests
All the seat headrest properties have been added, but
SEAT_HEADREST_HEIGHT_POS is excluded because of b/242587816.

Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: I20b44558c262d47dc148e9b2d8857838f898ae9f
2022-08-15 23:38:49 +00:00
seanhong
6d8b09fda6 Add seat lumbar properties to DefaultProperties.json for CTS tests
Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: Ie26894e0723a610ebdc0ff0b81e57ab654c230db
2022-08-15 22:25:33 +00:00
seanhong
af7cbb3bf5 Add seat tilt properties to DefaultProperties.json for CTS tests
Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: I4bb282e81e2d847a060a259e6da7c09fed9d77de
2022-08-15 22:21:07 +00:00
seanhong
a9efc52c15 Add seat depth properties to the DefaultProperties.json for CTS tests
Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: Ib6fa73306844a4b811d34a96e145dba9543ce048
2022-08-15 21:44:46 +00:00
Yu Shan
98cd1e0438 Merge "Use a different timesource in recurrent timer." 2022-08-12 17:37:32 +00:00
Chen Cheng
0ac4001e6d Merge "Remove extra commas in DefaultProperties.json." 2022-08-12 07:04:51 +00:00
Yu Shan
5e50873793 Use a different timesource in recurrent timer.
Previously we used elapsedRealtimeNanos in recurrent timer which will
still go even if the system is in deep sleep. This causes all the
events "happened" during suspension to be replayed immediately
after the wake up, which causes a spam of messages. uptimeNanos
meanwhile, does not go if the system is in sleep, so we use that
instead.

Test: atest VehicleHalVehicleUtilsTest
Bug: 235262127
Change-Id: Ib67c2e2251af3231cefd875416d5bcb15953ba5e
2022-08-11 01:13:41 +00:00
Yu Shan
848fcb49b4 Remove DefaultConfig.h file.
This file is replaced with DefaultProperties.json.

Test: Presubmit
Bug: 238685398
Change-Id: Ib159f781f61de8a7cd1498ad2a07e5dbd0eca734
2022-08-10 20:51:52 +00:00
TreeHugger Robot
67ed1ae812 Merge "Added missing HVAC properties to DefaultProperties.json" 2022-08-10 04:24:35 +00:00
Chen Cheng
6932dd2c46 Remove extra commas in DefaultProperties.json.
The JSON object in DefaultProperties.json is invalid because of extra
commas. Removed these extra commas. And replace some number values
with the original VehicleUnit constants format as in DefaulConfig.h
file.

Test: atest FakeVhalConfigParserUnitTest
Bug: 241959871
Change-Id: Ic5193fa46217f31cfe96f73c6e153631891644bc
2022-08-09 22:49:52 +00:00
Tyler Trephan
851a9626c3 Added missing HVAC properties to DefaultProperties.json
Test: Built
Bug: 237610879
Change-Id: I8a71d3ab47c2e60ed90a11cfeb4c10b44d93f1c9
2022-08-09 20:54:50 +00:00
Yu Shan
9ba443f061 Deprecate DefaultConfig.h.
We migrated DefaultConfig.h to config JSON files.

Test: Presubmit
Bug: 238685398
Change-Id: Ia3d2e5b34b0cdbfb5078129aabfe4b080e2e67a8
2022-08-09 00:44:55 +00:00
Sean Hong
1f925f08ef Merge "Add seat height properties to the emulator (DefaultConfig.h) for CTS tests" 2022-08-06 06:24:35 +00:00