Home
last modified time | relevance | path

Searched refs:kMaxMessageSize (Results 1 – 8 of 8) sorted by relevance

/system/connectivity/wifilogd/tests/
Dmain_loop_unittest.cpp73 EXPECT_CALL(*os_, ReceiveDatagram(_, _, Ge(protocol::kMaxMessageSize))); in TEST_F()
90 Return(std::tuple<size_t, Os::Errno>{protocol::kMaxMessageSize, 0})); in TEST_F()
92 ProcessCommand(_, protocol::kMaxMessageSize, _)); in TEST_F()
106 std::tuple<size_t, Os::Errno>{protocol::kMaxMessageSize + 1, 0})); in TEST_F()
108 ProcessCommand(_, protocol::kMaxMessageSize, _)); in TEST_F()
113 EXPECT_CALL(*os_, ReceiveDatagram(_, _, protocol::kMaxMessageSize)) in TEST_F()
136 ON_CALL(*os_, ReceiveDatagram(_, _, protocol::kMaxMessageSize)) in TEST_F()
Dprotocol_unittest.cpp98 EXPECT_GE(protocol::kMaxMessageSize, 4096U); in TEST()
Dcommand_processor_unittest.cpp58 using CommandBuffer = ByteBuffer<protocol::kMaxMessageSize * 2>;
60 constexpr size_t kBufferSizeBytes = protocol::kMaxMessageSize * 16;
62 constexpr size_t kMaxAsciiMessagePayloadLen = protocol::kMaxMessageSize -
/system/connectivity/wifilogd/
Dmain_loop.cpp52 std::array<uint8_t, protocol::kMaxMessageSize> input_buf; in RunOnce()
62 if (datagram_len > protocol::kMaxMessageSize) { in RunOnce()
64 datagram_len = protocol::kMaxMessageSize; in RunOnce()
Dcommand_processor.cpp170 SAFELY_CLAMP(command_len_in, uint16_t, 0, protocol::kMaxMessageSize); in CopyCommandToLog()
175 protocol::kMaxMessageSize, in CopyCommandToLog()
195 ByteBuffer<sizeof(TimestampHeader) + protocol::kMaxMessageSize>() in CopyCommandToLog()
Dprotocol.h38 constexpr size_t kMaxMessageSize = 4096; variable
/system/core/libappfuse/
DFuseBuffer.cc151 constexpr int kMaxMessageSize = sizeof(FuseBuffer); in SetupMessageSockets() local
152 if (setsockopt(fds[0], SOL_SOCKET, SO_SNDBUF, &kMaxMessageSize, sizeof(int)) != 0 || in SetupMessageSockets()
153 setsockopt(fds[1], SOL_SOCKET, SO_SNDBUF, &kMaxMessageSize, sizeof(int)) != 0) { in SetupMessageSockets()
/system/core/fastboot/device/
Dfastboot_device.cpp93 constexpr size_t kMaxMessageSize = sizeof(buf) - kResponseReasonSize; in WriteStatus() local
94 size_t msg_len = std::min(kMaxMessageSize, message.size()); in WriteStatus()