Home
last modified time | relevance | path

Searched refs:max_payload (Results 1 – 4 of 4) sorted by relevance

/system/core/adb/
Dsockets.cpp153 const size_t max_payload = s->get_max_payload(); in local_socket_flush_outgoing() local
155 data.resize(max_payload); in local_socket_flush_outgoing()
157 size_t avail = max_payload; in local_socket_flush_outgoing()
182 if (avail != max_payload && s->peer) { in local_socket_flush_outgoing()
183 data.resize(max_payload - avail); in local_socket_flush_outgoing()
912 size_t max_payload = MAX_PAYLOAD; in get_max_payload() local
914 max_payload = std::min(max_payload, transport->get_max_payload()); in get_max_payload()
917 max_payload = std::min(max_payload, peer->transport->get_max_payload()); in get_max_payload()
919 return max_payload; in get_max_payload()
Dtransport.h276 max_payload = MAX_PAYLOAD; in atransport()
392 size_t max_payload; variable
Dtransport.cpp1161 max_payload = std::min(payload, MAX_PAYLOAD); in update_version()
1173 return max_payload; in get_max_payload()
/system/core/liblog/tests/
Dliblog_test.cpp939 TEST(liblog, max_payload) { in TEST() argument