Home
last modified time | relevance | path

Searched refs:sent (Results 1 – 6 of 6) sorted by relevance

/cts/suite/audio_quality/lib/src/
DClientSocket.cpp141 int sent; in sendData() local
144 sent = send(mSocket, (void*)data, (size_t)toSend, 0); in sendData()
145 if (sent > 0) { in sendData()
146 toSend -= sent; in sendData()
147 data += sent; in sendData()
148 } else if (sent == 0) { // no more buffer? in sendData()
151 LOGE("send returned %d, error %d", sent, errno); in sendData()
/cts/tests/tests/net/src/android/net/ipv6/cts/
DPingTest.java112 byte[] sent, boolean useRecvfrom) throws ErrnoException, IOException { in checkResponse() argument
132 assertEquals(sent.length, bytesRead); in checkResponse()
142 sent[4] = (byte) (id / 256); in checkResponse()
143 sent[5] = (byte) (id % 256); in checkResponse()
149 assertArrayBytesEqual(response, sent, bytesRead); in checkResponse()
/cts/tests/tests/net/jni/
DNativeMultinetworkJni.c194 ssize_t sent, rcvd; in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() local
199 sent = send(fd, quic_packet, sizeof(quic_packet), 0); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()
200 if (sent < (ssize_t)sizeof(quic_packet)) { in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()
202 ALOGD("send(QUIC packet) returned sent=%zd, errno=%d", sent, errnum); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()
216 if (rcvd < sent) { in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()
217 ALOGD("QUIC UDP %s: sent=%zd but rcvd=%zd, errno=%d", kPort, sent, rcvd, errnum); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java533 UsbRequest sent = new UsbRequest(); in echoUsbRequestLegacy() local
534 boolean isInited = sent.initialize(connection, out); in echoUsbRequestLegacy()
537 sent.setClientData(sentClientData); in echoUsbRequestLegacy()
580 wasQueued = sent.queue(bufferSentSliced, size); in echoUsbRequestLegacy()
619 assertSame(sent, finished); in echoUsbRequestLegacy()
669 UsbRequest sent = new UsbRequest(); in echoUsbRequest() local
670 boolean isInited = sent.initialize(connection, out); in echoUsbRequest()
673 sent.setClientData(sentClientData); in echoUsbRequest()
719 wasQueued = sent.queue(bufferSentSliced); in echoUsbRequest()
743 assertSame(sent, finished); in echoUsbRequest()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMidiSoloTest.java175 int sent = 0; in testMidiReceiverException() local
176 while (sent < LOCAL_STORAGE_SIZE) { in testMidiReceiverException()
178 sent += count; in testMidiReceiverException()
/cts/suite/audio_quality/test_description/
Dprocessing_main.py197 sent = self.conn.send(rawString[totalSent:])
198 totalSent += sent