Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_rc.cc787 void handle_rc_passthrough_cmd(tBTA_AV_REMOTE_CMD* p_remote_cmd) { in handle_rc_passthrough_cmd() argument
788 if (p_remote_cmd == NULL) { in handle_rc_passthrough_cmd()
794 btif_rc_get_device_by_handle(p_remote_cmd->rc_handle); in handle_rc_passthrough_cmd()
803 p_remote_cmd->rc_id); in handle_rc_passthrough_cmd()
807 if ((p_remote_cmd->rc_id == AVRC_ID_PLAY) && (!btif_av_is_connected())) { in handle_rc_passthrough_cmd()
808 if (p_remote_cmd->key_state == AVRC_STATE_PRESS) { in handle_rc_passthrough_cmd()
817 if ((p_remote_cmd->rc_id == AVRC_ID_PAUSE) && (p_dev->rc_pending_play)) { in handle_rc_passthrough_cmd()
824 if ((p_remote_cmd->rc_id == AVRC_ID_STOP) && in handle_rc_passthrough_cmd()
830 int pressed = (p_remote_cmd->key_state == AVRC_STATE_PRESS) ? 1 : 0; in handle_rc_passthrough_cmd()
834 p_dev->rc_features, p_remote_cmd->rc_id, pressed); in handle_rc_passthrough_cmd()
[all …]