Lines Matching refs:cmd
302 char cmd[256] = { 0 }; in dumpModemThread() local
343 snprintf(cmd, sizeof(cmd), in dumpModemThread()
346 RunCommandToFd(STDOUT_FILENO, "Dump IPA log", {"/vendor/bin/sh", "-c", cmd}); in dumpModemThread()
387 char cmd[256]; in DumpTouch() local
394 snprintf(cmd, sizeof(cmd), "%s/appid", touch_spi_path); in DumpTouch()
395 if (!access(cmd, R_OK)) { in DumpTouch()
397 DumpFileToFd(fd, "STM touch firmware version", cmd); in DumpTouch()
400 snprintf(cmd, sizeof(cmd), "%s/status", touch_spi_path); in DumpTouch()
401 DumpFileToFd(fd, "STM touch status", cmd); in DumpTouch()
404 snprintf(cmd, sizeof(cmd), in DumpTouch()
407 RunCommandToFd(fd, "Mutual Raw", {"/vendor/bin/sh", "-c", cmd}); in DumpTouch()
410 snprintf(cmd, sizeof(cmd), in DumpTouch()
413 RunCommandToFd(fd, "Mutual Strength", {"/vendor/bin/sh", "-c", cmd}); in DumpTouch()
416 snprintf(cmd, sizeof(cmd), in DumpTouch()
419 RunCommandToFd(fd, "Self Raw", {"/vendor/bin/sh", "-c", cmd}); in DumpTouch()
475 snprintf(cmd, sizeof(cmd), "%s/stm_fts_cmd", touch_spi_path); in DumpTouch()
476 if (!access(cmd, R_OK)) { in DumpTouch()
478 snprintf(cmd, sizeof(cmd), in DumpTouch()
481 RunCommandToFd(fd, "ITO Raw", {"/vendor/bin/sh", "-c", cmd}); in DumpTouch()