summaryrefslogtreecommitdiff
path: root/automotive
AgeCommit message (Collapse)Author
2022-12-09Avoid holding lock while calling recurrent actions.Yu Shan
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 93a821077effec224d3880875d98c13ef1787e4c)
2022-10-25Merge "DO NOT MERGE Add missing seat memory properties to DefaultConfig.h ↵TreeHugger Robot
for CTS tests" into tm-qpr-dev
2022-09-14Merge "Add VHAL_SUPPORTED_PROPERTY_IDS to ref VHAL." into tm-qpr-devYu Shan
2022-09-13Add VHAL_SUPPORTED_PROPERTY_IDS to ref VHAL.Yu Shan
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 Merged-In: I9e7e8e798044c363548b879db1c4f39841362bbd
2022-09-08Merge "DO NOT MERGE Add INFO_VIN to DefaultConfig.h for CTS tests" into ↵Sean Hong
tm-qpr-dev
2022-08-31Merge "DO NOT MERGE Add missing WINDOW_MOVE properties to DefaultConfig.h" ↵Arati Gerdes
into tm-qpr-dev
2022-08-31Merge "DO NOT MERGE Add interior light switch properties to the emulator for ↵Sean Hong
CTS tests" into tm-qpr-dev
2022-08-30DO NOT MERGE Add INFO_VIN to DefaultConfig.h for CTS testsseanhong
Test: atest CarPropertyManagerTest Bug: 244335921 Change-Id: Iecc496e2a64a3270819cf90935ea6deec8a4c9f3
2022-08-29DO NOT MERGE Add missing seat memory properties to DefaultConfig.h for CTS testsseanhong
Test: atest CarPropertyManagerTest Bug: 239613431 Change-Id: I000a3f918f8f2c3ceb90710f88a18f91a56d2479
2022-08-29DO NOT MERGE Add missing WINDOW_MOVE properties to DefaultConfig.hArati Gerdes
Test: Built. Bug: 239100623 Change-Id: I29e55f995a35bc3157f082be1b88a61495434b5c
2022-08-23DO NOT MERGE Add interior light switch properties to the emulator forseanhong
CTS tests Test: atest CarPropertyManagerTest Bug: 242740101 Change-Id: I072bb95f327869ae48782023ae144cce7a0b2be6
2022-08-23Merge "Update EVS API descriptions" into tm-qpr-devChangyeon Jo
2022-08-19Merge "DO NOT MERGE Add interior light state properties to the emulator for ↵Sean Hong
CTS tests" into tm-qpr-dev
2022-08-19Merge "DO NOT MERGE Add SEAT_HEADREST_* properties to the emulator for CTS ↵Sean Hong
tests" into tm-qpr-dev
2022-08-19Merge changes I17742019,I2768b276 into tm-qpr-devSean Hong
* changes: DO NOT MERGE Add seat lumbar properties to the emulator for CTS tests DO NOT MERGE Add seat tilt properties to the emulator for CTS tests
2022-08-18Update EVS API descriptionsChangyeon Jo
This CL adds comments to clarify the behavior of IEvsCameraStrea.notify() when the service attempts to deliver an event, which is originated from AIDL EVS HAL implementation, to the HIDL recipients. Bug: 241722031 Test: treehugger Change-Id: If6648883f982a90ac30a1636258f896272326c3f
2022-08-18Merge "DO NOT MERGE Add seat depth properties to the emulator for CTS tests" ↵Sean Hong
into tm-qpr-dev
2022-08-18Merge "DO NOT MERGE Added missing HVAC properties to DefaultConfig.h" into ↵TreeHugger Robot
tm-qpr-dev
2022-08-16DO NOT MERGE Add interior light state properties to the emulator for CTS testsseanhong
Test: atest CarPropertyManagerTest Bug: 242739801 Change-Id: Id2181fd33c2d821513d151f1fddc78de9b057627
2022-08-15DO NOT MERGE Add SEAT_HEADREST_* properties to the emulator forseanhong
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: I07647daa241cf915476a1c696e1a467734f619d3
2022-08-15DO NOT MERGE Add seat lumbar properties to the emulator for CTS testsseanhong
Test: atest CarPropertyManagerTest Bug: 239613431 Change-Id: I177420199437a6e8057aeb0e6f6cc06b38a0a4ce
2022-08-15DO NOT MERGE Add seat tilt properties to the emulator for CTS testsseanhong
Test: atest CarPropertyManagerTest Bug: 239613431 Change-Id: I2768b2769616c4e34c04becb751c8aa26fc2379e
2022-08-15DO NOT MERGE Add seat depth properties to the emulator for CTS testsseanhong
Test: atest CarPropertyManagerTest Bug: 239613431 Change-Id: I82ddae13db2c534c148a00e73c62dbbcc6d1b258
2022-08-15Merge "DO NOT MERGE Add missing CAR_MIRROR properties to DefaultConfig.h" ↵TreeHugger Robot
into tm-qpr-dev
2022-08-15DO NOT MERGE Added missing HVAC properties to DefaultConfig.hTyler Trephan
Test: Built. Bug: 237610879 Change-Id: I77f60bf6c3277527a556b924e7598778828bef4c
2022-08-12Use a different timesource in recurrent timer.Yu Shan
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 Merged-In: Ib67c2e2251af3231cefd875416d5bcb15953ba5e (cherry picked from commit 5e508737934feb595c841430f41b5edb1d1925d5)
2022-08-11DO NOT MERGE Add missing CAR_MIRROR properties to DefaultConfig.hShivani Ghanta
Test: Built. Bug: 241161716 Change-Id: I53a6686fec62df205139d8e994237c56f0da8428
2022-08-08Add seat height properties to the emulator for CTS testsseanhong
Test: atest CarPropertyManagerTest Bug: 239613431 Change-Id: I48cd904dec83878570736cb8e99f0e169be753d7 Merged-In: I48cd904dec83878570736cb8e99f0e169be753d7
2022-08-01Merge "Add seat backrest properties to the emulator for CTS tests" into ↵Sean Hong
tm-qpr-dev
2022-08-01Merge "Add seat fore aft properties to the emulator for CTS tests" into ↵Sean Hong
tm-qpr-dev
2022-07-27Add seat backrest properties to the emulator for CTS testsseanhong
Test: atest CarPropertyManagerTest Bug: 239613431 Change-Id: Ic4aeefb0751398559b7e9c878be861972c7b0f24
2022-07-27Add seat fore aft properties to the emulator for CTS testsseanhong
Test: atest CarPropertyManagerTest Bug: 239613431 Change-Id: Ia9b24f5e2a14e261b13c49015662c15e443ecc4d
2022-07-27Updated HVAC_SIDE_MIRROR_HEAT with a more realistic configTyler Trephan
Test: atest CarPropertyManagerTest Bug: 237610879 Change-Id: If5ca59df192f2329c48757ec7fe0cf8530a1164b
2022-07-27Added missing mirror area type HVAC propertiesTyler Trephan
Test: atest CarPropertyManagerTest Bug: 237610879 Change-Id: Ibff9b429110ee72f28b109ac193df21ad395de51
2022-07-25Add seat belt properties to the emulator for CTS testsseanhong
Test: atest CarPropertyManagerTest Bug: 239613431 Change-Id: I5137d64ab3025040f23efe58dbab01dc797923fe
2022-07-20Merge "Remove FOG_LIGHTS_SWITCH from the emulator for the CTS test" into ↵Sean Hong
tm-qpr-dev
2022-07-19Merge "Fixed VEHICLE_CURB_WEIGHT property" into tm-qpr-devTreeHugger Robot
2022-07-13Remove FOG_LIGHTS_SWITCH from the emulator for the CTS testseanhong
FOG_LIGHTS_SWITCH should not be implemented when FRONT_FOG_LIGHTS_SWITCH or REAR_FOG_LIGHTS_SWITCH is implemented. Test: atest CarPropertyManagerTest Bug: 237691268 Change-Id: I5d1fc669a038c50e3262b5b057c45300e48848b6
2022-07-12Fixed VEHICLE_CURB_WEIGHT propertyTyler Trephan
Test: atest CarPropertyManagerTest Bug: 238677365 Change-Id: Iccea9313ec4654652be65e115ecebdcf7f68652f
2022-07-07Added FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUMETyler Trephan
Test: atest CarPropertyManagerTest Bug: 238367528 Change-Id: If9f4fab38ce47d6e2d463cca3e5eeb909866bf89
2022-07-01Add EventMode to VehiclePropertyStore writeValue.Yu Shan
Add an option to specify whether to trigger onpropertychange callback when VehiclePropertyStore.writeValue is called. Test: atest VehiclePropertyStoreTest Bug: 237318964 Change-Id: Iefd572c96f67dab2ecd5de56acf2e0d1c9b58939
2022-07-01Merge "Add value for FUEL_VOLUME_DISPLAY_UNITS in default config." into ↵TreeHugger Robot
tm-qpr-dev
2022-07-01Merge "Implemented EV_BATTERY_DISPLAY_UNITS" into tm-qpr-devTreeHugger Robot
2022-06-28Remove FOG_LIGHTS_STATE from the emulator for the CTS testseanhong
FOG_LIGHTS_STATE should not be implemented when FRONT_FOG_LIGHTS_STATE or REAR_FOG_LIGHTS_STATE is implemented. Test: atest CarPropertyManagerTest Bug: 233789475 Change-Id: I396ad9410265df4003fddcc244605519f6f5e88a
2022-06-25Add value for FUEL_VOLUME_DISPLAY_UNITS in default config.Nishtha Ahuja
Bug: 232859264 Fix: 221916124 Test: Tested manually in KitchenSink app Change-Id: I8c0bf768210037f655d76848d8b4aadf047838f3 (cherry picked from commit fccd300be6370ebcf07bb6457e8f97161cc56096)
2022-06-24Implemented EV_BATTERY_DISPLAY_UNITSTyler Trephan
Test: atest CarPropertyManagerTest Bug: 232859264 Change-Id: I8a3663f345a08b88e0047cd1211eb99978e4ded9
2022-06-23Add support for GSR property in HIDL ref VHAL.Yu Shan
Test: Presubmit Bug: 236135569 Merged-In: I3788b66aa409304927e8f5af371c049cb1bcd58e (cherry-picked from I3788b66aa409304927e8f5af371c049cb1bcd58e) Change-Id: I3788b66aa409304927e8f5af371c049cb1bcd58e
2022-06-10Add ENGINE_COOLANT_TEMP property for the emulatorseanhong
Test: atest CarPropertyManagerTest Bug: 231209215 Change-Id: Ic80ced50e9a59041d60da1968564a59ce5a2115f
2022-05-20Update flag valueMaxim Pleshivenkov
Set ENABLE_HIBERNATION_FLAG to a correct value. Flag is used as a bitmask, and should set single bit. Bug: 233373476 Change-Id: Ia60cdb3c9c344b3606ea07ed411ed6325a71c396 Test: atest CarServiceUnitTest
2022-05-11Add a test to verify a status callback registrationChangyeon Jo
Bug: 195672428 Test: atest VtsHalEvsTargetTest Change-Id: I0f86c82379bbfa249f159cac0bd0564711394caa