Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 84) sorted by relevance

1234

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DPacketReflector.java64 private static void swapBytes(byte[] buf, int pos1, int pos2, int len) { in swapBytes()
91 private void processTcpPacket(byte[] buf, int version, int len, int hdrLen) { in processTcpPacket()
105 private void processUdpPacket(byte[] buf, int version, int len, int hdrLen) { in processUdpPacket()
121 private void processIcmpPacket(byte[] buf, int version, int len, int hdrLen) { in processIcmpPacket()
175 private void writePacket(byte[] buf, int len) { in writePacket()
184 int len; in readPacket() local
196 int len = readPacket(mBuf); in processPacket() local
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java143 private void read(InputStream in, ByteBuffer buffer, int len) throws IOException, ExitRequest { in read()
221 private void handleDownload(int len) throws IOException, ExitRequest { in handleDownload()
232 private void handleStartPlayback(int len) throws ProtocolError, IOException, ExitRequest { in handleStartPlayback()
313 private void handleStopPlayback(int len) throws ProtocolError, IOException { in handleStopPlayback()
330 private void handleStartRecording(int len) throws ProtocolError, IOException, ExitRequest { in handleStartRecording()
400 private void handleStopRecording(int len) throws ProtocolError, IOException { in handleStopRecording()
421 private void handleGetDeviceInfo(int len) throws ProtocolError, IOException{ in handleGetDeviceInfo()
454 … private void sendReplyWithData(int cmd, int errorCode, int len, byte[] data) throws IOException { in sendReplyWithData()
533 int len = mHeaderBuffer.getInt(); in run() local
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DAoapInterface.java92 int len = conn.controlTransfer( in getProtocol() local
103 int len = conn.controlTransfer( in sendString() local
115 int len = conn.controlTransfer( in sendAoapStart() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DAoapInterface.java97 int len = conn.controlTransfer( in getProtocol() local
108 int len = conn.controlTransfer( in sendString() local
120 int len = conn.controlTransfer( in sendAoapStart() local
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DPingReflector.java46 int len = readPacket(mBuf); in run() local
63 private void processPacket(byte[] buf, int version, int len, int hdrLen) throws IOException { in processPacket()
DIcmpMessage.java39 int len = stream.read(data, 0, dataLength); in IcmpMessage() local
/cts/suite/audio_quality/lib/src/
DClientSocket.cpp76 bool ClientSocket::readData(char* data, int len, int timeoutInMs) in readData()
139 bool ClientSocket::sendData(const char* data, int len) in sendData()
DSignalProcessingImpl.cpp241 bool SignalProcessingImpl::send(const char* data, int len) in send()
247 bool SignalProcessingImpl::read(char* data, int len) in read()
DSimpleScriptExec.cpp74 size_t len = 0; in runScript() local
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseInputStreamTest.java80 long len = 6; in testReadPartial() local
109 long len = 8; in testReadBufferPartial() local
/cts/suite/audio_quality/test/
DRemoteAudioFakeTcpTest.cpp39 void assertData(const char* data1, const char* data2, int len) { in assertData()
71 virtual bool readData(char* data, int len, int timeoutInMs = 0) { in readData()
75 virtual bool sendData(const char* data, int len) { in sendData()
87 void setSendExpectation(const char* data, int len) { in setSendExpectation()
92 void setReadExpectation(char* data, int len) { in setReadExpectation()
/cts/suite/audio_quality/lib/src/audio/
DAudioProtocol.cpp158 int len = ntohl(data[2]); in handleReply() local
184 int len = ntohl(data[2]); in handleReply() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DListsHelper.java25 int len = a.length; in isMatch() local
/cts/tests/tests/os/src/android/os/cts/
DCustomClassLoaderTest.java51 int len = is.read(buffer); in setUp() local
/cts/hostsidetests/security/securityPatch/CVE-2016-2460/
Dpoc.cpp62 int len = reply.dataAvail(); in main() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DVLoadTest.java176 private byte[] randomByteArray(int len) { in randomByteArray()
183 private short[] randomShortArray(int len) { in randomShortArray()
192 private int[] randomIntArray(int len) { in randomIntArray()
201 private long[] randomLongArray(int len) { in randomLongArray()
DGetSetTest.java228 private byte[] randomByteArray(int len) { in randomByteArray()
237 private short[] randomShortArray(int len) { in randomShortArray()
248 private int[] randomIntArray(int len) { in randomIntArray()
259 private long[] randomLongArray(int len) { in randomLongArray()
270 private float[] randomFloatArray(int len) { in randomFloatArray()
281 private double[] randomDoubleArray(int len) { in randomDoubleArray()
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceResultTest.java111 int len = array.length; in isSorted() local
/cts/suite/audio_quality/lib/include/audio/
DAudioProtocol.h86 bool sendData(const char* data, int len) { in sendData()
91 bool readData(char* data, int len) { in readData()
/cts/hostsidetests/api/src/com/android/cts/api/
DFilePuller.java63 public void addOutput(byte[] data, int offset, int len) { in pullFromDevice()
/cts/tests/tests/keystore/src/android/keystore/cts/
DHexEncoding.java43 public static String encode(byte[] data, int offset, int len) { in encode()
/cts/hostsidetests/security/securityPatch/CVE-2014-3145/
Dpoc.c63 static int send_receive_packet(int s[2], const void* pkt, int len) in send_receive_packet()
/cts/tests/tests/webkit/src/android/webkit/cts/
DTracingControllerTest.java79 public void write(byte[] b, int off, int len) { in write()
/cts/tests/tests/view/src/android/view/cts/
DKeyCharacterMapTest.java335 int len = mCharSequence.length(); in testGetEvents() local
/cts/tools/dasm/src/java_cup/
Dproduction.java359 int len; in action_translate() local
493 protected int merge_adjacent_actions(production_part rhs_parts[], int len) in merge_adjacent_actions()
549 int len) in strip_trailing_action()

1234