Home
last modified time | relevance | path

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

/hardware/ril/reference-ril/
Dreference-ril.c601 char *cmd; local
614 asprintf(&cmd, "ATD%s%s;", p_dial->address, clir);
616 ret = at_send_command(cmd, NULL);
618 free(cmd);
628 char *cmd; local
636 asprintf(&cmd, "AT+CMGW=%d,%d", length, p_args->status);
638 err = at_send_command_sms(cmd, p_args->pdu, "+CMGW:", &p_response);
656 char *cmd; local
662 asprintf(&cmd, "AT+CHLD=1%d", p_line[0]);
664 ret = at_send_command(cmd, NULL);
[all …]
/hardware/libhardware_legacy/wifi/
Dwifi.c397 int wifi_send_command(struct wpa_ctrl *ctrl, const char *cmd, char *reply, size_t *reply_len) in wifi_send_command() argument
402 LOGV("Not connected to wpa_supplicant - \"%s\" command dropped.\n", cmd); in wifi_send_command()
405 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), reply, reply_len, NULL); in wifi_send_command()
407 LOGD("'%s' command timed out.\n", cmd); in wifi_send_command()
412 if (strncmp(cmd, "PING", 4) == 0) { in wifi_send_command()
/hardware/msm7k/librpc/
Dops.c64 int r_control(int handle, const uint32 cmd, void *arg) in r_control() argument
66 return ioctl(handle, cmd, arg); in r_control()
Dsvc_clnt_common.c10 extern int r_control(int handle, const uint32 cmd, void *arg);
Dsvc.c53 extern int r_control(int handle, const uint32 cmd, void *arg);
/hardware/libhardware_legacy/gps/
Dgps_qemu.c562 char cmd = CMD_QUIT; in gps_state_done() local
564 write( s->control[0], &cmd, 1 ); in gps_state_done()
580 char cmd = CMD_START; in gps_state_start() local
583 do { ret=write( s->control[0], &cmd, 1 ); } in gps_state_start()
595 char cmd = CMD_STOP; in gps_state_stop() local
598 do { ret=write( s->control[0], &cmd, 1 ); } in gps_state_stop()
680 char cmd = 255; in gps_state_thread() local
684 ret = read( fd, &cmd, 1 ); in gps_state_thread()
687 if (cmd == CMD_QUIT) { in gps_state_thread()
691 else if (cmd == CMD_START) { in gps_state_thread()
[all …]
/hardware/libhardware_legacy/qemu/
Dqemu.c54 qemu_fd_write( int fd, const char* cmd, int len ) in qemu_fd_write() argument
58 len2 = write(fd, cmd, len); in qemu_fd_write()
280 qemu_control_send(const char* cmd, int len) in qemu_control_send() argument
293 len2 = qemu_fd_write(fd, cmd, len); in qemu_control_send()