Lines Matching refs:p_remote_rsp
786 void handle_rc_passthrough_rsp(tBTA_AV_REMOTE_RSP* p_remote_rsp) { in handle_rc_passthrough_rsp() argument
789 p_dev = btif_rc_get_device_by_handle(p_remote_rsp->rc_handle); in handle_rc_passthrough_rsp()
803 const char* status = (p_remote_rsp->key_state == 1) ? "released" : "pressed"; in handle_rc_passthrough_rsp()
804 BTIF_TRACE_DEBUG("%s: rc_id: %d state: %s", __func__, p_remote_rsp->rc_id, in handle_rc_passthrough_rsp()
807 release_transaction(p_remote_rsp->label); in handle_rc_passthrough_rsp()
812 p_remote_rsp->rc_id, p_remote_rsp->key_state)); in handle_rc_passthrough_rsp()
824 void handle_rc_vendorunique_rsp(tBTA_AV_REMOTE_RSP* p_remote_rsp) { in handle_rc_vendorunique_rsp() argument
829 p_dev = btif_rc_get_device_by_handle(p_remote_rsp->rc_handle); in handle_rc_vendorunique_rsp()
838 if (p_remote_rsp->key_state == AVRC_STATE_RELEASE) { in handle_rc_vendorunique_rsp()
846 if (p_remote_rsp->len > 0) { in handle_rc_vendorunique_rsp()
847 if (p_remote_rsp->len >= AVRC_PASS_THRU_GROUP_LEN) in handle_rc_vendorunique_rsp()
848 vendor_id = p_remote_rsp->p_data[AVRC_PASS_THRU_GROUP_LEN - 1]; in handle_rc_vendorunique_rsp()
849 osi_free_and_reset((void**)&p_remote_rsp->p_data); in handle_rc_vendorunique_rsp()
854 release_transaction(p_remote_rsp->label); in handle_rc_vendorunique_rsp()