Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_storage.cc177 static bt_status_t btif_in_fetch_bonded_device(const std::string& bdstr);
179 static bool btif_has_ble_keys(const std::string& bdstr);
186 std::string bdstr; in prop2cfg() local
188 bdstr = remote_bd_addr->ToString(); in prop2cfg()
191 BTIF_TRACE_DEBUG("in, bd addr:%s, prop type:%d, len:%d", bdstr.c_str(), in prop2cfg()
201 btif_config_set_int(bdstr, BTIF_STORAGE_PATH_REMOTE_DEVTIME, in prop2cfg()
211 btif_config_set_str(bdstr, BTIF_STORAGE_PATH_REMOTE_NAME, value); in prop2cfg()
221 btif_config_set_str(bdstr, BTIF_STORAGE_PATH_REMOTE_ALIASE, value); in prop2cfg()
240 btif_config_set_int(bdstr, BTIF_STORAGE_PATH_REMOTE_DEVCLASS, in prop2cfg()
244 btif_config_set_int(bdstr, BTIF_STORAGE_PATH_REMOTE_DEVTYPE, in prop2cfg()
[all …]
Dbtif_core.cc351 std::string bdstr = local_bd_addr.ToString(); in btif_enable_bluetooth_evt() local
356 strcmp(bdstr.c_str(), val) == 0) { in btif_enable_bluetooth_evt()
359 btif_config_set_str("Adapter", "Address", bdstr.c_str()); in btif_enable_bluetooth_evt()
Dbtif_dm.cc730 const char* bdstr = addrstr.c_str(); in btif_dm_cb_create_bond() local
732 if (!btif_config_get_int(bdstr, "DevType", &device_type)) { in btif_dm_cb_create_bond()
733 btif_config_set_int(bdstr, "DevType", BT_DEVICE_TYPE_BLE); in btif_dm_cb_create_bond()
747 if ((btif_config_get_int(bdstr, "DevType", &device_type) && in btif_dm_cb_create_bond()
/system/bt/btif/co/
Dbta_hh_co.cc640 const char* bdstr = addrstr.c_str(); in bta_hh_le_co_rpt_info() local
642 size_t len = btif_config_get_bin_length(bdstr, "HidReport"); in bta_hh_le_co_rpt_info()
644 btif_config_get_bin(bdstr, "HidReport", (uint8_t*)sReportCache, &len); in bta_hh_le_co_rpt_info()
650 btif_config_set_bin(bdstr, "HidReport", (const uint8_t*)sReportCache, in bta_hh_le_co_rpt_info()
652 BTIF_TRACE_DEBUG("%s() - Saving report; dev=%s, idx=%d", __func__, bdstr, in bta_hh_le_co_rpt_info()
677 const char* bdstr = addrstr.c_str(); in bta_hh_le_co_cache_load() local
679 size_t len = btif_config_get_bin_length(bdstr, "HidReport"); in bta_hh_le_co_cache_load()
683 btif_config_get_bin(bdstr, "HidReport", (uint8_t*)sReportCache, &len); in bta_hh_le_co_cache_load()
687 bdstr); in bta_hh_le_co_cache_load()
706 const char* bdstr = addrstr.c_str(); in bta_hh_le_co_reset_rpt_cache() local
[all …]