Home
last modified time | relevance | path

Searched refs:MAX_PAYLOAD (Results 1 – 14 of 14) sorted by relevance

/packages/modules/adb/
Dtransport_benchmark.cpp31 ->Arg(MAX_PAYLOAD) \
36 ->Arg(MAX_PAYLOAD) \
Dshell_protocol.h101 kBufferSize = MAX_PAYLOAD,
Dsockets.cpp154 if (bytes_flushed != 0 && s->packet_queue.size() < MAX_PAYLOAD) { in local_socket_flush_incoming()
495 if (data.size() > MAX_PAYLOAD) { in remote_socket_enqueue()
805 if (len == 0 || len > MAX_PAYLOAD) { in smart_socket_enqueue()
983 size_t max_payload = MAX_PAYLOAD; in get_max_payload()
Dadb_io.cpp39 if (length > MAX_PAYLOAD - 4) { in SendProtocolString()
Dadb.h34 constexpr size_t MAX_PAYLOAD = 1024 * 1024; variable
Dtransport_fd.cpp96 auto block = IOVector::block_type(MAX_PAYLOAD); in Run()
Dsocket_test.cpp126 data.resize(MAX_PAYLOAD); in CreateCloser()
Dtransport.h280 max_payload = MAX_PAYLOAD; in atransport()
Dtransport.cpp478 if (packet->msg.data_length > MAX_PAYLOAD) { in Read()
1161 max_payload = std::min(payload, MAX_PAYLOAD); in update_version()
/packages/modules/adb/client/
Dtransport_usb.cpp68 if (p->msg.data_length > MAX_PAYLOAD) { in UsbReadPayload()
Dadb_client.cpp161 if (service.empty() || service.size() > MAX_PAYLOAD) { in _adb_connect()
Dauth.cpp267 result.resize(MAX_PAYLOAD); in adb_auth_sign()
Dusb_libusb.cpp198 if (amsg.data_length > MAX_PAYLOAD) { in header_read_cb()
/packages/modules/adb/daemon/
Dusb_ffs.cpp39 #define USB_FFS_NUM_BUFS ((4 * MAX_PAYLOAD / USB_FFS_BULK_SIZE) + 1)