Home
last modified time | relevance | path

Searched refs:p_name (Results 1 – 16 of 16) sorted by relevance

/system/bt/stack/pan/
Dpan_utils.c61 UINT32 pan_register_with_sdp (UINT16 uuid, UINT8 sec_mask, char *p_name, char *p_desc) in pan_register_with_sdp() argument
97 (UINT8) (strlen(p_name) + 1), (UINT8 *)p_name); in pan_register_with_sdp()
128 if ((!BTM_SetSecurityLevel (TRUE, p_name, BTM_SEC_SERVICE_BNEP_NAP, in pan_register_with_sdp()
130 || (!BTM_SetSecurityLevel (FALSE, p_name, BTM_SEC_SERVICE_BNEP_NAP, in pan_register_with_sdp()
140 if ((!BTM_SetSecurityLevel (TRUE, p_name, BTM_SEC_SERVICE_BNEP_GN, in pan_register_with_sdp()
142 || (!BTM_SetSecurityLevel (FALSE, p_name, BTM_SEC_SERVICE_BNEP_GN, in pan_register_with_sdp()
152 if ((!BTM_SetSecurityLevel (TRUE, p_name, BTM_SEC_SERVICE_BNEP_PANU, in pan_register_with_sdp()
154 || (!BTM_SetSecurityLevel (FALSE, p_name, BTM_SEC_SERVICE_BNEP_PANU, in pan_register_with_sdp()
Dpan_int.h142 extern UINT32 pan_register_with_sdp (UINT16 uuid, UINT8 sec_mask, char *p_name, char *p_desc);
/system/bt/stack/btm/
Dbtm_devctl.c444 tBTM_STATUS BTM_SetLocalDeviceName (char *p_name) in BTM_SetLocalDeviceName() argument
448 if (!p_name || !p_name[0] || (strlen ((char *)p_name) > BD_NAME_LEN)) in BTM_SetLocalDeviceName()
457 if (p != (UINT8 *)p_name) in BTM_SetLocalDeviceName()
458 strlcpy(btm_cb.cfg.bd_name, p_name, BTM_MAX_LOC_BD_NAME_LEN); in BTM_SetLocalDeviceName()
460 p = (UINT8 *)p_name; in BTM_SetLocalDeviceName()
484 tBTM_STATUS BTM_ReadLocalDeviceName (char **p_name) in BTM_ReadLocalDeviceName() argument
487 *p_name = btm_cb.cfg.bd_name; in BTM_ReadLocalDeviceName()
490 *p_name = NULL; in BTM_ReadLocalDeviceName()
Dbtm_dev.c211 char *p_name = NULL; in BTM_SecReadDevName() local
215 p_name = (char *)p_srec->sec_bd_name; in BTM_SecReadDevName()
217 return(p_name); in BTM_SecReadDevName()
Dbtm_sec.c96 static BOOLEAN btm_sec_set_security_level ( CONNECTION_TYPE conn_type, char *p_name, UINT8 service…
478 BOOLEAN BTM_SetSecurityLevel (BOOLEAN is_originator, char *p_name, UINT8 service_id, in BTM_SetSecurityLevel() argument
490 return(btm_sec_set_security_level (conn_type, p_name, service_id, in BTM_SetSecurityLevel()
493 return(btm_sec_set_security_level (is_originator, p_name, service_id, in BTM_SetSecurityLevel()
517 static BOOLEAN btm_sec_set_security_level (CONNECTION_TYPE conn_type, char *p_name, UINT8 service_i… in btm_sec_set_security_level() argument
562 p_name && in btm_sec_set_security_level()
563 (!strncmp (p_name, (char *) p_srec->orig_service_name, in btm_sec_set_security_level()
565 !strncmp (p_name, (char *) p_srec->term_service_name, in btm_sec_set_security_level()
608 strlcpy ((char *)p_srec->orig_service_name, p_name, BTM_SEC_SERVICE_NAME_LEN); in btm_sec_set_security_level()
656 strlcpy ((char *)p_srec->term_service_name, p_name, BTM_SEC_SERVICE_NAME_LEN); in btm_sec_set_security_level()
[all …]
Dbtm_ble_gap.c2036 void btm_ble_read_remote_name_cmpl(BOOLEAN status, BD_ADDR bda, UINT16 length, char *p_name) in btm_ble_read_remote_name_cmpl() argument
2046 memcpy((UINT8*)bd_name, p_name, length); in btm_ble_read_remote_name_cmpl()
2054 btm_sec_rmt_name_request_complete (bda, (UINT8 *)p_name, hci_status); in btm_ble_read_remote_name_cmpl()
/system/bt/bta/ag/
Dbta_ag_api.c123 strlcpy(p_buf->p_name[i], p_service_names[i], BTA_SERVICE_NAME_LEN); in BTA_AgRegister()
125 p_buf->p_name[i][0] = 0; in BTA_AgRegister()
Dbta_ag_sdp.c230 bta_ag_add_record(bta_ag_uuid[i], p_data->api_register.p_name[i], in bta_ag_create_records()
Dbta_ag_int.h163 char p_name[2][BTA_SERVICE_NAME_LEN+1]; member
/system/bt/btif/src/
Dbtif_mce.c68 insts[i].p_name = evt_data->mas[i].p_srv_name; in btif_mce_mas_discovery_comp_evt()
/system/bt/stack/include/
Dgap_api.h129 typedef void (tGAP_BLE_CMPL_CBACK)(BOOLEAN status, BD_ADDR addr, UINT16 length, char *p_name);
Dbtm_api.h1943 extern tBTM_STATUS BTM_SetLocalDeviceName (char *p_name);
1970 extern tBTM_STATUS BTM_ReadLocalDeviceName (char **p_name);
3266 extern BOOLEAN BTM_SetSecurityLevel (BOOLEAN is_originator, char *p_name,
/system/bt/bta/dm/
Dbta_dm_act.c941 char *p_name; in bta_dm_bond() local
954 p_name = BTM_SecReadDevName(p_data->bond.bd_addr); in bta_dm_bond()
955 if (p_name != NULL) in bta_dm_bond()
957 memcpy(sec_event.auth_cmpl.bd_name, p_name, (BD_NAME_LEN-1)); in bta_dm_bond()
2985 static void bta_dm_local_name_cback(UINT8 *p_name) in bta_dm_local_name_cback() argument
2988 UNUSED(p_name); in bta_dm_local_name_cback()
3635 char *p_name = (char *)bta_dm_search_cb.peer_name; in bta_dm_get_remname() local
3639 if (*p_name == '\0') in bta_dm_get_remname()
3641 p_name = p_temp; in bta_dm_get_remname()
3643 return p_name; in bta_dm_get_remname()
[all …]
Dbta_dm_api.c159 void BTA_DmSetDeviceName(char *p_name) in BTA_DmSetDeviceName() argument
165 strlcpy((char*)p_msg->name, p_name, BD_NAME_LEN); in BTA_DmSetDeviceName()
/system/bt/stack/gap/
Dgap_ble.c545 void gap_ble_cl_op_cmpl(tGAP_CLCB *p_clcb, BOOLEAN status, UINT16 len, UINT8 *p_name) in gap_ble_cl_op_cmpl() argument
558 (* p_cback)(status, p_clcb->bda, len, (char *)p_name); in gap_ble_cl_op_cmpl()
/system/bt/bta/include/
Dbta_api.h1385 extern void BTA_DmSetDeviceName(char *p_name);