Home
last modified time | relevance | path

Searched refs:eventData (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp155 static void nfaConnectionCallback(uint8_t event, tNFA_CONN_EVT_DATA* eventData);
157 tNFA_DM_CBACK_DATA* eventData);
271 tNFA_CONN_EVT_DATA* eventData) { in nfaConnectionCallback() argument
280 "%s: NFA_POLL_ENABLED_EVT: status = %u", __func__, eventData->status); in nfaConnectionCallback()
290 eventData->status); in nfaConnectionCallback()
300 __func__, eventData->status); in nfaConnectionCallback()
310 __func__, eventData->status); in nfaConnectionCallback()
319 status = eventData->disc_result.status; in nfaConnectionCallback()
327 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
328 handleRfDiscoveryEvent(&eventData->disc_result.discovery_ntf); in nfaConnectionCallback()
[all …]
DPeerToPeer.cpp1214 tNFA_P2P_EVT_DATA* eventData) { in nfaServerCallback() argument
1229 fn, eventData->reg_server.server_handle, in nfaServerCallback()
1230 eventData->reg_server.server_sap, eventData->reg_server.service_name); in nfaServerCallback()
1233 pSrv = sP2p.findServerLocked(eventData->reg_server.service_name); in nfaServerCallback()
1238 eventData->reg_server.service_name); in nfaServerCallback()
1241 pSrv->mNfaP2pServerHandle = eventData->reg_server.server_handle; in nfaServerCallback()
1249 eventData->activated.handle); in nfaServerCallback()
1255 eventData->activated.handle); in nfaServerCallback()
1262 fn, eventData->conn_req.server_handle, in nfaServerCallback()
1263 eventData->conn_req.conn_handle, eventData->conn_req.remote_sap); in nfaServerCallback()
[all …]
DRoutingManager.cpp507 tNFA_CONN_EVT_DATA* eventData) { in stackCallback() argument
514 tNFA_CE_REGISTERED& ce_registered = eventData->ce_registered; in stackCallback()
521 tNFA_CE_DEREGISTERED& ce_deregistered = eventData->ce_deregistered; in stackCallback()
541 tNFA_CE_DATA& ce_data = eventData->ce_data; in stackCallback()
737 tNFA_EE_CBACK_DATA* eventData) { in nfaEeCallback() argument
741 if (!eventData) { in nfaEeCallback()
745 routingManager.mCbEventData = *eventData; in nfaEeCallback()
750 "%s: NFA_EE_REGISTER_EVT; status=%u", fn, eventData->ee_register); in nfaEeCallback()
756 "%s: NFA_EE_DEREGISTER_EVT; status=0x%X", fn, eventData->status); in nfaEeCallback()
765 eventData->mode_set.status, eventData->mode_set.ee_handle); in nfaEeCallback()
[all …]
DHciEventManager.cpp136 tNFA_HCI_EVT_DATA* eventData) { in nfaHciCallback() argument
137 if (eventData == nullptr) { in nfaHciCallback()
142 "event=%d code=%d pipe=%d len=%d", event, eventData->rcvd_evt.evt_code, in nfaHciCallback()
143 eventData->rcvd_evt.pipe, eventData->rcvd_evt.evt_len); in nfaHciCallback()
146 if (eventData->rcvd_evt.pipe == sEsePipe) { in nfaHciCallback()
148 } else if (eventData->rcvd_evt.pipe == sSimPipe) { in nfaHciCallback()
155 uint8_t* buff = eventData->rcvd_evt.p_evt_buf; in nfaHciCallback()
156 uint32_t buffLength = eventData->rcvd_evt.evt_len; in nfaHciCallback()
160 eventData->rcvd_evt.evt_code == NFA_HCI_EVT_TRANSACTION && in nfaHciCallback()
DRoutingManager.h75 static void nfaEeCallback(tNFA_EE_EVT event, tNFA_EE_CBACK_DATA* eventData);
76 static void stackCallback(uint8_t event, tNFA_CONN_EVT_DATA* eventData);
77 static void nfcFCeCallback(uint8_t event, tNFA_CONN_EVT_DATA* eventData);
DPeerToPeer.h129 void connectionEventHandler(uint8_t event, tNFA_CONN_EVT_DATA* eventData);
359 tNFA_P2P_EVT_DATA* eventData);
373 tNFA_P2P_EVT_DATA* eventData);
DNativeNfcTag.cpp233 tNFA_NDEF_EVT_DATA* eventData) { in ndefHandlerCallback() argument
235 << StringPrintf("%s: event=%u, eventData=%p", __func__, event, eventData); in ndefHandlerCallback()
239 tNFA_NDEF_REGISTER& ndef_reg = eventData->ndef_reg; in ndefHandlerCallback()
249 eventData->ndef_data.len); in ndefHandlerCallback()
250 sReadDataLen = eventData->ndef_data.len; in ndefHandlerCallback()
252 memcpy(sReadData, eventData->ndef_data.p_data, eventData->ndef_data.len); in ndefHandlerCallback()
DPowerSwitch.cpp448 tNFA_DM_CBACK_DATA* eventData) { in deviceManagementCallback() argument
453 tNFA_DM_PWR_MODE_CHANGE& power_mode = eventData->power_mode; in deviceManagementCallback()
DHciEventManager.h37 static void nfaHciCallback(tNFA_HCI_EVT event, tNFA_HCI_EVT_DATA* eventData);
DPowerSwitch.h220 tNFA_DM_CBACK_DATA* eventData);