Lines Matching refs:p_transaction
518 rc_transaction_t *p_transaction=NULL; in handle_rc_features() local
522 status=get_transaction(&p_transaction); in handle_rc_features()
526 p_transaction=get_transaction_by_lbl(btif_rc_cb.rc_vol_label); in handle_rc_features()
527 if (NULL!=p_transaction) in handle_rc_features()
534 status=get_transaction(&p_transaction); in handle_rc_features()
537 if (BT_STATUS_SUCCESS == status && NULL!=p_transaction) in handle_rc_features()
539 btif_rc_cb.rc_vol_label=p_transaction->lbl; in handle_rc_features()
1775 rc_transaction_t *p_transaction=NULL; in set_volume() local
1798 bt_status_t tran_status=get_transaction(&p_transaction); in set_volume()
1799 if (BT_STATUS_SUCCESS == tran_status && NULL!=p_transaction) in set_volume()
1802 __FUNCTION__,p_transaction->lbl); in set_volume()
1803 BTA_AvMetaCmd(btif_rc_cb.rc_handle,p_transaction->lbl, AVRC_CMD_CTRL, p_msg); in set_volume()
1842 rc_transaction_t *p_transaction=NULL; in register_volumechange() local
1854 p_transaction = get_transaction_by_lbl(lbl); in register_volumechange()
1855 if (p_transaction != NULL) { in register_volumechange()
1856 BTA_AvMetaCmd(btif_rc_cb.rc_handle, p_transaction->lbl, in register_volumechange()
2248 rc_transaction_t *p_transaction; in register_for_event_notification() local
2250 status = get_transaction(&p_transaction); in register_for_event_notification()
2253 btif_rc_timer_context_t *p_context = &p_transaction->txn_timer_context; in register_for_event_notification()
2255 status = register_notification_cmd (p_transaction->lbl, p_event->event_id, 0); in register_for_event_notification()
2260 release_transaction (p_transaction->lbl); in register_for_event_notification()
2263 p_event->label = p_transaction->lbl; in register_for_event_notification()
2265 p_context->rc_status_cmd.label = p_transaction->lbl; in register_for_event_notification()
2268 alarm_free(p_transaction->txn_timer); in register_for_event_notification()
2269 p_transaction->txn_timer = in register_for_event_notification()
2271 alarm_set_on_queue(p_transaction->txn_timer, in register_for_event_notification()
3295 rc_transaction_t *p_transaction = NULL; in getcapabilities_cmd() local
3299 bt_status_t tran_status=get_transaction(&p_transaction); in getcapabilities_cmd()
3314 __FUNCTION__,p_transaction->lbl); in getcapabilities_cmd()
3315 BTA_AvVendorCmd(btif_rc_cb.rc_handle,p_transaction->lbl,AVRC_CMD_STATUS, in getcapabilities_cmd()
3318 start_status_command_timer (AVRC_PDU_GET_CAPABILITIES, p_transaction); in getcapabilities_cmd()
3344 rc_transaction_t *p_transaction = NULL; in list_player_app_setting_attrib_cmd() local
3348 bt_status_t tran_status=get_transaction(&p_transaction); in list_player_app_setting_attrib_cmd()
3362 __FUNCTION__,p_transaction->lbl); in list_player_app_setting_attrib_cmd()
3363 BTA_AvVendorCmd(btif_rc_cb.rc_handle,p_transaction->lbl,AVRC_CMD_STATUS, in list_player_app_setting_attrib_cmd()
3366 start_status_command_timer (AVRC_PDU_LIST_PLAYER_APP_ATTR, p_transaction); in list_player_app_setting_attrib_cmd()
3393 rc_transaction_t *p_transaction=NULL; in list_player_app_setting_value_cmd() local
3397 bt_status_t tran_status=get_transaction(&p_transaction); in list_player_app_setting_value_cmd()
3412 __FUNCTION__,p_transaction->lbl); in list_player_app_setting_value_cmd()
3413 BTA_AvVendorCmd(btif_rc_cb.rc_handle,p_transaction->lbl,AVRC_CMD_STATUS, in list_player_app_setting_value_cmd()
3416 start_status_command_timer (AVRC_PDU_LIST_PLAYER_APP_VALUES, p_transaction); in list_player_app_setting_value_cmd()
3441 rc_transaction_t *p_transaction = NULL; in get_player_app_setting_cmd() local
3446 bt_status_t tran_status=get_transaction(&p_transaction); in get_player_app_setting_cmd()
3466 __FUNCTION__,p_transaction->lbl); in get_player_app_setting_cmd()
3467 BTA_AvVendorCmd(btif_rc_cb.rc_handle,p_transaction->lbl,AVRC_CMD_STATUS, in get_player_app_setting_cmd()
3470 start_status_command_timer (AVRC_PDU_GET_CUR_PLAYER_APP_VALUE, p_transaction); in get_player_app_setting_cmd()
3496 rc_transaction_t *p_transaction = NULL; in change_player_app_setting() local
3501 bt_status_t tran_status=get_transaction(&p_transaction); in change_player_app_setting()
3523 __FUNCTION__,p_transaction->lbl); in change_player_app_setting()
3524 BTA_AvVendorCmd(btif_rc_cb.rc_handle,p_transaction->lbl,AVRC_CMD_CTRL, in change_player_app_setting()
3527 start_control_command_timer (AVRC_PDU_SET_PLAYER_APP_VALUE, p_transaction); in change_player_app_setting()
3554 rc_transaction_t *p_transaction = NULL; in get_player_app_setting_attr_text_cmd() local
3564 tran_status = get_transaction(&p_transaction); in get_player_app_setting_attr_text_cmd()
3581 __FUNCTION__, p_transaction->lbl); in get_player_app_setting_attr_text_cmd()
3582 BTA_AvVendorCmd(btif_rc_cb.rc_handle, p_transaction->lbl, in get_player_app_setting_attr_text_cmd()
3586 start_status_command_timer (AVRC_PDU_GET_PLAYER_APP_ATTR_TEXT, p_transaction); in get_player_app_setting_attr_text_cmd()
3611 rc_transaction_t *p_transaction = NULL; in get_player_app_setting_value_text_cmd() local
3621 tran_status = get_transaction(&p_transaction); in get_player_app_setting_value_text_cmd()
3638 __FUNCTION__, p_transaction->lbl); in get_player_app_setting_value_text_cmd()
3641 BTA_AvVendorCmd(btif_rc_cb.rc_handle, p_transaction->lbl, in get_player_app_setting_value_text_cmd()
3644 start_status_command_timer (AVRC_PDU_GET_PLAYER_APP_VALUE_TEXT, p_transaction); in get_player_app_setting_value_text_cmd()
3722 rc_transaction_t *p_transaction=NULL; in get_element_attribute_cmd() local
3733 tran_status = get_transaction(&p_transaction); in get_element_attribute_cmd()
3751 __FUNCTION__, p_transaction->lbl); in get_element_attribute_cmd()
3754 BTA_AvVendorCmd(btif_rc_cb.rc_handle, p_transaction->lbl, in get_element_attribute_cmd()
3758 p_transaction); in get_element_attribute_cmd()
3785 rc_transaction_t *p_transaction = NULL; in get_play_status_cmd() local
3793 tran_status = get_transaction(&p_transaction); in get_play_status_cmd()
3805 __FUNCTION__, p_transaction->lbl); in get_play_status_cmd()
3808 BTA_AvVendorCmd(btif_rc_cb.rc_handle,p_transaction->lbl, in get_play_status_cmd()
3811 start_status_command_timer (AVRC_PDU_GET_PLAY_STATUS, p_transaction); in get_play_status_cmd()
3936 rc_transaction_t *p_transaction=NULL; in send_groupnavigation_cmd() local
3942 bt_status_t tran_status = get_transaction(&p_transaction); in send_groupnavigation_cmd()
3943 if ((BT_STATUS_SUCCESS == tran_status) && (NULL != p_transaction)) { in send_groupnavigation_cmd()
3950 p_transaction->lbl, in send_groupnavigation_cmd()
3988 rc_transaction_t *p_transaction=NULL; in send_passthrough_cmd() local
3993 bt_status_t tran_status = get_transaction(&p_transaction); in send_passthrough_cmd()
3994 if (BT_STATUS_SUCCESS == tran_status && NULL != p_transaction) in send_passthrough_cmd()
3996 BTA_AvRemoteCmd(btif_rc_cb.rc_handle, p_transaction->lbl, in send_passthrough_cmd()