Home | History | Annotate | Download | only in jni

Lines Matching full:eventdata

1230 **                  eventData: Event data.
1235 void SecureElement::nfaHciCallback (tNFA_HCI_EVT event, tNFA_HCI_EVT_DATA* eventData)
1245 eventData->hci_register.status, eventData->hci_register.hci_handle);
1247 sSecElem.mNfaHciHandle = eventData->hci_register.hci_handle;
1254 ALOGD ("%s: NFA_HCI_ALLOCATE_GATE_EVT; status=0x%X; gate=0x%X", fn, eventData->status, eventData->allocated.gate);
1256 sSecElem.mCommandStatus = eventData->status;
1257 sSecElem.mNewSourceGate = (eventData->allocated.status == NFA_STATUS_OK) ? eventData->allocated.gate : 0;
1264 tNFA_HCI_DEALLOCATE_GATE& deallocated = eventData->deallocated;
1274 eventData->gates_pipes.status, eventData->gates_pipes.num_pipes, eventData->gates_pipes.num_gates);
1276 sSecElem.mCommandStatus = eventData->gates_pipes.status;
1277 sSecElem.mHciCfg = eventData->gates_pipes;
1285 eventData->created.status, eventData->created.pipe, eventData->created.source_gate, eventData->created.dest_host, eventData->created.dest_gate);
1287 sSecElem.mCommandStatus = eventData->created.status;
1288 sSecElem.mNewPipeId = eventData->created.pipe;
1295 ALOGD ("%s: NFA_HCI_OPEN_PIPE_EVT; status=0x%X; pipe=0x%X", fn, eventData->opened.status, eventData->opened.pipe);
1297 sSecElem.mCommandStatus = eventData->opened.status;
1303 ALOGD ("%s: NFA_HCI_EVENT_SENT_EVT; status=0x%X", fn, eventData->evt_sent.status);
1308 tNFA_HCI_RSP_RCVD& rsp_rcvd = eventData->rsp_rcvd;
1316 eventData->registry.status, eventData->registry.pipe, eventData->registry.data_len);
1317 if (eventData->registry.data_len >= 19 && ((eventData->registry.pipe == STATIC_PIPE_0x70) || (eventData->registry.pipe == STATIC_PIPE_0x71)))
1321 sSecElem.mVerInfo[0] = eventData->registry.reg_data[16];
1322 sSecElem.mVerInfo[1] = eventData->registry.reg_data[17];
1323 sSecElem.mVerInfo[2] = eventData->registry.reg_data[18];
1330 eventData->rcvd_evt.evt_code, eventData->rcvd_evt.pipe, eventData->rcvd_evt.evt_len);
1331 if ((eventData->rcvd_evt.pipe == STATIC_PIPE_0x70) || (eventData->rcvd_evt.pipe == STATIC_PIPE_0x71))
1335 sSecElem.mActualResponseSize = (eventData->rcvd_evt.evt_len > MAX_RESPONSE_SIZE) ? MAX_RESPONSE_SIZE : eventData->rcvd_evt.evt_len;
1338 else if (eventData->rcvd_evt.evt_code == NFA_HCI_EVT_POST_DATA)
1342 sSecElem.mActualResponseSize = (eventData->rcvd_evt.evt_len > MAX_RESPONSE_SIZE) ? MAX_RESPONSE_SIZE : eventData->rcvd_evt.evt_len;
1345 else if (eventData->rcvd_evt.evt_code == NFA_HCI_EVT_TRANSACTION)
1349 if ((eventData->rcvd_evt.evt_len > 3) && (eventData->rcvd_evt.p_evt_buf[0] == 0x81) )
1350 sSecElem.notifyTransactionListenersOfAid (&eventData->rcvd_evt.p_evt_buf[2], eventData->rcvd_evt.p_evt_buf[1]);
1356 tNFA_HCI_REGISTRY& registry = eventData->registry;
1472 ** eventData: Event data.
1477 void SecureElement::connectionEventHandler (UINT8 event, tNFA_CONN_EVT_DATA* /*eventData*/)