Home
last modified time | relevance | path

Searched refs:bd_name (Results 1 – 23 of 23) sorted by relevance

/system/bt/service/hal/
Dbluetooth_interface.cc115 void PinRequestCallback(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, in PinRequestCallback() argument
120 << " - bd_name: " << bd_name << " - cod: " << cod in PinRequestCallback()
123 PinRequestCallback(remote_bd_addr, bd_name, cod, min_16_digit)); in PinRequestCallback()
126 void SSPRequestCallback(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, in SSPRequestCallback() argument
132 << " - bd_name: " << bd_name << " - cod: " << cod in SSPRequestCallback()
134 FOR_EACH_BLUETOOTH_OBSERVER(SSPRequestCallback(remote_bd_addr, bd_name, cod, in SSPRequestCallback()
330 RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, in PinRequestCallback() argument
336 RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, in SSPRequestCallback() argument
Dbluetooth_interface.h64 bt_bdname_t* bd_name, uint32_t cod,
67 bt_bdname_t* bd_name, uint32_t cod,
/system/bt/btif/src/
Dbtif_dm.cc147 BD_NAME bd_name; member
222 BD_NAME bd_name, DEV_CLASS dev_class,
557 BD_NAME bd_name, DEV_CLASS dev_class, in btif_update_remote_properties() argument
568 if (strlen((const char*)bd_name)) { in btif_update_remote_properties()
570 strlen((char*)bd_name), bd_name); in btif_update_remote_properties()
838 bt_bdname_t bd_name; in btif_dm_pin_req_evt() local
847 btif_update_remote_properties(p_pin_req->bd_addr, p_pin_req->bd_name, in btif_dm_pin_req_evt()
852 memcpy(bd_name.name, p_pin_req->bd_name, BD_NAME_LEN); in btif_dm_pin_req_evt()
882 (const char*)bd_name.name) && in btif_dm_pin_req_evt()
913 HAL_CBACK(bt_hal_cbacks, pin_request_cb, &tmp, &bd_name, cod, in btif_dm_pin_req_evt()
[all …]
Dbtif_core.cc891 char bd_name[BTM_MAX_LOC_BD_NAME_LEN + 1]; in btif_set_adapter_property() local
904 memcpy(bd_name, property->val, name_len); in btif_set_adapter_property()
905 bd_name[name_len] = '\0'; in btif_set_adapter_property()
907 BTIF_TRACE_EVENT("set property name : %s", (char*)bd_name); in btif_set_adapter_property()
909 BTA_DmSetDeviceName((char*)bd_name); in btif_set_adapter_property()
/system/bt/bta/dm/
Dbta_dm_act.cc64 DEV_CLASS dc, BD_NAME bd_name);
70 DEV_CLASS dev_class, BD_NAME bd_name,
74 BD_NAME bd_name, bool min_16_digit);
76 DEV_CLASS dev_class, BD_NAME bd_name,
80 BD_NAME bd_name,
747 if (!BTM_SecAddDevice(msg->bd_addr, p_dc, msg->bd_name, msg->features, in bta_dm_add_device()
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()
1298 if (p_data->rem_name.result.disc_res.bd_name[0] && in bta_dm_rmt_name()
1323 if (p_data->rem_name.result.disc_res.bd_name[0]) { in bta_dm_disc_rmt_name()
[all …]
Dbta_dm_int.h160 BD_NAME bd_name; member
Dbta_dm_api.cc320 memset(msg->bd_name, 0, BD_NAME_LEN + 1); in BTA_DmAddDevice()
/system/bt/tools/bdtool/
Dbdtool.c51 static char* bd_name; variable
179 bt_property_t* property = property_new_name(bd_name); in main()
180 printf("Setting bluetooth device name to:%s\n", bd_name); in main()
337 bd_name = (char*)optarg; in parse_args()
Dadapter.c152 void ssp_request(RawAddress* remote_bd_addr, bt_bdname_t* bd_name, uint32_t cod, in ssp_request() argument
178 bdaddr_to_string(remote_bd_addr, buf, sizeof(buf)), bd_name->name); in ssp_request()
/system/bt/bta/include/
Dbta_api.h401 BD_NAME bd_name; /* Name of peer device. */ member
499 BD_NAME bd_name; /* peer device name */ member
511 BD_NAME bd_name; /* Name of peer device. */ member
524 BD_NAME bd_name; /* Name of peer device. */ member
621 BD_NAME bd_name; /* peer device name */ member
652 BD_NAME bd_name; /* peer device name */ member
663 BD_NAME bd_name; /* peer device name */ member
753 BD_NAME bd_name; /* Name of peer device. */ member
766 BD_NAME bd_name; /* Name of peer device. */ member
/system/bt/stack/btm/
Dbtm_dev.cc62 BD_NAME bd_name, uint8_t* features, in BTM_SecAddDevice() argument
97 if (bd_name && bd_name[0]) { in BTM_SecAddDevice()
99 strlcpy((char*)p_dev_rec->sec_bd_name, (char*)bd_name, in BTM_SecAddDevice()
Dbtm_devctl.cc83 memset(btm_cb.cfg.bd_name, 0, sizeof(tBTM_LOC_BD_NAME)); in btm_dev_init()
431 p = (uint8_t*)btm_cb.cfg.bd_name; in BTM_SetLocalDeviceName()
433 strlcpy(btm_cb.cfg.bd_name, p_name, BTM_MAX_LOC_BD_NAME_LEN); in BTM_SetLocalDeviceName()
453 *p_name = btm_cb.cfg.bd_name; in BTM_ReadLocalDeviceName()
Dbtm_int.h245 uint8_t* bd_name, uint8_t status);
Dbtm_ble.cc70 bool BTM_SecAddBleDevice(const RawAddress& bd_addr, BD_NAME bd_name, in BTM_SecAddBleDevice() argument
95 if (bd_name && bd_name[0]) { in BTM_SecAddBleDevice()
97 strlcpy((char*)p_dev_rec->sec_bd_name, (char*)bd_name, in BTM_SecAddBleDevice()
Dbtm_ble_gap.cc1334 BD_NAME bd_name; in btm_ble_read_remote_name_cmpl() local
1336 memset(bd_name, 0, (BD_NAME_LEN + 1)); in btm_ble_read_remote_name_cmpl()
1340 memcpy((uint8_t*)bd_name, p_name, length); in btm_ble_read_remote_name_cmpl()
1346 btm_process_remote_name(&bda, bd_name, length + 1, hci_status); in btm_ble_read_remote_name_cmpl()
Dbtm_int_types.h593 tBTM_LOC_BD_NAME bd_name; /* local Bluetooth device name */ member
Dbtm_sec.cc1655 if (name_size > strlen(btm_cb.cfg.bd_name)) { in BTM_BuildOobData()
1657 name_size = (uint16_t)strlen(btm_cb.cfg.bd_name); in BTM_BuildOobData()
1663 ARRAY_TO_STREAM(p, btm_cb.cfg.bd_name, name_size); in BTM_BuildOobData()
3406 strlcpy((char*)evt_data.cfm_req.bd_name, (char*)p_dev_rec->sec_bd_name, in btm_proc_sp_req_evt()
3640 strlcpy((char*)evt_data.bd_name, (char*)p_dev_rec->sec_bd_name, in btm_rem_oob_req()
/system/bt/stack/include/
Dbtm_api_types.h1315 const RawAddress& bd_addr, DEV_CLASS dev_class, tBTM_BD_NAME bd_name,
1325 DEV_CLASS dev_class, tBTM_BD_NAME bd_name,
1335 tBTM_BD_NAME bd_name,
1343 tBTM_BD_NAME bd_name);
1353 tBTM_BD_NAME bd_name, int result);
1439 tBTM_BD_NAME bd_name; /* peer device name */ member
1453 tBTM_BD_NAME bd_name; /* peer device name */ member
1460 tBTM_BD_NAME bd_name; /* peer device name */ member
1491 tBTM_BD_NAME bd_name; /* peer device name */ member
1498 tBTM_BD_NAME bd_name; /* peer device name */ member
Dbtm_ble_api.h55 extern bool BTM_SecAddBleDevice(const RawAddress& bd_addr, BD_NAME bd_name,
Dbtm_api.h1409 BD_NAME bd_name, uint8_t* features,
/system/bt/btif/include/
Dbtif_dm.h108 BD_NAME bd_name,
/system/bt/include/hardware/
Dbluetooth.h348 bt_bdname_t* bd_name, uint32_t cod,
357 bt_bdname_t* bd_name, uint32_t cod,
/system/bt/service/
Dadapter.cc660 void SSPRequestCallback(RawAddress* remote_bdaddr, bt_bdname_t* bd_name, in SSPRequestCallback() argument
664 std::string name = reinterpret_cast<char*>(bd_name->name); in SSPRequestCallback()