Home
last modified time | relevance | path

Searched refs:shell_output (Results 1 – 1 of 1) sorted by relevance

/system/connectivity/wificond/tests/
Dshell_utils.cpp85 struct pollfd shell_output; in RunShellCommand() local
86 memset(&shell_output, 0, sizeof(shell_output)); in RunShellCommand()
87 shell_output.fd = read_fd.get(); in RunShellCommand()
88 shell_output.events = POLLIN; in RunShellCommand()
95 poll(&shell_output, 1, (time_left_ms < 0) ? 0 : time_left_ms); in RunShellCommand()
98 nread = TEMP_FAILURE_RETRY(read(shell_output.fd, buf, sizeof(buf))); in RunShellCommand()
105 if (shell_output.revents & POLLHUP) { in RunShellCommand()