Home
last modified time | relevance | path

Searched refs:link_type (Results 1 – 20 of 20) sorted by relevance

/system/nfc/src/nfa/include/
Dnfa_p2p_api.h132 tNFA_P2P_LINK_TYPE link_type; member
139 tNFA_P2P_LINK_TYPE link_type; member
204 tNFA_P2P_LINK_TYPE link_type,
224 extern tNFA_STATUS NFA_P2pRegisterClient(tNFA_P2P_LINK_TYPE link_type,
Dnfa_p2p_int.h69 tNFA_P2P_LINK_TYPE link_type; member
77 tNFA_P2P_LINK_TYPE link_type; member
/system/nfc/src/nfa/p2p/
Dnfa_p2p_api.cc64 tNFA_P2P_LINK_TYPE link_type, in NFA_P2pRegisterServer() argument
71 link_type, p_service_name); in NFA_P2pRegisterServer()
79 } else if (((link_type & NFA_P2P_LLINK_TYPE) == 0x00) && in NFA_P2pRegisterServer()
80 ((link_type & NFA_P2P_DLINK_TYPE) == 0x00)) { in NFA_P2pRegisterServer()
81 LOG(ERROR) << StringPrintf("link type (0x%x) must be specified", link_type); in NFA_P2pRegisterServer()
90 p_msg->link_type = link_type; in NFA_P2pRegisterServer()
121 tNFA_STATUS NFA_P2pRegisterClient(tNFA_P2P_LINK_TYPE link_type, in NFA_P2pRegisterClient() argument
125 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("link_type:0x%x", link_type); in NFA_P2pRegisterClient()
127 if (((link_type & NFA_P2P_LLINK_TYPE) == 0x00) && in NFA_P2pRegisterClient()
128 ((link_type & NFA_P2P_DLINK_TYPE) == 0x00)) { in NFA_P2pRegisterClient()
[all …]
Dnfa_p2p_act.cc254 if (p_data->data_ind.link_type == NFA_P2P_LLINK_TYPE) { in nfa_p2p_proc_llcp_data_ind()
267 evt_data.data.link_type = p_data->data_ind.link_type; in nfa_p2p_proc_llcp_data_ind()
488 evt_data.congest.link_type = p_data->congest.link_type; in nfa_p2p_proc_llcp_congestion()
501 if (evt_data.congest.link_type == NFA_P2P_LLINK_TYPE) { in nfa_p2p_proc_llcp_congestion()
620 p_msg->api_reg_server.server_sap, p_msg->api_reg_server.link_type, in nfa_p2p_reg_server()
684 LLCP_RegisterClient(p_msg->api_reg_client.link_type, nfa_p2p_llcp_cback); in nfa_p2p_reg_client()
957 evt_data.congest.link_type = NFA_P2P_LLINK_TYPE; in nfa_p2p_send_ui()
1004 evt_data.congest.link_type = NFA_P2P_DLINK_TYPE; in nfa_p2p_send_data()
/system/nfc/src/nfc/llcp/
Dllcp_api.cc360 uint8_t LLCP_RegisterServer(uint8_t reg_sap, uint8_t link_type, in LLCP_RegisterServer() argument
370 "SAP:0x%x, link_type:0x%x, ServiceName:<%s>", reg_sap, link_type, in LLCP_RegisterServer()
376 } else if (((link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK) == 0x00) && in LLCP_RegisterServer()
377 ((link_type & LLCP_LINK_TYPE_DATA_LINK_CONNECTION) == 0x00)) { in LLCP_RegisterServer()
378 LOG(ERROR) << StringPrintf("link type (0x%x) must be specified", link_type); in LLCP_RegisterServer()
447 p_app_cb->link_type = link_type; in LLCP_RegisterServer()
456 if (link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK) { in LLCP_RegisterServer()
477 uint8_t LLCP_RegisterClient(uint8_t link_type, tLLCP_APP_CBACK* p_app_cback) { in LLCP_RegisterClient() argument
483 << StringPrintf("link_type = 0x%x", link_type); in LLCP_RegisterClient()
488 } else if (((link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK) == 0x00) && in LLCP_RegisterClient()
[all …]
Dllcp_link.cc629 data.congest.link_type = LLCP_LINK_TYPE_LOGICAL_DATA_LINK; in llcp_link_check_congestion()
635 (p_app_cb->link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK)) { in llcp_link_check_congestion()
651 data.congest.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_link_check_congestion()
711 data.congest.link_type = LLCP_LINK_TYPE_LOGICAL_DATA_LINK; in llcp_link_check_uncongested()
725 (p_app_cb->link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK) && in llcp_link_check_uncongested()
751 (p_app_cb->link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK)) { in llcp_link_check_uncongested()
760 data.congest.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_link_check_uncongested()
979 (p_app_cb->link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK)) { in llcp_link_proc_ui_pdu()
1069 data.data_ind.link_type = LLCP_LINK_TYPE_LOGICAL_DATA_LINK; in llcp_link_proc_ui_pdu()
Dllcp_dlc.cc470 data.data_ind.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_dlsm_connected()
637 ((p_app_cb->link_type & LLCP_LINK_TYPE_DATA_LINK_CONNECTION) == 0)) { in llcp_dlc_proc_connect_pdu()
695 ((p_app_cb->link_type & LLCP_LINK_TYPE_DATA_LINK_CONNECTION) == 0)) { in llcp_dlc_proc_connect_pdu()
1120 cback_data.congest.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_dlc_proc_rr_rnr_pdu()
1138 cback_data.congest.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_dlc_proc_rr_rnr_pdu()
/system/nfc/src/nfc/include/
Dllcp_api.h134 uint8_t link_type; /* link type */ member
174 uint8_t link_type; /* congested link type */ member
351 extern uint8_t LLCP_RegisterServer(uint8_t reg_sap, uint8_t link_type,
368 extern uint8_t LLCP_RegisterClient(uint8_t link_type,
Dllcp_int.h110 uint8_t link_type; /* logical link and/or data link */ member
/system/bt/stack/btm/
Dbtm_sco.cc154 if (p_sco->esco.data.link_type == BTM_LINK_TYPE_SCO) { in btm_esco_conn_rsp()
385 p_sco->esco.data.link_type = in btm_accept_sco_link()
685 uint8_t link_type) { in btm_sco_conn_req() argument
703 p->esco.data.link_type = link_type; in btm_sco_conn_req()
710 if ((link_type == BTM_LINK_TYPE_ESCO && in btm_sco_conn_req()
717 (link_type == BTM_LINK_TYPE_SCO && in btm_sco_conn_req()
729 evt_data.link_type = link_type; in btm_sco_conn_req()
750 p->esco.data.link_type = link_type; in btm_sco_conn_req()
829 p->esco.data.link_type = BTM_LINK_TYPE_SCO; in btm_sco_connected()
1343 if (p_sco->esco.data.link_type == BTM_LINK_TYPE_SCO || in BTM_ChangeEScoLinkParms()
Dbtm_int.h161 uint8_t link_type);
/system/bt/stack/btu/
Dbtu_hcif.cc183 uint8_t link_type; in btu_hcif_log_event_metrics() local
187 STREAM_TO_UINT8(link_type, p_event); in btu_hcif_log_event_metrics()
190 &bda, handle, android::bluetooth::DIRECTION_UNKNOWN, link_type, cmd, in btu_hcif_log_event_metrics()
196 uint8_t link_type; in btu_hcif_log_event_metrics() local
199 STREAM_TO_UINT8(link_type, p_event); in btu_hcif_log_event_metrics()
202 android::bluetooth::DIRECTION_INCOMING, link_type, cmd, evt_code, in btu_hcif_log_event_metrics()
218 uint8_t link_type; in btu_hcif_log_event_metrics() local
222 STREAM_TO_UINT8(link_type, p_event); in btu_hcif_log_event_metrics()
225 &bda, handle, android::bluetooth::DIRECTION_UNKNOWN, link_type, cmd, in btu_hcif_log_event_metrics()
997 uint8_t link_type; in btu_hcif_connection_comp_evt() local
[all …]
/system/bt/vendor_libs/test_vendor_lib/packets/hci/
Devent_packet_builder.h142 hci::LinkType link_type,
148 hci::LinkType link_type);
Devent_packet_builder.cc317 …hci::Status status, uint16_t handle, const Address& address, hci::LinkType link_type, bool encrypt… in CreateConnectionCompleteEvent() argument
325 CHECK(evt_ptr->AddPayloadOctets1(static_cast<uint8_t>(link_type))); in CreateConnectionCompleteEvent()
334 … hci::LinkType link_type) { in CreateConnectionRequestEvent() argument
342 CHECK(evt_ptr->AddPayloadOctets1(static_cast<uint8_t>(link_type))); in CreateConnectionRequestEvent()
/system/bt/common/
Dmetrics.h304 uint16_t link_type, uint32_t hci_cmd,
Dmetrics.cc575 uint16_t link_type, uint32_t hci_cmd, in LogLinkLayerConnectionEvent() argument
588 connection_handle, direction, link_type, hci_cmd, hci_event, in LogLinkLayerConnectionEvent()
596 << loghex(link_type) << ", error " << ret; in LogLinkLayerConnectionEvent()
/system/bt/bta/include/
Dbta_api.h532 tBTA_TRANSPORT link_type; member
540 tBTA_TRANSPORT link_type; member
/system/bt/bta/hf_client/
Dbta_hf_client_sco.cc111 if (p_data->link_type == BTM_LINK_TYPE_SCO) { in bta_hf_client_sco_conn_rsp()
/system/bt/bta/dm/
Dbta_dm_act.cc795 void bta_dm_remove_all_acl(const tBTA_DM_LINK_TYPE link_type) { in bta_dm_remove_all_acl() argument
798 APPL_TRACE_DEBUG("%s link type = %d", __func__, link_type); in bta_dm_remove_all_acl()
802 if ((link_type == BTA_DM_LINK_TYPE_ALL) || in bta_dm_remove_all_acl()
803 ((link_type == BTA_DM_LINK_TYPE_LE) && in bta_dm_remove_all_acl()
805 ((link_type == BTA_DM_LINK_TYPE_BR_EDR) && in bta_dm_remove_all_acl()
2744 conn.link_up.link_type = transport; in bta_dm_acl_change()
2795 conn.link_down.link_type = transport; in bta_dm_acl_change()
/system/bt/stack/include/
Dbtm_api_types.h1000 uint8_t link_type; /* BTM_LINK_TYPE_SCO or BTM_LINK_TYPE_ESCO */ member
1020 tBTM_SCO_TYPE link_type; member