Searched refs:kMaxMessageSize (Results 1 – 8 of 8) sorted by relevance
/system/connectivity/wifilogd/tests/ |
D | main_loop_unittest.cpp | 73 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()
|
D | protocol_unittest.cpp | 98 EXPECT_GE(protocol::kMaxMessageSize, 4096U); in TEST()
|
D | command_processor_unittest.cpp | 58 using CommandBuffer = ByteBuffer<protocol::kMaxMessageSize * 2>; 60 constexpr size_t kBufferSizeBytes = protocol::kMaxMessageSize * 16; 62 constexpr size_t kMaxAsciiMessagePayloadLen = protocol::kMaxMessageSize -
|
/system/connectivity/wifilogd/ |
D | main_loop.cpp | 52 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()
|
D | command_processor.cpp | 170 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()
|
D | protocol.h | 38 constexpr size_t kMaxMessageSize = 4096; variable
|
/system/core/libappfuse/ |
D | FuseBuffer.cc | 151 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/ |
D | fastboot_device.cpp | 93 constexpr size_t kMaxMessageSize = sizeof(buf) - kResponseReasonSize; in WriteStatus() local 94 size_t msg_len = std::min(kMaxMessageSize, message.size()); in WriteStatus()
|