Lines Matching refs:p_remote_rsp
846 void handle_rc_passthrough_rsp(tBTA_AV_REMOTE_RSP* p_remote_rsp) { in handle_rc_passthrough_rsp() argument
849 p_dev = btif_rc_get_device_by_handle(p_remote_rsp->rc_handle); in handle_rc_passthrough_rsp()
863 const char* status = (p_remote_rsp->key_state == 1) ? "released" : "pressed"; in handle_rc_passthrough_rsp()
864 BTIF_TRACE_DEBUG("%s: rc_id: %d state: %s", __func__, p_remote_rsp->rc_id, in handle_rc_passthrough_rsp()
867 release_transaction(p_dev, p_remote_rsp->label); in handle_rc_passthrough_rsp()
872 p_remote_rsp->rc_id, p_remote_rsp->key_state)); in handle_rc_passthrough_rsp()
884 void handle_rc_vendorunique_rsp(tBTA_AV_REMOTE_RSP* p_remote_rsp) { in handle_rc_vendorunique_rsp() argument
889 p_dev = btif_rc_get_device_by_handle(p_remote_rsp->rc_handle); in handle_rc_vendorunique_rsp()
898 if (p_remote_rsp->key_state == AVRC_STATE_RELEASE) { in handle_rc_vendorunique_rsp()
906 if (p_remote_rsp->len > 0) { in handle_rc_vendorunique_rsp()
907 if (p_remote_rsp->len >= AVRC_PASS_THRU_GROUP_LEN) in handle_rc_vendorunique_rsp()
908 vendor_id = p_remote_rsp->p_data[AVRC_PASS_THRU_GROUP_LEN - 1]; in handle_rc_vendorunique_rsp()
909 osi_free_and_reset((void**)&p_remote_rsp->p_data); in handle_rc_vendorunique_rsp()
914 release_transaction(p_dev, p_remote_rsp->label); in handle_rc_vendorunique_rsp()