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.cc728 void handle_rc_passthrough_cmd(tBTA_AV_REMOTE_CMD* p_remote_cmd) { in handle_rc_passthrough_cmd() argument
729 if (p_remote_cmd == NULL) { in handle_rc_passthrough_cmd()
735 btif_rc_get_device_by_handle(p_remote_cmd->rc_handle); in handle_rc_passthrough_cmd()
744 p_remote_cmd->rc_id); in handle_rc_passthrough_cmd()
748 if ((p_remote_cmd->rc_id == AVRC_ID_PLAY) && (!btif_av_is_connected())) { in handle_rc_passthrough_cmd()
749 if (p_remote_cmd->key_state == AVRC_STATE_PRESS) { in handle_rc_passthrough_cmd()
758 if ((p_remote_cmd->rc_id == AVRC_ID_PAUSE) && (p_dev->rc_pending_play)) { in handle_rc_passthrough_cmd()
765 if ((p_remote_cmd->rc_id == AVRC_ID_STOP) && in handle_rc_passthrough_cmd()
771 int pressed = (p_remote_cmd->key_state == AVRC_STATE_PRESS) ? 1 : 0; in handle_rc_passthrough_cmd()
775 p_dev->rc_features, p_remote_cmd->rc_id, pressed); in handle_rc_passthrough_cmd()
[all …]