Home
last modified time | relevance | path

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

/system/core/adb/
Dshell_protocol.h101 kBufferSize = MAX_PAYLOAD,
Dtransport_benchmark.cpp31 ->Arg(MAX_PAYLOAD) \
36 ->Arg(MAX_PAYLOAD) \
Dadb_io.cpp39 if (length > MAX_PAYLOAD - 4) { in SendProtocolString()
Dadb.h33 constexpr size_t MAX_PAYLOAD = 1024 * 1024; variable
Dtransport_fd.cpp96 auto block = IOVector::block_type(MAX_PAYLOAD); in Run()
Dsockets.cpp438 if (data.size() > MAX_PAYLOAD) { in remote_socket_enqueue()
737 if (len == 0 || len > MAX_PAYLOAD) { in smart_socket_enqueue()
912 size_t max_payload = MAX_PAYLOAD; in get_max_payload()
Dsocket_test.cpp125 data.resize(MAX_PAYLOAD); in CreateCloser()
Dtransport.h276 max_payload = MAX_PAYLOAD; in atransport()
Dtransport.cpp466 if (packet->msg.data_length > MAX_PAYLOAD) { in Read()
1161 max_payload = std::min(payload, MAX_PAYLOAD); in update_version()
/system/core/adb/client/
Dtransport_usb.cpp70 if (p->msg.data_length > MAX_PAYLOAD) { in UsbReadPayload()
136 if (p->msg.data_length > MAX_PAYLOAD) { in remote_read()
Dadb_client.cpp156 if (service.empty() || service.size() > MAX_PAYLOAD) { in _adb_connect()
Dauth.cpp267 result.resize(MAX_PAYLOAD); in adb_auth_sign()
/system/core/fastboot/device/
Dusb.cpp52 #define USB_FFS_NUM_BUFS ((4 * MAX_PAYLOAD / USB_FFS_BULK_SIZE) + 1)
/system/core/adb/daemon/
Dusb_ffs.cpp39 #define USB_FFS_NUM_BUFS ((4 * MAX_PAYLOAD / USB_FFS_BULK_SIZE) + 1)