Commit graph

10 commits

Author SHA1 Message Date
Super Liu
21b3ed1922 touch: Support SW_LID event from sensor HAL
Bug: 353360211
Flag: EXEMPT bugfix
Test: Manual local test.
Change-Id: Ie071f0aaf19956f1a472693baf19cbeb0c73b186
Signed-off-by: Super Liu <supercjliu@google.com>
2024-10-07 01:04:53 +00:00
Super Liu
bb0d0ca8ff touch: gti support sysfs_wakeup
07-03 02:59:22.526   517   517 W binder:517_5: type=1400 audit(0.0:18): avc:  denied  { read } for  name="wakeup36" dev="sysfs" ino=98946 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_touch_gti:s0 tclass=dir permissive=0
07-03 02:59:22.531   517  1547 E android.system.suspend-service: Error opening kernel wakelock stats for: wakeup36 (../../devices/virtual/goog_touch_interface/gti.0/wakeup36): Permission denied

Test: TH build pass
Bug: 335839116
Change-Id: I1840dc5433fd2bfd0722852e6b721c20ff14e39b
Signed-off-by: Super Liu <supercjliu@google.com>
2024-07-03 03:02:35 +00:00
Ravi Jain
ea5ec69b79 touch: moving ical related sepolicies to independent folder
Bug: 331139251
Test: Manually verify the result.
Change-Id: I53b5c8eb73f1ce775ec83a06b43c0b4993f31e69
2024-04-15 03:49:41 +00:00
Super Liu
58b64ca3fb touch: init service to access gti interactive_calibrate sysfs
Write usage: setprop vendor.touch.gti0.ical VALUE

Any VALUE(e.g. 20X or 30X) set through this property will write
into gti interactive_calibrate sysfs except for the VALUE `read`.

Read usage: setprop vendor.touch.gti0.ical read
            getprop vendor.touch.gti0.ical.result
setprop with VALUE `read` will read the gti
interactive_calibrate sysfs and save the result to
vendor.touch.gti0.ical.result.

Besides, please add your DOMAIN to access vendor_gti_prop.
set_prop(DOMAIN, vendor_gti_prop)

Bug: 331139251
Test: Manually verify the result.
Change-Id: I6296b9533dd0209e66832bfbbed6030a30077b96
Merged-In: I6296b9533dd0209e66832bfbbed6030a30077b96
Signed-off-by: Super Liu <supercjliu@google.com>
(cherry picked from commit 28754e355a)
2024-03-28 07:27:32 +00:00
Wendly Li
90f0d9bb3d dump_gti: Support dual-panel
Bug: 278023960
Test: adb bugreport
Change-Id: Idab07391086e04378e7722ac0ff4218a2d09478d
Signed-off-by: Wendly Li <wendlyli@google.com>
2023-05-08 17:10:22 +00:00
Super Liu
dc8a407491 Support gti proc dump.
Bug: 262796907
Test: TreeHugger build pass.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I3dd73b9832c737f7c60639af649ae882e206aa15
2023-01-06 08:38:29 +00:00
Adam Shih
161893e2d4 change type name to avoid duplicated declaration
Bug: 256521567
Test: build pass
Change-Id: I76ea453bd87803b2ff23ca1f914a5f2f383354f9
2022-12-02 10:27:34 +08:00
Adam Shih
d8bb9c3c2b move gti config to gs-common
Bug: 256521567
Test: build pass on all devices
Change-Id: I910bfa1aef3dbad1987d0aee8e1df226fb72e583
2022-11-30 09:31:38 +08:00
Adam Shih
5944633044 Move sysfs_touch to gs-common
Bug: 256521567
Test: adb bugreport
Change-Id: I2690b19ba1729af53a7d6e4f3f6c4d87f2ebd7eb
2022-11-29 07:28:50 +08:00
Adam Shih
d92e8d74bf create gti dump
Bug: 256521567
Test: adb bugreport
Change-Id: I0da3eaac96b436e11444c2677b12b8947a4ddcef
2022-11-21 12:56:16 +08:00