Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/test/
Dbta_ag_sco_test.cc64 .peer_features = peer_feature, in TEST_P()
72 (scb.peer_features & BTA_AG_PEER_FEAT_ESCO_S4)) { in TEST_P()
86 .peer_features = peer_feature, in TEST_P()
100 (scb.peer_features & BTA_AG_PEER_FEAT_ESCO_S4)) { in TEST_P()
110 tBTA_AG_PEER_FEAT peer_features[] = {0, BTA_AG_PEER_FEAT_ESCO_S4}; in BtaAgScoParameterSelectionTestParameters() local
115 for (auto j : peer_features) { in BtaAgScoParameterSelectionTestParameters()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_act.cc398 p_rcb->peer_features = 0; in bta_av_rc_create()
552 p_cb->rcb[i].peer_features); in bta_av_rc_opened()
595 rc_open.peer_features = p_cb->rcb[i].peer_features; in bta_av_rc_opened()
599 rc_open.peer_features = p_cb->rc_feature.peer_features; in bta_av_rc_opened()
603 rc_open.peer_features = p_cb->rcb[i].peer_features; in bta_av_rc_opened()
611 p_cb->features, rc_open.peer_features, rc_open.peer_ct_features, in bta_av_rc_opened()
613 if (rc_open.peer_features == 0 && rc_open.peer_ct_features == 0 && in bta_av_rc_opened()
622 rc_open.peer_features |= BTA_AV_FEAT_RCCT; in bta_av_rc_opened()
644 rc_open.peer_features); in bta_av_rc_opened()
646 if (rc_open.peer_features == 0) { in bta_av_rc_opened()
[all …]
Dbta_av_int.h625 tBTA_AV_FEAT peer_features; /* peer features mask */ member
/packages/modules/Bluetooth/system/bta/hf_client/
Dbta_hf_client_sdp.cc282 if (client_cb->peer_features == 0) { in bta_hf_client_sdp_find_attr()
283 client_cb->peer_features = p_attr->attr_value.v.u16; in bta_hf_client_sdp_find_attr()
286 if (client_cb->peer_features & 0x0020) { in bta_hf_client_sdp_find_attr()
287 client_cb->peer_features &= ~0x0020; in bta_hf_client_sdp_find_attr()
288 client_cb->peer_features |= BTA_HF_CLIENT_PEER_CODEC; in bta_hf_client_sdp_find_attr()
298 client_cb->peer_features |= BTA_HF_CLIENT_PEER_REJECT; in bta_hf_client_sdp_find_attr()
310 client_cb->peer_version, client_cb->peer_features); in bta_hf_client_sdp_find_attr()
Dbta_hf_client_main.cc826 (client_cb->peer_features & BTA_HF_CLIENT_PEER_CODEC)) { in bta_hf_client_slc_seq()
847 if (client_cb->peer_features & BTA_HF_CLIENT_PEER_FEAT_3WAY && in bta_hf_client_slc_seq()
851 client_cb->peer_features & BTA_HF_CLIENT_PEER_HF_IND) { in bta_hf_client_slc_seq()
863 client_cb->peer_features & BTA_HF_CLIENT_PEER_HF_IND) { in bta_hf_client_slc_seq()
Dbta_hf_client_act.cc222 client_cb->peer_features = 0; in bta_hf_client_rfc_fail()
446 evt.conn.peer_feat = client_cb->peer_features; in bta_hf_client_svc_conn_open()
Dbta_hf_client_int.h177 tBTA_HF_CLIENT_PEER_FEAT peer_features; /* peer device features */ member
Dbta_hf_client_sco.cc249 (client_cb->peer_features & BTA_HF_CLIENT_PEER_ESCO_S4)) { in bta_hf_client_sco_create()
Dbta_hf_client_at.cc356 client_cb->peer_features = value; in bta_hf_client_handle_brsf()
1920 if ((client_cb->peer_features & BTA_HF_CLIENT_FEAT_HF_IND) == 0) { in bta_hf_client_send_at_biev()
2161 if (!(client_cb->peer_features & BTA_HF_CLIENT_PEER_FEAT_ECNR)) { in bta_hf_client_send_at_nrec()
/packages/modules/Bluetooth/system/profile/avrcp/
Dconnection_handler.cc500 uint16_t peer_features = 0; in SdpCb() local
508 peer_features |= BTA_AV_FEAT_RCCT; in SdpCb()
522 peer_features |= (BTA_AV_FEAT_VENDOR | BTA_AV_FEAT_METADATA); in SdpCb()
537 peer_features |= (BTA_AV_FEAT_ADV_CTRL); in SdpCb()
542 peer_features |= (BTA_AV_FEAT_BROWSE); in SdpCb()
579 peer_features |= (BTA_AV_FEAT_ADV_CTRL); in SdpCb()
589 cb.Run(status, peer_avrcp_version, peer_features); in SdpCb()
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_sdp.cc429 if (p_scb->peer_features == 0) { in bta_ag_sdp_find_attr()
430 p_scb->peer_features = sdp_features & HFP_SDP_BRSF_FEATURES_MASK; in bta_ag_sdp_find_attr()
454 p_scb->peer_features |= BTA_AG_PEER_FEAT_VOL; in bta_ag_sdp_find_attr()
456 p_scb->peer_features &= ~BTA_AG_PEER_FEAT_VOL; in bta_ag_sdp_find_attr()
Dbta_ag_cmd.cc932 if (!((p_scb->peer_features & BTA_AG_PEER_FEAT_VOIP) && in bta_ag_at_hfp_cback()
969 (p_scb->peer_features & BTA_AG_PEER_FEAT_ECC)) in bta_ag_at_hfp_cback()
984 (p_scb->peer_features & BTA_AG_PEER_FEAT_HF_IND))) { in bta_ag_at_hfp_cback()
1004 (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()
1133 log::verbose("BRSF HF: 0x{:x}, phone: 0x{:x}", p_scb->peer_features, in bta_ag_at_hfp_cback()
1248 if ((p_scb->peer_features & BTA_AG_PEER_FEAT_CODEC) && in bta_ag_at_hfp_cback()
Dbta_ag_act.cc360 p_scb->peer_features = 0; in bta_ag_rfc_fail()
394 p_scb->peer_features = 0; in bta_ag_rfc_close()
840 evt.peer_feat = p_scb->peer_features; in bta_ag_svc_conn_open()
Dbta_ag_sco.cc533 (p_scb->peer_features & BTA_AG_PEER_FEAT_ESCO_S4)) { in bta_ag_create_sco()
689 !(p_scb->peer_features & BTA_AG_PEER_FEAT_CODEC)) { in bta_ag_codec_negotiate()
705 (p_scb->peer_features & BTA_AG_PEER_FEAT_CODEC)) || in bta_ag_codec_negotiate()
1554 (p_scb->peer_features & BTA_AG_PEER_FEAT_ESCO_S4)) { in bta_ag_sco_conn_rsp()
Dbta_ag_int.h262 tBTA_AG_PEER_FEAT peer_features; /* peer device features */ member
/packages/modules/Bluetooth/system/bta/include/
Dbta_av_api.h241 tBTA_AV_FEAT peer_features; member
270 tBTA_AV_FEAT peer_features; member
/packages/modules/Bluetooth/system/btif/test/
Dbtif_rc_test.cc408 .peer_features = 0, in TEST_F()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc865 p_dev->rc_features = p_rc_open->peer_features; in handle_rc_connect()
875 p_rc_open->peer_features, p_dev->rc_features, p_dev->peer_ct_features, in handle_rc_connect()
1192 p_data->rc_open.peer_features, in btif_rc_handler()
1233 log::verbose("Peer_features: {:x}", p_data->rc_feat.peer_features); in btif_rc_handler()
1252 p_dev->rc_features = p_data->rc_feat.peer_features; in btif_rc_handler()