Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
22242 commits behind the upstream repository.
user avatar
Harry Cutts authored
(This CL is unchanged. Original description below, with additional Test:
line)

If we want to inject events at predictable times, then we shouldn't take
into account the current time when scheduling those injections, as that
could change depending on the timings of the process sending commands to
uinput. Instead, assume that the process sending commands intends time
offsets between injected events to be as close as possible to those
specified in the delay commands.

Bug: 310958309
Test: atest CtsInputTestCases
Test: atest android.view.cts.input.InputDeviceKeyLayoutMapTest \
            android.view.cts.input.InputDeviceSensorManagerTest \
            --rerun-until-failure=10
Change-Id: Ieaa4f2f06d5e0b7d13abc3afa474948996db7c0a
dfc798ea
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.