Lines Matching refs:rc_features

176   tBTA_AV_FEAT rc_features;  member
457 return (p_dev->rc_features & BTA_AV_FEAT_COVER_ARTWORK in get_requested_attributes_list()
463 return (p_dev->rc_features & BTA_AV_FEAT_COVER_ARTWORK in get_requested_attributes_list_size()
494 if (!(p_dev->rc_features & BTA_AV_FEAT_RCTG) && in handle_rc_ctrl_features()
495 (!(p_dev->rc_features & BTA_AV_FEAT_RCCT) || in handle_rc_ctrl_features()
496 !(p_dev->rc_features & BTA_AV_FEAT_ADV_CTRL))) { in handle_rc_ctrl_features()
500 int rc_features = 0; in handle_rc_ctrl_features() local
502 if ((p_dev->rc_features & BTA_AV_FEAT_ADV_CTRL) && in handle_rc_ctrl_features()
503 (p_dev->rc_features & BTA_AV_FEAT_RCCT)) { in handle_rc_ctrl_features()
504 rc_features |= BTRC_FEAT_ABSOLUTE_VOLUME; in handle_rc_ctrl_features()
507 if (p_dev->rc_features & BTA_AV_FEAT_METADATA) { in handle_rc_ctrl_features()
508 rc_features |= BTRC_FEAT_METADATA; in handle_rc_ctrl_features()
511 if ((p_dev->rc_features & BTA_AV_FEAT_VENDOR) && in handle_rc_ctrl_features()
524 if (p_dev->rc_features & BTA_AV_FEAT_BROWSE) { in handle_rc_ctrl_features()
525 rc_features |= BTRC_FEAT_BROWSE; in handle_rc_ctrl_features()
529 if (p_dev->rc_features & BTA_AV_FEAT_COVER_ARTWORK) { in handle_rc_ctrl_features()
530 rc_features |= BTRC_FEAT_COVER_ARTWORK; in handle_rc_ctrl_features()
533 BTIF_TRACE_DEBUG("%s: Update rc features to CTRL: %d", __func__, rc_features); in handle_rc_ctrl_features()
535 p_dev->rc_addr, rc_features)); in handle_rc_ctrl_features()
551 btrc_remote_features_t rc_features = BTRC_FEAT_NONE; in handle_rc_features() local
567 p_dev->rc_features &= ~BTA_AV_FEAT_ADV_CTRL; in handle_rc_features()
570 if (p_dev->rc_features & BTA_AV_FEAT_BROWSE) { in handle_rc_features()
571 rc_features = (btrc_remote_features_t)(rc_features | BTRC_FEAT_BROWSE); in handle_rc_features()
575 if ((p_dev->rc_features & BTA_AV_FEAT_ADV_CTRL) && in handle_rc_features()
576 (p_dev->rc_features & BTA_AV_FEAT_RCTG)) { in handle_rc_features()
577 rc_features = in handle_rc_features()
578 (btrc_remote_features_t)(rc_features | BTRC_FEAT_ABSOLUTE_VOLUME); in handle_rc_features()
582 if (p_dev->rc_features & BTA_AV_FEAT_METADATA) { in handle_rc_features()
583 rc_features = (btrc_remote_features_t)(rc_features | BTRC_FEAT_METADATA); in handle_rc_features()
586 BTIF_TRACE_DEBUG("%s: rc_features: 0x%x", __func__, rc_features); in handle_rc_features()
587 HAL_CBACK(bt_rc_callbacks, remote_features_cb, p_dev->rc_addr, rc_features); in handle_rc_features()
594 if (p_dev->rc_features & BTA_AV_FEAT_ADV_CTRL && in handle_rc_features()
595 p_dev->rc_features & BTA_AV_FEAT_RCTG) { in handle_rc_features()
685 p_dev->rc_features = p_rc_open->peer_features; in handle_rc_connect()
687 __func__, p_rc_open->peer_features, p_dev->rc_features); in handle_rc_connect()
699 if (p_dev->rc_features != 0 && bt_rc_callbacks != NULL) { in handle_rc_connect()
763 p_dev->rc_features = 0; in handle_rc_disconnect()
834 p_dev->rc_features, p_remote_cmd->rc_id, pressed); in handle_rc_passthrough_cmd()
858 if (!(p_dev->rc_features & BTA_AV_FEAT_RCTG)) { in handle_rc_passthrough_rsp()
897 if (p_dev->rc_features & BTA_AV_FEAT_RCTG) { in handle_rc_vendorunique_rsp()
1091 p_dev->rc_features = p_data->rc_feat.peer_features; in btif_rc_handler()
2608 if ((btif_rc_cb.rc_multi_cb[idx].rc_features & BTA_AV_FEAT_RCTG) == 0) { in set_volume()
2613 if (!(btif_rc_cb.rc_multi_cb[idx].rc_features & BTA_AV_FEAT_ADV_CTRL)) in set_volume()
2752 p_dev->rc_features &= ~BTA_AV_FEAT_ADV_CTRL; in handle_rc_metamsg_rsp()
3344 if (p_dev->rc_features & BTA_AV_FEAT_APP_SETTING) { in handle_notification_response()
4033 (p_dev->rc_features & BTA_AV_FEAT_APP_SETTING)) { in handle_get_folder_items_response()
5235 if (p_dev->rc_features & BTA_AV_FEAT_RCTG) { in send_groupnavigation_cmd()
5281 if (p_dev->rc_features & BTA_AV_FEAT_RCTG) { in send_passthrough_cmd()