Home
last modified time | relevance | path

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

12

/system/bt/btif/src/
Dbtif_debug_conn.cc71 conn_event_t* evt = &connection_events[current_event]; in btif_debug_conn_state() local
72 evt->ts = bluetooth::common::time_gettimeofday_us(); 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 evt->bda = bda; in btif_debug_conn_state()
88 conn_event_t* evt = &connection_events[dump_event]; in btif_debug_conn_dump() local
89 dprintf(fd, " %s %s %s", format_ts(evt->ts, ts_buffer, sizeof(ts_buffer)), in btif_debug_conn_dump()
90 format_state(evt->state), evt->bda.ToString().c_str()); in btif_debug_conn_dump()
91 if (evt->state == BTIF_DEBUG_DISCONNECTED) in btif_debug_conn_dump()
92 dprintf(fd, " reason=%d", evt->disconnect_reason); in btif_debug_conn_dump()
/system/netd/server/
DNetlinkHandler.cpp100 void NetlinkHandler::onEvent(NetlinkEvent *evt) { in onEvent() argument
101 const char *subsys = evt->getSubsystem(); in onEvent()
108 NetlinkEvent::Action action = evt->getAction(); in onEvent()
109 const char *iface = evt->findParam("INTERFACE"); in onEvent()
113 const char *ifIndex = evt->findParam("IFINDEX"); in onEvent()
127 evt->dump(); in onEvent()
135 const char *address = evt->findParam("ADDRESS"); in onEvent()
136 const char *flags = evt->findParam("FLAGS"); in onEvent()
137 const char *scope = evt->findParam("SCOPE"); in onEvent()
138 const char *ifIndex = evt->findParam("IFINDEX"); in onEvent()
[all …]
DNetlinkHandler.h42 virtual void onEvent(NetlinkEvent *evt);
/system/bt/stack/avdt/
Davdt_api.cc266 tAVDT_CCB_EVT evt; in AVDT_DiscoverReq() local
287 evt.discover.p_sep_info = p_sep_info; in AVDT_DiscoverReq()
288 evt.discover.num_seps = max_seps; in AVDT_DiscoverReq()
289 evt.discover.p_cback = p_cback; in AVDT_DiscoverReq()
290 avdt_ccb_event(p_ccb, AVDT_CCB_API_DISCOVER_REQ_EVT, &evt); in AVDT_DiscoverReq()
417 tAVDT_SCB_EVT evt; in AVDT_DelayReport() local
429 evt.apidelay.hdr.seid = seid; in AVDT_DelayReport()
430 evt.apidelay.delay = delay; in AVDT_DelayReport()
431 avdt_scb_event(p_scb, AVDT_SCB_API_DELAY_RPT_REQ_EVT, &evt); in AVDT_DelayReport()
461 tAVDT_SCB_EVT evt; in AVDT_OpenReq() local
[all …]
Davdt_ad.cc351 tAVDT_EVT_HDR evt; in avdt_ad_tc_open_ind() local
368 evt.err_param = AVDT_INT; in avdt_ad_tc_open_ind()
370 evt.err_param = AVDT_ACP; in avdt_ad_tc_open_ind()
373 avdt_ccb_evt.msg.hdr = evt; in avdt_ad_tc_open_ind()
Davdt_ccb_act.cc684 uint8_t evt; in avdt_ccb_cmd_fail() local
694 evt = avdt_msg_rej_2_evt[p_ccb->p_curr_cmd->event - 1]; in avdt_ccb_cmd_fail()
696 if (evt & AVDT_CCB_MKR) { in avdt_ccb_cmd_fail()
699 avdt_ccb_event(p_ccb, (uint8_t)(evt & ~AVDT_CCB_MKR), &avdt_ccb_evt); in avdt_ccb_cmd_fail()
706 avdt_scb_event(p_scb, evt, &avdt_scb_evt); in avdt_ccb_cmd_fail()
/system/bt/bta/hf_client/
Dbta_hf_client_act.cc297 tBTA_HF_CLIENT evt; in bta_hf_client_rfc_close() local
298 memset(&evt, 0, sizeof(evt)); in bta_hf_client_rfc_close()
299 evt.conn.bd_addr = client_cb->peer_addr; in bta_hf_client_rfc_close()
310 tBTA_HF_CLIENT evt; in bta_hf_client_rfc_close() local
311 memset(&evt, 0, sizeof(evt)); in bta_hf_client_rfc_close()
312 evt.reg.bd_addr = client_cb->peer_addr; in bta_hf_client_rfc_close()
313 bta_hf_client_app_callback(BTA_HF_CLIENT_DISABLE_EVT, &evt); in bta_hf_client_rfc_close()
444 tBTA_HF_CLIENT evt; in bta_hf_client_svc_conn_open() local
446 memset(&evt, 0, sizeof(evt)); in bta_hf_client_svc_conn_open()
453 evt.conn.bd_addr = client_cb->peer_addr; in bta_hf_client_svc_conn_open()
[all …]
Dbta_hf_client_at.cc559 tBTA_HF_CLIENT evt; in bta_hf_client_ind() local
561 memset(&evt, 0, sizeof(evt)); in bta_hf_client_ind()
563 evt.ind.type = type; in bta_hf_client_ind()
564 evt.ind.value = value; in bta_hf_client_ind()
566 evt.ind.bd_addr = client_cb->peer_addr; in bta_hf_client_ind()
567 bta_hf_client_app_callback(BTA_HF_CLIENT_IND_EVT, &evt); in bta_hf_client_ind()
583 tBTA_HF_CLIENT evt; in bta_hf_client_evt_val() local
585 memset(&evt, 0, sizeof(evt)); in bta_hf_client_evt_val()
587 evt.val.bd_addr = client_cb->peer_addr; in bta_hf_client_evt_val()
588 evt.val.value = value; in bta_hf_client_evt_val()
[all …]
Dbta_hf_client_sco.cc84 tBTA_HF_CLIENT evt; in bta_hf_client_cback_sco() local
86 memset(&evt, 0, sizeof(evt)); in bta_hf_client_cback_sco()
87 evt.bd_addr = client_cb->peer_addr; in bta_hf_client_cback_sco()
90 bta_hf_client_app_callback(event, &evt); in bta_hf_client_cback_sco()
Dbta_hf_client_main.cc749 tBTA_HF_CLIENT evt; in bta_hf_client_sm_execute() local
750 memset(&evt, 0, sizeof(evt)); in bta_hf_client_sm_execute()
751 evt.bd_addr = client_cb->peer_addr; in bta_hf_client_sm_execute()
753 bta_hf_client_app_callback(BTA_HF_CLIENT_CLOSE_EVT, &evt); in bta_hf_client_sm_execute()
757 evt.open.handle = client_cb->handle; in bta_hf_client_sm_execute()
758 bta_hf_client_app_callback(BTA_HF_CLIENT_OPEN_EVT, &evt); in bta_hf_client_sm_execute()
/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/core/trusty/confirmationui/
DNotSoSecureInput.cpp102 input_event evt; in handleEvent() local
103 std::tie(gotEvent, evt) = evdev.readEvent(); in handleEvent()
105 if (!(discardEvents_) && evt.type == EV_KEY && in handleEvent()
106 (evt.code == KEY_POWER || evt.code == KEY_VOLUMEDOWN || evt.code == KEY_VOLUMEUP) && in handleEvent()
107 evt.value == 1) { in handleEvent()
111 switch (evt.code) { in handleEvent()
154 std::tie(gotEvent, evt) = evdev.readEvent(); in handleEvent()
/system/vold/
DNetlinkHandler.cpp40 void NetlinkHandler::onEvent(NetlinkEvent* evt) { in onEvent() argument
42 const char* subsys = evt->getSubsystem(); in onEvent()
50 vm->handleBlockEvent(evt); in onEvent()
DVolumeManager.cpp193 void VolumeManager::handleBlockEvent(NetlinkEvent* evt) { in handleBlockEvent() argument
198 LOG(DEBUG) << "handleBlockEvent with action " << (int)evt->getAction(); in handleBlockEvent()
199 evt->dump(); in handleBlockEvent()
202 std::string eventPath(evt->findParam("DEVPATH") ? evt->findParam("DEVPATH") : ""); in handleBlockEvent()
203 std::string devType(evt->findParam("DEVTYPE") ? evt->findParam("DEVTYPE") : ""); in handleBlockEvent()
207 int major = std::stoi(evt->findParam("MAJOR")); in handleBlockEvent()
208 int minor = std::stoi(evt->findParam("MINOR")); in handleBlockEvent()
211 switch (evt->getAction()) { in handleBlockEvent()
243 LOG(WARNING) << "Unexpected block event action " << (int)evt->getAction(); in handleBlockEvent()
DNetlinkHandler.h31 virtual void onEvent(NetlinkEvent* evt);
/system/chre/build/app_support/qcom_nanohub/
Dapp_support.cc133 uint16_t evt = eventTypeAndTid; in chreappHandle() local
141 switch(evt) { in chreappHandle()
143 evt = CHRE_EVENT_TIMER; in chreappHandle()
147 evt = CHRE_EVENT_MESSAGE_FROM_HOST; in chreappHandle()
155 nanoappHandleEvent(srcTid, evt, data); in chreappHandle()
/system/bt/service/
Dlogging_helpers.cc125 const char* BtEventText(const bt_cb_thread_evt evt) { in BtEventText() argument
126 switch (evt) { in BtEventText()
Dlogging_helpers.h42 const char* BtEventText(const bt_cb_thread_evt evt);
/system/bt/stack/btm/
Dbtm_acl.cc440 tBTM_BL_UPDATE_DATA evt; in btm_acl_update_busy_level() local
441 evt.busy_level_flags = 0; in btm_acl_update_busy_level()
452 evt.busy_level_flags = BTM_BL_PAGING_STARTED; in btm_acl_update_busy_level()
457 evt.busy_level_flags = BTM_BL_PAGING_COMPLETE; in btm_acl_update_busy_level()
462 evt.busy_level_flags = BTM_BL_INQUIRY_STARTED; in btm_acl_update_busy_level()
467 evt.busy_level_flags = BTM_BL_INQUIRY_CANCELLED; in btm_acl_update_busy_level()
472 evt.busy_level_flags = BTM_BL_INQUIRY_COMPLETE; in btm_acl_update_busy_level()
484 evt.event = BTM_BL_UPDATE_EVT; in btm_acl_update_busy_level()
485 evt.busy_level = busy_level; in btm_acl_update_busy_level()
489 btm_bl_event_data.update = evt; in btm_acl_update_busy_level()
[all …]
/system/core/libsysutils/include/sysutils/
DNetlinkListener.h46 virtual void onEvent(NetlinkEvent *evt) = 0;
/system/bt/bta/ag/
Dbta_ag_act.cc762 tBTA_AG_CONN evt = {}; in bta_ag_svc_conn_open() local
774 evt.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_svc_conn_open()
775 evt.hdr.app_id = p_scb->app_id; in bta_ag_svc_conn_open()
776 evt.peer_feat = p_scb->peer_features; in bta_ag_svc_conn_open()
777 evt.bd_addr = p_scb->peer_addr; in bta_ag_svc_conn_open()
778 evt.peer_codec = p_scb->peer_codecs; in bta_ag_svc_conn_open()
787 (*bta_ag_cb.p_cback)(BTA_AG_CONN_EVT, (tBTA_AG*)&evt); in bta_ag_svc_conn_open()
/system/nfc/src/nfa/hci/
Dnfa_hci_main.cc913 tNFA_HCI_EVT evt = 0; in nfa_hci_rsp_timeout() local
968 evt = NFA_HCI_EVENT_RCVD_EVT; in nfa_hci_rsp_timeout()
992 evt = NFA_HCI_SET_REG_RSP_EVT; in nfa_hci_rsp_timeout()
1006 evt = NFA_HCI_GET_REG_RSP_EVT; in nfa_hci_rsp_timeout()
1018 evt = NFA_HCI_OPEN_PIPE_EVT; in nfa_hci_rsp_timeout()
1030 evt = NFA_HCI_CLOSE_PIPE_EVT; in nfa_hci_rsp_timeout()
1038 evt = NFA_HCI_CREATE_PIPE_EVT; in nfa_hci_rsp_timeout()
1050 evt = NFA_HCI_DELETE_PIPE_EVT; in nfa_hci_rsp_timeout()
1074 if (evt != 0) nfa_hciu_send_to_app(evt, &evt_data, nfa_hci_cb.app_in_use); in nfa_hci_rsp_timeout()
/system/bt/btif/include/
Dbtif_util.h55 const char* dump_thread_evt(bt_cb_thread_evt evt);
/system/nfc/src/gki/common/
Dgki.h75 #define EVENT_MASK(evt) ((uint16_t)(0x0001 << (evt))) argument
/system/bt/bta/av/
Dbta_av_act.cc762 tBTA_AV_EVT evt = BTA_AV_META_MSG_EVT; in bta_av_proc_meta_cmd() local
784 evt = 0; in bta_av_proc_meta_cmd()
792 evt = 0; in bta_av_proc_meta_cmd()
798 evt = 0; in bta_av_proc_meta_cmd()
834 if (p_rc_rsp->rsp.status != BTA_AV_STS_NO_RSP) evt = 0; in bta_av_proc_meta_cmd()
839 return evt; in bta_av_proc_meta_cmd()
852 tBTA_AV_EVT evt = 0; in bta_av_rc_msg() local
905 evt = BTA_AV_REMOTE_CMD_EVT; in bta_av_rc_msg()
918 evt = BTA_AV_REMOTE_RSP_EVT; in bta_av_rc_msg()
958 evt = bta_av_proc_meta_cmd(&rc_rsp, &p_data->rc_msg, &ctype); in bta_av_rc_msg()
[all …]

12