/device/google/gs201/dumpstate/ |
D | Dumpstate.cpp | 544 char cmd[256]; in dumpTouchSection() local 550 snprintf(cmd, sizeof(cmd), "echo 21 > %s/force_active", focaltech_cmd_path); in dumpTouchSection() 551 RunCommandToFd(fd, "Enable Force Touch Active", {"/vendor/bin/sh", "-c", cmd}); in dumpTouchSection() 554 snprintf(cmd, sizeof(cmd), "%s/FW_Version", focaltech_cmd_path); in dumpTouchSection() 555 DumpFileToFd(fd, "Touch Firmware Version", cmd); in dumpTouchSection() 558 snprintf(cmd, sizeof(cmd), "%s/INT_PIN", focaltech_cmd_path); in dumpTouchSection() 559 DumpFileToFd(fd, "Touch INT PIN Test", cmd); in dumpTouchSection() 562 snprintf(cmd, sizeof(cmd), "%s/selftest/Panel_Differ", focaltech_cmd_path); in dumpTouchSection() 563 DumpFileToFd(fd, "Get Raw Data - Panel_Differ", cmd); in dumpTouchSection() 566 snprintf(cmd, sizeof(cmd), "%s/selftest/Rawdata", focaltech_cmd_path); in dumpTouchSection() [all …]
|
/device/google/gs101/dumpstate/ |
D | DumpstateDevice.cpp | 530 char cmd[256]; in dumpPreTouchSection() local 534 snprintf(cmd, sizeof(cmd), in dumpPreTouchSection() 539 RunCommandToFd(fd, "Force Touch Active(Enable)", {"/vendor/bin/sh", "-c", cmd}); in dumpPreTouchSection() 541 snprintf(cmd, sizeof(cmd), "/proc/nvt_fw_version"); in dumpPreTouchSection() 542 if (!access(cmd, R_OK)) in dumpPreTouchSection() 543 DumpFileToFd(fd, "FW version", cmd); in dumpPreTouchSection() 546 snprintf(cmd, sizeof(cmd), "/proc/nvt_diff"); in dumpPreTouchSection() 547 if (!access(cmd, R_OK)) in dumpPreTouchSection() 548 DumpFileToFd(fd, "Diff", cmd); in dumpPreTouchSection() 550 snprintf(cmd, sizeof(cmd), "%s/nvt_fw_history", nvt_spi_path); in dumpPreTouchSection() [all …]
|
/device/google/cuttlefish/host/commands/modem_simulator/unittest/ |
D | iccfile.txt | 4 …<SIMIO cmd="C0" p1="0" p2="0" p3="F" data="">144,0,621A8205422100300483022F008A01058B032F060180020… 5 …<SIMIO cmd="B2" p1="1" p2="4" p3="30" data="">144,0,61184F10A0000003431002FF86FF0389FFFFFFFF500443… 6 …<SIMIO cmd="B2" p1="2" p2="4" p3="30" data="">144,0,61184F10A0000000871002FF86FF0389FFFFFFFF500455… 7 …<SIMIO cmd="B2" p1="3" p2="4" p3="30" data="">144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF… 8 …<SIMIO cmd="B2" p1="4" p2="4" p3="30" data="">144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF… 11 …<SIMIO cmd="C0" p1="0" p2="0" p3="F" data="">144,0,62178202412183022FE28A01058B032F06038002000A880… 12 <SIMIO cmd="B0" p1="0" p2="0" p3="A" data="">144,0,98683081462002318379</SIMIO> 17 …<SIMIO cmd="C0" p1="0" p2="0" p3="F" data="">144,0,62178202412183022F058A01058B032F060280020004880… 18 <SIMIO cmd="B0" p1="0" p2="0" p3="4" data="">144,0,FFFFFFFF</SIMIO> 24 …<SIMIO cmd="C0" p1="0" p2="0" p3="F" data="">144,0,62198205422100400283024F308A01058B036F060680020… [all …]
|
D | command_parser_test.cpp | 23 cuttlefish::CommandParser cmd(command); in TEST() local 24 cmd.SkipPrefix(); in TEST() 25 std::string result(*cmd); in TEST() 32 cuttlefish::CommandParser cmd(command); in TEST() local 33 cmd.SkipPrefixAT(); in TEST() 34 std::string result(*cmd); in TEST() 41 cuttlefish::CommandParser cmd(command); in TEST() local 42 cmd.SkipComma(); in TEST() 43 std::string result(*cmd); in TEST() 49 cuttlefish::CommandParser cmd(command); in TEST() local [all …]
|
/device/linaro/poplar/wifi/wifi_hal/ |
D | common.cpp | 70 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_handler() argument 80 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler() 86 arg, func, cmd, info->num_event_cb); in wifi_register_handler() 121 void wifi_unregister_handler(wifi_handle handle, int cmd) in wifi_unregister_handler() argument 125 if (cmd == NL80211_CMD_VENDOR) { in wifi_unregister_handler() 133 if (info->event_cb[i].nl_cmd == cmd) { in wifi_unregister_handler() 135 info->event_cb[i].cb_arg, info->event_cb[i].cb_func, cmd, i); in wifi_unregister_handler() 171 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd) in wifi_register_cmd() argument 180 info->cmd[info->num_cmd].id = id; in wifi_register_cmd() 181 info->cmd[info->num_cmd].cmd = cmd; in wifi_register_cmd() [all …]
|
D | wifi_logger.cpp | 406 DebugCommand *cmd = new DebugCommand(iface, buffer, &buffer_size, GET_FW_VER); in wifi_get_firmware_version() local 407 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_get_firmware_version() 408 wifi_error result = (wifi_error)cmd->start(); in wifi_get_firmware_version() 409 cmd->releaseRef(); in wifi_get_firmware_version() 421 DebugCommand *cmd = new DebugCommand(iface, buffer, &buffer_size, GET_DRV_VER); in wifi_get_driver_version() local 422 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_get_driver_version() 423 wifi_error result = (wifi_error)cmd->start(); in wifi_get_driver_version() 424 cmd->releaseRef(); in wifi_get_driver_version() 435 DebugCommand *cmd = new DebugCommand(iface, ring_name, GET_RING_DATA); in wifi_get_ring_data() local 436 NULL_CHECK_RETURN(cmd, "memory allocation failure", WIFI_ERROR_OUT_OF_MEMORY); in wifi_get_ring_data() [all …]
|
/device/google/contexthub/util/nanoapp_cmd/ |
D | nanoapp_cmd.c | 72 uint8_t cmd; member 80 uint8_t cmd; member 97 static int setType(struct ConfigCmd *cmd, char *sensor) in setType() argument 100 cmd->sensorType = SENS_TYPE_ACCEL; in setType() 102 cmd->sensorType = SENS_TYPE_GYRO; in setType() 104 cmd->sensorType = SENS_TYPE_MAG; in setType() 106 cmd->sensorType = SENS_TYPE_ACCEL; in setType() 108 cmd->sensorType = SENS_TYPE_GYRO; in setType() 110 cmd->sensorType = SENS_TYPE_MAG; in setType() 112 cmd->sensorType = SENS_TYPE_ALS; in setType() [all …]
|
/device/google/cuttlefish/host/frontend/webrtc/ |
D | audio_handler.cpp | 316 void AudioHandler::StreamsInfo(StreamInfoCommand& cmd) { in StreamsInfo() argument 317 if (cmd.start_id() >= NUM_STREAMS || in StreamsInfo() 318 cmd.start_id() + cmd.count() > NUM_STREAMS) { in StreamsInfo() 319 cmd.Reply(AudioStatus::VIRTIO_SND_S_BAD_MSG, {}); in StreamsInfo() 323 &STREAMS[cmd.start_id()], &STREAMS[0] + cmd.start_id() + cmd.count()); in StreamsInfo() 324 cmd.Reply(AudioStatus::VIRTIO_SND_S_OK, stream_info); in StreamsInfo() 327 void AudioHandler::SetStreamParameters(StreamSetParamsCommand& cmd) { in SetStreamParameters() argument 328 if (cmd.stream_id() >= NUM_STREAMS) { in SetStreamParameters() 329 cmd.Reply(AudioStatus::VIRTIO_SND_S_BAD_MSG); in SetStreamParameters() 332 const auto& stream_info = STREAMS[cmd.stream_id()]; in SetStreamParameters() [all …]
|
/device/google/cuttlefish/host/commands/modem_simulator/ |
D | sup_service.cpp | 30 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 31 this->HandleUSSD(client, cmd); in InitializeCommandHandlers() 34 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 35 this->HandleCLIR(client, cmd); in InitializeCommandHandlers() 38 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 39 this->HandleCallWaiting(client, cmd); in InitializeCommandHandlers() 44 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 45 this->HandleCallForward(client, cmd); in InitializeCommandHandlers() 48 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 49 this->HandleSuppServiceNotifications(client, cmd); in InitializeCommandHandlers() [all …]
|
D | sms_service.cpp | 34 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 35 this->HandleSendSMS(client, cmd); in InitializeCommandHandlers() 38 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 39 this->HandleSMSAcknowledge(client, cmd); in InitializeCommandHandlers() 42 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 43 this->HandleWriteSMSToSim(client, cmd); in InitializeCommandHandlers() 46 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 47 this->HandleDeleteSmsOnSim(client, cmd); in InitializeCommandHandlers() 50 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 51 this->HandleBroadcastConfig(client, cmd); in InitializeCommandHandlers() [all …]
|
D | sim_service.cpp | 299 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 300 this->HandleChangeOrEnterPIN(client, cmd); in InitializeCommandHandlers() 303 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 304 this->HandleSIM_IO(client, cmd); in InitializeCommandHandlers() 307 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 308 this->HandleCSIM_IO(client, cmd); in InitializeCommandHandlers() 317 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 318 this->HandleFacilityLock(client, cmd); in InitializeCommandHandlers() 321 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 322 this->HandleOpenLogicalChannel(client, cmd); in InitializeCommandHandlers() [all …]
|
D | call_service.cpp | 51 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 52 this->HandleDial(client, cmd); in InitializeCommandHandlers() 64 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 65 this->HandleHangup(client, cmd); in InitializeCommandHandlers() 68 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 69 this->HandleMute(client, cmd); in InitializeCommandHandlers() 72 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 73 this->HandleSendDtmf(client, cmd); in InitializeCommandHandlers() 76 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 77 this->HandleCancelUssd(client, cmd); in InitializeCommandHandlers() [all …]
|
D | data_service.cpp | 34 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 35 this->HandleActivateDataCall(client, cmd); in InitializeCommandHandlers() 42 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 43 this->HandlePDPContext(client, cmd); in InitializeCommandHandlers() 62 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 63 this->HandleEnterDataState(client, cmd); in InitializeCommandHandlers() 70 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 71 this->HandleReadDynamicParam(client, cmd); in InitializeCommandHandlers() 151 CommandParser cmd(command); in HandlePDPContext() local 152 cmd.SkipPrefix(); /* skip +CGDCONT= */ in HandlePDPContext() [all …]
|
D | network_service.cpp | 49 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 50 this->HandleRadioPower(client, cmd); in InitializeCommandHandlers() 53 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 54 this->HandleRadioPower(client, cmd); in InitializeCommandHandlers() 72 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 73 this->HandleSetNetworkSelectionMode(client, cmd); in InitializeCommandHandlers() 76 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 77 this->HandleVoiceNetworkRegistration(client, cmd); in InitializeCommandHandlers() 80 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers() 81 this->HandleDataNetworkRegistration(client, cmd); in InitializeCommandHandlers() [all …]
|
/device/google/redfin/dumpstate/ |
D | DumpstateDevice.cpp | 301 char cmd[256] = { 0 }; in dumpModemThread() local 342 snprintf(cmd, sizeof(cmd), in dumpModemThread() 345 RunCommandToFd(STDOUT_FILENO, "Dump IPA log", {"/vendor/bin/sh", "-c", cmd}); in dumpModemThread() 386 char cmd[256]; in DumpTouch() local 390 snprintf(cmd, sizeof(cmd), in DumpTouch() 394 RunCommandToFd(fd, "Force Touch Active", {"/vendor/bin/sh", "-c", cmd}); in DumpTouch() 397 snprintf(cmd, sizeof(cmd), in DumpTouch() 401 RunCommandToFd(fd, "Print Format", {"/vendor/bin/sh", "-c", cmd}); in DumpTouch() 404 snprintf(cmd, sizeof(cmd), "%s/fw_version", touch_spi_path); in DumpTouch() 405 DumpFileToFd(fd, "LSI firmware version", cmd); in DumpTouch() [all …]
|
/device/linaro/poplar/wifi/wpa_supplicant_8_lib/ |
D | driver_cmd_nl80211.c | 39 static void wpa_driver_notify_country_change(void *ctx, char *cmd) in wpa_driver_notify_country_change() argument 41 if ((os_strncasecmp(cmd, "COUNTRY", 7) == 0) || in wpa_driver_notify_country_change() 42 (os_strncasecmp(cmd, "SETBAND", 7) == 0)) { in wpa_driver_notify_country_change() 47 if (os_strncasecmp(cmd, "COUNTRY", 7) == 0) { in wpa_driver_notify_country_change() 49 if (os_strlen(cmd) > 9) { in wpa_driver_notify_country_change() 50 event.channel_list_changed.alpha2[0] = cmd[8]; in wpa_driver_notify_country_change() 51 event.channel_list_changed.alpha2[1] = cmd[9]; in wpa_driver_notify_country_change() 60 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, in wpa_driver_nl80211_driver_cmd() argument 82 " cmd (%s)", bss->ifname, cmd); in wpa_driver_nl80211_driver_cmd() 86 if (os_strcasecmp(cmd, "STOP") == 0) { in wpa_driver_nl80211_driver_cmd() [all …]
|
D | driver_cmd_wext.c | 126 static int wpa_driver_wext_set_cscan_params(char *buf, size_t buf_len, char *cmd) in wpa_driver_wext_set_cscan_params() argument 133 wpa_printf(MSG_DEBUG, "%s: %s", __func__, cmd); in wpa_driver_wext_set_cscan_params() 136 pasv_ptr = os_strstr(cmd, ",TIME="); in wpa_driver_wext_set_cscan_params() 144 channel = (u8)atoi(cmd + 5); in wpa_driver_wext_set_cscan_params() 276 int wpa_driver_wext_driver_cmd( void *priv, char *cmd, char *buf, size_t buf_len ) in wpa_driver_wext_driver_cmd() argument 283 wpa_printf(MSG_DEBUG, "%s %s len = %d", __func__, cmd, buf_len); in wpa_driver_wext_driver_cmd() 285 if (!drv->driver_is_started && (os_strcasecmp(cmd, "START") != 0)) { in wpa_driver_wext_driver_cmd() 290 if (os_strcasecmp(cmd, "RSSI-APPROX") == 0) { in wpa_driver_wext_driver_cmd() 291 os_strlcpy(cmd, RSSI_CMD, MAX_DRV_CMD_SIZE); in wpa_driver_wext_driver_cmd() 292 } else if( os_strncasecmp(cmd, "SCAN-CHANNELS", 13) == 0 ) { in wpa_driver_wext_driver_cmd() [all …]
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 499 struct MsgCmd *cmd; in setLeftyMode() local 506 cmd = (struct MsgCmd *)malloc(sizeof(struct MsgCmd) + sizeof(bool)); in setLeftyMode() 508 if (cmd) { in setLeftyMode() 509 cmd->evtType = EVT_APP_FROM_HOST; in setLeftyMode() 510 cmd->msg.appId = APP_ID_MAKE(APP_ID_VENDOR_GOOGLE, APP_ID_APP_GAZE_DETECT); in setLeftyMode() 511 cmd->msg.dataLen = sizeof(bool); in setLeftyMode() 512 memcpy((bool *)(cmd+1), &enable, sizeof(bool)); in setLeftyMode() 514 ret = sendCmd(cmd, sizeof(*cmd) + sizeof(bool)); in setLeftyMode() 515 if (ret == sizeof(*cmd) + sizeof(bool)) in setLeftyMode() 522 cmd->msg.appId = APP_ID_MAKE(APP_ID_VENDOR_GOOGLE, APP_ID_APP_UNGAZE_DETECT); in setLeftyMode() [all …]
|
/device/generic/vulkan-cereal/third-party/angle/scripts/ |
D | generate_loader.py | 31 def pre(cmd): argument 33 return cmd 34 return prefix + cmd[len(api):] 38 "#define %s%s %s%s%s" % (ns, pre(cmd), internal_prefix, ns, pre(cmd)) 39 for cmd in all_cmds 42 "%sextern PFN%sPROC %s%s%s;" % (export, cmd.upper(), internal_prefix, ns, pre(cmd)) 43 for cmd in all_cmds 66 def pre(cmd): argument 68 return cmd 69 return prefix + cmd[len(api):] [all …]
|
/device/google/bramble/dumpstate/ |
D | DumpstateDevice.cpp | 301 char cmd[256] = { 0 }; in dumpModemThread() local 342 snprintf(cmd, sizeof(cmd), in dumpModemThread() 345 RunCommandToFd(STDOUT_FILENO, "Dump IPA log", {"/vendor/bin/sh", "-c", cmd}); in dumpModemThread() 348 snprintf(cmd, sizeof(cmd), in dumpModemThread() 351 RunCommandToFd(STDOUT_FILENO, "Dump QRTR0 log", {"/vendor/bin/sh", "-c", cmd}); in dumpModemThread() 392 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() [all …]
|
/device/google/cuttlefish/common/libs/utils/ |
D | subprocess.cpp | 291 auto cmd = ToCharPointers(command_); in Start() local 324 rval = execvpe(cmd[0], const_cast<char* const*>(cmd.data()), in Start() 327 LOG(ERROR) << "exec of " << cmd[0] << " failed (" << strerror(errno) in Start() 335 LOG(DEBUG) << "Started (pid: " << pid << "): " << cmd[0]; in Start() 336 for (int i = 1; cmd[i]; i++) { in Start() 337 LOG(DEBUG) << cmd[i]; in Start() 340 LOG(VERBOSE) << "Started (pid: " << pid << "): " << cmd[0]; in Start() 341 for (int i = 1; cmd[i]; i++) { in Start() 342 LOG(VERBOSE) << cmd[i]; in Start() 392 Command cmd = std::move(cmd_tmp); in RunWithManagedStdio() local [all …]
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | VirtioGpuStream.cpp | 194 VirtioGpuCmd *cmd = reinterpret_cast<VirtioGpuCmd *>(&m_buf[m_cmdPos]); in allocBuffer() local 195 if (m_allocSize + minSize > cmd->cmdSize) { in allocBuffer() 199 if (m_cmdPos + cmd->cmdSize + minSize > m_bufSize) { in allocBuffer() 210 m_cmdPos += cmd->cmdSize; in allocBuffer() 249 VirtioGpuCmd *cmd = reinterpret_cast<VirtioGpuCmd *>(&m_buf[m_cmdPos]); in allocBuffer() local 250 cmd->op = 0U; in allocBuffer() 251 cmd->cmdSize = sizeof(*cmd) + sizeof(__u32); in allocBuffer() 276 VirtioGpuCmd *cmd = reinterpret_cast<VirtioGpuCmd *>(&m_buf[m_cmdPos]); in writeFully() local 278 if (m_flushPos < sizeof(*cmd)) { in writeFully() 285 if (m_flushPos + len > cmd->cmdSize) { in writeFully() [all …]
|
/device/google/cuttlefish/guest/hals/ril/reference-ril/ |
D | reference-ril.c | 992 char cmd[64] = {0}; in requestOrSendDataCallList() local 993 snprintf(cmd, sizeof(cmd), "AT+CGCONTRDP=%d", cid); in requestOrSendDataCallList() 994 err = at_send_command_singleline(cmd, "+CGCONTRDP:", &p_response); in requestOrSendDataCallList() 1221 char *cmd; local 1233 asprintf(&cmd, "ATD%s%s;", p_dial->address, clir); 1235 at_send_command(cmd, NULL); 1237 free(cmd); 1247 char *cmd; local 1260 asprintf(&cmd, "AT+CMGW=%d,%d", length, p_args->status); 1262 err = at_send_command_sms(cmd, p_args->pdu, "+CMGW:", &p_response); [all …]
|
/device/google/cuttlefish/host/libs/audio_connector/ |
D | server.cpp | 182 StreamInfoCommand cmd(start_id, info_count, reply.get()); in ReceiveCommands() local 184 executor.StreamsInfo(cmd); in ReceiveCommands() 185 return CmdReply(cmd.status(), reply.get(), in ReceiveCommands() 195 StreamSetParamsCommand cmd(set_param_msg->hdr.stream_id.as_uint32_t(), in ReceiveCommands() local 201 executor.SetStreamParameters(cmd); in ReceiveCommands() 202 return CmdReply(cmd.status()); in ReceiveCommands() 210 StreamControlCommand cmd(AudioCommandType::VIRTIO_SND_R_PCM_PREPARE, in ReceiveCommands() local 212 executor.PrepareStream(cmd); in ReceiveCommands() 213 return CmdReply(cmd.status()); in ReceiveCommands() 221 StreamControlCommand cmd(AudioCommandType::VIRTIO_SND_R_PCM_RELEASE, in ReceiveCommands() local [all …]
|
/device/google/barbet/dumpstate/ |
D | DumpstateDevice.cpp | 303 char cmd[256] = { 0 }; in dumpModemThread() local 344 snprintf(cmd, sizeof(cmd), in dumpModemThread() 347 RunCommandToFd(STDOUT_FILENO, "Dump IPA log", {"/vendor/bin/sh", "-c", cmd}); in dumpModemThread() 388 char cmd[256]; in DumpTouch() local 390 snprintf(cmd, sizeof(cmd), "%s/appid", touch_spi_path); in DumpTouch() 391 if (!access(cmd, R_OK)) { in DumpTouch() 393 DumpFileToFd(fd, "STM touch firmware version", cmd); in DumpTouch() 396 snprintf(cmd, sizeof(cmd), "%s/status", touch_spi_path); in DumpTouch() 397 DumpFileToFd(fd, "STM touch status", cmd); in DumpTouch() 400 snprintf(cmd, sizeof(cmd), in DumpTouch() [all …]
|