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>
36 lines
608 B
Plaintext
36 lines
608 B
Plaintext
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
sh_binary {
|
|
name: "dump_gti0.sh",
|
|
src: "dump_gti0.sh",
|
|
init_rc: ["init.touch.gti0.rc"],
|
|
vendor: true,
|
|
sub_dir: "dump",
|
|
}
|
|
|
|
sh_binary {
|
|
name: "dump_gti1.sh",
|
|
src: "dump_gti1.sh",
|
|
init_rc: ["init.touch.gti1.rc"],
|
|
vendor: true,
|
|
sub_dir: "dump",
|
|
}
|
|
|
|
cc_binary {
|
|
name: "touch_gti_ical",
|
|
srcs: ["touch_gti_ical.cpp"],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Werror",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libcutils",
|
|
"liblog",
|
|
],
|
|
vendor: true,
|
|
}
|