Home
last modified time | relevance | path

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

123

/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()
166 private void writePacket(byte[] buf, int len) { in writePacket()
175 int len; in readPacket() local
187 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/tests/tests/content/src/android/content/res/cts/
DAssetManager_AssetInputStreamTest.java70 int len = mAssetInputStream.available(); in testReadMethods() local
72 assertEquals(CONTENT_STRING.length(), len); in testReadMethods() local
DAssetFileDescriptor_AutoCloseInputStreamTest.java80 long len = 6; in testReadPartial() local
109 long len = 8; in testReadBufferPartial() 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
DRWBuffer.h82 size_t len = str.length(); in writeStr() local
/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/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/tools/signature-tools/src/signature/
DMain.java127 int len = orig.length - 1; in without() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DVLoadTest.java162 private byte[] randomByteArray(int len) { in randomByteArray()
169 private short[] randomShortArray(int len) { in randomShortArray()
178 private int[] randomIntArray(int len) { in randomIntArray()
187 private long[] randomLongArray(int len) { in randomLongArray()
DGetSetTest.java202 private byte[] randomByteArray(int len) { in randomByteArray()
211 private short[] randomShortArray(int len) { in randomShortArray()
222 private int[] randomIntArray(int len) { in randomIntArray()
233 private long[] randomLongArray(int len) { in randomLongArray()
244 private float[] randomFloatArray(int len) { in randomFloatArray()
255 private double[] randomDoubleArray(int len) { in randomDoubleArray()
/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()
DBuffer.h62 inline void setData(char* data, size_t len) { in setData()
/cts/tests/tests/keystore/src/android/keystore/cts/
DHexEncoding.java43 public static String encode(byte[] data, int offset, int len) { in encode()
/cts/tests/tests/view/src/android/view/cts/
DKeyCharacterMapTest.java318 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()
/cts/tests/tests/graphics/src/android/graphics/cts/
DMovieTest.java101 int len; in inputStreamToBytes() local
DColorMatrixTest.java46 int len = mSrc.length; in testColorMatrix() local
/cts/tests/tests/security/src/android/security/cts/
DBrowserTest.java190 int len = 0; in testBrowserPrivateDataAccess() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceUtils.java55 int len = s.length(); in hexStringToBytes() local
/cts/tests/tests/security/jni/
Dandroid_security_cts_EncryptionTest.cpp161 int len; in android_security_cts_EncryptionTest_aesIsFast() local
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp184 static int adler32(const uint8_t *input, int len) { in adler32()
199 static int checksum(const uint8_t *in, int len, AMediaFormat *format) { in checksum()
349 int len = sizes[i].size(); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local
/cts/tools/dex-tools/src/dex/reader/
DDexBuffer.java40 int len; in DexBuffer() local

123