Searched refs:BD_NAME_LEN (Results 1 – 11 of 11) sorted by relevance
/system/bt/test/headless/read/ |
D | name.cc | 65 char buf[BD_NAME_LEN]; in Run() 66 memcpy(buf, name_packet.remote_bd_name, BD_NAME_LEN); in Run()
|
/system/bt/btif/src/ |
D | btif_ble_scanner.cc | 128 if (remote_name_len > BD_NAME_LEN + 1 || in bta_scan_results_cb_impl() 129 (remote_name_len == BD_NAME_LEN + 1 && in bta_scan_results_cb_impl() 130 p_eir_remote_name[BD_NAME_LEN] != '\0')) { in bta_scan_results_cb_impl() 138 if (remote_name_len < BD_NAME_LEN + 1) in bta_scan_results_cb_impl()
|
D | btif_dm.cc | 415 if (remote_name_len > BD_NAME_LEN) remote_name_len = BD_NAME_LEN; in check_eir_remote_name() 913 memcpy(bd_name.name, p_pin_req->bd_name, BD_NAME_LEN); in btif_dm_pin_req_evt() 1004 memcpy(bd_name.name, p_ssp_cfm_req->bd_name, BD_NAME_LEN); in btif_dm_ssp_cfm_req_evt() 1078 memcpy(bd_name.name, p_ssp_key_notif->bd_name, BD_NAME_LEN); in btif_dm_ssp_key_notif_evt() 1578 if (strnlen((const char*)p_data->disc_ble_res.bd_name, BD_NAME_LEN)) { in btif_dm_search_services_evt() 1582 strnlen((char*)p_data->disc_ble_res.bd_name, BD_NAME_LEN); in btif_dm_search_services_evt() 1667 prop.len = BD_NAME_LEN; in btif_dm_upstreams_evt() 2922 memcpy(bd_name.name, p_ssp_key_notif->bd_name, BD_NAME_LEN); in btif_dm_ble_key_notif_evt() 3126 memcpy(bd_name.name, p_ble_req->bd_name, BD_NAME_LEN); in btif_dm_ble_sec_req_evt() 3164 memcpy(bd_name.name, p_pin_req->bd_name, BD_NAME_LEN); in btif_dm_ble_passkey_req_evt() [all …]
|
/system/bt/bta/dm/ |
D | bta_dm_act.cc | 830 memcpy(sec_event.auth_cmpl.bd_name, p_name, (BD_NAME_LEN - 1)); in bta_dm_bond() 831 sec_event.auth_cmpl.bd_name[BD_NAME_LEN - 1] = 0; in bta_dm_bond() 1395 BD_NAME_LEN); in bta_dm_sdp_result() 1524 bta_dm_get_remname(), BD_NAME_LEN); in bta_dm_sdp_result() 1548 bta_dm_get_remname(), BD_NAME_LEN); in bta_dm_sdp_result() 1873 bta_dm_get_remname(), BD_NAME_LEN); in bta_dm_find_services() 2039 (char*)bta_dm_search_cb.peer_name, BD_NAME_LEN); in bta_dm_discover_device() 2159 if (rem_name.length > (BD_NAME_LEN - 1)) { in bta_dm_service_search_remname_cback() 2160 rem_name.length = (BD_NAME_LEN - 1); in bta_dm_service_search_remname_cback() 2161 rem_name.remote_bd_name[(BD_NAME_LEN - 1)] = 0; in bta_dm_service_search_remname_cback() [all …]
|
D | bta_dm_api.cc | 99 std::vector<uint8_t> name(BD_NAME_LEN); in BTA_DmSetDeviceName() 100 strlcpy((char*)name.data(), p_name, BD_NAME_LEN); in BTA_DmSetDeviceName() 315 memset(msg->bd_name, 0, BD_NAME_LEN + 1); in BTA_DmAddDevice()
|
/system/bt/stack/include/ |
D | bt_types.h | 609 #define BD_NAME_LEN 248 macro 610 typedef uint8_t BD_NAME[BD_NAME_LEN + 1]; /* Device name */
|
D | hcimsgs.h | 499 #define HCIC_PARAM_SIZE_CHANGE_NAME BD_NAME_LEN
|
/system/bt/stack/gap/ |
D | gap_ble.cc | 70 constexpr int GAP_CHAR_DEV_NAME_SIZE = BD_NAME_LEN;
|
/system/bt/stack/btm/ |
D | btm_devctl.cc | 412 if (!p_name || !p_name[0] || (strlen((char*)p_name) > BD_NAME_LEN)) in BTM_SetLocalDeviceName()
|
D | btm_ble_gap.cc | 1250 memset(bd_name, 0, (BD_NAME_LEN + 1)); in btm_ble_read_remote_name_cmpl() 1251 if (length > BD_NAME_LEN) { in btm_ble_read_remote_name_cmpl() 1252 length = BD_NAME_LEN; in btm_ble_read_remote_name_cmpl()
|
D | btm_inq.cc | 1958 rem_name.length = (evt_len < BD_NAME_LEN) ? evt_len : BD_NAME_LEN; in btm_process_remote_name()
|