dumpstate: add touch #19 data type am: f3989ef7cb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972990 Change-Id: I8be0ea055465bfb1b54551333d729ef1696aef4b
This commit is contained in:
commit
6ff49878bb
1 changed files with 7 additions and 0 deletions
|
@ -648,6 +648,13 @@ void DumpstateDevice::dumpTouchSection(int fd) {
|
||||||
lsi_spi_path, lsi_spi_path);
|
lsi_spi_path, lsi_spi_path);
|
||||||
RunCommandToFd(fd, "TYPE_DECODED_DATA", {"/vendor/bin/sh", "-c", cmd});
|
RunCommandToFd(fd, "TYPE_DECODED_DATA", {"/vendor/bin/sh", "-c", cmd});
|
||||||
|
|
||||||
|
// TYPE_OFFSET_DATA_SEC
|
||||||
|
snprintf(cmd, sizeof(cmd),
|
||||||
|
"echo %s > %s/cmd && cat %s/cmd_result",
|
||||||
|
"run_rawdata_read_type,19",
|
||||||
|
lsi_spi_path, lsi_spi_path);
|
||||||
|
RunCommandToFd(fd, "TYPE_OFFSET_DATA_SEC", {"/vendor/bin/sh", "-c", cmd});
|
||||||
|
|
||||||
// TYPE_NOI_P2P_MIN
|
// TYPE_NOI_P2P_MIN
|
||||||
snprintf(cmd, sizeof(cmd),
|
snprintf(cmd, sizeof(cmd),
|
||||||
"echo %s > %s/cmd && cat %s/cmd_result",
|
"echo %s > %s/cmd && cat %s/cmd_result",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue