uinput: improve Event.Builder API

Rename setDuration and associated identifiers to make the units clearer,
fix a typo in setInputport, and add some JavaDoc to clarify the
structure of configuration arrays.

Bug: 302297266
Test: m uinput
Change-Id: I9b9ae8970389da3cdfe06738883ef02ebf07ff77
3 files changed