Home
last modified time | relevance | path

Searched defs:p_cb (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/Bluetooth/system/stack/smp/
Dsmp_act.cc62 static bool pts_test_send_authentication_complete_failure(tSMP_CB* p_cb) { in pts_test_send_authentication_complete_failure()
79 static void smp_update_key_mask(tSMP_CB* p_cb, uint8_t key_type, bool recv) { in smp_update_key_mask()
113 void smp_send_app_cback(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_app_cback()
270 void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_fail()
289 void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_send_pair_req()
304 void smp_send_pair_rsp(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_send_pair_rsp()
322 void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_send_confirm()
332 void smp_send_rand(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_send_rand()
341 void smp_send_pair_public_key(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_send_pair_public_key()
350 void smp_send_commitment(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_send_commitment()
[all …]
Dsmp_keys.cc71 void smp_save_local_oob_data(tSMP_CB* p_cb) { in smp_save_local_oob_data()
102 void smp_proc_passkey(tSMP_CB* p_cb, uint64_t rand) { in smp_proc_passkey()
146 void smp_generate_passkey(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_generate_passkey()
163 void smp_generate_stk(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_generate_stk()
181 void smp_compute_csrk(uint16_t div, tSMP_CB* p_cb) { in smp_compute_csrk()
201 void smp_generate_csrk(tSMP_CB* p_cb, tSMP_INT_DATA* /* p_data */) { in smp_generate_csrk()
212 [](tSMP_CB* p_cb, uint64_t rand) { in smp_generate_csrk()
224 void smp_concatenate_local(tSMP_CB* p_cb, uint8_t** p_data, uint8_t op_code) { in smp_concatenate_local()
243 void smp_concatenate_peer(tSMP_CB* p_cb, uint8_t** p_data, uint8_t op_code) { in smp_concatenate_peer()
263 Octet16 smp_gen_p1_4_confirm(tSMP_CB* p_cb, in smp_gen_p1_4_confirm()
[all …]
Dsmp_utils.cc385 tSMP_CB* p_cb = &smp_cb; in smp_send_msg_to_L2CAP() local
408 bool smp_send_cmd(uint8_t cmd_code, tSMP_CB* p_cb) { in smp_send_cmd()
449 tSMP_CB* p_cb = &smp_cb; in smp_rsp_timeout() local
492 BT_HDR* smp_build_pairing_cmd(uint8_t cmd_code, tSMP_CB* p_cb) { in smp_build_pairing_cmd()
523 static BT_HDR* smp_build_confirm_cmd(uint8_t /* cmd_code */, tSMP_CB* p_cb) { in smp_build_confirm_cmd()
548 static BT_HDR* smp_build_rand_cmd(uint8_t /* cmd_code */, tSMP_CB* p_cb) { in smp_build_rand_cmd()
573 tSMP_CB* p_cb) { in smp_build_encrypt_info_cmd()
597 static BT_HDR* smp_build_central_id_cmd(uint8_t /* cmd_code */, tSMP_CB* p_cb) { in smp_build_central_id_cmd()
623 tSMP_CB* p_cb) { in smp_build_identity_info_cmd()
650 static BT_HDR* smp_build_id_addr_cmd(uint8_t /* cmd_code */, tSMP_CB* p_cb) { in smp_build_id_addr_cmd()
[all …]
Dsmp_api.cc86 tSMP_CB* p_cb = &smp_cb; in SMP_Pair() local
134 tSMP_CB* p_cb = &smp_cb; in SMP_BR_PairWith() local
174 tSMP_CB* p_cb = &smp_cb; in SMP_PairCancel() local
285 tSMP_CB* p_cb = &smp_cb; in SMP_PasskeyReply() local
329 tSMP_CB* p_cb = &smp_cb; in SMP_ConfirmReply() local
369 tSMP_CB* p_cb = &smp_cb; in SMP_OobDataReply() local
407 tSMP_CB* p_cb = &smp_cb; in SMP_SecureConnectionOobDataReply() local
502 tSMP_CB* p_cb = &smp_cb; in SMP_SirkConfirmDeviceReply() local
Dsmp_l2c.cc105 tSMP_CB* p_cb = &smp_cb; in smp_connect_callback() local
156 tSMP_CB* p_cb = &smp_cb; in smp_data_received() local
235 tSMP_CB* p_cb = &smp_cb; in smp_tx_complete_callback() local
273 tSMP_CB* p_cb = &smp_cb; in smp_br_connect_callback() local
338 tSMP_CB* p_cb = &smp_cb; in smp_br_data_received() local
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_smp_act.cc120 void smp_send_app_cback(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_app_cback()
124 void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_fail()
128 void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_req()
132 void smp_send_pair_rsp(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_rsp()
136 void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_confirm()
140 void smp_send_rand(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_rand()
144 void smp_send_pair_public_key(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_pair_public_key()
148 void smp_send_commitment(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_commitment()
152 void smp_send_dhkey_check(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_dhkey_check()
156 void smp_send_keypress_notification(tSMP_CB* p_cb, tSMP_INT_DATA* p_data) { in smp_send_keypress_notification()
[all …]
Dmock_bta_hh_utils.cc55 void bta_hh_add_device_to_list(tBTA_HH_DEV_CB* p_cb, uint8_t handle, in bta_hh_add_device_to_list()
65 void bta_hh_clean_up_kdev(tBTA_HH_DEV_CB* p_cb) { in bta_hh_clean_up_kdev()
92 bool bta_hh_tod_spt(tBTA_HH_DEV_CB* p_cb, uint8_t sub_class) { in bta_hh_tod_spt()
100 void bta_hh_update_di_info(tBTA_HH_DEV_CB* p_cb, uint16_t vendor_id, in bta_hh_update_di_info()
Dmock_stack_sdp_api.cc100 tSDP_DISC_CMPL_CB* p_cb) { in SDP_ServiceSearchAttributeRequest()
114 tSDP_DISC_CMPL_CB* p_cb) { in SDP_ServiceSearchRequest()
146 tSDP_DISC_CMPL_CB* p_cb) { in SDP_DiDiscover()
/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_act.cc200 tBTA_HH_DEV_CB* p_cb = bta_hh_cb.p_cur; in bta_hh_sdp_cback() local
268 tBTA_HH_DEV_CB* p_cb = bta_hh_cb.p_cur; in bta_hh_di_sdp_cback() local
328 static void bta_hh_start_sdp(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_start_sdp()
371 void bta_hh_sdp_cmpl(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_sdp_cmpl()
454 static void bta_hh_bredr_conn(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_bredr_conn()
496 void bta_hh_connect(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_connect()
519 void bta_hh_api_disc_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_api_disc_act()
557 void bta_hh_open_cmpl_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_open_cmpl_act()
614 void bta_hh_open_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_open_act()
653 void bta_hh_data_act(tBTA_HH_DEV_CB* p_cb, const tBTA_HH_DATA* p_data) { in bta_hh_data_act()
[all …]
Dbta_hh_le.cc104 static void bta_hh_le_hid_report_dbg(tBTA_HH_DEV_CB* p_cb) { in bta_hh_le_hid_report_dbg()
256 void bta_hh_le_open_conn(tBTA_HH_DEV_CB* p_cb, const tAclLinkSpec& link_spec) { in bta_hh_le_open_conn()
322 tBTA_HH_DEV_CB* p_cb, uint8_t ba_inst_id) { in bta_hh_le_find_service_inst_by_battery_inst_id()
339 tBTA_HH_DEV_CB* p_cb, uint8_t srvc_inst_id, /* service instance ID */ in bta_hh_le_find_report_entry()
406 tBTA_HH_LE_RPT* bta_hh_le_find_alloc_report_entry(tBTA_HH_DEV_CB* p_cb, in bta_hh_le_find_alloc_report_entry()
478 static tBTA_HH_STATUS bta_hh_le_read_char_descriptor(tBTA_HH_DEV_CB* p_cb, in bta_hh_le_read_char_descriptor()
619 static void bta_hh_le_open_cmpl(tBTA_HH_DEV_CB* p_cb) { in bta_hh_le_open_cmpl()
643 static bool bta_hh_le_write_ccc(tBTA_HH_DEV_CB* p_cb, uint16_t char_handle, in bta_hh_le_write_ccc()
709 static bool bta_hh_le_write_rpt_clt_cfg(tBTA_HH_DEV_CB* p_cb) { in bta_hh_le_write_rpt_clt_cfg()
782 static bool bta_hh_le_set_protocol_mode(tBTA_HH_DEV_CB* p_cb, in bta_hh_le_set_protocol_mode()
[all …]
Dbta_hh_utils.cc120 void bta_hh_clean_up_kdev(tBTA_HH_DEV_CB* p_cb) { in bta_hh_clean_up_kdev()
159 void bta_hh_update_di_info(tBTA_HH_DEV_CB* p_cb, uint16_t vendor_id, in bta_hh_update_di_info()
181 void bta_hh_add_device_to_list(tBTA_HH_DEV_CB* p_cb, uint8_t handle, in bta_hh_add_device_to_list()
223 bool bta_hh_tod_spt(tBTA_HH_DEV_CB* p_cb, uint8_t sub_class) { in bta_hh_tod_spt()
255 tBTA_HH_DEV_CB* p_cb = bta_hh_get_cb(link_spec); in bta_hh_read_ssr_param() local
Dbta_hh_main.cc50 static void bta_hh_better_state_machine(tBTA_HH_DEV_CB* p_cb, uint16_t event, in bta_hh_better_state_machine()
194 void bta_hh_sm_execute(tBTA_HH_DEV_CB* p_cb, uint16_t event, in bta_hh_sm_execute()
309 tBTA_HH_DEV_CB* p_cb = NULL; in bta_hh_hdl_event() local
/packages/modules/Bluetooth/system/bta/jv/
Dbta_jv_act.cc218 tBTA_JV_RFC_CB* p_cb = NULL; in bta_jv_alloc_rfc_cb() local
280 tBTA_JV_RFC_CB* p_cb = NULL; in bta_jv_rfc_port_to_cb() local
295 static tBTA_JV_STATUS bta_jv_free_rfc_cb(tBTA_JV_RFC_CB* p_cb, in bta_jv_free_rfc_cb()
394 tBTA_JV_STATUS bta_jv_free_l2c_cb(tBTA_JV_L2C_CB* p_cb) { in bta_jv_free_l2c_cb()
450 tBTA_JV_PM_CB** p_cb; in bta_jv_free_set_pm_profile_cb() local
962 tBTA_JV_L2C_CB* p_cb = &bta_jv_cb.l2c_cb[gap_handle]; in bta_jv_l2cap_client_cback() local
1078 tBTA_JV_L2C_CB* p_cb; in bta_jv_l2cap_connect() local
1099 void bta_jv_l2cap_close(uint32_t handle, tBTA_JV_L2C_CB* p_cb) { in bta_jv_l2cap_close()
1126 tBTA_JV_L2C_CB* p_cb = &bta_jv_cb.l2c_cb[gap_handle]; in bta_jv_l2cap_server_cback() local
1237 tBTA_JV_L2C_CB* p_cb = &bta_jv_cb.l2c_cb[handle]; in bta_jv_l2cap_start_server() local
[all …]
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_at.cc56 void bta_ag_at_init(tBTA_AG_AT_CB* p_cb) { in bta_ag_at_init()
73 void bta_ag_at_reinit(tBTA_AG_AT_CB* p_cb) { in bta_ag_at_reinit()
90 void bta_ag_process_at(tBTA_AG_AT_CB* p_cb, char* p_end) { in bta_ag_process_at()
203 void bta_ag_at_parse(tBTA_AG_AT_CB* p_cb, char* p_buf, uint16_t len) { in bta_ag_at_parse()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gatts_utils.cc43 uint8_t bta_gatts_alloc_srvc_cb(tBTA_GATTS_CB* p_cb, uint8_t rcb_idx) { in bta_gatts_alloc_srvc_cb()
87 uint8_t bta_gatts_find_app_rcb_idx_by_app_if(tBTA_GATTS_CB* p_cb, in bta_gatts_find_app_rcb_idx_by_app_if()
105 tBTA_GATTS_SRVC_CB* bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB* p_cb, in bta_gatts_find_srvc_cb_by_srvc_id()
126 tBTA_GATTS_SRVC_CB* bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB* p_cb, in bta_gatts_find_srvc_cb_by_attr_id()
Dbta_gatts_act.cc124 void bta_gatts_enable(tBTA_GATTS_CB* p_cb) { in bta_gatts_enable()
149 void bta_gatts_api_disable(tBTA_GATTS_CB* p_cb) { in bta_gatts_api_disable()
173 void bta_gatts_register(tBTA_GATTS_CB* p_cb, tBTA_GATTS_DATA* p_msg) { in bta_gatts_register()
256 void bta_gatts_deregister(tBTA_GATTS_CB* p_cb, tBTA_GATTS_DATA* p_msg) { in bta_gatts_deregister()
363 void bta_gatts_indicate_handle(tBTA_GATTS_CB* p_cb, tBTA_GATTS_DATA* p_msg) { in bta_gatts_indicate_handle()
Dbta_gatts_main.cc47 tBTA_GATTS_CB* p_cb = &bta_gatts_cb; in bta_gatts_hdl_event() local
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_act.cc166 static void bta_av_close_all_rc(tBTA_AV_CB* p_cb) { in bta_av_close_all_rc()
334 uint8_t bta_av_rc_create(tBTA_AV_CB* p_cb, uint8_t role, uint8_t shdl, in bta_av_rc_create()
492 tBTA_AV_CB* p_cb = &bta_av_cb; in bta_av_find_lcb() local
521 void bta_av_rc_opened(tBTA_AV_CB* p_cb, tBTA_AV_DATA* p_data) { in bta_av_rc_opened()
681 void bta_av_rc_remote_cmd(tBTA_AV_CB* p_cb, tBTA_AV_DATA* p_data) { in bta_av_rc_remote_cmd()
703 void bta_av_rc_vendor_cmd(tBTA_AV_CB* p_cb, tBTA_AV_DATA* p_data) { in bta_av_rc_vendor_cmd()
724 void bta_av_rc_vendor_rsp(tBTA_AV_CB* p_cb, tBTA_AV_DATA* p_data) { in bta_av_rc_vendor_rsp()
745 void bta_av_rc_meta_rsp(tBTA_AV_CB* p_cb, tBTA_AV_DATA* p_data) { in bta_av_rc_meta_rsp()
976 void bta_av_rc_msg(tBTA_AV_CB* p_cb, tBTA_AV_DATA* p_data) { in bta_av_rc_msg()
1155 void bta_av_rc_close(tBTA_AV_CB* p_cb, tBTA_AV_DATA* p_data) { in bta_av_rc_close()
[all …]
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_devctl.cc117 tBTM_CMPL_CB* p_cb; in BTM_db_reset() local
244 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_rln_cmpl_cb; in btm_read_local_name_timeout() local
397 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_rln_cmpl_cb; in btm_read_local_name_complete() local
458 uint8_t* p_param_buf, tBTM_VSC_CMPL_CB* p_cb) { in BTM_VendorSpecificCommand()
552 tBTM_CMPL_CB* p_cb) { in BTM_DeleteStoredLinkKey()
592 tBTM_CMPL_CB* p_cb = btm_sec_cb.devcb.p_stored_link_key_cmpl_cb; in btm_delete_stored_link_key_complete() local
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_pm.cc134 tBTM_PM_STATUS_CBACK* p_cb) { in BTM_PmRegister()
196 auto* p_cb = btm_pm_get_power_manager_from_address(remote_bda); in BTM_SetPowerMode() local
323 tBTM_PM_MCB* p_cb = btm_pm_get_power_manager_from_address(remote_bda); in BTM_SetSsrParams() local
461 static tBTM_PM_MODE btm_pm_get_set_mode(uint8_t pm_id, tBTM_PM_MCB* p_cb, in btm_pm_get_set_mode()
518 tBTM_PM_MCB* p_cb = &pm_mode_db[handle]; in btm_pm_snd_md_req() local
661 tBTM_PM_MCB* p_cb = &pm_mode_db[pm_pend_link]; in btm_pm_proc_cmd_status() local
712 tBTM_PM_MCB* p_cb = &pm_mode_db[hci_handle]; in btm_pm_proc_mode_change() local
774 tBTM_PM_MCB* p_cb = &pm_mode_db[handle]; in process_ssr_event() local
Dbtm_acl.cc1633 tBTM_STATUS BTM_ReadRSSI(const RawAddress& remote_bda, tBTM_CMPL_CB* p_cb) { in BTM_ReadRSSI()
1677 tBTM_CMPL_CB* p_cb) { in BTM_ReadFailedContactCounter()
1718 tBT_TRANSPORT transport, tBTM_CMPL_CB* p_cb) { in BTM_ReadTxPower()
1761 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_tx_power_cmpl_cb; in btm_read_tx_power_timeout() local
1777 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_tx_power_cmpl_cb; in btm_read_tx_power_complete() local
1843 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_rssi_cmpl_cb; in btm_read_rssi_timeout() local
1860 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_rssi_cmpl_cb; in btm_read_rssi_complete() local
1913 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_failed_contact_counter_cmpl_cb; in btm_read_failed_contact_counter_timeout() local
1931 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_failed_contact_counter_cmpl_cb; in btm_read_failed_contact_counter_complete() local
1976 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_automatic_flush_timeout_cmpl_cb; in btm_read_automatic_flush_timeout_complete() local
/packages/modules/Bluetooth/system/bta/test/
Dbta_sec_test.cc63 tBT_TRANSPORT transport) -> tBTM_STATUS { return BTM_CMD_STARTED; }; in TEST_F()
113 tBT_TRANSPORT transport) -> tBTM_STATUS { return BTM_CMD_STARTED; }; in TEST_F()
152 tBT_TRANSPORT transport) -> tBTM_STATUS { return BTM_SUCCESS; }; in TEST_F()
199 tBT_TRANSPORT transport) -> tBTM_STATUS { return BTM_CMD_STARTED; }; in TEST_F()
/packages/modules/Bluetooth/system/btif/co/
Dbta_gatts_co.cc51 btif_gatts_srv_chg_cb_t* p_cb = &btif_gatts_srv_chg_cb; in btif_gatts_check_init() local
64 btif_gatts_srv_chg_cb_t* p_cb = &btif_gatts_srv_chg_cb; in btif_gatts_add_bonded_dev_from_nv() local
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_api.cc136 tSDP_DISC_CMPL_CB* p_cb) { in SDP_ServiceSearchRequest()
167 tSDP_DISC_CMPL_CB* p_cb) { in SDP_ServiceSearchAttributeRequest()
740 tSDP_DISC_CMPL_CB* p_cb) { in SDP_DiDiscover()
/packages/modules/Bluetooth/system/btif/include/
Dbtif_common.h90 tBTIF_CBACK* p_cb; /* context switch callback */ member

12