New VerifiedInputEvent api

The Verified{Input/Key/Motion}Event api are the same as
{Input/Key/Motion}Event api.
The VerifiedMotion class is the same as the MotionEvent class, but
contains less information. It only contains the information that the
system is able to verify.
Same applies to VerifiedKeyEvent.

The class VerifiedInputEvent contains common information applicable to
both Key and Motion.

Test: atest VerifiedKeyEventTest VerifiedMotionEventTest
Bug: 134977432
Change-Id: I4770104eb4c025263da7efeea9c7a658dff74ac9
This commit is contained in:
Siarhei Vishniakou
2020-01-15 17:35:58 -08:00
parent 41745be8bb
commit cf07528a0e
21 changed files with 1691 additions and 87 deletions

View File

@@ -25,6 +25,7 @@ cc_defaults {
cflags: [
"-Wall",
"-Werror",
"-Wextra",
"-Wunused",
"-Wunreachable-code",
],