Home
last modified time | relevance | path

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

/system/chre/util/nanoapp/
Dwifi.cc65 bool parseSsidToStr(char *buffer, size_t bufferLen, const uint8_t *ssid, in parseSsidToStr() argument
69 bool success = (bufferLen >= static_cast<size_t>(ssidLen + 1)); in parseSsidToStr()
91 size_t bufferLen) { in parseBssidToStr() argument
96 if (bufferLen >= kBssidStrLen) { in parseBssidToStr()
98 snprintf(buffer, bufferLen, kFormat, bssid[0], bssid[1], bssid[2], bssid[3], in parseBssidToStr()
/system/chre/util/include/chre/util/nanoapp/
Dwifi.h50 bool parseSsidToStr(char *buffer, size_t bufferLen, const uint8_t *ssid,
62 size_t bufferLen);
/system/chre/platform/freertos/
Dplatform_nanoapp.cc201 size_t bufferLen) { in copyNanoappFragment() argument
208 if ((mBytesLoaded + bufferLen) > mAppBinaryLen) { in copyNanoappFragment()
210 bufferLen, mBytesLoaded, mAppBinaryLen); in copyNanoappFragment()
214 memcpy(binaryBuffer, buffer, bufferLen); in copyNanoappFragment()
215 mBytesLoaded += bufferLen; in copyNanoappFragment()
/system/chre/platform/slpi/
Dplatform_nanoapp.cc121 size_t bufferLen) { in copyNanoappFragment() argument
125 if (mBytesLoaded + bufferLen > mAppBinaryLen) { in copyNanoappFragment()
127 bufferLen, mBytesLoaded, mAppBinaryLen); in copyNanoappFragment()
131 memcpy(binaryBuffer, buffer, bufferLen); in copyNanoappFragment()
132 mBytesLoaded += bufferLen; in copyNanoappFragment()
Dhost_link.cc536 const void *buffer, size_t bufferLen, in handleLoadNanoappData() argument
543 size_t totalAppBinaryLen = (fragmentId == 0) ? bufferLen : appBinaryLen; in handleLoadNanoappData()
563 bufferLen); in handleLoadNanoappData()
585 int bufferLen, in chre_slpi_get_message_to_host() argument
588 CHRE_ASSERT(bufferLen > 0); in chre_slpi_get_message_to_host()
592 if (bufferLen <= 0 || buffer == nullptr || messageLen == nullptr) { in chre_slpi_get_message_to_host()
596 bufferLen, (buffer == nullptr), (messageLen == nullptr)); in chre_slpi_get_message_to_host()
598 size_t bufferSize = static_cast<size_t>(bufferLen); in chre_slpi_get_message_to_host()
869 const void *buffer, size_t bufferLen, const char *appFileName, in handleLoadNanoappRequest() argument
879 targetApiVersion, buffer, bufferLen, fragmentId, appBinaryLen); in handleLoadNanoappRequest()
/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/shared/
Dnanoapp_load_manager.cc56 size_t bufferLen) { in copyNanoappFragment() argument
59 success = mNanoapp->copyNanoappFragment(buffer, bufferLen); in copyNanoappFragment()
/system/nfc/src/include/
DCrcChecksum.h32 uint16_t crcChecksumCompute(const unsigned char* buffer, int bufferLen);
/system/chre/host/msm/daemon/generated/
Dchre_slpi.h44 …__QAIC_HEADER(chre_slpi_get_message_to_host)(unsigned char* buffer, int bufferLen, unsigned int* m…
Dchre_slpi_stub.c585 …t __QAIC_STUB(chre_slpi_get_message_to_host)(unsigned char* buffer, int bufferLen, unsigned int* m… in __QAIC_STUB()
587 …return _stub_method_1(_chre_slpi_handle(), _mid, (unsigned char**)&buffer, (int*)&bufferLen, (unsi… in __QAIC_STUB()
/system/chre/platform/shared/include/chre/platform/shared/
Dnanoapp_load_manager.h79 size_t bufferLen);
Dhost_protocol_chre.h64 const void *buffer, size_t bufferLen, const char *appFileName,