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.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.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.h171 tBTA_HF_CLIENT_PEER_FEAT peer_features; /* peer device features */ member
Dbta_hf_client_at.cc322 client_cb->peer_features = value; in bta_hf_client_handle_brsf()
1983 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()
519 p_cb->features, p_cb->rcb[i].peer_features); in bta_av_rc_opened()
563 rc_open.peer_features = p_cb->rcb[i].peer_features; in bta_av_rc_opened()
567 p_cb->features, rc_open.peer_features); in bta_av_rc_opened()
569 if (rc_open.peer_features == 0) { in bta_av_rc_opened()
573 rc_open.peer_features |= BTA_AV_FEAT_RCTG; in bta_av_rc_opened()
575 rc_open.peer_features |= BTA_AV_FEAT_RCCT; in bta_av_rc_opened()
588 (rc_open.peer_features & BTA_AV_FEAT_BROWSE) && in bta_av_rc_opened()
1629 tBTA_AV_FEAT peer_features = 0; in bta_av_check_peer_features() local
1650 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.cc428 uint16_t peer_features = 0; in SdpCb() local
437 peer_features |= BTA_AV_FEAT_RCCT; in SdpCb()
452 peer_features |= (BTA_AV_FEAT_VENDOR | BTA_AV_FEAT_METADATA); in SdpCb()
467 peer_features |= (BTA_AV_FEAT_ADV_CTRL); in SdpCb()
473 peer_features |= (BTA_AV_FEAT_BROWSE); in SdpCb()
508 peer_features |= (BTA_AV_FEAT_ADV_CTRL); in SdpCb()
518 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.cc917 if (!((p_scb->peer_features & BTA_AG_PEER_FEAT_VOIP) && in bta_ag_at_hfp_cback()
954 (p_scb->peer_features & BTA_AG_PEER_FEAT_ECC)) in bta_ag_at_hfp_cback()
976 (p_scb->peer_features & BTA_AG_PEER_FEAT_ECC))) { in bta_ag_at_hfp_cback()
1060 (p_scb->peer_features & BTA_AG_PEER_FEAT_3WAY))) { in bta_ag_at_hfp_cback()
1097 p_scb->peer_features = (uint16_t)int_arg; in bta_ag_at_hfp_cback()
1105 p_scb->peer_features, features); in bta_ag_at_hfp_cback()
1218 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.h240 tBTA_AV_FEAT peer_features; member
267 tBTA_AV_FEAT peer_features; member
/system/bt/btif/src/
Dbtif_rc.cc685 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()
1039 p_data->rc_open.peer_features, in btif_rc_handler()
1083 p_data->rc_feat.peer_features); in btif_rc_handler()
1091 p_dev->rc_features = p_data->rc_feat.peer_features; in btif_rc_handler()