Home
last modified time | relevance | path

Searched refs:kMaxPayloadSize (Results 1 – 2 of 2) sorted by relevance

/system/chre/host/msm/daemon/
Dchre_daemon.cc590 constexpr size_t kMaxPayloadSize = 1024 * 1024; // 1 MiB in sendMessageToChre() local
594 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()
/system/core/adb/pairing_connection/
Dpairing_connection.cpp44 const uint32_t kMaxPayloadSize = kMaxPeerInfoSize * 2; variable
243 if (header->payload == 0 || header->payload > kMaxPayloadSize) { in ReadHeader()