Home
last modified time | relevance | path

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

/system/nfc/src/nfc/llcp/
Dllcp_api.c359 uint8_t LLCP_RegisterServer(uint8_t reg_sap, uint8_t link_type, in LLCP_RegisterServer() argument
370 reg_sap, link_type, ((p_service_name == NULL) ? "" : p_service_name)); in LLCP_RegisterServer()
375 } else if (((link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK) == 0x00) && in LLCP_RegisterServer()
376 ((link_type & LLCP_LINK_TYPE_DATA_LINK_CONNECTION) == 0x00)) { in LLCP_RegisterServer()
379 link_type); in LLCP_RegisterServer()
456 p_app_cb->link_type = link_type; in LLCP_RegisterServer()
464 if (link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK) { in LLCP_RegisterServer()
485 uint8_t LLCP_RegisterClient(uint8_t link_type, tLLCP_APP_CBACK* p_app_cback) { in LLCP_RegisterClient() argument
490 LLCP_TRACE_API1("LLCP_RegisterClient (): link_type = 0x%x", link_type); in LLCP_RegisterClient()
495 } else if (((link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK) == 0x00) && in LLCP_RegisterClient()
[all …]
Dllcp_link.c627 data.congest.link_type = LLCP_LINK_TYPE_LOGICAL_DATA_LINK; in llcp_link_check_congestion()
633 (p_app_cb->link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK)) { in llcp_link_check_congestion()
649 data.congest.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_link_check_congestion()
709 data.congest.link_type = LLCP_LINK_TYPE_LOGICAL_DATA_LINK; in llcp_link_check_uncongested()
723 (p_app_cb->link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK) && in llcp_link_check_uncongested()
748 (p_app_cb->link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK)) { in llcp_link_check_uncongested()
757 data.congest.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_link_check_uncongested()
976 (p_app_cb->link_type & LLCP_LINK_TYPE_LOGICAL_DATA_LINK)) { in llcp_link_proc_ui_pdu()
1067 data.data_ind.link_type = LLCP_LINK_TYPE_LOGICAL_DATA_LINK; in llcp_link_proc_ui_pdu()
Dllcp_dlc.c472 data.data_ind.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_dlsm_connected()
640 ((p_app_cb->link_type & LLCP_LINK_TYPE_DATA_LINK_CONNECTION) == 0)) { in llcp_dlc_proc_connect_pdu()
700 ((p_app_cb->link_type & LLCP_LINK_TYPE_DATA_LINK_CONNECTION) == 0)) { in llcp_dlc_proc_connect_pdu()
1136 cback_data.congest.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_dlc_proc_rr_rnr_pdu()
1154 cback_data.congest.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_dlc_proc_rr_rnr_pdu()
/system/nfc/src/nfa/p2p/
Dnfa_p2p_api.c63 tNFA_P2P_LINK_TYPE link_type, in NFA_P2pRegisterServer() argument
70 server_sap, 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()
83 link_type); in NFA_P2pRegisterServer()
92 p_msg->link_type = link_type; in NFA_P2pRegisterServer()
123 tNFA_STATUS NFA_P2pRegisterClient(tNFA_P2P_LINK_TYPE link_type, in NFA_P2pRegisterClient() argument
127 P2P_TRACE_API1("NFA_P2pRegisterClient (): link_type:0x%x", link_type); in NFA_P2pRegisterClient()
129 if (((link_type & NFA_P2P_LLINK_TYPE) == 0x00) && in NFA_P2pRegisterClient()
130 ((link_type & NFA_P2P_DLINK_TYPE) == 0x00)) { in NFA_P2pRegisterClient()
[all …]
Dnfa_p2p_act.c253 if (p_data->data_ind.link_type == NFA_P2P_LLINK_TYPE) { in nfa_p2p_proc_llcp_data_ind()
266 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()
621 p_msg->api_reg_server.server_sap, p_msg->api_reg_server.link_type, in nfa_p2p_reg_server()
685 LLCP_RegisterClient(p_msg->api_reg_client.link_type, nfa_p2p_llcp_cback); in nfa_p2p_reg_client()
958 evt_data.congest.link_type = NFA_P2P_LLINK_TYPE; in nfa_p2p_send_ui()
1005 evt_data.congest.link_type = NFA_P2P_DLINK_TYPE; in nfa_p2p_send_data()
/system/nfc/src/nfa/include/
Dnfa_p2p_api.h146 tNFA_P2P_LINK_TYPE link_type; member
153 tNFA_P2P_LINK_TYPE link_type; member
221 tNFA_P2P_LINK_TYPE link_type,
241 extern tNFA_STATUS NFA_P2pRegisterClient(tNFA_P2P_LINK_TYPE link_type,
/system/nfc/src/nfc/include/
Dllcp_api.h138 uint8_t link_type; /* link type */ member
178 uint8_t link_type; /* congested link type */ member
358 extern uint8_t LLCP_RegisterServer(uint8_t reg_sap, uint8_t link_type,
375 extern uint8_t LLCP_RegisterClient(uint8_t link_type,
/system/bt/stack/btm/
Dbtm_sco.cc170 if (p_sco->esco.data.link_type == BTM_LINK_TYPE_SCO) {
498 p_sco->esco.data.link_type =
798 uint8_t link_type) {
816 p->esco.data.link_type = link_type;
823 if ((link_type == BTM_LINK_TYPE_ESCO &&
830 (link_type == BTM_LINK_TYPE_SCO &&
841 evt_data.link_type = link_type;
861 p->esco.data.link_type = link_type;
940 p->esco.data.link_type = BTM_LINK_TYPE_SCO;
1454 if (p_sco->esco.data.link_type == BTM_LINK_TYPE_SCO ||
Dbtm_int.h164 uint8_t link_type);
/system/nfc/src/nfa/int/
Dnfa_p2p_int.h71 tNFA_P2P_LINK_TYPE link_type; member
79 tNFA_P2P_LINK_TYPE link_type; member
/system/bt/stack/btu/
Dbtu_hcif.cc579 uint8_t link_type; in btu_hcif_connection_comp_evt() local
588 STREAM_TO_UINT8(link_type, p); in btu_hcif_connection_comp_evt()
593 if (link_type == HCI_LINK_TYPE_ACL) { in btu_hcif_connection_comp_evt()
620 uint8_t link_type; in btu_hcif_connection_request_evt() local
624 STREAM_TO_UINT8(link_type, p); in btu_hcif_connection_request_evt()
628 if (link_type == HCI_LINK_TYPE_ACL) { in btu_hcif_connection_request_evt()
633 btm_sco_conn_req(bda, dc, link_type); in btu_hcif_connection_request_evt()
870 STREAM_TO_UINT8(data.link_type, p); in btu_hcif_esco_connection_comp_evt()
/system/nfc/src/nfc/int/
Dllcp_int.h110 uint8_t link_type; /* logical link and/or data link */ member
/system/bt/bta/include/
Dbta_api.h538 tBTA_TRANSPORT link_type; member
546 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.cc861 const tBTA_DM_LINK_TYPE link_type = p_data->remove_all_acl.link_type; in bta_dm_remove_all_acl() local
864 APPL_TRACE_DEBUG("%s link type = %d", __func__, link_type); in bta_dm_remove_all_acl()
868 if ((link_type == BTA_DM_LINK_TYPE_ALL) || in bta_dm_remove_all_acl()
869 ((link_type == BTA_DM_LINK_TYPE_LE) && in bta_dm_remove_all_acl()
871 ((link_type == BTA_DM_LINK_TYPE_BR_EDR) && in bta_dm_remove_all_acl()
3020 conn.link_up.link_type = p_data->acl_change.transport; in bta_dm_acl_change()
3074 conn.link_down.link_type = p_data->acl_change.transport; in bta_dm_acl_change()
Dbta_dm_int.h432 tBTA_DM_LINK_TYPE link_type; member
/system/bt/stack/include/
Dbtm_api_types.h1015 uint8_t link_type; /* BTM_LINK_TYPE_SCO or BTM_LINK_TYPE_ESCO */ member
1035 tBTM_SCO_TYPE link_type; member