/system/bt/bta/hd/ |
D | bta_hd_act.cc | 93 bta_hd_cb.p_cback = p_data->api_enable.p_cback; in bta_hd_api_enable() 105 (*bta_hd_cb.p_cback)(BTA_HD_ENABLE_EVT, &bta_hd); in bta_hd_api_enable() 124 if (bta_hd_cb.p_cback == NULL) return; in bta_hd_api_disable() 142 (*bta_hd_cb.p_cback)(BTA_HD_DISABLE_EVT, &bta_hd); in bta_hd_api_disable() 173 (*bta_hd_cb.p_cback)(BTA_HD_REGISTER_APP_EVT, &ret); in bta_hd_register_act() 208 (*bta_hd_cb.p_cback)(BTA_HD_REGISTER_APP_EVT, &ret); in bta_hd_register_act() 237 (*bta_hd_cb.p_cback)(BTA_HD_UNREGISTER_APP_EVT, &bta_hd); in bta_hd_unregister_act() 294 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_connect_act() 321 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_disconnect_act() 447 tBTA_HD_CBACK_DATA* p_cback = (tBTA_HD_CBACK_DATA*)p_data; in bta_hd_open_act() local [all …]
|
/system/nfc/src/nfc/nfc/ |
D | nfc_vs.cc | 54 tNFC_STATUS NFC_RegVSCback(bool is_register, tNFC_VS_CBACK* p_cback) { in NFC_RegVSCback() argument 62 nfc_cb.p_vs_cb[i] = p_cback; in NFC_RegVSCback() 70 if (nfc_cb.p_vs_cb[i] == p_cback) { in NFC_RegVSCback() 93 tNFC_STATUS NFC_SendRawVsCommand(NFC_HDR* p_data, tNFC_VS_CBACK* p_cback) { in NFC_SendRawVsCommand() argument 105 ((tNFC_NCI_VS_MSG*)p_data)->p_cback = p_cback; in NFC_SendRawVsCommand() 126 tNFC_VS_CBACK* p_cback) { in NFC_SendVsCommand() argument 151 ((tNFC_NCI_VS_MSG*)p_data)->p_cback = p_cback; in NFC_SendVsCommand()
|
D | nfc_utils.cc | 47 tNFC_CONN_CB* nfc_alloc_conn_cb(tNFC_CONN_CBACK* p_cback) { in nfc_alloc_conn_cb() argument 57 p_conn_cb->p_cback = p_cback; in nfc_alloc_conn_cb() 167 p_cb->p_cback = nullptr; in nfc_free_conn_cb() 191 if (p_conn_cb->p_cback) { in nfc_reset_all_conn_cbs() 194 (*p_conn_cb->p_cback)(p_conn_cb->conn_id, NFC_DEACTIVATE_CEVT, in nfc_reset_all_conn_cbs()
|
/system/bt/bta/sys/ |
D | bta_sys_conn.cc | 48 void bta_sys_rm_register(tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_rm_register() argument 49 bta_sys_cb.prm_cb = p_cback; in bta_sys_rm_register() 62 void bta_sys_role_chg_register(tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_role_chg_register() argument 63 bta_sys_cb.p_role_cb = p_cback; in bta_sys_role_chg_register() 75 void bta_sys_ssr_cfg_register(tBTA_SYS_SSR_CFG_CBACK* p_cback) { in bta_sys_ssr_cfg_register() argument 76 bta_sys_cb.p_ssr_cb = p_cback; in bta_sys_ssr_cfg_register() 109 void bta_sys_collision_register(uint8_t bta_id, tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_collision_register() argument 116 bta_sys_cb.colli_reg.p_coll_cback[index] = p_cback; in bta_sys_collision_register() 154 void bta_sys_sco_register(tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_sco_register() argument 155 bta_sys_cb.p_sco_cb = p_cback; in bta_sys_sco_register() [all …]
|
D | bta_sys.h | 215 extern void bta_sys_rm_register(tBTA_SYS_CONN_CBACK* p_cback); 216 extern void bta_sys_pm_register(tBTA_SYS_CONN_CBACK* p_cback); 218 extern void bta_sys_sco_register(tBTA_SYS_CONN_CBACK* p_cback); 241 extern void bta_sys_ssr_cfg_register(tBTA_SYS_SSR_CFG_CBACK* p_cback); 245 extern void bta_sys_role_chg_register(tBTA_SYS_CONN_CBACK* p_cback); 249 tBTA_SYS_CONN_CBACK* p_cback); 253 extern void bta_sys_eir_register(tBTA_SYS_EIR_CBACK* p_cback); 256 extern void bta_sys_cust_eir_register(tBTA_SYS_CUST_EIR_CBACK* p_cback);
|
/system/nfc/src/nfc/tags/ |
D | ce_main.cc | 67 if (ce_cb.p_cback) { in CE_SendRawFrame() 100 tCE_CBACK* p_cback) { in CE_SetActivatedTagType() argument 114 ce_cb.p_cback = p_cback; in CE_SetActivatedTagType() 121 ce_cb.p_cback = p_cback; in CE_SetActivatedTagType() 132 ce_cb.p_cback = nullptr; in CE_SetActivatedTagType()
|
D | rw_main.cc | 177 if (rw_cb.p_cback) { in RW_SendRawFrame() 209 tRW_CBACK* p_cback) { in RW_SetActivatedTagType() argument 218 if (p_cback == nullptr) { in RW_SetActivatedTagType() 264 rw_cb.p_cback = p_cback; in RW_SetActivatedTagType() 319 if (status != NFC_STATUS_OK) rw_cb.p_cback = nullptr; in RW_SetActivatedTagType()
|
/system/bt/bta/jv/ |
D | bta_jv_api.cc | 61 tBTA_JV_STATUS BTA_JvEnable(tBTA_JV_DM_CBACK* p_cback) { in BTA_JvEnable() argument 62 if (!p_cback || bta_jv_enabled) { in BTA_JvEnable() 79 do_in_main_thread(FROM_HERE, Bind(&bta_jv_enable, p_cback)); in BTA_JvEnable() 228 tBTA_JV_L2CAP_CBACK* p_cback, in BTA_JvL2capConnect() argument 231 CHECK(p_cback); in BTA_JvL2capConnect() 236 base::Passed(&ertm_info), p_cback, l2cap_socket_id)); in BTA_JvL2capConnect() 252 if (handle >= BTA_JV_MAX_L2C_CONN || !bta_jv_cb.l2c_cb[handle].p_cback) in BTA_JvL2capClose() 278 tBTA_JV_L2CAP_CBACK* p_cback, in BTA_JvL2capStartServer() argument 281 CHECK(p_cback); in BTA_JvL2capStartServer() 286 base::Passed(&ertm_info), p_cback, l2cap_socket_id)); in BTA_JvL2capStartServer() [all …]
|
D | bta_jv_act.cc | 291 p_cb->p_cback = NULL; in bta_jv_free_rfc_cb() 322 p_cb->p_cback = NULL; in bta_jv_free_l2c_cb() 398 if (hi < BTA_JV_MAX_RFC_CONN && bta_jv_cb.rfc_cb[hi].p_cback && in bta_jv_free_set_pm_profile_cb() 554 void bta_jv_enable(tBTA_JV_DM_CBACK* p_cback) { in bta_jv_enable() argument 556 bta_jv_cb.p_dm_cback = p_cback; in bta_jv_enable() 839 if (gap_handle >= BTA_JV_MAX_L2C_CONN && !p_cb->p_cback) return; in bta_jv_l2cap_client_cback() 851 p_cb->p_cback(BTA_JV_L2CAP_OPEN_EVT, &evt_data, p_cb->l2cap_socket_id); in bta_jv_l2cap_client_cback() 858 p_cb->p_cback(BTA_JV_L2CAP_CLOSE_EVT, &evt_data, p_cb->l2cap_socket_id); in bta_jv_l2cap_client_cback() 859 p_cb->p_cback = NULL; in bta_jv_l2cap_client_cback() 866 p_cb->p_cback(BTA_JV_L2CAP_DATA_IND_EVT, &evt_data, in bta_jv_l2cap_client_cback() [all …]
|
D | bta_jv_int.h | 69 tBTA_JV_L2CAP_CBACK* p_cback; /* the callback function */ member 98 tBTA_JV_RFCOMM_CBACK* p_cback; /* the callback function */ member 144 extern void bta_jv_enable(tBTA_JV_DM_CBACK* p_cback); 161 tBTA_JV_L2CAP_CBACK* p_cback, 167 std::unique_ptr<tL2CAP_ERTM_INFO> ertm_info, tBTA_JV_L2CAP_CBACK* p_cback, 175 tBTA_JV_RFCOMM_CBACK* p_cback, 180 tBTA_JV_RFCOMM_CBACK* p_cback,
|
/system/bt/test/mock/ |
D | mock_bta_sys_conn.cc | 56 void bta_sys_collision_register(uint8_t bta_id, tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_collision_register() argument 77 void bta_sys_pm_register(tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_pm_register() argument 80 void bta_sys_rm_register(tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_rm_register() argument 83 void bta_sys_role_chg_register(tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_role_chg_register() argument 93 void bta_sys_sco_register(tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_sco_register() argument 104 void bta_sys_ssr_cfg_register(tBTA_SYS_SSR_CFG_CBACK* p_cback) { in bta_sys_ssr_cfg_register() argument 107 void bta_sys_eir_register(tBTA_SYS_EIR_CBACK* p_cback) { in bta_sys_eir_register() argument 110 void bta_sys_cust_eir_register(tBTA_SYS_CUST_EIR_CBACK* p_cback) { in bta_sys_cust_eir_register() argument
|
D | mock_stack_avdt_api.cc | 56 tAVDT_CTRL_CBACK* p_cback) { in AVDT_ConnectReq() argument 70 tAVDT_CTRL_CBACK* p_cback) { in AVDT_DisconnectReq() argument 76 tAVDT_CTRL_CBACK* p_cback) { in AVDT_DiscoverReq() argument 82 tAVDT_CTRL_CBACK* p_cback, bool get_all_cap) { in AVDT_GetCapReq() argument 132 void AVDT_Register(AvdtpRcb* p_reg, tAVDT_CTRL_CBACK* p_cback) { in AVDT_Register() argument
|
D | mock_bta_jv_api.cc | 51 tBTA_JV_STATUS BTA_JvEnable(tBTA_JV_DM_CBACK* p_cback) { in BTA_JvEnable() argument 89 tBTA_JV_RFCOMM_CBACK* p_cback, in BTA_JvRfcommConnect() argument 96 tBTA_JV_RFCOMM_CBACK* p_cback, in BTA_JvRfcommStartServer() argument 135 tBTA_JV_L2CAP_CBACK* p_cback, in BTA_JvL2capConnect() argument 143 tBTA_JV_L2CAP_CBACK* p_cback, in BTA_JvL2capStartServer() argument
|
/system/bt/bta/gatt/ |
D | bta_gatts_act.cc | 209 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; in bta_gatts_register() 229 if (p_msg->api_reg.p_cback) in bta_gatts_register() 230 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); in bta_gatts_register() 262 tBTA_GATTS_CBACK* p_cback = NULL; in bta_gatts_deregister() local 272 p_cback = p_cb->rcb[i].p_cback; in bta_gatts_deregister() 285 if (p_cback) { in bta_gatts_deregister() 286 (*p_cback)(BTA_GATTS_DEREG_EVT, &cb_data); in bta_gatts_deregister() 317 if (p_rcb->p_cback) (*p_rcb->p_cback)(BTA_GATTS_DELELTE_EVT, &cb_data); in bta_gatts_delete_service() 340 if (p_rcb->p_cback) (*p_rcb->p_cback)(BTA_GATTS_STOP_EVT, &cb_data); in bta_gatts_stop_service() 407 p_rcb && p_cb->rcb[p_srvc_cb->rcb_idx].p_cback) { in bta_gatts_indicate_handle() [all …]
|
D | bta_gattc_act.cc | 165 void bta_gattc_register(const Uuid& app_uuid, tBTA_GATTC_CBACK* p_cback, in bta_gattc_register() argument 185 bta_gattc_cb.cl_rcb[i].p_cback = p_cback; in bta_gattc_register() 303 if (p_clreg && p_clreg->p_cback) { in bta_gattc_process_api_open_cancel() 306 (*p_clreg->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_process_api_open_cancel() 314 if (!p_clreg || !p_clreg->p_cback) return; in bta_gattc_process_enc_cmpl() 322 (*p_clreg->p_cback)(BTA_GATTC_ENC_CMPL_CB_EVT, &cb_data); in bta_gattc_process_enc_cmpl() 331 if (p_clcb && p_clcb->p_rcb && p_clcb->p_rcb->p_cback) in bta_gattc_cancel_open_error() 332 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_cancel_open_error() 434 if (p_clreg && p_clreg->p_cback) { in bta_gattc_cancel_bk_conn() 435 (*p_clreg->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_cancel_bk_conn() [all …]
|
/system/nfc/src/nfa/p2p/ |
D | nfa_p2p_act.cc | 193 nfa_p2p_cb.sap_cb[local_sap].p_cback(NFA_P2P_SDP_EVT, &evt_data); in nfa_p2p_sdp_cback() 251 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) { in nfa_p2p_proc_llcp_data_ind() 270 nfa_p2p_cb.sap_cb[local_sap].p_cback(NFA_P2P_DATA_EVT, &evt_data); in nfa_p2p_proc_llcp_data_ind() 295 if (nfa_p2p_cb.sap_cb[server_sap].p_cback) { in nfa_p2p_proc_llcp_connect_ind() 313 nfa_p2p_cb.sap_cb[server_sap].p_cback(NFA_P2P_CONN_REQ_EVT, &evt_data); in nfa_p2p_proc_llcp_connect_ind() 338 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) { in nfa_p2p_proc_llcp_connect_resp() 356 nfa_p2p_cb.sap_cb[local_sap].p_cback(NFA_P2P_CONNECTED_EVT, &evt_data); in nfa_p2p_proc_llcp_connect_resp() 379 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) { in nfa_p2p_proc_llcp_disconnect_ind() 390 nfa_p2p_cb.sap_cb[local_sap].p_cback(NFA_P2P_DISC_EVT, &evt_data); in nfa_p2p_proc_llcp_disconnect_ind() 401 nfa_p2p_cb.sap_cb[local_sap].p_cback(NFA_P2P_DISC_EVT, &evt_data); in nfa_p2p_proc_llcp_disconnect_ind() [all …]
|
/system/nfc/src/nfa/sys/ |
D | nfa_sys_cback.cc | 44 void nfa_sys_cback_reg_enable_complete(tNFA_SYS_ENABLE_CBACK* p_cback) { in nfa_sys_cback_reg_enable_complete() argument 45 nfa_sys_cb.p_enable_cback = p_cback; in nfa_sys_cback_reg_enable_complete() 84 tNFA_SYS_PROC_NFCC_PWR_MODE_CMPL* p_cback) { in nfa_sys_cback_reg_nfcc_power_mode_proc_complete() argument 85 nfa_sys_cb.p_proc_nfcc_pwr_mode_cmpl_cback = p_cback; in nfa_sys_cback_reg_nfcc_power_mode_proc_complete()
|
/system/nfc/src/nfc/nci/ |
D | nci_hrcv.cc | 333 tNFC_RESPONSE_CBACK* p_cback = nfc_cb.p_resp_cback; in nci_proc_ee_management_rsp() local 392 p_cback = nullptr; in nci_proc_ee_management_rsp() 397 if (p_cback) (*p_cback)(event, &nfc_response); in nci_proc_ee_management_rsp() 412 tNFC_RESPONSE_CBACK* p_cback = nfc_cb.p_resp_cback; in nci_proc_ee_management_ntf() local 430 p_cback = nullptr; in nci_proc_ee_management_ntf() 441 p_cback = nullptr; in nci_proc_ee_management_ntf() 464 p_cback = nullptr; in nci_proc_ee_management_ntf() 476 p_cback = nullptr; in nci_proc_ee_management_ntf() 510 p_cback = nullptr; in nci_proc_ee_management_ntf() 514 if (p_cback) (*p_cback)(event, &nfc_response); in nci_proc_ee_management_ntf() [all …]
|
/system/bt/stack/test/common/ |
D | mock_bta_sys_conn.cc | 49 void bta_sys_collision_register(uint8_t bta_id, tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_collision_register() argument 70 void bta_sys_pm_register(tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_pm_register() argument 73 void bta_sys_rm_register(tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_rm_register() argument 76 void bta_sys_role_chg_register(tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_role_chg_register() argument 86 void bta_sys_sco_register(tBTA_SYS_CONN_CBACK* p_cback) { in bta_sys_sco_register() argument
|
/system/bt/bta/sdp/ |
D | bta_sdp_api.cc | 51 tBTA_SDP_STATUS BTA_SdpEnable(tBTA_SDP_DM_CBACK* p_cback) { in BTA_SdpEnable() argument 52 if (!p_cback) { in BTA_SdpEnable() 57 do_in_main_thread(FROM_HERE, base::Bind(bta_sdp_enable, p_cback)); in BTA_SdpEnable()
|
/system/nfc/src/nfa/include/ |
D | nfa_snep_int.h | 55 tNFA_SNEP_CBACK* p_cback; member 61 tNFA_SNEP_CBACK* p_cback; member 69 tNFA_SNEP_CBACK* p_cback; member 75 tNFA_SNEP_CBACK* p_cback; member 164 tNFA_SNEP_CBACK* p_cback; /* callback for event */ member
|
/system/bt/stack/gap/ |
D | gap_ble.cc | 38 tGAP_BLE_CMPL_CBACK* p_cback; member 43 tGAP_BLE_CMPL_CBACK* p_cback; member 248 clcb.p_cback = req.p_cback; in send_cl_read_request() 269 tGAP_BLE_CMPL_CBACK* p_cback = clcb.p_cback; in cl_op_cmpl() local 275 clcb.p_cback = NULL; in cl_op_cmpl() 277 if (p_cback && op) { in cl_op_cmpl() 279 (*p_cback)(status, clcb.bda, len, (char*)p_name); in cl_op_cmpl() 368 tGAP_BLE_CMPL_CBACK* p_cback) { in accept_client_operation() argument 369 if (p_cback == NULL && uuid != GATT_UUID_GAP_PREF_CONN_PARAM) return false; in accept_client_operation() 387 p_clcb->requests.push({.uuid = uuid, .p_cback = p_cback}); in accept_client_operation() [all …]
|
/system/bt/bta/pan/ |
D | bta_pan_api.cc | 56 void BTA_PanEnable(tBTA_PAN_CBACK p_cback) { in BTA_PanEnable() argument 64 p_buf->p_cback = p_cback; in BTA_PanEnable() 171 void BTA_PanEnable(UNUSED_ATTR tBTA_PAN_CBACK p_cback) {} in BTA_PanEnable() argument
|
/system/bt/stack/a2dp/ |
D | a2dp_api.cc | 122 if (a2dp_cb.find.p_cback != NULL) { in a2dp_sdp_cback() 123 (*a2dp_cb.find.p_cback)(found, &a2dp_svc, peer_address); in a2dp_sdp_cback() 275 tA2DP_FIND_CBACK* p_cback) { in A2DP_FindService() argument 282 p_db == NULL || p_cback == NULL) { in A2DP_FindService() 312 a2dp_cb.find.p_cback = p_cback; in A2DP_FindService()
|
/system/bt/btif/test/ |
D | btif_hf_client_service_test.cc | 13 tBTA_STATUS BTA_HfClientEnable(tBTA_HF_CLIENT_CBACK* p_cback, in BTA_HfClientEnable() argument 20 bt_status_t btif_transfer_context(tBTIF_CBACK* p_cback, uint16_t event, in btif_transfer_context() argument
|