Home
last modified time | relevance | path

Searched refs:peer_features (Results 1 – 16 of 16) sorted by relevance

/system/bt/bta/hf_client/
Dbta_hf_client_sdp.cc258 if (client_cb->peer_features == 0) { in bta_hf_client_sdp_find_attr()
259 client_cb->peer_features = p_attr->attr_value.v.u16; in bta_hf_client_sdp_find_attr()
262 if (client_cb->peer_features & 0x0020) { in bta_hf_client_sdp_find_attr()
263 client_cb->peer_features &= ~0x0020; in bta_hf_client_sdp_find_attr()
264 client_cb->peer_features |= BTA_HF_CLIENT_PEER_CODEC; in bta_hf_client_sdp_find_attr()
271 client_cb->peer_features |= BTA_HF_CLIENT_PEER_REJECT; in bta_hf_client_sdp_find_attr()
283 client_cb->peer_version, client_cb->peer_features); in bta_hf_client_sdp_find_attr()
Dbta_hf_client_act.cc218 client_cb->peer_features = 0; in bta_hf_client_rfc_fail()
449 evt.conn.peer_feat = client_cb->peer_features; in bta_hf_client_svc_conn_open()
Dbta_hf_client_main.cc818 (client_cb->peer_features & BTA_HF_CLIENT_PEER_CODEC)) { in bta_hf_client_slc_seq()
839 if (client_cb->peer_features & BTA_HF_CLIENT_PEER_FEAT_3WAY && in bta_hf_client_slc_seq()
843 client_cb->peer_features & BTA_HF_CLIENT_PEER_HF_IND) { in bta_hf_client_slc_seq()
855 client_cb->peer_features & BTA_HF_CLIENT_PEER_HF_IND) { in bta_hf_client_slc_seq()
Dbta_hf_client_int.h174 tBTA_HF_CLIENT_PEER_FEAT peer_features; /* peer device features */ member
Dbta_hf_client_sco.cc245 (client_cb->peer_features & BTA_HF_CLIENT_PEER_ESCO_S4)) { in bta_hf_client_sco_create()
Dbta_hf_client_at.cc324 client_cb->peer_features = value; in bta_hf_client_handle_brsf()
1852 if ((client_cb->peer_features & BTA_HF_CLIENT_FEAT_HF_IND) == 0) { in bta_hf_client_send_at_biev()
2093 if (!(client_cb->peer_features & BTA_HF_CLIENT_PEER_FEAT_ECNR)) { in bta_hf_client_send_at_nrec()
/system/bt/bta/av/
Dbta_av_act.cc358 p_rcb->peer_features = 0; in bta_av_rc_create()
513 p_cb->features, p_cb->rcb[i].peer_features); in bta_av_rc_opened()
557 rc_open.peer_features = p_cb->rcb[i].peer_features; in bta_av_rc_opened()
561 p_cb->features, rc_open.peer_features); in bta_av_rc_opened()
563 if (rc_open.peer_features == 0) { in bta_av_rc_opened()
567 rc_open.peer_features |= BTA_AV_FEAT_RCTG; in bta_av_rc_opened()
569 rc_open.peer_features |= BTA_AV_FEAT_RCCT; in bta_av_rc_opened()
582 (rc_open.peer_features & BTA_AV_FEAT_BROWSE) && in bta_av_rc_opened()
1632 tBTA_AV_FEAT peer_features = 0; in bta_av_check_peer_features() local
1653 peer_features |= BTA_AV_FEAT_RCCT; in bta_av_check_peer_features()
[all …]
Dbta_av_int.h598 tBTA_AV_FEAT peer_features; /* peer features mask */ member
/system/bt/profile/avrcp/
Dconnection_handler.cc442 uint16_t peer_features = 0; in SdpCb() local
451 peer_features |= BTA_AV_FEAT_RCCT; in SdpCb()
466 peer_features |= (BTA_AV_FEAT_VENDOR | BTA_AV_FEAT_METADATA); in SdpCb()
481 peer_features |= (BTA_AV_FEAT_ADV_CTRL); in SdpCb()
487 peer_features |= (BTA_AV_FEAT_BROWSE); in SdpCb()
522 peer_features |= (BTA_AV_FEAT_ADV_CTRL); in SdpCb()
532 cb.Run(status, peer_avrcp_version, peer_features); in SdpCb()
/system/bt/bta/ag/
Dbta_ag_sdp.cc386 if (p_scb->peer_features == 0) { in bta_ag_sdp_find_attr()
387 p_scb->peer_features = sdp_features & HFP_SDP_BRSF_FEATURES_MASK; in bta_ag_sdp_find_attr()
399 p_scb->peer_features |= BTA_AG_PEER_FEAT_VOL; in bta_ag_sdp_find_attr()
401 p_scb->peer_features &= ~BTA_AG_PEER_FEAT_VOL; in bta_ag_sdp_find_attr()
Dbta_ag_cmd.cc931 if (!((p_scb->peer_features & BTA_AG_PEER_FEAT_VOIP) && in bta_ag_at_hfp_cback()
968 (p_scb->peer_features & BTA_AG_PEER_FEAT_ECC)) in bta_ag_at_hfp_cback()
983 (p_scb->peer_features & BTA_AG_PEER_FEAT_HF_IND))) { in bta_ag_at_hfp_cback()
1003 (p_scb->peer_features & BTA_AG_PEER_FEAT_ECC))) { in bta_ag_at_hfp_cback()
1088 (p_scb->peer_features & BTA_AG_PEER_FEAT_3WAY)) && in bta_ag_at_hfp_cback()
1090 (p_scb->peer_features & BTA_AG_PEER_FEAT_HF_IND))) { in bta_ag_at_hfp_cback()
1127 p_scb->peer_features = (uint16_t)int_arg; in bta_ag_at_hfp_cback()
1134 p_scb->peer_features, p_scb->masked_features); in bta_ag_at_hfp_cback()
1247 if ((p_scb->peer_features & BTA_AG_PEER_FEAT_CODEC) && in bta_ag_at_hfp_cback()
Dbta_ag_sco.cc408 (p_scb->peer_features & BTA_AG_PEER_FEAT_ESCO_S4)) { in bta_ag_create_sco()
476 (p_scb->peer_features & BTA_AG_PEER_FEAT_ESCO_S4)) { in bta_ag_create_pending_sco()
509 (p_scb->peer_features & BTA_AG_PEER_FEAT_ESCO_S4)) { in bta_ag_create_pending_sco()
574 !(p_scb->peer_features & BTA_AG_PEER_FEAT_CODEC)) { in bta_ag_codec_negotiate()
580 (p_scb->peer_features & BTA_AG_PEER_FEAT_CODEC)) { in bta_ag_codec_negotiate()
Dbta_ag_act.cc330 p_scb->peer_features = 0; in bta_ag_rfc_fail()
364 p_scb->peer_features = 0; in bta_ag_rfc_close()
773 evt.peer_feat = p_scb->peer_features; in bta_ag_svc_conn_open()
Dbta_ag_int.h210 tBTA_AG_PEER_FEAT peer_features; /* peer device features */ member
/system/bt/bta/include/
Dbta_av_api.h234 tBTA_AV_FEAT peer_features; member
261 tBTA_AV_FEAT peer_features; member
/system/bt/btif/src/
Dbtif_rc.cc710 p_dev->rc_features = p_rc_open->peer_features; in handle_rc_connect()
712 __func__, p_rc_open->peer_features, p_dev->rc_features); in handle_rc_connect()
1038 p_data->rc_open.peer_features, in btif_rc_handler()
1082 p_data->rc_feat.peer_features); in btif_rc_handler()
1090 p_dev->rc_features = p_data->rc_feat.peer_features; in btif_rc_handler()