Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_storage.c168 static bt_status_t btif_in_fetch_bonded_device(const char *bdstr);
176 bdstr_t bdstr = {0}; in prop2cfg() local
178 bdaddr_to_string(remote_bd_addr, bdstr, sizeof(bdstr)); in prop2cfg()
179 BTIF_TRACE_DEBUG("in, bd addr:%s, prop type:%d, len:%d", bdstr, prop->type, prop->len); in prop2cfg()
189 btif_config_set_int(bdstr, in prop2cfg()
196 btif_config_set_str(bdstr, in prop2cfg()
204 btif_config_set_str(bdstr, BTIF_STORAGE_PATH_REMOTE_ALIASE, value); in prop2cfg()
215 btif_config_set_int(bdstr, in prop2cfg()
219 btif_config_set_int(bdstr, in prop2cfg()
236 btif_config_set_str(bdstr, BTIF_STORAGE_PATH_REMOTE_SERVICE, value); in prop2cfg()
[all …]
Dbtif_core.c386 bdstr_t bdstr; in btif_fetch_local_bdaddr() local
397 bdaddr_to_string(local_addr, bdstr, sizeof(bdstr)); in btif_fetch_local_bdaddr()
400 (char*)bdstr, PERSIST_BDADDR_PROPERTY); in btif_fetch_local_bdaddr()
402 if (osi_property_set(PERSIST_BDADDR_PROPERTY, (char*)bdstr) < 0) in btif_fetch_local_bdaddr()
407 bdstr_t bdstr; in btif_fetch_local_bdaddr() local
408 bdaddr_to_string(local_addr, bdstr, sizeof(bdstr)); in btif_fetch_local_bdaddr()
412 if (strcmp(bdstr, val) ==0) in btif_fetch_local_bdaddr()
418 btif_config_set_str("Adapter", "Address", bdstr); in btif_fetch_local_bdaddr()
470 bdstr_t bdstr; in btif_enable_bluetooth_evt() local
471 bdaddr_to_string(controller->get_address(), bdstr, sizeof(bdstr)); in btif_enable_bluetooth_evt()
[all …]
Dbtif_mce.c137 bdstr_t bdstr; in get_remote_mas_instances() local
139 …F_TRACE_EVENT("%s: remote_addr=%s", __FUNCTION__, bdaddr_to_string(bd_addr, bdstr, sizeof(bdstr))); in get_remote_mas_instances()
Dbtif_dm.c475 bdstr_t bdstr; in check_hid_le() local
476 bdaddr_to_string(remote_bdaddr, bdstr, sizeof(bdstr)); in check_hid_le()
477 if(btif_config_exist(bdstr, "HidAppId")) in check_hid_le()
577 bdstr_t bdstr; in btif_update_remote_version_property() local
582 …EBUG(LOG_TAG, "remote version info [%s]: %x, %x, %x", bdaddr_to_string(p_bd, bdstr, sizeof(bdstr)), in btif_update_remote_version_property()
710 bdstr_t bdstr; in btif_dm_cb_create_bond() local
711 bdaddr_to_string(bd_addr, bdstr, sizeof(bdstr)); in btif_dm_cb_create_bond()
714 if (!btif_config_get_int((char const *)&bdstr,"DevType", &device_type)) in btif_dm_cb_create_bond()
716 btif_config_set_int(bdstr, "DevType", BT_DEVICE_TYPE_BLE); in btif_dm_cb_create_bond()
731 if((btif_config_get_int((char const *)&bdstr,"DevType", &device_type) && in btif_dm_cb_create_bond()
[all …]
Dbtif_hf_client.c739 bdstr_t bdstr; in btif_hf_client_upstreams_evt() local
769 …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.c395 bdstr_t bdstr; in btif_hf_upstreams_evt() local
435 … bdaddr_to_string(&btif_hf_cb[idx].connected_bda, bdstr, sizeof(bdstr))); in btif_hf_upstreams_evt()
/system/bt/btif/co/
Dbta_hh_co.c523 bdstr_t bdstr; in bta_hh_le_co_rpt_info() local
524 sprintf(bdstr, "%02x:%02x:%02x:%02x:%02x:%02x", in bta_hh_le_co_rpt_info()
528 size_t len = btif_config_get_bin_length(bdstr, "HidReport"); in bta_hh_le_co_rpt_info()
531 btif_config_get_bin(bdstr, "HidReport", (uint8_t *)sReportCache, &len); in bta_hh_le_co_rpt_info()
538 btif_config_set_bin(bdstr, "HidReport", (const uint8_t *)sReportCache, in bta_hh_le_co_rpt_info()
540 BTIF_TRACE_DEBUG("%s() - Saving report; dev=%s, idx=%d", __FUNCTION__, bdstr, idx); in bta_hh_le_co_rpt_info()
565 bdstr_t bdstr; in bta_hh_le_co_cache_load() local
566 sprintf(bdstr, "%02x:%02x:%02x:%02x:%02x:%02x", in bta_hh_le_co_cache_load()
570 size_t len = btif_config_get_bin_length(bdstr, "HidReport"); in bta_hh_le_co_cache_load()
576 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/device/src/
Dinterop.c47 char bdstr[20] = {0}; in interop_match_addr() local
49 __func__, bdaddr_to_string(addr, bdstr, sizeof(bdstr)), in interop_match_addr()
/system/bt/bta/gatt/
Dbta_gattc_utils.c568 bdstr_t bdstr = {0}; in bta_gattc_mark_bg_conn() local
570 bdaddr_to_string((bt_bdaddr_t *)remote_bda_ptr, bdstr, sizeof(bdstr))); in bta_gattc_mark_bg_conn()