Home
last modified time | relevance | path

Searched refs:evt (Results 1 – 25 of 44) sorted by relevance

12

/system/bt/bta/hf_client/
Dbta_hf_client_act.c58 tBTA_HF_CLIENT evt; in bta_hf_client_register() local
61 memset(&evt, 0, sizeof(evt)); in bta_hf_client_register()
83 evt.reg.status = BTA_HF_CLIENT_SUCCESS; in bta_hf_client_register()
84 (*bta_hf_client_cb.p_cback)(BTA_HF_CLIENT_REGISTER_EVT, &evt); in bta_hf_client_register()
213 tBTA_HF_CLIENT evt; in bta_hf_client_cback_open() local
215 memset(&evt, 0, sizeof(evt)); in bta_hf_client_cback_open()
218 evt.open.status = status; in bta_hf_client_cback_open()
222 bdcpy(evt.open.bd_addr, p_data->api_open.bd_addr); in bta_hf_client_cback_open()
226 bdcpy(evt.open.bd_addr, bta_hf_client_cb.scb.peer_addr); in bta_hf_client_cback_open()
229 (*bta_hf_client_cb.p_cback)(BTA_HF_CLIENT_OPEN_EVT, &evt); in bta_hf_client_cback_open()
[all …]
Dbta_hf_client_sco.c129 tBTA_HF_CLIENT evt; in bta_hf_client_cback_sco() local
131 memset(&evt, 0, sizeof(evt)); in bta_hf_client_cback_sco()
134 (*bta_hf_client_cb.p_cback)(event, (tBTA_HF_CLIENT *) &evt); in bta_hf_client_cback_sco()
/system/bt/bta/hl/
Dbta_hl_ci.c51 UINT16 evt ) in bta_hl_ci_get_tx_data() argument
57 mdl_handle, status, evt); in bta_hl_ci_get_tx_data()
62 p_evt->hdr.event = evt; in bta_hl_ci_get_tx_data()
86 UINT16 evt ) in bta_hl_ci_put_rx_data() argument
91 mdl_handle, status, evt); in bta_hl_ci_put_rx_data()
96 p_evt->hdr.event = evt; in bta_hl_ci_put_rx_data()
121 UINT16 evt ) in bta_hl_ci_get_echo_data() argument
127 mcl_handle, status, evt); in bta_hl_ci_get_echo_data()
132 p_evt->hdr.event = evt; in bta_hl_ci_get_echo_data()
156 UINT16 evt ) in bta_hl_ci_put_echo_data() argument
[all …]
/system/bt/stack/avdt/
Davdt_api.c337 tAVDT_CCB_EVT evt; in AVDT_DiscoverReq() local
359 evt.discover.p_sep_info = p_sep_info; in AVDT_DiscoverReq()
360 evt.discover.num_seps = max_seps; in AVDT_DiscoverReq()
361 evt.discover.p_cback = p_cback; in AVDT_DiscoverReq()
362 avdt_ccb_event(p_ccb, AVDT_CCB_API_DISCOVER_REQ_EVT, &evt); in AVDT_DiscoverReq()
500 tAVDT_SCB_EVT evt; in AVDT_DelayReport() local
510 evt.apidelay.hdr.seid = seid; in AVDT_DelayReport()
511 evt.apidelay.delay = delay; in AVDT_DelayReport()
512 avdt_scb_event(p_scb, AVDT_SCB_API_DELAY_RPT_REQ_EVT, &evt); in AVDT_DelayReport()
536 tAVDT_SCB_EVT evt; in AVDT_OpenReq() local
[all …]
Davdt_ad.c375 tAVDT_EVT_HDR evt; in avdt_ad_tc_open_ind() local
388 evt.err_param = AVDT_INT; in avdt_ad_tc_open_ind()
391 evt.err_param = AVDT_ACP; in avdt_ad_tc_open_ind()
393 avdt_ccb_event(p_ccb, AVDT_CCB_LL_OPEN_EVT, (tAVDT_CCB_EVT *)&evt); in avdt_ad_tc_open_ind()
Davdt_ccb_act.c718 UINT8 evt; in avdt_ccb_cmd_fail() local
729 evt = avdt_msg_rej_2_evt[p_ccb->p_curr_cmd->event - 1]; in avdt_ccb_cmd_fail()
731 if (evt & AVDT_CCB_MKR) in avdt_ccb_cmd_fail()
733 avdt_ccb_event(p_ccb, (UINT8) (evt & ~AVDT_CCB_MKR), (tAVDT_CCB_EVT *) &msg); in avdt_ccb_cmd_fail()
741 avdt_scb_event(p_scb, evt, (tAVDT_SCB_EVT *) &msg); in avdt_ccb_cmd_fail()
/system/netd/server/
DNetlinkHandler.cpp53 void NetlinkHandler::onEvent(NetlinkEvent *evt) { in onEvent() argument
54 const char *subsys = evt->getSubsystem(); in onEvent()
61 NetlinkEvent::Action action = evt->getAction(); in onEvent()
62 const char *iface = evt->findParam("INTERFACE"); in onEvent()
69 evt->dump(); in onEvent()
77 const char *address = evt->findParam("ADDRESS"); in onEvent()
78 const char *flags = evt->findParam("FLAGS"); in onEvent()
79 const char *scope = evt->findParam("SCOPE"); in onEvent()
92 const char *lifetime = evt->findParam("LIFETIME"); in onEvent()
93 const char *servers = evt->findParam("SERVERS"); in onEvent()
[all …]
DNetlinkHandler.h35 virtual void onEvent(NetlinkEvent *evt);
/system/bt/btif/src/
Dbtif_debug_conn.c71 conn_event_t *evt = &connection_events[current_event]; in btif_debug_conn_state() local
72 evt->ts = btif_debug_ts(); in btif_debug_conn_state()
73 evt->state = state; in btif_debug_conn_state()
74 evt->disconnect_reason = disconnect_reason; in btif_debug_conn_state()
75 memcpy(&evt->bda, &bda, sizeof(bt_bdaddr_t)); in btif_debug_conn_state()
89 conn_event_t *evt = &connection_events[dump_event]; in btif_debug_conn_dump() local
91 format_ts(evt->ts, ts_buffer, sizeof(ts_buffer)), in btif_debug_conn_dump()
92 format_state(evt->state), in btif_debug_conn_dump()
93 bdaddr_to_string(&evt->bda, name_buffer, sizeof(name_buffer)) in btif_debug_conn_dump()
95 if (evt->state == BTIF_DEBUG_DISCONNECTED) in btif_debug_conn_dump()
[all …]
/system/bt/bta/include/
Dbta_hl_ci.h62 UINT16 evt );
81 UINT16 evt );
102 UINT16 evt );
122 UINT16 evt );
Dbta_hl_co.h175 UINT16 buf_size, UINT8 *p_buf, UINT16 evt);
195 UINT16 data_size, UINT8 *p_data, UINT16 evt);
213 UINT16 buf_size, UINT8 *p_buf, UINT16 evt);
232 UINT16 data_size, UINT8 *p_data, UINT16 evt);
Dbta_gattc_co.h44 extern void bta_gattc_co_cache_open(BD_ADDR server_bda, UINT16 evt,
78 extern void bta_gattc_co_cache_save(BD_ADDR server_bda, UINT16 evt,
97 extern void bta_gattc_co_cache_load(BD_ADDR server_bda, UINT16 evt,
Dbta_gattc_ci.h74 extern void bta_gattc_ci_cache_open(BD_ADDR server_bda, UINT16 evt,
93 extern void bta_gattc_ci_cache_load(BD_ADDR server_bda, UINT16 evt,
111 extern void bta_gattc_ci_cache_save(BD_ADDR server_bda, UINT16 evt,
/system/bt/bta/gatt/
Dbta_gattc_ci.c51 void bta_gattc_ci_cache_open(BD_ADDR server_bda, UINT16 evt, tBTA_GATT_STATUS status, in bta_gattc_ci_cache_open() argument
59 p_evt->hdr.event = evt; in bta_gattc_ci_cache_open()
83 void bta_gattc_ci_cache_load(BD_ADDR server_bda, UINT16 evt, UINT16 num_attr, in bta_gattc_ci_cache_load() argument
94 p_evt->hdr.event = evt; in bta_gattc_ci_cache_load()
125 void bta_gattc_ci_cache_save(BD_ADDR server_bda, UINT16 evt, tBTA_GATT_STATUS status, in bta_gattc_ci_cache_save() argument
133 p_evt->hdr.event = evt; in bta_gattc_ci_cache_save()
/system/core/libsysutils/src/
DNetlinkListener.cpp64 NetlinkEvent *evt = new NetlinkEvent(); in onDataAvailable() local
65 if (evt->decode(mBuffer, count, mFormat)) { in onDataAvailable()
66 onEvent(evt); in onDataAvailable()
73 delete evt; in onDataAvailable()
/system/bt/btif/co/
Dbta_gattc_co.c88 void bta_gattc_co_cache_open(BD_ADDR server_bda, UINT16 evt, UINT16 conn_id, BOOLEAN to_save) in bta_gattc_co_cache_open() argument
96 bta_gattc_ci_cache_open(server_bda, evt, status, conn_id); in bta_gattc_co_cache_open()
114 void bta_gattc_co_cache_load(BD_ADDR server_bda, UINT16 evt, UINT16 start_index, UINT16 conn_id) in bta_gattc_co_cache_load() argument
128 bta_gattc_ci_cache_load(server_bda, evt, num_attr, attr, status, conn_id); in bta_gattc_co_cache_load()
147 void bta_gattc_co_cache_save (BD_ADDR server_bda, UINT16 evt, UINT16 num_attr, in bta_gattc_co_cache_save() argument
159 bta_gattc_ci_cache_save(server_bda, evt, status, conn_id); in bta_gattc_co_cache_save()
Dbta_hl_co.c323 UINT16 buf_size, UINT8 *p_buf, UINT16 evt) in bta_hl_co_get_tx_data() argument
346 bta_hl_ci_get_tx_data(mdl_handle, status, evt); in bta_hl_co_get_tx_data()
368 UINT16 data_size, UINT8 *p_data, UINT16 evt) in bta_hl_co_put_rx_data() argument
406 bta_hl_ci_put_rx_data(mdl_handle, status, evt); in bta_hl_co_put_rx_data()
427 UINT16 buf_size, UINT8 *p_buf, UINT16 evt) in bta_hl_co_get_echo_data() argument
435 bta_hl_ci_get_echo_data(mcl_handle, status, evt); in bta_hl_co_get_echo_data()
456 UINT16 data_size, UINT8 *p_data, UINT16 evt) in bta_hl_co_put_echo_data() argument
464 bta_hl_ci_put_echo_data(mcl_handle, status, evt); in bta_hl_co_put_echo_data()
/system/vold/
DNetlinkHandler.cpp45 void NetlinkHandler::onEvent(NetlinkEvent *evt) { in onEvent() argument
47 const char *subsys = evt->getSubsystem(); in onEvent()
55 vm->handleBlockEvent(evt); in onEvent()
DNetlinkHandler.h32 virtual void onEvent(NetlinkEvent *evt);
/system/bt/stack/btm/
Dbtm_acl.c496 tBTM_BL_UPDATE_DATA evt; in btm_acl_update_busy_level() local
511 evt.busy_level_flags= BTM_BL_PAGING_STARTED; in btm_acl_update_busy_level()
516 evt.busy_level_flags = BTM_BL_PAGING_COMPLETE; in btm_acl_update_busy_level()
521 evt.busy_level_flags = BTM_BL_INQUIRY_STARTED; in btm_acl_update_busy_level()
526 evt.busy_level_flags = BTM_BL_INQUIRY_CANCELLED; in btm_acl_update_busy_level()
531 evt.busy_level_flags = BTM_BL_INQUIRY_COMPLETE; in btm_acl_update_busy_level()
542 evt.event = BTM_BL_UPDATE_EVT; in btm_acl_update_busy_level()
543 evt.busy_level = busy_level; in btm_acl_update_busy_level()
547 (*btm_cb.p_bl_changed_cb)((tBTM_BL_EVENT_DATA *)&evt); in btm_acl_update_busy_level()
728 tBTM_BL_ROLE_CHG_DATA evt; in btm_acl_encrypt_change() local
[all …]
/system/bt/bta/ag/
Dbta_ag_act.c806 tBTA_AG_CONN evt; in bta_ag_svc_conn_open() local
821 evt.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_svc_conn_open()
822 evt.hdr.app_id = p_scb->app_id; in bta_ag_svc_conn_open()
823 evt.peer_feat = p_scb->peer_features; in bta_ag_svc_conn_open()
824 bdcpy(evt.bd_addr, p_scb->peer_addr); in bta_ag_svc_conn_open()
826 evt.peer_codec = p_scb->peer_codecs; in bta_ag_svc_conn_open()
835 (*bta_ag_cb.p_cback)(BTA_AG_CONN_EVT, (tBTA_AG *) &evt); in bta_ag_svc_conn_open()
/system/core/include/sysutils/
DNetlinkListener.h46 virtual void onEvent(NetlinkEvent *evt) = 0;
/system/bt/bta/av/
Dbta_av_act.c771 tBTA_AV_EVT evt = BTA_AV_META_MSG_EVT; in bta_av_proc_meta_cmd() local
786 evt=0; in bta_av_proc_meta_cmd()
794 evt = 0; in bta_av_proc_meta_cmd()
803 evt = 0; in bta_av_proc_meta_cmd()
843 evt = 0; in bta_av_proc_meta_cmd()
851 evt = 0; in bta_av_proc_meta_cmd()
855 return evt; in bta_av_proc_meta_cmd()
870 tBTA_AV_EVT evt = 0; in bta_av_rc_msg() local
915 evt = BTA_AV_REMOTE_CMD_EVT; in bta_av_rc_msg()
928 evt = BTA_AV_REMOTE_RSP_EVT; in bta_av_rc_msg()
[all …]
Dbta_av_aact.c2135 tBTA_AV_RECONFIG evt; in bta_av_reconfig() local
2151 evt.status = BTA_AV_FAIL_RESOURCES; in bta_av_reconfig()
2152 evt.chnl = p_scb->chnl; in bta_av_reconfig()
2153 evt.hndl = p_scb->hndl; in bta_av_reconfig()
2154 (*bta_av_cb.p_cback)(BTA_AV_RECONFIG_EVT, (tBTA_AV *)&evt); in bta_av_reconfig()
2684 tBTA_AV_RECONFIG evt; in bta_av_rcfg_str_ok() local
2701 evt.status = BTA_AV_SUCCESS; in bta_av_rcfg_str_ok()
2702 evt.chnl = p_scb->chnl; in bta_av_rcfg_str_ok()
2703 evt.hndl = p_scb->hndl; in bta_av_rcfg_str_ok()
2704 (*bta_av_cb.p_cback)(BTA_AV_RECONFIG_EVT, (tBTA_AV *)&evt); in bta_av_rcfg_str_ok()
[all …]
/system/bt/btif/include/
Dbtif_util.h60 const char* dump_thread_evt(bt_cb_thread_evt evt);

12