Lines Matching refs:p_transaction
620 rc_transaction_t* p_transaction = NULL; in handle_rc_features() local
623 status = get_transaction(p_dev, &p_transaction); in handle_rc_features()
625 p_transaction = get_transaction_by_lbl(p_dev, p_dev->rc_vol_label); in handle_rc_features()
626 if (NULL != p_transaction) { in handle_rc_features()
632 status = get_transaction(p_dev, &p_transaction); in handle_rc_features()
634 if (BT_STATUS_SUCCESS == status && NULL != p_transaction) { in handle_rc_features()
635 p_dev->rc_vol_label = p_transaction->lbl; in handle_rc_features()
2623 rc_transaction_t* p_transaction = NULL; in set_volume() local
2624 bt_status_t tran_status = get_transaction(p_dev, &p_transaction); in set_volume()
2626 if (tran_status != BT_STATUS_SUCCESS || !p_transaction) { in set_volume()
2636 p_transaction->lbl); in set_volume()
2637 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg); in set_volume()
2657 rc_transaction_t* p_transaction = NULL; in register_volumechange() local
2669 p_transaction = get_transaction_by_lbl(p_dev, lbl); in register_volumechange()
2670 if (p_transaction != NULL) { in register_volumechange()
2671 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_NOTIF, in register_volumechange()
3011 rc_transaction_t* p_transaction = NULL; in register_for_event_notification() local
3012 bt_status_t status = get_transaction(p_dev, &p_transaction); in register_for_event_notification()
3022 status = register_notification_cmd(p_transaction->lbl, p_event->event_id, in register_for_event_notification()
3027 release_transaction(p_dev, p_transaction->lbl); in register_for_event_notification()
3031 btif_rc_timer_context_t* p_context = &p_transaction->txn_timer_context; in register_for_event_notification()
3032 p_event->label = p_transaction->lbl; in register_for_event_notification()
3034 p_context->rc_status_cmd.label = p_transaction->lbl; in register_for_event_notification()
3038 alarm_free(p_transaction->txn_timer); in register_for_event_notification()
3039 p_transaction->txn_timer = alarm_new("btif_rc.status_command_txn_timer"); in register_for_event_notification()
3040 alarm_set_on_mloop(p_transaction->txn_timer, BTIF_TIMEOUT_RC_INTERIM_RSP_MS, in register_for_event_notification()
3073 rc_transaction_t* p_transaction = NULL; in build_and_send_vendor_cmd() local
3074 bt_status_t tran_status = get_transaction(p_dev, &p_transaction); in build_and_send_vendor_cmd()
3082 dump_rc_pdu(avrc_cmd->pdu), p_transaction->lbl); in build_and_send_vendor_cmd()
3083 BTA_AvVendorCmd(p_dev->rc_handle, p_transaction->lbl, cmd_code, data_start, in build_and_send_vendor_cmd()
3087 start_status_command_timer(avrc_cmd->pdu, p_transaction, p_dev); in build_and_send_vendor_cmd()
3089 start_control_command_timer(avrc_cmd->pdu, p_transaction, p_dev); in build_and_send_vendor_cmd()
3121 rc_transaction_t* p_transaction = NULL; in build_and_send_browsing_cmd() local
3122 bt_status_t tran_status = get_transaction(p_dev, &p_transaction); in build_and_send_browsing_cmd()
3124 if (tran_status != BT_STATUS_SUCCESS || p_transaction == NULL) { in build_and_send_browsing_cmd()
3132 p_transaction->lbl); in build_and_send_browsing_cmd()
3133 BTA_AvMetaCmd(p_dev->rc_handle, p_transaction->lbl, AVRC_CMD_CTRL, p_msg); in build_and_send_browsing_cmd()
5234 rc_transaction_t* p_transaction = NULL; in send_groupnavigation_cmd() local
5242 bt_status_t tran_status = get_transaction(p_dev, &p_transaction); in send_groupnavigation_cmd()
5243 if ((BT_STATUS_SUCCESS == tran_status) && (NULL != p_transaction)) { in send_groupnavigation_cmd()
5249 BTA_AvRemoteVendorUniqueCmd(p_dev->rc_handle, p_transaction->lbl, in send_groupnavigation_cmd()
5284 rc_transaction_t* p_transaction = NULL; in send_passthrough_cmd() local
5288 bt_status_t tran_status = get_transaction(p_dev, &p_transaction); in send_passthrough_cmd()
5289 if (BT_STATUS_SUCCESS == tran_status && NULL != p_transaction) { in send_passthrough_cmd()
5290 BTA_AvRemoteCmd(p_dev->rc_handle, p_transaction->lbl, in send_passthrough_cmd()