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.cc726 void handle_rc_passthrough_cmd(tBTA_AV_REMOTE_CMD* p_remote_cmd) { in handle_rc_passthrough_cmd() argument
727 if (p_remote_cmd == NULL) { in handle_rc_passthrough_cmd()
733 btif_rc_get_device_by_handle(p_remote_cmd->rc_handle); in handle_rc_passthrough_cmd()
742 p_remote_cmd->rc_id); in handle_rc_passthrough_cmd()
746 if ((p_remote_cmd->rc_id == AVRC_ID_PLAY) && (!btif_av_is_connected())) { in handle_rc_passthrough_cmd()
747 if (p_remote_cmd->key_state == AVRC_STATE_PRESS) { in handle_rc_passthrough_cmd()
756 if ((p_remote_cmd->rc_id == AVRC_ID_PAUSE) && (p_dev->rc_pending_play)) { in handle_rc_passthrough_cmd()
763 if ((p_remote_cmd->rc_id == AVRC_ID_STOP) && in handle_rc_passthrough_cmd()
769 int pressed = (p_remote_cmd->key_state == AVRC_STATE_PRESS) ? 1 : 0; in handle_rc_passthrough_cmd()
773 p_dev->rc_features, p_remote_cmd->rc_id, pressed); in handle_rc_passthrough_cmd()
[all …]