Lines Matching refs:rc_features
172 tBTA_AV_FEAT rc_features; member
437 if ((btif_rc_cb.rc_features & BTA_AV_FEAT_RCTG)|| in handle_rc_ctrl_features()
438 ((btif_rc_cb.rc_features & BTA_AV_FEAT_RCCT)&& in handle_rc_ctrl_features()
439 (btif_rc_cb.rc_features & BTA_AV_FEAT_ADV_CTRL))) in handle_rc_ctrl_features()
442 int rc_features = 0; in handle_rc_ctrl_features() local
445 if ((btif_rc_cb.rc_features & BTA_AV_FEAT_ADV_CTRL)&& in handle_rc_ctrl_features()
446 (btif_rc_cb.rc_features & BTA_AV_FEAT_RCCT)) in handle_rc_ctrl_features()
448 rc_features |= BTRC_FEAT_ABSOLUTE_VOLUME; in handle_rc_ctrl_features()
450 if ((btif_rc_cb.rc_features & BTA_AV_FEAT_METADATA)&& in handle_rc_ctrl_features()
451 (btif_rc_cb.rc_features & BTA_AV_FEAT_VENDOR)&& in handle_rc_ctrl_features()
454 rc_features |= BTRC_FEAT_METADATA; in handle_rc_ctrl_features()
464 BTIF_TRACE_DEBUG("%s Update rc features to CTRL %d", __FUNCTION__, rc_features); in handle_rc_ctrl_features()
465 HAL_CBACK(bt_rc_ctrl_callbacks, getrcfeatures_cb, &rc_addr, rc_features); in handle_rc_ctrl_features()
474 btrc_remote_features_t rc_features = BTRC_FEAT_NONE; in handle_rc_features() local
488 btif_rc_cb.rc_features &= ~BTA_AV_FEAT_ADV_CTRL; in handle_rc_features()
490 if (btif_rc_cb.rc_features & BTA_AV_FEAT_BROWSE) in handle_rc_features()
492 rc_features |= BTRC_FEAT_BROWSE; in handle_rc_features()
496 if ( (btif_rc_cb.rc_features & BTA_AV_FEAT_ADV_CTRL) && in handle_rc_features()
497 (btif_rc_cb.rc_features & BTA_AV_FEAT_RCTG)) in handle_rc_features()
499 rc_features |= BTRC_FEAT_ABSOLUTE_VOLUME; in handle_rc_features()
503 if (btif_rc_cb.rc_features & BTA_AV_FEAT_METADATA) in handle_rc_features()
505 rc_features |= BTRC_FEAT_METADATA; in handle_rc_features()
508 BTIF_TRACE_DEBUG("%s: rc_features=0x%x", __FUNCTION__, rc_features); in handle_rc_features()
509 HAL_CBACK(bt_rc_callbacks, remote_features_cb, &rc_addr, rc_features) in handle_rc_features()
515 if (btif_rc_cb.rc_features & BTA_AV_FEAT_ADV_CTRL && in handle_rc_features()
516 btif_rc_cb.rc_features & BTA_AV_FEAT_RCTG) in handle_rc_features()
579 btif_rc_cb.rc_features = p_rc_open->peer_features; in handle_rc_connect()
587 if (btif_rc_cb.rc_features != 0) in handle_rc_connect()
602 BTIF_TRACE_DEBUG("%s handle_rc_connect features %d ",__FUNCTION__, btif_rc_cb.rc_features); in handle_rc_connect()
611 if ((btif_rc_cb.rc_features & BTA_AV_FEAT_RCTG)|| in handle_rc_connect()
612 ((btif_rc_cb.rc_features & BTA_AV_FEAT_RCCT)&& in handle_rc_connect()
613 (btif_rc_cb.rc_features & BTA_AV_FEAT_ADV_CTRL))) in handle_rc_connect()
650 features = btif_rc_cb.rc_features; in handle_rc_disconnect()
669 btif_rc_cb.rc_features = 0; in handle_rc_disconnect()
797 if (btif_rc_cb.rc_features & BTA_AV_FEAT_RCTG) in handle_rc_passthrough_rsp()
840 if (btif_rc_cb.rc_features & BTA_AV_FEAT_RCTG) in handle_rc_vendorunique_rsp()
1057 btif_rc_cb.rc_features = p_data->rc_feat.peer_features; in btif_rc_handler()
1784 if ((btif_rc_cb.rc_features & BTA_AV_FEAT_RCTG) && in set_volume()
1785 (btif_rc_cb.rc_features & BTA_AV_FEAT_ADV_CTRL)) in set_volume()
2500 if (btif_rc_cb.rc_features & BTA_AV_FEAT_APP_SETTING) in handle_notification_response()
3940 if (btif_rc_cb.rc_features & BTA_AV_FEAT_RCTG) in send_groupnavigation_cmd()
3991 if (btif_rc_cb.rc_features & BTA_AV_FEAT_RCTG) in send_passthrough_cmd()