Home
last modified time | relevance | path

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

/system/core/adb/
Dsockets.cpp310 const size_t max_payload = s->get_max_payload(); in local_socket_event_func() local
311 size_t avail = max_payload; in local_socket_event_func()
335 if ((avail == max_payload) || (s->peer == 0)) { in local_socket_event_func()
338 p->len = max_payload - avail; in local_socket_event_func()
861 size_t max_payload = MAX_PAYLOAD; in get_max_payload() local
863 max_payload = std::min(max_payload, transport->get_max_payload()); in get_max_payload()
866 max_payload = std::min(max_payload, peer->transport->get_max_payload()); in get_max_payload()
868 return max_payload; in get_max_payload()
Dtransport.h55 max_payload = MAX_PAYLOAD; in atransport()
138 size_t max_payload; variable
Dtransport.cpp766 max_payload = std::min(payload, MAX_PAYLOAD); in update_version()
774 return max_payload; in get_max_payload()
/system/core/liblog/tests/
Dliblog_test.cpp904 TEST(liblog, max_payload) { in TEST() argument