Lines Matching refs:eventData

155 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()
337 __func__, eventData->status, gIsSelectingRfInterface, sIsDisabling); in nfaConnectionCallback()
341 if (eventData->status != NFA_STATUS_OK) { in nfaConnectionCallback()
348 eventData->status); in nfaConnectionCallback()
356 eventData->status); in nfaConnectionCallback()
365 (tNFA_INTF_TYPE)eventData->activated.activate_ntf.protocol; in nfaConnectionCallback()
371 if ((eventData->activated.activate_ntf.protocol != in nfaConnectionCallback()
373 (!isListenMode(eventData->activated))) { in nfaConnectionCallback()
375 (tNFA_INTF_TYPE)eventData->activated.activate_ntf.intf_param.type); in nfaConnectionCallback()
394 if (!isListenMode(eventData->activated) && in nfaConnectionCallback()
399 if (isPeerToPeer(eventData->activated)) { in nfaConnectionCallback()
426 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
437 if (isListenMode(eventData->activated)) { in nfaConnectionCallback()
445 __func__, eventData->deactivated.type, gIsTagDeactivating); in nfaConnectionCallback()
446 NfcTag::getInstance().setDeactivationState(eventData->deactivated); in nfaConnectionCallback()
448 if (eventData->deactivated.type != NFA_DEACTIVATE_TYPE_SLEEP) { in nfaConnectionCallback()
455 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
468 if ((eventData->deactivated.type == NFA_DEACTIVATE_TYPE_IDLE) || in nfaConnectionCallback()
469 (eventData->deactivated.type == NFA_DEACTIVATE_TYPE_DISCOVERY)) { in nfaConnectionCallback()
502 status = eventData->tlv_detect.status; in nfaConnectionCallback()
506 __func__, status, eventData->tlv_detect.protocol, in nfaConnectionCallback()
507 eventData->tlv_detect.num_tlvs, eventData->tlv_detect.num_bytes); in nfaConnectionCallback()
517 status = eventData->ndef_detect.status; in nfaConnectionCallback()
521 __func__, status, eventData->ndef_detect.protocol, in nfaConnectionCallback()
522 eventData->ndef_detect.max_size, eventData->ndef_detect.cur_size, in nfaConnectionCallback()
523 eventData->ndef_detect.flags); in nfaConnectionCallback()
524 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
525 nativeNfcTag_doCheckNdefResult(status, eventData->ndef_detect.max_size, in nfaConnectionCallback()
526 eventData->ndef_detect.cur_size, in nfaConnectionCallback()
527 eventData->ndef_detect.flags); in nfaConnectionCallback()
533 eventData->status, eventData->data.len); in nfaConnectionCallback()
534 nativeNfcTag_doTransceiveStatus(eventData->status, eventData->data.p_data, in nfaConnectionCallback()
535 eventData->data.len); in nfaConnectionCallback()
544 status = eventData->status; in nfaConnectionCallback()
555 "%s: NFA_READ_CPLT_EVT: status = 0x%X", __func__, eventData->status); in nfaConnectionCallback()
556 nativeNfcTag_doReadCompleted(eventData->status); in nfaConnectionCallback()
557 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
562 "%s: NFA_WRITE_CPLT_EVT: status = %d", __func__, eventData->status); in nfaConnectionCallback()
563 nativeNfcTag_doWriteStatus(eventData->status == NFA_STATUS_OK); in nfaConnectionCallback()
568 "%s: NFA_SET_TAG_RO_EVT: status = %d", __func__, eventData->status); in nfaConnectionCallback()
569 nativeNfcTag_doMakeReadonlyResult(eventData->status); in nfaConnectionCallback()
575 __func__, eventData->status); in nfaConnectionCallback()
577 if (eventData->status != NFA_STATUS_OK) in nfaConnectionCallback()
580 eventData->status); in nfaConnectionCallback()
586 eventData->ndef_write_cplt.len); in nfaConnectionCallback()
593 __func__, eventData->llcp_activated.is_initiator, in nfaConnectionCallback()
594 eventData->llcp_activated.remote_wks, in nfaConnectionCallback()
595 eventData->llcp_activated.remote_lsc, in nfaConnectionCallback()
596 eventData->llcp_activated.remote_link_miu, in nfaConnectionCallback()
597 eventData->llcp_activated.local_link_miu); in nfaConnectionCallback()
600 eventData->llcp_activated); in nfaConnectionCallback()
607 getNative(0, 0), eventData->llcp_deactivated); in nfaConnectionCallback()
617 nativeNfcTag_doPresenceCheckResult(eventData->status); in nfaConnectionCallback()
621 "%s: NFA_FORMAT_CPLT_EVT: status=0x%X", __func__, eventData->status); in nfaConnectionCallback()
622 nativeNfcTag_formatStatus(eventData->status == NFA_STATUS_OK); in nfaConnectionCallback()
627 "%s: NFA_I93_CMD_CPLT_EVT: status=0x%X", __func__, eventData->status); in nfaConnectionCallback()
633 __func__, eventData->status); in nfaConnectionCallback()
639 PeerToPeer::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
743 tNFA_DM_CBACK_DATA* eventData) { in nfaDeviceManagementCallback() argument
752 "%s: NFA_DM_ENABLE_EVT; status=0x%X", __func__, eventData->status); in nfaDeviceManagementCallback()
753 sIsNfaEnabled = eventData->status == NFA_STATUS_OK; in nfaDeviceManagementCallback()
782 if (eventData->status == NFA_STATUS_OK && in nfaDeviceManagementCallback()
783 eventData->get_config.tlv_size <= sizeof(sConfig)) { in nfaDeviceManagementCallback()
784 sCurrentConfigLen = eventData->get_config.tlv_size; in nfaDeviceManagementCallback()
785 memcpy(sConfig, eventData->get_config.param_tlvs, in nfaDeviceManagementCallback()
786 eventData->get_config.tlv_size); in nfaDeviceManagementCallback()
798 eventData->rf_field.status, eventData->rf_field.rf_field_status); in nfaDeviceManagementCallback()
799 if (!sP2pActive && eventData->rf_field.status == NFA_STATUS_OK) { in nfaDeviceManagementCallback()
807 if (eventData->rf_field.rf_field_status == NFA_DM_RF_FIELD_ON) in nfaDeviceManagementCallback()
868 PowerSwitch::getInstance().deviceManagementCallback(dmEvent, eventData); in nfaDeviceManagementCallback()
874 __FUNCTION__, eventData->power_sub_state.status); in nfaDeviceManagementCallback()