Home
last modified time | relevance | path

Searched refs:bdstr (Results 1 – 11 of 11) sorted by relevance

/system/bt/btif/src/
Dbtif_storage.c223 bdstr_t bdstr = {0}; in prop2cfg() local
225 bdaddr_to_string(remote_bd_addr, bdstr, sizeof(bdstr)); in prop2cfg()
226 BTIF_TRACE_DEBUG("in, bd addr:%s, prop type:%d, len:%d", bdstr, prop->type, prop->len); in prop2cfg()
236 btif_config_set_int(bdstr, in prop2cfg()
243 btif_config_set_str(bdstr, in prop2cfg()
253 btif_config_set_str(bdstr, BTIF_STORAGE_PATH_REMOTE_ALIASE, value); in prop2cfg()
266 btif_config_set_int(bdstr, in prop2cfg()
270 btif_config_set_int(bdstr, in prop2cfg()
287 btif_config_set_str(bdstr, BTIF_STORAGE_PATH_REMOTE_SERVICE, value); in prop2cfg()
298 btif_config_set_int(bdstr, in prop2cfg()
[all …]
Dbtif_core.c376 bdstr_t bdstr; in btif_fetch_local_bdaddr() local
389 bdaddr_to_string(local_addr, bdstr, sizeof(bdstr)); in btif_fetch_local_bdaddr()
392 (char*)bdstr, PERSIST_BDADDR_PROPERTY); in btif_fetch_local_bdaddr()
394 if (property_set(PERSIST_BDADDR_PROPERTY, (char*)bdstr) < 0) in btif_fetch_local_bdaddr()
399 bdstr_t bdstr; in btif_fetch_local_bdaddr() local
400 bdaddr_to_string(local_addr, bdstr, sizeof(bdstr)); in btif_fetch_local_bdaddr()
404 if (strcmp(bdstr, val) ==0) in btif_fetch_local_bdaddr()
410 btif_config_set_str("Adapter", "Address", bdstr); in btif_fetch_local_bdaddr()
462 bdstr_t bdstr; in btif_enable_bluetooth_evt() local
463 bdaddr_to_string(controller->get_address(), bdstr, sizeof(bdstr)); in btif_enable_bluetooth_evt()
[all …]
Dbtif_mce.c136 bdstr_t bdstr; in get_remote_mas_instances() local
138 …F_TRACE_EVENT("%s: remote_addr=%s", __FUNCTION__, bdaddr_to_string(bd_addr, bdstr, sizeof(bdstr))); in get_remote_mas_instances()
Dbtif_dm.c425 bdstr_t bdstr; in check_hid_le() local
426 bdaddr_to_string(remote_bdaddr, bdstr, sizeof(bdstr)); in check_hid_le()
427 if(btif_config_exist(bdstr, "HidAppId")) in check_hid_le()
528 bdstr_t bdstr; in btif_update_remote_version_property() local
533 LOG_DEBUG("remote version info [%s]: %x, %x, %x", bdaddr_to_string(p_bd, bdstr, sizeof(bdstr)), in btif_update_remote_version_property()
662 bdstr_t bdstr; in btif_dm_cb_create_bond() local
663 bdaddr_to_string(bd_addr, bdstr, sizeof(bdstr)); in btif_dm_cb_create_bond()
666 if (!btif_config_get_int((char const *)&bdstr,"DevType", &device_type)) in btif_dm_cb_create_bond()
668 btif_config_set_int(bdstr, "DevType", BT_DEVICE_TYPE_BLE); in btif_dm_cb_create_bond()
675 if((btif_config_get_int((char const *)&bdstr,"DevType", &device_type) && in btif_dm_cb_create_bond()
[all …]
Dbtif_sdp.c150 bdstr_t bdstr; in search() local
Dbtif_hf_client.c737 bdstr_t bdstr; in btif_hf_client_upstreams_evt() local
767 …btif_hf_client_cb.state, bdaddr_to_string(&btif_hf_client_cb.connected_bda, bdstr, sizeof(bdstr))); in btif_hf_client_upstreams_evt()
Dbtif_hf.c391 bdstr_t bdstr; in btif_hf_upstreams_evt() local
431 … bdaddr_to_string(&btif_hf_cb[idx].connected_bda, bdstr, sizeof(bdstr))); in btif_hf_upstreams_evt()
/system/bt/device/src/
Dinterop.c49 char bdstr[20] = {0}; in interop_match() local
51 bdaddr_to_string(addr, bdstr, sizeof(bdstr)), interop_feature_string(feature)); in interop_match()
/system/bt/btif/co/
Dbta_hh_co.c493 bdstr_t bdstr; in bta_hh_le_co_rpt_info() local
494 sprintf(bdstr, "%02x:%02x:%02x:%02x:%02x:%02x", in bta_hh_le_co_rpt_info()
498 size_t len = btif_config_get_bin_length(bdstr, "HidReport"); in bta_hh_le_co_rpt_info()
501 btif_config_get_bin(bdstr, "HidReport", (uint8_t *)sReportCache, &len); in bta_hh_le_co_rpt_info()
508 btif_config_set_bin(bdstr, "HidReport", (const uint8_t *)sReportCache, in bta_hh_le_co_rpt_info()
510 BTIF_TRACE_DEBUG("%s() - Saving report; dev=%s, idx=%d", __FUNCTION__, bdstr, idx); in bta_hh_le_co_rpt_info()
537 bdstr_t bdstr; in bta_hh_le_co_cache_load() local
538 sprintf(bdstr, "%02x:%02x:%02x:%02x:%02x:%02x", in bta_hh_le_co_cache_load()
542 size_t len = btif_config_get_bin_length(bdstr, "HidReport"); in bta_hh_le_co_cache_load()
548 btif_config_get_bin(bdstr, "HidReport", (uint8_t *)sReportCache, &len); in bta_hh_le_co_cache_load()
[all …]
Dbta_pan_co.c189 bdstr_t bdstr; in bta_pan_co_tx_path() local
195 bdaddr_to_string((bt_bdaddr_t *)conn->peer, bdstr, sizeof(bdstr))); in bta_pan_co_tx_path()
196 bdaddr_to_string((bt_bdaddr_t *)src, bdstr, sizeof(bdstr)); in bta_pan_co_tx_path()
198 bdaddr_to_string((bt_bdaddr_t *)src, bdstr, sizeof(bdstr))); in bta_pan_co_tx_path()
/system/bt/bta/gatt/
Dbta_gattc_utils.c718 bdstr_t bdstr = {0}; in bta_gattc_mark_bg_conn() local
720 bdaddr_to_string((bt_bdaddr_t *)remote_bda_ptr, bdstr, sizeof(bdstr))); in bta_gattc_mark_bg_conn()