Populate repeat field for KeyEvents from VHAL.

This allows consumers to tell whether an ACTION_DOWN KeyEvent is an
initial keypress, or a synthetic event sent when a key is held for an
extended period of time.

This also adds unit tests for all of InputHalService.

Test: atest CarServiceUnitTest
Bug: 33253121
Change-Id: Id397b35506b22c417fddec79fd3797f85ad94078
2 files changed