Commit Graph

7 Commits

Author SHA1 Message Date
Harry Cutts
ccba2d78e9 Revert "Add GESTURE_{X,Y}_OFFSET axes to input HAL"
Revert "Depend on V2 of the Input HAL from libservices"

Revert submission 20187666-input-hal-gesture-offset

Reason for revert: Causes build errors (https://android-build.googleplex.com/builds/submitted/9380741/sdk_finalization/latest/logs/build_error.log)
Reverted Changes:
I31e8b6975:Add GESTURE_{X,Y}_OFFSET axes to input HAL
I2eb4924f3:Depend on V2 of the Input HAL from libservices
I13d341fa0:Add asserts for new HAL axes in InputCommonConvert...

Change-Id: I808e59e78c0fa8abedef6a58db9c277a84cbc5ae
2022-12-08 14:28:19 +00:00
Harry Cutts
6ac8cd3ac2 Add GESTURE_{X,Y}_OFFSET axes to input HAL
Bug: 246758376
Test: check that build succeeds
Change-Id: I31e8b69756847d9e70a442cdfd89cd90ec79191f
2022-12-06 14:53:36 +00:00
Siarhei Vishniakou
a65f581ea3 Build input-related HAL code for host
This would allow to run some of the tests on host, which is sometimes
convenient when a device is not readily available.

Bug: 249591924
Test: atest --host inputflinger_tests
Change-Id: Ide39bc4beb5174191bdc31e0a9b9f905622fcde5
2022-09-30 07:28:53 -07:00
Jiyong Park
70f5837e1f Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: I61eb51c0334eb99489c6f1570110d7e18c350c99
2022-04-16 07:03:24 +09:00
Siarhei Vishniakou
70ac10680d Add HDMI to Source
HDMI was actually part of InputDevice.java API, and it was later added
into native as part of another CL.
This got left out of the original input.common HAL because the history
of the API was unclear at the time.

Bug: 214604719
Test: none
Change-Id: If9855ed6aea1848b646fe8b34e3f8da29a73b632
2022-01-28 12:19:51 -08:00
Siarhei Vishniakou
88d18bf4bd Convert InputClassifier HAL to AIDL
No changes to the HAL are made in this change, we are only updating the
interface to use AIDL.
At the same time, the HAL is getting renamed to 'InputProcessor', which
will mean that it's more general-purpose than just classification. We
will be adding more stuff to this HAL in the future.

Bug: 167946763
Bug: 205761620
Test: integration tested with other framework changes on top
Change-Id: I8046cd5c74e1b69f85f21b28d5c4c3b88a61bb33
2022-01-28 12:15:47 -08:00
Siarhei Vishniakou
600e91322b Add aidl version of android.hardware.input.common
This is a type HAL that will be used for input-related types. Currently
the main thing that's stored there is MotionEvent.

Bug: 210158587
Test: m
Change-Id: Id6658a179147591564521a36d0de296a1f2212b0
2022-01-14 18:51:45 -08:00