Home
last modified time | relevance | path

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

/system/bt/bta/hf_client/
Dbta_hf_client_sdp.cc254 if (client_cb->peer_features == 0) { in bta_hf_client_sdp_find_attr()
255 client_cb->peer_features = p_attr->attr_value.v.u16; in bta_hf_client_sdp_find_attr()
258 if (client_cb->peer_features & 0x0020) { in bta_hf_client_sdp_find_attr()
259 client_cb->peer_features &= ~0x0020; in bta_hf_client_sdp_find_attr()
260 client_cb->peer_features |= BTA_HF_CLIENT_PEER_CODEC; in bta_hf_client_sdp_find_attr()
267 client_cb->peer_features |= BTA_HF_CLIENT_PEER_REJECT; in bta_hf_client_sdp_find_attr()
279 client_cb->peer_version, client_cb->peer_features); in bta_hf_client_sdp_find_attr()
Dbta_hf_client_act.cc223 client_cb->peer_features = 0; in bta_hf_client_rfc_fail()
454 evt.conn.peer_feat = client_cb->peer_features; in bta_hf_client_svc_conn_open()
Dbta_hf_client_main.cc821 (client_cb->peer_features & BTA_HF_CLIENT_PEER_CODEC)) { in bta_hf_client_slc_seq()
842 if (client_cb->peer_features & BTA_HF_CLIENT_PEER_FEAT_3WAY && in bta_hf_client_slc_seq()
Dbta_hf_client_int.h169 tBTA_HF_CLIENT_PEER_FEAT peer_features; /* peer device features */ member
Dbta_hf_client_at.cc323 client_cb->peer_features = value; in bta_hf_client_handle_brsf()
1944 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.cc364 p_rcb->peer_features = 0; in bta_av_rc_create()
518 p_cb->features, p_cb->rcb[i].peer_features); in bta_av_rc_opened()
562 rc_open.peer_features = p_cb->rcb[i].peer_features; in bta_av_rc_opened()
565 p_cb->features, rc_open.peer_features); in bta_av_rc_opened()
566 if (rc_open.peer_features == 0) { in bta_av_rc_opened()
570 rc_open.peer_features |= BTA_AV_FEAT_RCTG; in bta_av_rc_opened()
572 rc_open.peer_features |= BTA_AV_FEAT_RCCT; in bta_av_rc_opened()
585 (rc_open.peer_features & BTA_AV_FEAT_BROWSE) && in bta_av_rc_opened()
1620 tBTA_AV_FEAT peer_features = 0; in bta_av_check_peer_features() local
1641 peer_features |= BTA_AV_FEAT_RCCT; in bta_av_check_peer_features()
[all …]
Dbta_av_int.h573 tBTA_AV_FEAT peer_features; /* peer features mask */ member
/system/bt/profile/avrcp/
Dconnection_handler.cc424 uint16_t peer_features = 0; in SdpCb() local
433 peer_features |= BTA_AV_FEAT_RCCT; in SdpCb()
448 peer_features |= (BTA_AV_FEAT_VENDOR | BTA_AV_FEAT_METADATA); in SdpCb()
463 peer_features |= (BTA_AV_FEAT_ADV_CTRL); in SdpCb()
469 peer_features |= (BTA_AV_FEAT_BROWSE); in SdpCb()
504 peer_features |= (BTA_AV_FEAT_ADV_CTRL); in SdpCb()
514 cb.Run(status, peer_avrcp_version, peer_features); in SdpCb()
/system/bt/bta/ag/
Dbta_ag_sdp.cc389 if (p_scb->peer_features == 0) { in bta_ag_sdp_find_attr()
390 p_scb->peer_features = sdp_features & HFP_SDP_BRSF_FEATURES_MASK; in bta_ag_sdp_find_attr()
402 p_scb->peer_features |= BTA_AG_PEER_FEAT_VOL; in bta_ag_sdp_find_attr()
404 p_scb->peer_features &= ~BTA_AG_PEER_FEAT_VOL; in bta_ag_sdp_find_attr()
Dbta_ag_cmd.cc918 if (!((p_scb->peer_features & BTA_AG_PEER_FEAT_VOIP) && in bta_ag_at_hfp_cback()
955 (p_scb->peer_features & BTA_AG_PEER_FEAT_ECC)) in bta_ag_at_hfp_cback()
977 (p_scb->peer_features & BTA_AG_PEER_FEAT_ECC))) { in bta_ag_at_hfp_cback()
1061 (p_scb->peer_features & BTA_AG_PEER_FEAT_3WAY))) { in bta_ag_at_hfp_cback()
1098 p_scb->peer_features = (uint16_t)int_arg; in bta_ag_at_hfp_cback()
1106 p_scb->peer_features, features); in bta_ag_at_hfp_cback()
1219 if ((p_scb->peer_features & BTA_AG_PEER_FEAT_CODEC) && in bta_ag_at_hfp_cback()
Dbta_ag_sco.cc422 (!(p_scb->peer_features & BTA_AG_PEER_FEAT_ESCO))) { in bta_ag_create_sco()
493 (!(p_scb->peer_features & BTA_AG_PEER_FEAT_ESCO))) { in bta_ag_create_pending_sco()
520 (!(p_scb->peer_features & BTA_AG_PEER_FEAT_ESCO))) { in bta_ag_create_pending_sco()
584 !(p_scb->peer_features & BTA_AG_PEER_FEAT_CODEC)) { in bta_ag_codec_negotiate()
589 (p_scb->peer_features & BTA_AG_PEER_FEAT_CODEC)) { in bta_ag_codec_negotiate()
Dbta_ag_act.cc334 p_scb->peer_features = 0; in bta_ag_rfc_fail()
368 p_scb->peer_features = 0; in bta_ag_rfc_close()
776 evt.peer_feat = p_scb->peer_features; in bta_ag_svc_conn_open()
Dbta_ag_int.h205 tBTA_AG_PEER_FEAT peer_features; /* peer device features */ member
/system/bt/bta/include/
Dbta_av_api.h237 tBTA_AV_FEAT peer_features; member
264 tBTA_AV_FEAT peer_features; member
/system/bt/btif/src/
Dbtif_rc.cc631 p_dev->rc_features = p_rc_open->peer_features; in handle_rc_connect()
633 __func__, p_rc_open->peer_features, p_dev->rc_features); in handle_rc_connect()
978 p_data->rc_open.peer_features); in btif_rc_handler()
1021 p_data->rc_feat.peer_features); in btif_rc_handler()
1029 p_dev->rc_features = p_data->rc_feat.peer_features; in btif_rc_handler()