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
Signed-off-by: Super Liu <supercjliu@google.com>
It's possible that the gti sysfs node is not ready when
vendor.device.modules.ready is set so change the gti file owner
at later stage.
Bug: 285327052
Bug: 285247095
Bug: 285323846
Test: trigger bugreport and the dump succeed.
Change-Id: If1921aeb351603b52164c66bc9c7b3651d171287
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
Enable the interactive_calibration node to be accessed by non-owners,
with SEPolicy restricting access to the diagnosticstool priv-app.
Bug: 230050981
Change-Id: I7d2ec8e7aba2aa744a1198ba504db536f872e491
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Bug: 288835055
Test: check the bugreport with abtd build.
Change-Id: I54e9206416d6667851e35368f9f6c641e97cd2fc
Signed-off-by: Super Liu <supercjliu@google.com>