Home
last modified time | relevance | path

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

/aosp12/system/bt/btif/src/
H A Dbtif_storage.cc187 std::string bdstr; in prop2cfg() local
189 bdstr = remote_bd_addr->ToString(); in prop2cfg()
285 std::string bdstr; in cfg2prop() local
287 bdstr = remote_bd_addr->ToString(); in cfg2prop()
848 if (btif_config_exist(bdstr, "LinkKey")) in btif_storage_remove_bonded_device()
1440 btif_config_remove(bdstr, "HidAttrMask"); in btif_storage_remove_hid_info()
1441 btif_config_remove(bdstr, "HidSubClass"); in btif_storage_remove_hid_info()
1442 btif_config_remove(bdstr, "HidAppId"); in btif_storage_remove_hid_info()
1443 btif_config_remove(bdstr, "HidVendorId"); in btif_storage_remove_hid_info()
1445 btif_config_remove(bdstr, "HidVersion"); in btif_storage_remove_hid_info()
[all …]
H A Dbtif_core.cc273 std::string bdstr = local_bd_addr.ToString(); in btif_enable_bluetooth_evt() local
278 strcmp(bdstr.c_str(), val) != 0) { in btif_enable_bluetooth_evt()
281 LOG_INFO("%s: Storing '%s' into the config file", __func__, bdstr.c_str()); in btif_enable_bluetooth_evt()
282 btif_config_set_str("Adapter", "Address", bdstr.c_str()); in btif_enable_bluetooth_evt()
H A Dbtif_dm.cc610 const char* bdstr = addrstr.c_str(); in btif_dm_cb_create_bond() local
612 if (!btif_config_get_int(bdstr, "DevType", &device_type)) { in btif_dm_cb_create_bond()
613 btif_config_set_int(bdstr, "DevType", BT_DEVICE_TYPE_BLE); in btif_dm_cb_create_bond()
627 if ((btif_config_get_int(bdstr, "DevType", &device_type) && in btif_dm_cb_create_bond()
/aosp12/system/bt/btif/co/
H A Dbta_hh_co.cc642 const char* bdstr = addrstr.c_str(); in bta_hh_le_co_rpt_info() local
644 size_t len = btif_config_get_bin_length(bdstr, "HidReport"); in bta_hh_le_co_rpt_info()
680 const char* bdstr = addrstr.c_str(); in bta_hh_le_co_cache_load() local
682 size_t len = btif_config_get_bin_length(bdstr, "HidReport"); in bta_hh_le_co_cache_load()
686 btif_config_get_bin(bdstr, "HidReport", (uint8_t*)sReportCache, &len); in bta_hh_le_co_cache_load()
689 btif_config_get_int(bdstr, "HidReportVersion", &cache_version); in bta_hh_le_co_cache_load()
699 bdstr); in bta_hh_le_co_cache_load()
718 const char* bdstr = addrstr.c_str(); in bta_hh_le_co_reset_rpt_cache() local
720 btif_config_remove(bdstr, "HidReport"); in bta_hh_le_co_reset_rpt_cache()
721 btif_config_remove(bdstr, "HidReportVersion"); in bta_hh_le_co_reset_rpt_cache()
[all …]
/aosp12/system/bt/test/mock/
H A Dmock_btif_storage.cc42 bool btif_has_ble_keys(const std::string& bdstr) { in btif_has_ble_keys() argument