summaryrefslogtreecommitdiff
path: root/dumpstate
diff options
context:
space:
mode:
authorAdam Shih <adamshih@google.com>2022-11-18 13:15:01 +0800
committerAdam Shih <adamshih@google.com>2022-11-21 02:45:42 +0000
commit3303ba1a10922e72c4bdf8c0dc4eca6130836856 (patch)
tree2bb071f81263a6ee7fe69b3acaadb66b43ef5c43 /dumpstate
parent891c3b97a12481defc54ef7217af377dd90e96de (diff)
downloadgs201-3303ba1a10922e72c4bdf8c0dc4eca6130836856.tar.gz
remove panther touch dump
Bug: 256521567 Test: adb bugreport Change-Id: If56e6edad81ac16f8570d40668e6b1d6579c8cb6
Diffstat (limited to 'dumpstate')
-rw-r--r--dumpstate/Dumpstate.cpp55
1 files changed, 0 insertions, 55 deletions
diff --git a/dumpstate/Dumpstate.cpp b/dumpstate/Dumpstate.cpp
index abf5a8f..3335748 100644
--- a/dumpstate/Dumpstate.cpp
+++ b/dumpstate/Dumpstate.cpp
@@ -546,64 +546,9 @@ void Dumpstate::dumpTouchSection(int fd) {
"/proc/fts/driver_test",
"/sys/class/spi_master/spi6/spi6.0",
"/proc/fts_ext/driver_test"};
- const char focaltech_cmd_path[] = "/proc/focaltech_touch";
const char gti0_cmd_path[] = "/sys/devices/virtual/goog_touch_interface/gti.0";
char cmd[256];
- if (!access(focaltech_cmd_path, R_OK)) {
- // Enable: force touch active
- snprintf(cmd, sizeof(cmd), "echo 21 > %s/force_active", focaltech_cmd_path);
- RunCommandToFd(fd, "Enable Force Touch Active", {"/vendor/bin/sh", "-c", cmd});
-
- // Touch Firmware Version
- snprintf(cmd, sizeof(cmd), "%s/FW_Version", focaltech_cmd_path);
- DumpFileToFd(fd, "Touch Firmware Version", cmd);
-
- // Touch INT PIN Test
- snprintf(cmd, sizeof(cmd), "%s/INT_PIN", focaltech_cmd_path);
- DumpFileToFd(fd, "Touch INT PIN Test", cmd);
-
- // Get Raw Data - Delta
- snprintf(cmd, sizeof(cmd), "%s/selftest/Panel_Differ", focaltech_cmd_path);
- DumpFileToFd(fd, "Get Raw Data - Panel_Differ", cmd);
-
- // Get Raw Data - Raw
- snprintf(cmd, sizeof(cmd), "%s/selftest/Rawdata", focaltech_cmd_path);
- DumpFileToFd(fd, "Get Raw Data - Raw", cmd);
-
- // Get Raw Data - Baseline
- snprintf(cmd, sizeof(cmd), "%s/selftest/Baseline", focaltech_cmd_path);
- DumpFileToFd(fd, "Get Raw Data - Baseline", cmd);
-
- // Get Raw Data - Noise
- snprintf(cmd, sizeof(cmd), "%s/selftest/Noise", focaltech_cmd_path);
- DumpFileToFd(fd, "Get Raw Data - Noise", cmd);
-
- // Get Raw Data - Uniformity
- snprintf(cmd, sizeof(cmd), "%s/selftest/Rawdata_Uniformity", focaltech_cmd_path);
- DumpFileToFd(fd, "Get Raw Data - Uniformity", cmd);
-
- // Get Scap_CB
- snprintf(cmd, sizeof(cmd), "%s/selftest/Scap_CB", focaltech_cmd_path);
- DumpFileToFd(fd, "Get Scap_CB", cmd);
-
- // Get Scap_CB - Raw
- snprintf(cmd, sizeof(cmd), "%s/selftest/Scap_Rawdata", focaltech_cmd_path);
- DumpFileToFd(fd, "Get Scap_Rawdata", cmd);
-
- // Get Short Test
- snprintf(cmd, sizeof(cmd), "%s/selftest/Short", focaltech_cmd_path);
- DumpFileToFd(fd, "Get Short Test", cmd);
-
- // Get HeatMap(ms,ss)
- snprintf(cmd, sizeof(cmd), "%s/selftest/Strength", focaltech_cmd_path);
- DumpFileToFd(fd, "Get HeatMap(ms,ss)", cmd);
-
- // Disable: force touch active
- snprintf(cmd, sizeof(cmd), "echo 20 > %s/force_active", focaltech_cmd_path);
- RunCommandToFd(fd, "Disable Force Touch Active", {"/vendor/bin/sh", "-c", cmd});
- }
-
for (int i = 0; i < 4; i+=2) {
snprintf(cmd, sizeof(cmd), "%s", stm_cmd_path[i + 1]);
if (!access(cmd, R_OK)) {