Home
last modified time | relevance | path

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

/system/core/adb/
Dshell_protocol.h100 kBufferSize = MAX_PAYLOAD,
Dtransport_usb.cpp66 if (p->msg.data_length > MAX_PAYLOAD) { in UsbReadPayload()
132 if (p->msg.data_length > MAX_PAYLOAD) { in remote_read()
Dtransport_benchmark.cpp31 ->Arg(MAX_PAYLOAD) \
36 ->Arg(MAX_PAYLOAD) \
Dadb_io.cpp39 if (length > MAX_PAYLOAD - 4) { in SendProtocolString()
Dadb.h35 constexpr size_t MAX_PAYLOAD = 1024 * 1024; variable
Dtransport_fd.cpp96 auto block = std::make_unique<IOVector::block_type>(MAX_PAYLOAD); in Run()
Dsockets.cpp437 if (data.size() > MAX_PAYLOAD) { in remote_socket_enqueue()
740 if (len == 0 || len > MAX_PAYLOAD) { in smart_socket_enqueue()
923 size_t max_payload = MAX_PAYLOAD; in get_max_payload()
Dsocket_test.cpp125 data.resize(MAX_PAYLOAD); in CreateCloser()
Dtransport.h241 max_payload = MAX_PAYLOAD; in atransport()
Dtransport.cpp395 if (packet->msg.data_length > MAX_PAYLOAD) { in Read()
1034 max_payload = std::min(payload, MAX_PAYLOAD); in update_version()
/system/core/adb/daemon/
Dusb_ffs.cpp38 #define USB_FFS_NUM_BUFS ((4 * MAX_PAYLOAD / USB_FFS_BULK_SIZE) + 1)
Dusb_legacy.cpp57 #define USB_FFS_NUM_BUFS ((4 * MAX_PAYLOAD / USB_FFS_BULK_SIZE) + 1)
/system/core/adb/client/
Dadb_client.cpp154 if (service.empty() || service.size() > MAX_PAYLOAD) { in _adb_connect()
Dauth.cpp277 result.resize(MAX_PAYLOAD); in adb_auth_sign()