Searched refs:kMaxPayloadSize (Results 1 – 2 of 2) sorted by relevance
590 constexpr size_t kMaxPayloadSize = 1024 * 1024; // 1 MiB in sendMessageToChre() local594 static_assert(kMaxPayloadSize <= INT32_MAX, in sendMessageToChre()598 if (length > kMaxPayloadSize) { in sendMessageToChre()599 LOGE("Message too large (got %zu, max %zu bytes)", length, kMaxPayloadSize); in sendMessageToChre()
44 const uint32_t kMaxPayloadSize = kMaxPeerInfoSize * 2; variable243 if (header->payload == 0 || header->payload > kMaxPayloadSize) { in ReadHeader()