Home
last modified time | relevance | path

Searched refs:retlen (Results 1 – 18 of 18) sorted by relevance

/hardware/nxp/nfc/snxxx/aidl/
DNfcExtns.cpp33 long retlen = 0; in getConfig() local
61 buffer.size(), &retlen)) { in getConfig()
62 config.hostAllowlist.resize(retlen); in getConfig()
63 for (long i = 0; i < retlen; i++) config.hostAllowlist[i] = buffer[i]; in getConfig()
75 buffer.size(), &retlen)) { in getConfig()
76 config.offHostRouteUicc.resize(retlen); in getConfig()
77 for (long i = 0; i < retlen; i++) config.offHostRouteUicc[i] = buffer[i]; in getConfig()
81 buffer.size(), &retlen)) { in getConfig()
82 config.offHostRouteEse.resize(retlen); in getConfig()
83 for (long i = 0; i < retlen; i++) config.offHostRouteEse[i] = buffer[i]; in getConfig()
[all …]
/hardware/nxp/nfc/snxxx/1.2/
DNfcExtns.cpp43 long retlen = 0; in getConfig() local
48 buffer.size(), &retlen)) { in getConfig()
49 config.offHostRouteUicc.resize(retlen); in getConfig()
50 for (long i = 0; i < retlen; i++) config.offHostRouteUicc[i] = buffer[i]; in getConfig()
54 buffer.size(), &retlen)) { in getConfig()
55 config.offHostRouteEse.resize(retlen); in getConfig()
56 for (long i = 0; i < retlen; i++) config.offHostRouteEse[i] = buffer[i]; in getConfig()
77 long retlen = 0; in getConfig() local
103 buffer.size(), &retlen)) { in getConfig()
104 config.hostWhitelist.resize(retlen); in getConfig()
[all …]
/hardware/nxp/nfc/pn8x/halimpl/hal/
DphNxpNciHal.cc1277 long retlen = 0; in phNxpNciHal_core_initialized() local
1359 retlen = 0; in phNxpNciHal_core_initialized()
1361 &retlen); in phNxpNciHal_core_initialized()
1362 if (retlen > 0) { in phNxpNciHal_core_initialized()
1364 status = phNxpNciHal_send_ext_cmd(retlen, buffer); in phNxpNciHal_core_initialized()
1444 retlen = 0; in phNxpNciHal_core_initialized()
1447 bufflen, &retlen); in phNxpNciHal_core_initialized()
1448 if (retlen > 0) { in phNxpNciHal_core_initialized()
1450 status = phNxpNciHal_send_ext_cmd(retlen, buffer); in phNxpNciHal_core_initialized()
1459 retlen = 0; in phNxpNciHal_core_initialized()
[all …]
/hardware/nxp/uwb/halimpl/hal/
DphNxpUciHal_ext.cc528 long retlen = 0; in extcal_do_xtal() local
529 if (NxpConfig_GetByteArray("cal.xtal", xtal_data, sizeof(xtal_data), &retlen)) { in extcal_do_xtal()
530 xtal_data_len = retlen; in extcal_do_xtal()
620 long retlen = 0; in extcal_do_tx_power() local
621 if (!NxpConfig_GetByteArray(key, power_value, sizeof(power_value), &retlen)) { in extcal_do_tx_power()
625 NXPLOG_UCIHAL_D("Apply TX_POWER: %s = { %lu bytes }", key, retlen); in extcal_do_tx_power()
627 entries.insert(entries.end(), power_value, power_value + retlen); in extcal_do_tx_power()
646 long retlen = 0; in extcal_do_tx_pulse_shape() local
649 if (NxpConfig_GetByteArray("cal.tx_pulse_shape", data, sizeof(data), &retlen) && retlen) { in extcal_do_tx_pulse_shape()
650 NXPLOG_UCIHAL_D("Apply TX_PULSE_SHAPE: data = { %lu bytes }", retlen); in extcal_do_tx_pulse_shape()
[all …]
DphNxpUciHal.cc664 long retlen = 0; in parseAntennaConfig() local
665 int gotConfig = NxpConfig_GetByteArray(configName, buffer.data(), buffer.size(), &retlen); in parseAntennaConfig()
667 if (retlen <= UCI_MSG_HDR_SIZE) { in parseAntennaConfig()
678 const uint16_t dataLength = retlen; in parseAntennaConfig()
745 long retlen = 0; in phNxpUciHal_applyVendorConfig() local
746 if (NxpConfig_GetByteArray(paramName, buffer.data(), buffer.size(), &retlen)) { in phNxpUciHal_applyVendorConfig()
747 if (retlen > 0 && retlen < UCI_MAX_DATA_LEN) { in phNxpUciHal_applyVendorConfig()
749 tHAL_UWB_STATUS status = phNxpUciHal_send_ext_cmd(retlen, buffer.data()); in phNxpUciHal_applyVendorConfig()
1000 long retlen = 0, cmdlen = 0; in phNxpUciHal_sessionInitialization() local
1010 &retlen); in phNxpUciHal_sessionInitialization()
[all …]
/hardware/nxp/nfc/snxxx/1.1/
DNfcExtns.cpp43 long retlen = 0; in getConfig() local
69 buffer.size(), &retlen)) { in getConfig()
70 config.hostWhitelist.resize(retlen); in getConfig()
71 for (long i = 0; i < retlen; i++) config.hostWhitelist[i] = buffer[i]; in getConfig()
80 buffer.size(), &retlen)) && in getConfig()
81 (retlen == 9)) { in getConfig()
/hardware/st/nfc/1.2/
Dhal_st21nfc.cc451 long retlen = 0; in StNfc_hal_getConfig() local
484 buffer.size(), &retlen)) { in StNfc_hal_getConfig()
485 config.hostWhitelist.resize(retlen); in StNfc_hal_getConfig()
486 for (int i = 0; i < retlen; i++) { in StNfc_hal_getConfig()
498 buffer.size(), &retlen)) && in StNfc_hal_getConfig()
499 (retlen == 9)) { in StNfc_hal_getConfig()
529 long retlen = 0; in StNfc_hal_getConfig_1_2() local
536 buffer.size(), &retlen)) { in StNfc_hal_getConfig_1_2()
537 config.offHostRouteUicc.resize(retlen); in StNfc_hal_getConfig_1_2()
538 for (int i = 0; i < retlen; i++) { in StNfc_hal_getConfig_1_2()
[all …]
/hardware/samsung/nfc/halimpl/src/
Dhal.cc363 long retlen = 0; in nfc_hal_getVendorConfig() local
386 buffer.size(), &retlen)) { in nfc_hal_getVendorConfig()
387 config.hostWhitelist.resize(retlen); in nfc_hal_getVendorConfig()
388 for (int i = 0; i < retlen; i++) config.hostWhitelist[i] = buffer[i]; in nfc_hal_getVendorConfig()
397 buffer.size(), &retlen)) { in nfc_hal_getVendorConfig()
425 long retlen = 0; in nfc_hal_getVendorConfig_1_2() local
432 buffer.size(), &retlen)) { in nfc_hal_getVendorConfig_1_2()
433 config.offHostRouteUicc.resize(retlen); in nfc_hal_getVendorConfig_1_2()
434 for (int i = 0; i < retlen; i++) { in nfc_hal_getVendorConfig_1_2()
439 buffer.size(), &retlen)) { in nfc_hal_getVendorConfig_1_2()
[all …]
/hardware/nxp/nfc/snxxx/halimpl/hal/
DphNxpNciHal.cc1532 long retlen = 0; in phNxpNciHal_core_initialized() local
1609 retlen = 0; in phNxpNciHal_core_initialized()
1611 &retlen); in phNxpNciHal_core_initialized()
1612 if (isfound > 0 && retlen > 0) { in phNxpNciHal_core_initialized()
1614 status = phNxpNciHal_send_ext_cmd(retlen, buffer); in phNxpNciHal_core_initialized()
1716 retlen = 0; in phNxpNciHal_core_initialized()
1721 retlen = 0; in phNxpNciHal_core_initialized()
1724 bufflen, &retlen); in phNxpNciHal_core_initialized()
1726 if ((isfound > 0) && (retlen > 0)) { in phNxpNciHal_core_initialized()
1751 bufflen, &retlen); in phNxpNciHal_core_initialized()
[all …]
DphNxpNciHal_extOperations.cc505 long retlen = 0; in phNxpNciHal_configure_merge_sak() local
510 if (!GetNxpNumValue(NAME_NXP_ISO_DEP_MERGE_SAK, (void*)&retlen, in phNxpNciHal_configure_merge_sak()
511 sizeof(retlen))) { in phNxpNciHal_configure_merge_sak()
512 retlen = 0x01; in phNxpNciHal_configure_merge_sak()
515 retlen); in phNxpNciHal_configure_merge_sak()
517 val = (uint8_t)retlen; in phNxpNciHal_configure_merge_sak()
535 long retlen = 0; in phNxpNciHal_setSrdtimeout() local
554 &retlen)) { in phNxpNciHal_setSrdtimeout()
555 if (retlen == NXP_SRD_TIMEOUT_BUF_LEN) { in phNxpNciHal_setSrdtimeout()
DphNxpNciHal_ext.cc1471 long retlen = 0; in phNxpNciHal_conf_nfc_forum_mode() local
1474 (char*)cmd_reset_emvcocfg, cmdlen, &retlen)) { in phNxpNciHal_conf_nfc_forum_mode()
1476 if (retlen != 0x08) { in phNxpNciHal_conf_nfc_forum_mode()
/hardware/st/nfc/aidl/
Dhal_st21nfc.cc468 long retlen = 0; in StNfc_hal_getConfig() local
501 buffer.size(), &retlen)) { in StNfc_hal_getConfig()
502 config.hostAllowlist.resize(retlen); in StNfc_hal_getConfig()
503 for (int i = 0; i < retlen; i++) { in StNfc_hal_getConfig()
515 buffer.size(), &retlen)) && in StNfc_hal_getConfig()
516 (retlen == 9)) { in StNfc_hal_getConfig()
540 buffer.size(), &retlen)) { in StNfc_hal_getConfig()
541 config.offHostRouteUicc.resize(retlen); in StNfc_hal_getConfig()
542 for (int i = 0; i < retlen; i++) { in StNfc_hal_getConfig()
548 buffer.size(), &retlen)) { in StNfc_hal_getConfig()
[all …]
/hardware/st/nfc/1.1/
Dhal_st21nfc.cc429 long retlen = 0; in StNfc_hal_getConfig() local
462 buffer.size(), &retlen)) { in StNfc_hal_getConfig()
463 config.hostWhitelist.resize(retlen); in StNfc_hal_getConfig()
464 for (int i = 0; i < retlen; i++) { in StNfc_hal_getConfig()
476 buffer.size(), &retlen)) && in StNfc_hal_getConfig()
477 (retlen == 9)) { in StNfc_hal_getConfig()
/hardware/nxp/uwb/halimpl/hal/sr200/
DphNxpUciHal_LC.cc258 long retlen = 0;
265 if (GetNxpConfigByteArrayValue(name.c_str(), (char*)buffer.data(), buffer.size(), &retlen)) {
266 if ((retlen > 0) && (retlen <= UCI_MAX_DATA_LEN)) {
268 status = phNxpUciHal_send_ext_cmd(retlen,vendorConfig);
DNxpUwbChipSr200.cc25 tHAL_UWB_STATUS read_otp(extcal_param_id_t id, uint8_t *data, size_t data_len, size_t *retlen);
146 uint8_t *data, size_t data_len, size_t *retlen) in read_otp() argument
/hardware/nxp/uwb/halimpl/hal/sr1xx/
DNxpUwbChipSr1xx.cc98 …HAL_UWB_STATUS sr1xx_read_otp(extcal_param_id_t id, uint8_t *data, size_t data_len, size_t *retlen) in sr1xx_read_otp() argument
119 *retlen = param_len; in sr1xx_read_otp()
272 tHAL_UWB_STATUS read_otp(extcal_param_id_t id, uint8_t *data, size_t data_len, size_t *retlen);
473 …TUS NxpUwbChipSr1xx::read_otp(extcal_param_id_t id, uint8_t *data, size_t data_len, size_t *retlen) in read_otp() argument
475 return sr1xx_read_otp(id, data, data_len, retlen); in read_otp()
/hardware/nxp/uwb/halimpl/inc/
DNxpUwbChip.h67 size_t *retlen);
/hardware/st/nfc/st21nfc/
Dhal_wrapper.cc158 long retlen = 0; in hal_wrapper_send_core_config_prop() local
165 &retlen); in hal_wrapper_send_core_config_prop()
172 if (!HalSendDownstreamTimer(mHalHandle, ConfigBuffer, retlen, 1000)) { in hal_wrapper_send_core_config_prop()