Home
last modified time | relevance | path

Searched refs:devcb (Results 1 – 7 of 7) sorted by relevance

/system/bt/stack/btm/
Dbtm_devctl.cc85 btm_cb.devcb.read_local_name_timer = alarm_new("btm.read_local_name_timer"); in btm_dev_init()
86 btm_cb.devcb.read_rssi_timer = alarm_new("btm.read_rssi_timer"); in btm_dev_init()
87 btm_cb.devcb.read_failed_contact_counter_timer = in btm_dev_init()
89 btm_cb.devcb.read_automatic_flush_timeout_timer = in btm_dev_init()
91 btm_cb.devcb.read_link_quality_timer = in btm_dev_init()
93 btm_cb.devcb.read_inq_tx_power_timer = in btm_dev_init()
95 btm_cb.devcb.qos_setup_timer = alarm_new("btm.qos_setup_timer"); in btm_dev_init()
96 btm_cb.devcb.read_tx_power_timer = alarm_new("btm.read_tx_power_timer"); in btm_dev_init()
125 if (btm_cb.devcb.p_rln_cmpl_cb) { in btm_db_reset()
126 p_cb = btm_cb.devcb.p_rln_cmpl_cb; in btm_db_reset()
[all …]
Dbtm_acl.cc318 if (btm_cb.devcb.p_switch_role_cb && in btm_acl_report_role_change()
319 (bda && btm_cb.devcb.switch_role_ref_data.remote_bd_addr == *bda)) { in btm_acl_report_role_change()
320 memcpy(&ref_data, &btm_cb.devcb.switch_role_ref_data, in btm_acl_report_role_change()
323 (*btm_cb.devcb.p_switch_role_cb)(&ref_data); in btm_acl_report_role_change()
324 memset(&btm_cb.devcb.switch_role_ref_data, 0, in btm_acl_report_role_change()
326 btm_cb.devcb.p_switch_role_cb = NULL; in btm_acl_report_role_change()
548 btm_cb.devcb.p_switch_role_cb); in BTM_SwitchRole()
554 if (btm_cb.devcb.p_switch_role_cb && p_cb) { in BTM_SwitchRole()
556 << btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in BTM_SwitchRole()
623 btm_cb.devcb.switch_role_ref_data.remote_bd_addr = remote_bd_addr; in BTM_SwitchRole()
[all …]
Dbtm_ble.cc173 tBTM_DEVCB* p_devcb = &btm_cb.devcb; in BTM_BleLoadLocalKeys()
195 return btm_cb.devcb.ble_encryption_key_value; in BTM_GetDeviceEncRoot()
199 const Octet16& BTM_GetDeviceIDRoot() { return btm_cb.devcb.id_keys.irk; } in BTM_GetDeviceIDRoot()
202 const Octet16& BTM_GetDeviceDHK() { return btm_cb.devcb.id_keys.dhk; } in BTM_GetDeviceDHK()
658 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleReceiverTest()
679 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTransmitterTest()
694 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTestEnd()
703 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_le_test_cmd_cmpl_cb; in btm_ble_test_command_complete()
705 btm_cb.devcb.p_le_test_cmd_cmpl_cb = NULL; in btm_ble_test_command_complete()
1738 if (btm_cb.devcb.keep_rfu_in_auth_req) { in btm_ble_io_capabilities_req()
[all …]
Dbtm_sec.cc246 if (btm_cb.devcb.id_keys.ir == zero) { in BTM_SecRegister()
438 btm_cb.devcb.secure_connections_only = secure_connections_only_mode; in BTM_SetSecureConnectionsOnly()
1537 btm_cb.devcb.loc_auth_req = auth_req; in BTM_IoCapRsp()
1538 btm_cb.devcb.loc_io_caps = io_cap; in BTM_IoCapRsp()
1650 DEVCLASS_TO_STREAM(p, btm_cb.devcb.dev_class); in BTM_BuildOobData()
1856 && (btm_sec_io_map[p_dev_rec->rmt_io_caps][btm_cb.devcb.loc_io_caps])) in btm_sec_is_upgrade_possible()
1973 (!btm_cb.devcb.secure_connections_only)) { in btm_sec_l2cap_access_req()
2735 btm_cb.devcb.loc_io_caps = btif_storage_get_local_io_caps(); in btm_sec_dev_reset()
3142 evt_data.io_cap = btm_cb.devcb.loc_io_caps; in btm_io_capabilities_req()
3302 btm_cb.devcb.loc_auth_req = evt_data.auth_req; in btm_io_capabilities_req()
[all …]
Dbtm_inq.cc1042 if (btm_cb.devcb.p_inq_tx_power_cmpl_cb) return (BTM_BUSY); in BTM_ReadInquiryRspTxPower()
1044 btm_cb.devcb.p_inq_tx_power_cmpl_cb = p_cb; in BTM_ReadInquiryRspTxPower()
1045 alarm_set_on_mloop(btm_cb.devcb.read_inq_tx_power_timer, in BTM_ReadInquiryRspTxPower()
2110 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_inq_tx_power_cmpl_cb; in btm_read_inq_tx_power_timeout()
2111 btm_cb.devcb.p_inq_tx_power_cmpl_cb = NULL; in btm_read_inq_tx_power_timeout()
2125 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_inq_tx_power_cmpl_cb; in btm_read_inq_tx_power_complete()
2129 alarm_cancel(btm_cb.devcb.read_inq_tx_power_timer); in btm_read_inq_tx_power_complete()
2130 btm_cb.devcb.p_inq_tx_power_cmpl_cb = NULL; in btm_read_inq_tx_power_complete()
Dbtm_int_types.h761 tBTM_DEVCB devcb; member
Dbtm_ble_privacy.cc726 const Octet16& local_irk = btm_cb.devcb.id_keys.irk; in btm_ble_resolving_list_load_dev()