Home
last modified time | relevance | path

Searched refs:p_data (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphNxpExtns_MifareStd.c414 tNFA_NDEF_EVT_DATA p_data; in Mfc_ReadNdef_Completion_Routine() local
422 p_data.ndef_data.len = NdefInfo.psUpperNdefMsg->length; in Mfc_ReadNdef_Completion_Routine()
423 p_data.ndef_data.p_data = NdefInfo.psUpperNdefMsg->buffer; in Mfc_ReadNdef_Completion_Routine()
424 (*gphNxpExtns_Context.p_ndef_cback) (NFA_NDEF_DATA_EVT, &p_data); in Mfc_ReadNdef_Completion_Routine()
789 NFCSTATUS Mfc_WriteNdef(uint8_t *p_data, uint32_t len) in Mfc_WriteNdef() argument
795 if( p_data == NULL || len == 0 ) in Mfc_WriteNdef()
825 NdefInfo.psUpperNdefMsg->buffer = p_data; in Mfc_WriteNdef()
1065 NFCSTATUS Mfc_Transceive(uint8_t *p_data, uint32_t len) in Mfc_Transceive() argument
1075 if( p_data[0] == 0x60 || p_data[0] == 0x61 ) in Mfc_Transceive()
1078 NdefMap->Cmd.MfCmd = p_data[0]; in Mfc_Transceive()
[all …]
DphNxpExtns_MifareStd.h172 uint8_t p_data[NCI_MAX_DATA_LEN]; member
220 NFCSTATUS Mfc_WriteNdef(uint8_t *p_data, uint32_t len);
224 NFCSTATUS Mfc_Transceive(uint8_t *p_data, uint32_t len);
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp293 void btgattc_notify_cb(int conn_id, btgatt_notify_params_t *p_data) in btgattc_notify_cb() argument
299 p_data->bda.address[0], p_data->bda.address[1], p_data->bda.address[2], in btgattc_notify_cb()
300 p_data->bda.address[3], p_data->bda.address[4], p_data->bda.address[5]); in btgattc_notify_cb()
303 jbyteArray jb = sCallbackEnv->NewByteArray(p_data->len); in btgattc_notify_cb()
304 sCallbackEnv->SetByteArrayRegion(jb, 0, p_data->len, (jbyte *) p_data->value); in btgattc_notify_cb()
307 , conn_id, address, p_data->handle, p_data->is_notify, jb); in btgattc_notify_cb()
314 void btgattc_read_characteristic_cb(int conn_id, int status, btgatt_read_params_t *p_data) in btgattc_read_characteristic_cb() argument
321 jb = sCallbackEnv->NewByteArray(p_data->value.len); in btgattc_read_characteristic_cb()
322 sCallbackEnv->SetByteArrayRegion(jb, 0, p_data->value.len, in btgattc_read_characteristic_cb()
323 (jbyte *) p_data->value.value); in btgattc_read_characteristic_cb()
[all …]
/packages/apps/Nfc/nci/jni/extns/pn54x/src/
DphNxpExtns.c295 NFCSTATUS EXTNS_MfcWriteNDef (uint8_t *p_data, uint32_t len) in EXTNS_MfcWriteNDef() argument
302 msg.pMsgData = p_data; in EXTNS_MfcWriteNDef()
416 NFCSTATUS EXTNS_MfcTransceive (uint8_t *p_data, uint32_t len) in EXTNS_MfcTransceive() argument
423 msg.pMsgData = p_data; in EXTNS_MfcTransceive()
/packages/apps/Nfc/nci/jni/
DNativeNfcTag.cpp238 memcpy (sReadData, eventData->ndef_data.p_data, eventData->ndef_data.len); in ndefHandlerCallback()
379 …UINT8* p_data = const_cast<UINT8*>(reinterpret_cast<const UINT8*>(&bytes[0])); // TODO: const-ness… in nativeNfcTag_doWrite() local
437 status = NFA_RwWriteNDef (p_data, bytes.size()); in nativeNfcTag_doWrite()
459 status = EXTNS_MfcWriteNDef (p_data, bytes.size()); in nativeNfcTag_doWrite()
463 status = NFA_RwWriteNDef (p_data, bytes.size()); in nativeNfcTag_doWrite()
DRoutingManager.cpp559 … getInstance().handleData(NFA_TECHNOLOGY_MASK_A, ce_data.p_data, ce_data.len, ce_data.status); in stackCallback()
780 … routingManager.handleData(NFA_TECHNOLOGY_MASK_F, ce_data.p_data, ce_data.len, ce_data.status); in nfcFCeCallback()
DNativeNfcManager.cpp442 … nativeNfcTag_doTransceiveStatus(eventData->status, eventData->data.p_data, eventData->data.len); in nfaConnectionCallback()
/packages/apps/Nfc/nci/jni/extns/pn54x/inc/
DphNxpExtns.h39 NFCSTATUS EXTNS_MfcTransceive (uint8_t *p_data, uint32_t len);