Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc945 void handle_rc_passthrough_cmd(tBTA_AV_REMOTE_CMD* p_remote_cmd) { in handle_rc_passthrough_cmd() argument
946 if (p_remote_cmd == NULL) { in handle_rc_passthrough_cmd()
952 btif_rc_get_device_by_handle(p_remote_cmd->rc_handle); in handle_rc_passthrough_cmd()
958 log::verbose("p_remote_cmd->rc_id: {}", p_remote_cmd->rc_id); in handle_rc_passthrough_cmd()
962 if ((p_remote_cmd->rc_id == AVRC_ID_PLAY) && in handle_rc_passthrough_cmd()
964 if (p_remote_cmd->key_state == AVRC_STATE_PRESS) { in handle_rc_passthrough_cmd()
972 if ((p_remote_cmd->rc_id == AVRC_ID_PAUSE) && (p_dev->rc_pending_play)) { in handle_rc_passthrough_cmd()
978 if ((p_remote_cmd->rc_id == AVRC_ID_STOP) && in handle_rc_passthrough_cmd()
984 int pressed = (p_remote_cmd->key_state == AVRC_STATE_PRESS) ? 1 : 0; in handle_rc_passthrough_cmd()
988 p_dev->rc_features, p_remote_cmd->rc_id, pressed); in handle_rc_passthrough_cmd()
[all …]