Home
last modified time | relevance | path

Searched refs:sn (Results 1 – 6 of 6) sorted by relevance

/system/nfc/src/nfc/llcp/
Dllcp_util.cc435 if ((strlen(p_params->sn)) && (p_dlcb->remote_sap == LLCP_SAP_SDP)) { in llcp_util_send_connect()
436 sn_len = (uint16_t)(2 + strlen(p_params->sn)); /* TYPE, LEN, SN */ in llcp_util_send_connect()
466 memcpy(p, p_params->sn, sn_len - 2); in llcp_util_send_connect()
493 p_params->sn[0] = 0; in llcp_util_parse_connect()
494 p_params->sn[1] = 0; in llcp_util_parse_connect()
538 p_params->sn[1] = LLCP_SN_TYPE; in llcp_util_parse_connect()
540 memcpy(p_params->sn, p, param_len); in llcp_util_parse_connect()
541 p_params->sn[param_len] = 0; in llcp_util_parse_connect()
543 memcpy(p_params->sn, p, LLCP_MAX_SN_LEN); in llcp_util_parse_connect()
544 p_params->sn[LLCP_MAX_SN_LEN] = 0; in llcp_util_parse_connect()
[all …]
Dllcp_dlc.cc158 data.connect_ind.p_service_name = p_params->sn; in llcp_dlsm_idle()
665 if (strlen(params.sn)) in llcp_dlc_proc_connect_pdu()
666 dsap = llcp_sdp_get_sap_by_name(params.sn, (uint8_t)strlen(params.sn)); in llcp_dlc_proc_connect_pdu()
669 if (params.sn[1] == LLCP_SN_TYPE) { in llcp_dlc_proc_connect_pdu()
686 LOG(ERROR) << StringPrintf("Unregistered Service:%s", params.sn); in llcp_dlc_proc_connect_pdu()
Dllcp_api.cc858 params.sn[0] = 0; in LLCP_ConnectReq()
877 if (strlen(p_params->sn) > LLCP_MAX_SN_LEN) { in LLCP_ConnectReq()
879 strlen(p_params->sn)); in LLCP_ConnectReq()
944 params.sn[0] = 0; in LLCP_ConnectCfm()
/system/nfc/src/nfa/p2p/
Dnfa_p2p_act.cc787 params.sn[0] = 0; in nfa_p2p_accept_connection()
901 conn_params.sn[0] = 0; in nfa_p2p_create_data_link_connection()
906 strncpy(conn_params.sn, p_msg->api_connect.service_name, LLCP_MAX_SN_LEN); in nfa_p2p_create_data_link_connection()
907 conn_params.sn[LLCP_MAX_SN_LEN] = 0; in nfa_p2p_create_data_link_connection()
/system/nfc/src/nfc/include/
Dllcp_api.h64 char sn[LLCP_MAX_SN_LEN + 1]; /* Service name to connect */ member
/system/timezone/input_data/android/
Dcountryzones.txt2879 isoCode:"sn"