Home
last modified time | relevance | path

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

/hardware/libhardware/modules/soundtrigger/
Dsound_trigger_hw.c108 char tmp_write_buffer[PARSE_BUF_LEN]; variable
165 int num = snprintf(tmp_write_buffer, PARSE_BUF_LEN, "Bad command received: %s", command); in write_bad_command_error()
166 tmp_write_buffer[PARSE_BUF_LEN - 1] = '\0'; // Just to be sure. in write_bad_command_error()
167 tmp_write_buffer[PARSE_BUF_LEN - 2] = '\n'; in write_bad_command_error()
168 write(conn_socket, tmp_write_buffer, num); in write_bad_command_error()
172 int num = snprintf(tmp_write_buffer, PARSE_BUF_LEN, "%s", str); in write_string()
173 tmp_write_buffer[PARSE_BUF_LEN - 1] = '\0'; in write_string()
174 tmp_write_buffer[PARSE_BUF_LEN - 2] = '\n'; in write_string()
175 write(conn_socket, tmp_write_buffer, num); in write_string()
181 int num = vsnprintf(tmp_write_buffer, PARSE_BUF_LEN, format, argptr); in write_vastr()
[all …]