Home
last modified time | relevance | path

Searched refs:GKI_getbuf (Results 1 – 25 of 31) sorted by relevance

12

/system/nfc/src/nfa/dm/
Dnfa_dm_api.cc110 p_msg = (tNFA_DM_API_ENABLE*)GKI_getbuf(sizeof(tNFA_DM_API_ENABLE)); in NFA_Enable()
150 p_msg = (tNFA_DM_API_DISABLE*)GKI_getbuf(sizeof(tNFA_DM_API_DISABLE)); in NFA_Disable()
193 (tNFA_DM_API_SET_POWER_SUB_STATE*)GKI_getbuf(buf_size); in NFA_SetPowerSubStateForScreenState()
247 p_msg = (tNFA_DM_API_SET_CONFIG*)GKI_getbuf( in NFA_SetConfig()
284 p_msg = (tNFA_DM_API_GET_CONFIG*)GKI_getbuf( in NFA_GetConfig()
351 p_msg = (tNFA_DM_API_REQ_EXCL_RF_CTRL*)GKI_getbuf( in NFA_RequestExclusiveRfControl()
395 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR)); in NFA_ReleaseExclusiveRfControl()
445 p_msg = (tNFA_DM_API_ENABLE_POLL*)GKI_getbuf(sizeof(tNFA_DM_API_ENABLE_POLL)); in NFA_EnablePolling()
479 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR)); in NFA_DisablePolling()
519 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR)); in NFA_EnableListening()
[all …]
/system/nfc/src/nfa/rw/
Dnfa_rw_api.cc73 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwDetectNDef()
118 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwReadNDef()
160 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwWriteNDef()
195 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwPresenceCheck()
228 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwFormatTag()
283 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwSetTagReadOnly()
341 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwLocateTlv()
381 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwT1tRid()
412 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwT1tReadAll()
443 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwT1tRead()
[all …]
Dnfa_rw_main.cc211 p_msg = (tNFA_RW_MSG*)GKI_getbuf((uint16_t)sizeof(tNFA_RW_MSG)); in nfa_rw_send_raw_frame()
/system/nfc/src/nfa/ee/
Dnfa_ee_api.cc68 p_msg = (tNFA_EE_API_DISCOVER*)GKI_getbuf(sizeof(tNFA_EE_API_DISCOVER)); in NFA_EeDiscover()
163 p_msg = (tNFA_EE_API_REGISTER*)GKI_getbuf(sizeof(tNFA_EE_API_REGISTER)); in NFA_EeRegister()
205 (p_msg = (tNFA_EE_API_DEREGISTER*)GKI_getbuf( in NFA_EeDeregister()
254 p_msg = (tNFA_EE_API_MODE_SET*)GKI_getbuf(sizeof(tNFA_EE_API_MODE_SET)); in NFA_EeModeSet()
316 (tNFA_EE_API_SET_TECH_CFG*)GKI_getbuf(sizeof(tNFA_EE_API_SET_TECH_CFG)); in NFA_EeSetDefaultTechRouting()
379 p_msg = (tNFA_EE_API_CLEAR_TECH_CFG*)GKI_getbuf( in NFA_EeClearDefaultTechRouting()
445 p_msg = (tNFA_EE_API_SET_PROTO_CFG*)GKI_getbuf( in NFA_EeSetDefaultProtoRouting()
509 p_msg = (tNFA_EE_API_SET_PROTO_CFG*)GKI_getbuf( in NFA_EeClearDefaultProtoRouting()
573 p_msg = (tNFA_EE_API_ADD_AID*)GKI_getbuf(size); in NFA_EeAddAidRouting()
631 p_msg = (tNFA_EE_API_REMOVE_AID*)GKI_getbuf(size); in NFA_EeRemoveAidRouting()
[all …]
Dnfa_ee_act.cc833 nfa_ee_cb.ecb[xx].aid_len = (uint8_t*)GKI_getbuf(max_aid_entries); in nfa_ee_api_register()
834 nfa_ee_cb.ecb[xx].aid_pwr_cfg = (uint8_t*)GKI_getbuf(max_aid_entries); in nfa_ee_api_register()
835 nfa_ee_cb.ecb[xx].aid_rt_info = (uint8_t*)GKI_getbuf(max_aid_entries); in nfa_ee_api_register()
836 nfa_ee_cb.ecb[xx].aid_info = (uint8_t*)GKI_getbuf(max_aid_entries); in nfa_ee_api_register()
837 nfa_ee_cb.ecb[xx].aid_cfg = (uint8_t*)GKI_getbuf(max_aid_cfg_length); in nfa_ee_api_register()
1608 p_pkt = (NFC_HDR*)GKI_getbuf(size); in nfa_ee_api_send_data()
2813 p = (uint8_t*)GKI_getbuf(max_len); in nfa_ee_lmrt_to_nfcc()
/system/nfc/src/nfa/ce/
Dnfa_ce_api.cc60 p_ce_msg = (tNFA_CE_MSG*)GKI_getbuf((uint16_t)(sizeof(tNFA_CE_MSG))); in nfa_ce_api_deregister_listen()
153 p_msg = (tNFA_CE_MSG*)GKI_getbuf((uint16_t)sizeof(tNFA_CE_MSG)); in NFA_CeConfigureLocalTag()
215 p_msg = (tNFA_CE_MSG*)GKI_getbuf((uint16_t)sizeof(tNFA_CE_MSG)); in NFA_CeConfigureUiccListenTech()
264 p_msg = (tNFA_CE_MSG*)GKI_getbuf((uint16_t)sizeof(tNFA_CE_MSG)); in NFA_CeRegisterFelicaSystemCodeOnDH()
339 p_msg = (tNFA_CE_MSG*)GKI_getbuf((uint16_t)sizeof(tNFA_CE_MSG)); in NFA_CeRegisterAidOnDH()
419 p_msg = (tNFA_CE_MSG*)GKI_getbuf((uint16_t)sizeof(tNFA_CE_MSG)); in NFA_CeSetIsoDepListenTech()
/system/nfc/src/nfa/hci/
Dnfa_hci_api.cc78 ((p_msg = (tNFA_HCI_API_REGISTER_APP*)GKI_getbuf( in NFA_HciRegister()
125 ((p_msg = (tNFA_HCI_API_GET_APP_GATE_PIPE*)GKI_getbuf( in NFA_HciGetGateAndPipeList()
184 ((p_msg = (tNFA_HCI_API_DEREGISTER_APP*)GKI_getbuf( in NFA_HciDeregister()
237 ((p_msg = (tNFA_HCI_API_ALLOC_GATE*)GKI_getbuf( in NFA_HciAllocGate()
284 ((p_msg = (tNFA_HCI_API_DEALLOC_GATE*)GKI_getbuf( in NFA_HciDeallocGate()
323 ((p_msg = (tNFA_HCI_API_GET_HOST_LIST*)GKI_getbuf( in NFA_HciGetHostList()
395 ((p_msg = (tNFA_HCI_API_CREATE_PIPE_EVT*)GKI_getbuf( in NFA_HciCreatePipe()
444 ((p_msg = (tNFA_HCI_API_OPEN_PIPE_EVT*)GKI_getbuf( in NFA_HciOpenPipe()
493 ((p_msg = (tNFA_HCI_API_GET_REGISTRY*)GKI_getbuf( in NFA_HciGetRegistry()
551 ((p_msg = (tNFA_HCI_API_SEND_CMD_EVT*)GKI_getbuf( in NFA_HciSendCommand()
[all …]
Dnfa_hci_ci.cc42 p_msg = (tNFA_HCI_EVENT_DATA*)GKI_getbuf(sizeof(tNFA_HCI_EVENT_DATA)); in nfa_nv_ci_read()
69 p_msg = (tNFA_HCI_EVENT_DATA*)GKI_getbuf(sizeof(tNFA_HCI_EVENT_DATA)); in nfa_nv_ci_write()
/system/nfc/src/nfa/p2p/
Dnfa_p2p_api.cc85 if ((p_msg = (tNFA_P2P_API_REG_SERVER*)GKI_getbuf( in NFA_P2pRegisterServer()
133 if ((p_msg = (tNFA_P2P_API_REG_CLIENT*)GKI_getbuf( in NFA_P2pRegisterClient()
178 if ((p_msg = (tNFA_P2P_API_DEREG*)GKI_getbuf(sizeof(tNFA_P2P_API_DEREG))) != in NFA_P2pDeregister()
229 } else if ((p_msg = (tNFA_P2P_API_ACCEPT_CONN*)GKI_getbuf( in NFA_P2pAcceptConn()
278 if ((p_msg = (tNFA_P2P_API_REJECT_CONN*)GKI_getbuf( in NFA_P2pRejectConn()
331 if ((p_msg = (tNFA_P2P_API_DISCONNECT*)GKI_getbuf( in NFA_P2pDisconnect()
384 } else if ((p_msg = (tNFA_P2P_API_CONNECT*)GKI_getbuf( in NFA_P2pConnectByName()
441 } else if ((p_msg = (tNFA_P2P_API_CONNECT*)GKI_getbuf( in NFA_P2pConnectBySap()
510 } else if ((p_msg = (tNFA_P2P_API_SEND_UI*)GKI_getbuf( in NFA_P2pSendUI()
680 } else if ((p_msg = (tNFA_P2P_API_SEND_DATA*)GKI_getbuf( in NFA_P2pSendData()
[all …]
/system/nfc/src/nfc/nfc/
Dnfc_task.cc68 p_msg = (NFC_HDR*)GKI_getbuf(NFC_HDR_SIZE); in nfc_start_timer()
185 p_msg = (NFC_HDR*)GKI_getbuf(NFC_HDR_SIZE); in nfc_start_quick_timer()
Dnfc_main.cc582 p_msg = (tNFC_HAL_EVT_MSG*)GKI_getbuf(sizeof(tNFC_HAL_EVT_MSG)); in nfc_main_post_hal_evt()
665 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + NFC_RECEIVE_MSGS_OFFSET + in nfc_main_hal_data_cback()
944 GKI_getbuf((uint16_t)(NFC_HDR_SIZE + 1 + params_size)); in NFC_DiscoveryStart()
/system/nfc/src/fuzzers/llcp/
Dllcp.cc68 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + it->size()); in Fuzz_Run()
/system/nfc/src/nfa/sys/
Dnfa_sys_ptim.cc100 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR)); in nfa_sys_ptim_timer_update()
/system/nfc/src/fuzzers/nci/
Dhal.cc29 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + NFC_RECEIVE_MSGS_OFFSET + in hal_inject_data()
/system/nfc/src/fuzzers/ce/
Dt3t.cc95 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + it->size()); in Fuzz_Run()
Dt4t.cc98 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + it->size()); in Fuzz_Run()
/system/nfc/src/fuzzers/rw/
Dmfc.cc126 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + it->size()); in Fuzz_Run()
Dt4t.cc134 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + it->size()); in Fuzz_Run()
Dt2t.cc174 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + it->size()); in Fuzz_Run()
Dt1t.cc215 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + it->size()); in Fuzz_Run()
Dt5t.cc292 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + it->size()); in Fuzz_Run()
Dt3t.cc266 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + it->size()); in Fuzz_Run()
/system/nfc/src/gki/common/
Dgki.h375 extern void* GKI_getbuf(uint16_t);
Dgki_buffer.cc256 void* GKI_getbuf(uint16_t size) { in GKI_getbuf() function
420 return GKI_getbuf(size); in GKI_getpoolbuf()
463 return (GKI_getbuf(p_cb->freeq[pool_id].size)); in GKI_getpoolbuf()
/system/nfc/src/include/
Dnci_defs.h568 ((NFC_HDR*)GKI_getbuf((uint16_t)(NFC_HDR_SIZE + NCI_MSG_HDR_SIZE + \

12