Home
last modified time | relevance | path

Searched refs:LLCP_MAX_SN_LEN (Results 1 – 10 of 10) sorted by relevance

/system/nfc/src/nfa/include/
Dnfa_snep_int.h68 char service_name[LLCP_MAX_SN_LEN + 1];
88 char service_name[LLCP_MAX_SN_LEN + 1];
Dnfa_p2p_int.h70 char service_name[LLCP_MAX_SN_LEN + 1];
112 char service_name[LLCP_MAX_SN_LEN + 1];
150 char service_name[LLCP_MAX_SN_LEN + 1];
Dnfa_snep_api.h77 char service_name[LLCP_MAX_SN_LEN + 1]; /* only for server */
Dnfa_p2p_api.h85 char service_name[LLCP_MAX_SN_LEN + 1];
/system/nfc/src/include/
Dnfc_target.h445 #ifndef LLCP_MAX_SN_LEN
446 #define LLCP_MAX_SN_LEN 255 /* max length of service name */ macro
/system/nfc/src/nfa/p2p/
Dnfa_p2p_api.cc92 strncpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pRegisterServer()
93 p_msg->service_name[LLCP_MAX_SN_LEN] = 0; in NFA_P2pRegisterServer()
388 strncpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pConnectByName()
389 p_msg->service_name[LLCP_MAX_SN_LEN] = 0; in NFA_P2pConnectByName()
445 p_msg->service_name[LLCP_MAX_SN_LEN] = 0; in NFA_P2pConnectBySap()
927 strncpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pGetRemoteSap()
928 p_msg->service_name[LLCP_MAX_SN_LEN] = 0; in NFA_P2pGetRemoteSap()
Dnfa_p2p_act.cc627 p_msg->api_reg_server.service_name, LLCP_MAX_SN_LEN); in nfa_p2p_reg_server()
628 evt_data.reg_server.service_name[LLCP_MAX_SN_LEN] = 0; in nfa_p2p_reg_server()
648 LLCP_MAX_SN_LEN); in nfa_p2p_reg_server()
649 evt_data.reg_server.service_name[LLCP_MAX_SN_LEN] = 0; in nfa_p2p_reg_server()
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/llcp/
Dllcp_util.cc539 } else if (param_len <= LLCP_MAX_SN_LEN) { 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()
Dllcp_api.cc430 if (length > LLCP_MAX_SN_LEN) { in LLCP_RegisterServer()
877 if (strlen(p_params->sn) > LLCP_MAX_SN_LEN) { in LLCP_ConnectReq()
/system/nfc/src/nfc/include/
Dllcp_api.h64 char sn[LLCP_MAX_SN_LEN + 1]; /* Service name to connect */