/system/bt/stack/pan/ |
D | pan_utils.cc | 65 const char* p_name, const char* p_desc) { in pan_register_with_sdp() argument 96 (uint8_t)(strlen(p_name) + 1), (uint8_t*)p_name); in pan_register_with_sdp() 128 if ((!BTM_SetSecurityLevel(true, p_name, BTM_SEC_SERVICE_BNEP_NAP, sec_mask, in pan_register_with_sdp() 131 (!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, sec_mask, in pan_register_with_sdp() 143 (!BTM_SetSecurityLevel(false, p_name, BTM_SEC_SERVICE_BNEP_GN, sec_mask, in pan_register_with_sdp() 152 if ((!BTM_SetSecurityLevel(true, p_name, BTM_SEC_SERVICE_BNEP_PANU, in pan_register_with_sdp() 155 (!BTM_SetSecurityLevel(false, p_name, BTM_SEC_SERVICE_BNEP_PANU, in pan_register_with_sdp()
|
D | pan_int.h | 120 const char* p_name, const char* p_desc);
|
/system/nfc/src/nfc/llcp/ |
D | llcp_sdp.cc | 103 static void llcp_sdp_add_sdreq(uint8_t tid, char* p_name) { in llcp_sdp_add_sdreq() argument 105 uint16_t name_len = (uint16_t)strlen(p_name); in llcp_sdp_add_sdreq() 113 ARRAY_TO_BE_STREAM(p, p_name, name_len); in llcp_sdp_add_sdreq() 128 tLLCP_STATUS llcp_sdp_send_sdreq(uint8_t tid, char* p_name) { in llcp_sdp_send_sdreq() argument 134 << StringPrintf("tid=0x%x, ServiceName=%s", tid, p_name); in llcp_sdp_send_sdreq() 151 name_len = (uint16_t)strlen(p_name); in llcp_sdp_send_sdreq() 157 llcp_sdp_add_sdreq(tid, p_name); in llcp_sdp_send_sdreq() 170 llcp_sdp_add_sdreq(tid, p_name); in llcp_sdp_send_sdreq() 293 uint8_t llcp_sdp_get_sap_by_name(char* p_name, uint8_t length) { in llcp_sdp_get_sap_by_name() argument 302 (!strncmp((char*)p_app_cb->p_service_name, p_name, length))) { in llcp_sdp_get_sap_by_name()
|
D | llcp_api.cc | 1464 tLLCP_STATUS LLCP_DiscoverService(char* p_name, tLLCP_SDP_CBACK* p_cback, in LLCP_DiscoverService() argument 1469 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("Service Name:%s", p_name); in LLCP_DiscoverService() 1494 status = llcp_sdp_send_sdreq(llcp_cb.sdp_cb.transac[i].tid, p_name); in LLCP_DiscoverService()
|
/system/bt/stack/btm/ |
D | btm_devctl.cc | 423 tBTM_STATUS BTM_SetLocalDeviceName(char* p_name) { in BTM_SetLocalDeviceName() argument 426 if (!p_name || !p_name[0] || (strlen((char*)p_name) > BD_NAME_LEN)) in BTM_SetLocalDeviceName() 432 if (p != (uint8_t*)p_name) in BTM_SetLocalDeviceName() 433 strlcpy(btm_cb.cfg.bd_name, p_name, BTM_MAX_LOC_BD_NAME_LEN); in BTM_SetLocalDeviceName() 452 tBTM_STATUS BTM_ReadLocalDeviceName(char** p_name) { in BTM_ReadLocalDeviceName() argument 453 *p_name = btm_cb.cfg.bd_name; in BTM_ReadLocalDeviceName()
|
D | btm_dev.cc | 218 char* p_name = NULL; in BTM_SecReadDevName() local 222 if (p_srec != NULL) p_name = (char*)p_srec->sec_bd_name; in BTM_SecReadDevName() 224 return (p_name); in BTM_SecReadDevName()
|
D | btm_sec.cc | 102 const char* p_name, uint8_t service_id, 463 bool BTM_SetSecurityLevel(bool is_originator, const char* p_name, in BTM_SetSecurityLevel() argument 466 return (btm_sec_set_security_level(is_originator, p_name, service_id, in BTM_SetSecurityLevel() 491 const char* p_name, uint8_t service_id, in btm_sec_set_security_level() argument 514 service_id == p_srec->service_id && p_name && in btm_sec_set_security_level() 515 (!strncmp(p_name, (char*)p_srec->orig_service_name, in btm_sec_set_security_level() 518 !strncmp(p_name, (char*)p_srec->term_service_name, in btm_sec_set_security_level() 558 strlcpy((char*)p_srec->orig_service_name, p_name, in btm_sec_set_security_level() 591 strlcpy((char*)p_srec->term_service_name, p_name, in btm_sec_set_security_level() 627 p_srec->security_flags, p_name, BTM_SEC_SERVICE_NAME_LEN); in btm_sec_set_security_level()
|
D | btm_ble_gap.cc | 1332 uint16_t length, char* p_name) { in btm_ble_read_remote_name_cmpl() argument 1340 memcpy((uint8_t*)bd_name, p_name, length); in btm_ble_read_remote_name_cmpl() 1347 btm_sec_rmt_name_request_complete(&bda, (uint8_t*)p_name, hci_status); in btm_ble_read_remote_name_cmpl()
|
/system/bt/include/hardware/ |
D | bt_mce.h | 27 char* p_name; member
|
/system/bt/btif/src/ |
D | btif_hd.cc | 110 if (app_info.p_name) osi_free(app_info.p_name); in btif_hd_free_buf() 114 app_info.p_name = NULL; in btif_hd_free_buf() 406 app_info.p_name = (char*)osi_calloc(BTIF_HD_APP_NAME_LEN); in register_app() 407 strlcpy(app_info.p_name, p_app_param->name, BTIF_HD_APP_NAME_LEN); in register_app()
|
D | btif_mce.cc | 62 insts[i].p_name = evt_data->mas[i].p_srv_name; in btif_mce_mas_discovery_comp_evt()
|
/system/bt/bta/hd/ |
D | bta_hd_api.cc | 107 if (p_app_info->p_name) { in BTA_HdRegisterApp() 108 strlcpy(p_buf->name, p_app_info->p_name, BTA_HD_APP_NAME_LEN); in BTA_HdRegisterApp()
|
/system/bt/stack/include/ |
D | hidd_api.h | 113 extern tHID_STATUS HID_DevAddRecord(uint32_t handle, char* p_name,
|
D | btm_api.h | 82 extern tBTM_STATUS BTM_SetLocalDeviceName(char* p_name); 108 extern tBTM_STATUS BTM_ReadLocalDeviceName(char** p_name); 1363 extern bool BTM_SetSecurityLevel(bool is_originator, const char* p_name,
|
D | gap_api.h | 158 uint16_t length, char* p_name);
|
/system/bt/bta/include/ |
D | bta_hd_api.h | 55 char* p_name; member
|
/system/nfc/src/nfc/include/ |
D | llcp_int.h | 355 tLLCP_STATUS llcp_sdp_send_sdreq(uint8_t tid, char* p_name); 356 uint8_t llcp_sdp_get_sap_by_name(char* p_name, uint8_t length);
|
D | llcp_api.h | 651 extern tLLCP_STATUS LLCP_DiscoverService(char* p_name, tLLCP_SDP_CBACK* p_cback,
|
/system/bt/bta/dm/ |
D | bta_dm_act.cc | 82 static void bta_dm_local_name_cback(void* p_name); 818 char* p_name; in bta_dm_bond() local 828 p_name = BTM_SecReadDevName(bd_addr); in bta_dm_bond() 829 if (p_name != NULL) { in bta_dm_bond() 830 memcpy(sec_event.auth_cmpl.bd_name, p_name, (BD_NAME_LEN - 1)); in bta_dm_bond() 2645 static void bta_dm_local_name_cback(UNUSED_ATTR void* p_name) { in bta_dm_local_name_cback() argument 3191 char* p_name = (char*)bta_dm_search_cb.peer_name; in bta_dm_get_remname() local 3195 if (*p_name == '\0') { in bta_dm_get_remname() 3197 if (p_temp != NULL) p_name = p_temp; in bta_dm_get_remname() 3200 return p_name; in bta_dm_get_remname() [all …]
|
D | bta_dm_api.cc | 98 void BTA_DmSetDeviceName(char* p_name) { in BTA_DmSetDeviceName() argument 100 strlcpy((char*)name.data(), p_name, BD_NAME_LEN); in BTA_DmSetDeviceName()
|
/system/bt/stack/hid/ |
D | hidd_api.cc | 181 tHID_STATUS HID_DevAddRecord(uint32_t handle, char* p_name, char* p_description, in HID_DevAddRecord() argument 233 const char* srv_name = p_name; in HID_DevAddRecord()
|
/system/bt/stack/gap/ |
D | gap_ble.cc | 263 void cl_op_cmpl(tGAP_CLCB& clcb, bool status, uint16_t len, uint8_t* p_name) { in cl_op_cmpl() argument 274 (*p_cback)(status, clcb.bda, len, (char*)p_name); in cl_op_cmpl()
|
/system/bt/bta/ag/ |
D | bta_ag_main.cc | 670 strlcpy(data.api_register.p_name[i], service_names[i].c_str(), in bta_ag_api_register() 673 data.api_register.p_name[i][0] = 0; in bta_ag_api_register()
|
D | bta_ag_int.h | 119 char p_name[2][BTA_SERVICE_NAME_LEN + 1]; member
|
D | bta_ag_sdp.cc | 226 bta_ag_add_record(bta_ag_uuid[i], data.api_register.p_name[i], in bta_ag_create_records()
|