Lines Matching refs:p_transaction
596 rc_transaction_t* p_transaction = NULL; in handle_rc_features() local
599 status = get_transaction(&p_transaction); in handle_rc_features()
601 p_transaction = get_transaction_by_lbl(p_dev->rc_vol_label); in handle_rc_features()
602 if (NULL != p_transaction) { in handle_rc_features()
608 status = get_transaction(&p_transaction); in handle_rc_features()
610 if (BT_STATUS_SUCCESS == status && NULL != p_transaction) { in handle_rc_features()
611 p_dev->rc_vol_label = p_transaction->lbl; in handle_rc_features()
2633 rc_transaction_t* p_transaction = NULL; in set_volume() local
2634 bt_status_t tran_status = get_transaction(&p_transaction); in set_volume()
2636 if (tran_status != BT_STATUS_SUCCESS || !p_transaction) { in set_volume()
2646 p_transaction->lbl); in set_volume()
2647 BTA_AvMetaCmd(btif_rc_cb.rc_multi_cb[idx].rc_handle, p_transaction->lbl, in set_volume()
2668 rc_transaction_t* p_transaction = NULL; in register_volumechange() local
2680 p_transaction = get_transaction_by_lbl(lbl); in register_volumechange()
2681 if (p_transaction != NULL) { in register_volumechange()
2682 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_NOTIF, in register_volumechange()
3016 rc_transaction_t* p_transaction = NULL; in register_for_event_notification() local
3017 bt_status_t status = get_transaction(&p_transaction); in register_for_event_notification()
3027 status = register_notification_cmd(p_transaction->lbl, p_event->event_id, in register_for_event_notification()
3032 release_transaction(p_transaction->lbl); in register_for_event_notification()
3036 btif_rc_timer_context_t* p_context = &p_transaction->txn_timer_context; in register_for_event_notification()
3037 p_event->label = p_transaction->lbl; in register_for_event_notification()
3039 p_context->rc_status_cmd.label = p_transaction->lbl; in register_for_event_notification()
3043 alarm_free(p_transaction->txn_timer); in register_for_event_notification()
3044 p_transaction->txn_timer = alarm_new("btif_rc.status_command_txn_timer"); in register_for_event_notification()
3045 alarm_set_on_mloop(p_transaction->txn_timer, BTIF_TIMEOUT_RC_INTERIM_RSP_MS, in register_for_event_notification()
3078 rc_transaction_t* p_transaction = NULL; in build_and_send_vendor_cmd() local
3079 bt_status_t tran_status = get_transaction(&p_transaction); in build_and_send_vendor_cmd()
3087 dump_rc_pdu(avrc_cmd->pdu), p_transaction->lbl); in build_and_send_vendor_cmd()
3088 BTA_AvVendorCmd(p_dev->rc_handle, p_transaction->lbl, cmd_code, data_start, in build_and_send_vendor_cmd()
3092 start_status_command_timer(avrc_cmd->pdu, p_transaction, p_dev); in build_and_send_vendor_cmd()
3094 start_control_command_timer(avrc_cmd->pdu, p_transaction, p_dev); in build_and_send_vendor_cmd()
3126 rc_transaction_t* p_transaction = NULL; in build_and_send_browsing_cmd() local
3127 bt_status_t tran_status = get_transaction(&p_transaction); in build_and_send_browsing_cmd()
3129 if (tran_status != BT_STATUS_SUCCESS || p_transaction == NULL) { in build_and_send_browsing_cmd()
3137 p_transaction->lbl); in build_and_send_browsing_cmd()
3138 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg); in build_and_send_browsing_cmd()
5228 rc_transaction_t* p_transaction = NULL; in send_groupnavigation_cmd() local
5236 bt_status_t tran_status = get_transaction(&p_transaction); in send_groupnavigation_cmd()
5237 if ((BT_STATUS_SUCCESS == tran_status) && (NULL != p_transaction)) { in send_groupnavigation_cmd()
5243 BTA_AvRemoteVendorUniqueCmd(p_dev->rc_handle, p_transaction->lbl, in send_groupnavigation_cmd()
5278 rc_transaction_t* p_transaction = NULL; in send_passthrough_cmd() local
5282 bt_status_t tran_status = get_transaction(&p_transaction); in send_passthrough_cmd()
5283 if (BT_STATUS_SUCCESS == tran_status && NULL != p_transaction) { in send_passthrough_cmd()
5284 BTA_AvRemoteCmd(p_dev->rc_handle, p_transaction->lbl, in send_passthrough_cmd()