Home
last modified time | relevance | path

Searched refs:bufferLen (Results 1 – 11 of 11) sorted by relevance

/system/chre/util/nanoapp/
Dwifi.cc26 bool parseSsidToStr(char *buffer, size_t bufferLen, in parseSsidToStr() argument
30 bool success = (bufferLen >= static_cast<size_t>(ssidLen + 1)); in parseSsidToStr()
52 char *buffer, size_t bufferLen) { in parseBssidToStr() argument
57 if (bufferLen >= kBssidStrLen) { in parseBssidToStr()
59 snprintf(buffer, bufferLen, kFormat, bssid[0], bssid[1], bssid[2], in parseBssidToStr()
/system/chre/util/include/chre/util/nanoapp/
Dwifi.h40 bool parseSsidToStr(char *buffer, size_t bufferLen,
52 char *buffer, size_t bufferLen);
/system/nfc/src/adaptation/
DCrcChecksum.cc72 uint16_t crcChecksumCompute(const unsigned char* buffer, int bufferLen) { in crcChecksumCompute() argument
75 int cnt = bufferLen; in crcChecksumCompute()
/system/chre/platform/slpi/
Dnanoapp_load_manager.cc49 const void *buffer, size_t bufferLen) { in copyNanoappFragment() argument
52 success = mNanoapp->copyNanoappFragment(buffer, bufferLen); in copyNanoappFragment()
Dplatform_nanoapp.cc217 const void *buffer, size_t bufferLen) { in copyNanoappFragment() argument
221 if (mBytesLoaded + bufferLen > mAppBinaryLen) { in copyNanoappFragment()
223 bufferLen, mBytesLoaded, mAppBinaryLen); in copyNanoappFragment()
227 memcpy(binaryBuffer, buffer, bufferLen); in copyNanoappFragment()
228 mBytesLoaded += bufferLen; in copyNanoappFragment()
Dhost_link.cc548 size_t bufferLen, uint32_t fragmentId, size_t appBinaryLen) { in handleLoadNanoappData() argument
553 size_t totalAppBinaryLen = (fragmentId == 0) ? bufferLen : appBinaryLen; in handleLoadNanoappData()
572 bufferLen); in handleLoadNanoappData()
594 unsigned char *buffer, int bufferLen, unsigned int *messageLen) { in chre_slpi_get_message_to_host() argument
596 CHRE_ASSERT(bufferLen > 0); in chre_slpi_get_message_to_host()
600 if (bufferLen <= 0 || buffer == nullptr || messageLen == nullptr) { in chre_slpi_get_message_to_host()
604 bufferLen, (buffer == nullptr), (messageLen == nullptr)); in chre_slpi_get_message_to_host()
606 size_t bufferSize = static_cast<size_t>(bufferLen); in chre_slpi_get_message_to_host()
793 size_t bufferLen, const char *appFileName, uint32_t fragmentId, in handleLoadNanoappRequest() argument
803 buffer, bufferLen, fragmentId, appBinaryLen); in handleLoadNanoappRequest()
/system/nfc/src/include/
DCrcChecksum.h32 uint16_t crcChecksumCompute(const unsigned char* buffer, int bufferLen);
/system/chre/host/msm/daemon/generated/
Dchre_slpi.h43 …__QAIC_HEADER(chre_slpi_get_message_to_host)(unsigned char* buffer, int bufferLen, unsigned int* m…
Dchre_slpi_stub.c582 …t __QAIC_STUB(chre_slpi_get_message_to_host)(unsigned char* buffer, int bufferLen, unsigned int* m… in __QAIC_STUB()
584 …return _stub_method_1(_chre_slpi_handle(), _mid, (char**)&buffer, (uint32_t*)&bufferLen, (uint32_t… in __QAIC_STUB()
/system/chre/platform/slpi/include/chre/platform/slpi/
Dnanoapp_load_manager.h77 const void *buffer, size_t bufferLen);
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_protocol_chre.h60 size_t bufferLen, const char *appFileName, uint32_t fragmentId,