dumpstate: add touch #19 data type
Bug: 174189876 Test: check bugreport for #19 data. Signed-off-by: Super Liu <supercjliu@google.com> Change-Id: I288d8079528f99834a1867ab973535d4e7b383b6
This commit is contained in:
parent
ca32deaaf1
commit
69c195292b
1 changed files with 7 additions and 0 deletions
|
@ -648,6 +648,13 @@ void DumpstateDevice::dumpTouchSection(int fd) {
|
|||
lsi_spi_path, lsi_spi_path);
|
||||
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
|
||||
snprintf(cmd, sizeof(cmd),
|
||||
"echo %s > %s/cmd && cat %s/cmd_result",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue