Searched refs:devcb (Results 1 – 9 of 9) sorted by relevance
/system/bt/stack/btm/ |
D | btm_devctl.c | 81 memset (&btm_cb.devcb, 0, sizeof (tBTM_DEVCB)); in btm_dev_init() 89 btm_cb.devcb.read_local_name_timer = in btm_dev_init() 91 btm_cb.devcb.read_rssi_timer = alarm_new("btm.read_rssi_timer"); in btm_dev_init() 92 btm_cb.devcb.read_link_quality_timer = in btm_dev_init() 94 btm_cb.devcb.read_inq_tx_power_timer = in btm_dev_init() 96 btm_cb.devcb.qos_setup_timer = alarm_new("btm.qos_setup_timer"); in btm_dev_init() 97 btm_cb.devcb.read_tx_power_timer = alarm_new("btm.read_tx_power_timer"); in btm_dev_init() 130 if (btm_cb.devcb.p_rln_cmpl_cb) in btm_db_reset() 132 p_cb = btm_cb.devcb.p_rln_cmpl_cb; in btm_db_reset() 133 btm_cb.devcb.p_rln_cmpl_cb = NULL; in btm_db_reset() [all …]
|
D | btm_acl.c | 358 if (btm_cb.devcb.p_switch_role_cb in btm_acl_report_role_change() 359 … && (bda && (0 == memcmp(btm_cb.devcb.switch_role_ref_data.remote_bd_addr, bda, BD_ADDR_LEN)))) in btm_acl_report_role_change() 361 memcpy (&ref_data, &btm_cb.devcb.switch_role_ref_data, sizeof(tBTM_ROLE_SWITCH_CMPL)); in btm_acl_report_role_change() 363 (*btm_cb.devcb.p_switch_role_cb)(&ref_data); in btm_acl_report_role_change() 364 memset (&btm_cb.devcb.switch_role_ref_data, 0, sizeof(tBTM_ROLE_SWITCH_CMPL)); in btm_acl_report_role_change() 365 btm_cb.devcb.p_switch_role_cb = NULL; in btm_acl_report_role_change() 621 if (btm_cb.devcb.p_switch_role_cb && p_cb) in BTM_SwitchRole() 624 p_bda = btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in BTM_SwitchRole() 705 memcpy (btm_cb.devcb.switch_role_ref_data.remote_bd_addr, remote_bd_addr, in BTM_SwitchRole() 707 btm_cb.devcb.switch_role_ref_data.role = new_role; in BTM_SwitchRole() [all …]
|
D | btm_ble.c | 189 tBTM_DEVCB *p_devcb = &btm_cb.devcb; in BTM_BleLoadLocalKeys() 224 memcpy (ble_encr_key_value, btm_cb.devcb.ble_encryption_key_value, BT_OCTET16_LEN); in BTM_GetDeviceEncRoot() 242 memcpy (irk, btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN); in BTM_GetDeviceIDRoot() 258 memcpy (dhk, btm_cb.devcb.id_keys.dhk, BT_OCTET16_LEN); in BTM_GetDeviceDHK() 712 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleReceiverTest() 735 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTransmitterTest() 753 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTestEnd() 766 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_le_test_cmd_cmpl_cb; in btm_ble_test_command_complete() 768 btm_cb.devcb.p_le_test_cmd_cmpl_cb = NULL; in btm_ble_test_command_complete() 1677 if (btm_cb.devcb.keep_rfu_in_auth_req) in btm_ble_io_capabilities_req() [all …]
|
D | btm_inq.c | 1251 if (btm_cb.devcb.p_inq_tx_power_cmpl_cb) in BTM_ReadInquiryRspTxPower() 1254 btm_cb.devcb.p_inq_tx_power_cmpl_cb = p_cb; in BTM_ReadInquiryRspTxPower() 1255 alarm_set_on_queue(btm_cb.devcb.read_inq_tx_power_timer, in BTM_ReadInquiryRspTxPower() 1262 btm_cb.devcb.p_inq_tx_power_cmpl_cb = NULL; in BTM_ReadInquiryRspTxPower() 1263 alarm_cancel(btm_cb.devcb.read_inq_tx_power_timer); in BTM_ReadInquiryRspTxPower() 2439 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_inq_tx_power_cmpl_cb; in btm_read_inq_tx_power_timeout() 2440 btm_cb.devcb.p_inq_tx_power_cmpl_cb = NULL; in btm_read_inq_tx_power_timeout() 2456 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_inq_tx_power_cmpl_cb; in btm_read_inq_tx_power_complete() 2460 alarm_cancel(btm_cb.devcb.read_inq_tx_power_timer); in btm_read_inq_tx_power_complete() 2461 btm_cb.devcb.p_inq_tx_power_cmpl_cb = NULL; in btm_read_inq_tx_power_complete()
|
D | btm_sec.c | 249 if (memcmp(btm_cb.devcb.id_keys.ir, &temp_value, sizeof(BT_OCTET16)) == 0) in BTM_SecRegister() 454 btm_cb.devcb.secure_connections_only = secure_connections_only_mode; in BTM_SetSecureConnectionsOnly() 1672 btm_cb.devcb.loc_auth_req = auth_req; in BTM_IoCapRsp() 1673 btm_cb.devcb.loc_io_caps = io_cap; in BTM_IoCapRsp() 1801 DEVCLASS_TO_STREAM(p, btm_cb.devcb.dev_class); in BTM_BuildOobData() 2025 && (btm_sec_io_map[p_dev_rec->rmt_io_caps][btm_cb.devcb.loc_io_caps])) in btm_sec_is_upgrade_possible() 2147 if ((btm_sec_is_serv_level0(psm)) && (!btm_cb.devcb.secure_connections_only)) in btm_sec_l2cap_access_req() 2949 btm_cb.devcb.loc_io_caps = BTM_LOCAL_IO_CAPS; in btm_sec_dev_reset() 3356 evt_data.io_cap = btm_cb.devcb.loc_io_caps; in btm_io_capabilities_req() 3527 btm_cb.devcb.loc_auth_req = evt_data.auth_req; in btm_io_capabilities_req() [all …]
|
D | btm_ble_addr.c | 109 if (!SMP_Encrypt(btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN, p->param_buf, 3, &output)) in btm_gen_resolve_paddr_low()
|
D | btm_ble_multi_adv.c | 420 if (!SMP_Encrypt(btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN, p->param_buf, 3, &output)) in btm_ble_multi_adv_gen_rpa_cmpl()
|
D | btm_ble_privacy.c | 798 UINT8 *local_irk = btm_cb.devcb.id_keys.irk; in btm_ble_resolving_list_load_dev()
|
D | btm_int.h | 809 tBTM_DEVCB devcb; member
|