Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp141 static void nfaConnectionCallback (UINT8 event, tNFA_CONN_EVT_DATA *eventData);
142 static void nfaDeviceManagementCallback (UINT8 event, tNFA_DM_CBACK_DATA *eventData);
219 static void nfaConnectionCallback (UINT8 connEvent, tNFA_CONN_EVT_DATA* eventData) in nfaConnectionCallback() argument
228 ALOGD("%s: NFA_POLL_ENABLED_EVT: status = %u", __FUNCTION__, eventData->status); in nfaConnectionCallback()
237 ALOGD("%s: NFA_POLL_DISABLED_EVT: status = %u", __FUNCTION__, eventData->status); in nfaConnectionCallback()
246 ALOGD("%s: NFA_RF_DISCOVERY_STARTED_EVT: status = %u", __FUNCTION__, eventData->status); in nfaConnectionCallback()
255 ALOGD("%s: NFA_RF_DISCOVERY_STOPPED_EVT: status = %u", __FUNCTION__, eventData->status); in nfaConnectionCallback()
263 status = eventData->disc_result.status; in nfaConnectionCallback()
271 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
272 handleRfDiscoveryEvent(&eventData->disc_result.discovery_ntf); in nfaConnectionCallback()
[all …]
DPeerToPeer.cpp1266 void PeerToPeer::nfaServerCallback (tNFA_P2P_EVT p2pEvent, tNFA_P2P_EVT_DATA* eventData) in nfaServerCallback() argument
1278eventData->reg_server.server_handle, eventData->reg_server.server_sap, eventData->reg_server.servi… in nfaServerCallback()
1281 pSrv = sP2p.findServerLocked(eventData->reg_server.service_name); in nfaServerCallback()
1285 …ALOGE ("%s: NFA_P2P_REG_SERVER_EVT for unknown service: %s", fn, eventData->reg_server.service_nam… in nfaServerCallback()
1290 pSrv->mNfaP2pServerHandle = eventData->reg_server.server_handle; in nfaServerCallback()
1296 ALOGD ("%s: NFA_P2P_ACTIVATED_EVT; handle: 0x%04x", fn, eventData->activated.handle); in nfaServerCallback()
1300 ALOGD ("%s: NFA_P2P_DEACTIVATED_EVT; handle: 0x%04x", fn, eventData->activated.handle); in nfaServerCallback()
1305eventData->conn_req.server_handle, eventData->conn_req.conn_handle, eventData->conn_req.remote_sap… in nfaServerCallback()
1308 pSrv = sP2p.findServerLocked(eventData->conn_req.server_handle); in nfaServerCallback()
1325 pConn->mNfaConnHandle = eventData->conn_req.conn_handle; in nfaServerCallback()
[all …]
DRoutingManager.cpp516 void RoutingManager::stackCallback (UINT8 event, tNFA_CONN_EVT_DATA* eventData) in stackCallback() argument
526 tNFA_CE_REGISTERED& ce_registered = eventData->ce_registered; in stackCallback()
533 tNFA_CE_DEREGISTERED& ce_deregistered = eventData->ce_deregistered; in stackCallback()
557 tNFA_CE_DATA& ce_data = eventData->ce_data; in stackCallback()
575 void RoutingManager::nfaEeCallback (tNFA_EE_EVT event, tNFA_EE_CBACK_DATA* eventData) in nfaEeCallback() argument
586 ALOGD ("%s: NFA_EE_REGISTER_EVT; status=%u", fn, eventData->ee_register); in nfaEeCallback()
595 eventData->mode_set.status, eventData->mode_set.ee_handle); in nfaEeCallback()
602 ALOGD ("%s: NFA_EE_SET_TECH_CFG_EVT; status=0x%X", fn, eventData->status); in nfaEeCallback()
610 ALOGD ("%s: NFA_EE_SET_PROTO_CFG_EVT; status=0x%X", fn, eventData->status); in nfaEeCallback()
618 tNFA_EE_ACTION& action = eventData->action; in nfaEeCallback()
[all …]
DRoutingManager.h65 static void nfaEeCallback (tNFA_EE_EVT event, tNFA_EE_CBACK_DATA* eventData);
66 static void stackCallback (UINT8 event, tNFA_CONN_EVT_DATA* eventData);
67 static void nfcFCeCallback (UINT8 event, tNFA_CONN_EVT_DATA* eventData);
DPeerToPeer.h136 void connectionEventHandler (UINT8 event, tNFA_CONN_EVT_DATA* eventData);
378 static void nfaServerCallback (tNFA_P2P_EVT p2pEvent, tNFA_P2P_EVT_DATA *eventData);
392 static void nfaClientCallback (tNFA_P2P_EVT p2pEvent, tNFA_P2P_EVT_DATA *eventData);
DNativeNfcTag.cpp219 static void ndefHandlerCallback (tNFA_NDEF_EVT event, tNFA_NDEF_EVT_DATA *eventData) in ndefHandlerCallback() argument
221 ALOGD ("%s: event=%u, eventData=%p", __FUNCTION__, event, eventData); in ndefHandlerCallback()
227 tNFA_NDEF_REGISTER& ndef_reg = eventData->ndef_reg; in ndefHandlerCallback()
235 ALOGD ("%s: NFA_NDEF_DATA_EVT; data_len = %lu", __FUNCTION__, eventData->ndef_data.len); in ndefHandlerCallback()
236 sReadDataLen = eventData->ndef_data.len; in ndefHandlerCallback()
238 memcpy (sReadData, eventData->ndef_data.p_data, eventData->ndef_data.len); in ndefHandlerCallback()
DPowerSwitch.cpp471 void PowerSwitch::deviceManagementCallback (UINT8 event, tNFA_DM_CBACK_DATA* eventData) in deviceManagementCallback() argument
479 tNFA_DM_PWR_MODE_CHANGE& power_mode = eventData->power_mode; in deviceManagementCallback()
DPowerSwitch.h224 static void deviceManagementCallback (UINT8 event, tNFA_DM_CBACK_DATA* eventData);
/packages/services/Car/vehicle_network_service/
DVehicleNetworkService.cpp67 void VehicleHalMessageHandler::handleHalEvent(vehicle_prop_value_t *eventData) { in handleHalEvent() argument
68 EVENT_LOG("handleHalEvent 0x%x", eventData->prop); in handleHalEvent()
71 propList.push_back(eventData); in handleHalEvent()
337 int VehicleNetworkService::eventCallback(const vehicle_prop_value_t *eventData) { in eventCallback() argument
339 sInstance->onHalEvent(eventData); in eventCallback()
956 status_t VehicleNetworkService::onHalEvent(const vehicle_prop_value_t* eventData, bool isInjection) in onHalEvent() argument
967 ssize_t index = mEventsCount.indexOfKey(eventData->prop); in onHalEvent()
969 mEventsCount.add(eventData->prop, 1); in onHalEvent()
973 mEventsCount.add(eventData->prop, count); in onHalEvent()
978 vehicle_prop_value_t* copy = VehiclePropValueUtil::allocVehicleProp(*eventData); in onHalEvent()
DVehicleNetworkService.h74 void handleHalEvent(vehicle_prop_value_t *eventData);
287 status_t onHalEvent(const vehicle_prop_value_t *eventData, bool isInjection = false);
335 static int eventCallback(const vehicle_prop_value_t *eventData);