Home
last modified time | relevance | path

Searched refs:msglen (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DNetworkUtils.java119 long netHandle, byte[] msg, int msglen, int flags) throws ErrnoException; in resNetworkSend() argument
128 int netId, byte[] msg, int msglen, int flags) throws ErrnoException { in resNetworkSend() argument
129 return resNetworkSend(new Network(netId).getNetworkHandle(), msg, msglen, flags); in resNetworkSend()
/packages/modules/adb/client/
Dfile_sync_client.cpp773 std::vector<char> buf(msg.status.msglen + 1); in ReportCopyFailure()
774 if (!ReadFdExactly(fd, &buf[0], msg.status.msglen)) { in ReportCopyFailure()
779 buf[msg.status.msglen] = 0; in ReportCopyFailure()
833 if (hdr->msglen != 0) { in ReadAcknowledgements()
834 Error("received ID_OKAY with msg_len (%" PRIu32 " != 0", hdr->msglen); in ReadAcknowledgements()
842 } else if (hdr->msglen > SYNC_DATA_MAX) { in ReadAcknowledgements()
843 Error("too-long message length from daemon: msglen = %" PRIu32, hdr->msglen); in ReadAcknowledgements()
847 const ssize_t msg_bytes_left = hdr->msglen + sizeof(sync_status) - buf.size(); in ReadAcknowledgements()
/packages/modules/adb/daemon/
Dfile_sync_service.cpp413 msg.status.msglen = 0; in handle_send_file()
496 msg.status.msglen = 0; in handle_send_link()