platform_hardware_interfaces/automotive
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
..
audiocontrol V1 is the latest version of android.media.audio.common.types 2022-04-18 18:34:32 +00:00
can/1.0 Fix VtsHalCanBusV1_0TargetTest 2022-04-23 00:53:43 +00:00
evs Update EVS API descriptions 2022-08-18 11:02:35 -07:00
occupant_awareness/aidl update automotive hals for car mainline 2021-10-06 09:23:30 -07:00
sv/1.0 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2022-04-20 18:25:58 -07:00
vehicle Avoid holding lock while calling recurrent actions. 2022-12-09 21:41:59 +00:00
OWNERS Add Kiran as VHAL owner 2021-02-17 05:24:26 +00:00
README.md
TEST_MAPPING Add tests that might be affected by HAL to presubmit. 2022-02-23 12:40:04 -08:00

Autmotive HALs


Overview:

The automotive HAL tree is used by Android Automotive to discover and operate hardware specific to a car.

The HALs are not (yet) frozen, as the HAL definition is expected to evolve between Android releases.