Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_devctl.cc92 btm_cb.devcb.read_local_name_timer = alarm_new("btm.read_local_name_timer"); in btm_dev_init()
93 btm_cb.devcb.read_rssi_timer = alarm_new("btm.read_rssi_timer"); in btm_dev_init()
94 btm_cb.devcb.read_failed_contact_counter_timer = in btm_dev_init()
96 btm_cb.devcb.read_automatic_flush_timeout_timer = in btm_dev_init()
98 btm_cb.devcb.read_tx_power_timer = alarm_new("btm.read_tx_power_timer"); in btm_dev_init()
102 alarm_free(btm_cb.devcb.read_local_name_timer); in btm_dev_free()
103 alarm_free(btm_cb.devcb.read_rssi_timer); in btm_dev_free()
104 alarm_free(btm_cb.devcb.read_failed_contact_counter_timer); in btm_dev_free()
105 alarm_free(btm_cb.devcb.read_automatic_flush_timeout_timer); in btm_dev_free()
106 alarm_free(btm_cb.devcb.read_tx_power_timer); in btm_dev_free()
[all …]
Dbtm_int_types.h123 tBTM_DEVCB devcb; member
176 memset(&devcb, 0, sizeof(devcb)); in Init()
189 devcb.Init(); in Init()
201 devcb.Free(); in Free()
Dbtm_ble.cc60 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleReceiverTest()
81 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTransmitterTest()
96 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTestEnd()
105 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_le_test_cmd_cmpl_cb; in btm_ble_test_command_complete()
107 btm_cb.devcb.p_le_test_cmd_cmpl_cb = NULL; in btm_ble_test_command_complete()
Dbtm_ble_sec.cc203 tBTM_SEC_DEVCB* p_devcb = &btm_sec_cb.devcb; in BTM_BleLoadLocalKeys()
225 return btm_sec_cb.devcb.ble_encryption_key_value; in BTM_GetDeviceEncRoot()
229 const Octet16& BTM_GetDeviceIDRoot() { return btm_sec_cb.devcb.id_keys.irk; } in BTM_GetDeviceIDRoot()
232 const Octet16& BTM_GetDeviceDHK() { return btm_sec_cb.devcb.id_keys.dhk; } in BTM_GetDeviceDHK()
1848 p_local_keys = (tBTM_BLE_LOCAL_KEYS*)&btm_sec_cb.devcb.id_keys; in btm_notify_new_key()
1854 (tBTM_BLE_LOCAL_KEYS*)&btm_sec_cb.devcb.ble_encryption_key_value; in btm_notify_new_key()
1869 btm_sec_cb.devcb.id_keys.ir = rand1; in btm_ble_reset_id_impl()
1874 btm_sec_cb.devcb.id_keys.dhk = in btm_ble_reset_id_impl()
1875 crypto_toolbox::aes_128(btm_sec_cb.devcb.id_keys.ir, btm_ble_dhk_pt); in btm_ble_reset_id_impl()
1880 btm_sec_cb.devcb.id_keys.irk = in btm_ble_reset_id_impl()
[all …]
Dbtm_sec.cc402 if (btm_sec_cb.devcb.id_keys.ir == zero) { in BTM_SecRegister()
1519 [btm_sec_cb.devcb.loc_io_caps])) in btm_sec_is_upgrade_possible()
2171 btm_sec_cb.devcb.loc_io_caps = BTM_IO_CAP_IO; in btm_sec_dev_reset()
2588 evt_data.io_cap = btm_sec_cb.devcb.loc_io_caps; in btm_io_capabilities_req()
2718 btm_sec_cb.devcb.loc_auth_req = evt_data.auth_req; in btm_io_capabilities_req()
2719 btm_sec_cb.devcb.loc_io_caps = evt_data.io_cap; in btm_io_capabilities_req()
2822 if (btm_sec_cb.devcb.loc_io_caps == BTM_IO_CAP_IO) { in btm_proc_sp_req_evt()
2834 (btm_sec_cb.devcb.loc_io_caps == BTM_IO_CAP_IO) && in btm_proc_sp_req_evt()
2836 (btm_sec_cb.devcb.loc_auth_req & BTM_AUTH_SP_YES))) { in btm_proc_sp_req_evt()
2846 evt_data.cfm_req.just_works, btm_sec_cb.devcb.loc_io_caps, in btm_proc_sp_req_evt()
[all …]
Dbtm_sec_cb.cc41 memset(&devcb, 0, sizeof(devcb)); in Init()
Dbtm_sec_cb.h39 tBTM_SEC_DEVCB devcb; variable
Dbtm_ble_privacy.cc555 static Octet16 get_local_irk() { return btm_sec_cb.devcb.id_keys.irk; } in get_local_irk()
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_acl.cc1639 if (btm_cb.devcb.p_rssi_cmpl_cb) return (BTM_BUSY); in BTM_ReadRSSI()
1652 btm_cb.devcb.p_rssi_cmpl_cb = p_cb; in BTM_ReadRSSI()
1653 alarm_set_on_mloop(btm_cb.devcb.read_rssi_timer, BTM_DEV_REPLY_TIMEOUT_MS, in BTM_ReadRSSI()
1684 if (btm_cb.devcb.p_failed_contact_counter_cmpl_cb) return (BTM_BUSY); in BTM_ReadFailedContactCounter()
1691 btm_cb.devcb.p_failed_contact_counter_cmpl_cb = p_cb; in BTM_ReadFailedContactCounter()
1692 alarm_set_on_mloop(btm_cb.devcb.read_failed_contact_counter_timer, in BTM_ReadFailedContactCounter()
1726 if (btm_cb.devcb.p_tx_power_cmpl_cb) return (BTM_BUSY); in BTM_ReadTxPower()
1730 btm_cb.devcb.p_tx_power_cmpl_cb = p_cb; in BTM_ReadTxPower()
1731 alarm_set_on_mloop(btm_cb.devcb.read_tx_power_timer, in BTM_ReadTxPower()
1736 btm_cb.devcb.read_tx_pwr_addr = remote_bda; in BTM_ReadTxPower()
[all …]