Home
last modified time | relevance | path

Searched refs:chunkSize (Results 1 – 25 of 30) sorted by relevance

12

/cts/tests/tests/proto/src/android/util/proto/cts/
DEncodedBufferTest.java92 public void testWriteRawBuffer(int chunkSize) throws Exception { in testWriteRawBuffer() argument
93 testWriteRawBuffer(chunkSize, 0); in testWriteRawBuffer()
94 testWriteRawBuffer(chunkSize, 1); in testWriteRawBuffer()
95 testWriteRawBuffer(chunkSize, 3); in testWriteRawBuffer()
96 testWriteRawBuffer(chunkSize, 5); in testWriteRawBuffer()
97 testWriteRawBuffer(chunkSize, 7); in testWriteRawBuffer()
98 testWriteRawBuffer(chunkSize, 1024); in testWriteRawBuffer()
99 testWriteRawBuffer(chunkSize, 1024*1024); in testWriteRawBuffer()
102 public void testWriteRawBuffer(int chunkSize, int bufferSize) throws Exception { in testWriteRawBuffer() argument
103 final EncodedBuffer buffer = new EncodedBuffer(chunkSize); in testWriteRawBuffer()
[all …]
DProtoOutputStreamObjectTest.java78 public void testObjectOneChar(int chunkSize) { in testObjectOneChar() argument
79 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testObjectOneChar()
105 public void testObjectOneLargeChar(int chunkSize) { in testObjectOneLargeChar() argument
106 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testObjectOneLargeChar()
133 public void testObjectAndTwoChars(int chunkSize) { in testObjectAndTwoChars() argument
134 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testObjectAndTwoChars()
176 public void testEmptyObject(int chunkSize) { in testEmptyObject() argument
177 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testEmptyObject()
198 public void testDeepEmptyObjects(int chunkSize) { in testDeepEmptyObjects() argument
199 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testDeepEmptyObjects()
[all …]
DProtoOutputStreamStringTest.java53 public void testWriteLongString(int chunkSize) throws Exception { in testWriteLongString() argument
54 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWriteLongString()
88 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
89 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
163 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
164 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
DProtoOutputStreamBoolTest.java47 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
110 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
111 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
200 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
201 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamSFixed32Test.java47 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
125 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
126 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
239 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
240 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamSInt32Test.java47 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
125 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
126 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
238 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
239 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamEnumTest.java50 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
51 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
133 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
134 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
254 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
255 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamInt32Test.java47 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
127 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
128 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
245 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
246 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamFixed32Test.java47 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
125 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
126 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
238 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
239 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamUInt32Test.java47 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
125 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
126 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
238 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
239 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamBytesTest.java54 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
55 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
125 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
126 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
DProtoOutputStreamSInt64Test.java47 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
138 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
139 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
273 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
274 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamInt64Test.java47 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
139 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
140 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
277 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
278 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamSFixed64Test.java47 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
142 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
143 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
287 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
288 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamFixed64Test.java47 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
142 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
143 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
288 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
289 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamUInt64Test.java47 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
139 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
140 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
277 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
278 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamDoubleTest.java61 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
62 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
167 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
168 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
334 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
335 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
DProtoOutputStreamFloatTest.java62 public void testWrite(int chunkSize) throws Exception { in testWrite() argument
63 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite()
161 public void testRepeated(int chunkSize) throws Exception { in testRepeated() argument
162 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated()
309 public void testPacked(int chunkSize) throws Exception { in testPacked() argument
310 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testPacked()
/cts/hostsidetests/security/src/android/security/cts/
DAdbUtils.java121 int chunkSize; in extractResource() local
122 while ((chunkSize = in.read(buf)) != -1) { in extractResource()
123 out.write(buf, 0, chunkSize); in extractResource()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAESGCMCipherTestBase.java172 int chunkSize = Math.min(aad.length - aadOffset, maxChunkSize); in assertKatTransformWithAadProvidedInChunks() local
173 updateAAD(aad, aadOffset, chunkSize); in assertKatTransformWithAadProvidedInChunks()
174 aadOffset += chunkSize; in assertKatTransformWithAadProvidedInChunks()
DAESCipherNistCavpKatTest.java309 int chunkSize = in.read(buf, offset, remaining); in readFully() local
310 if (chunkSize == -1) { in readFully()
313 offset += chunkSize; in readFully()
314 remaining -= chunkSize; in readFully()
/cts/tests/tests/security/src/android/security/cts/
DHwRngTest.java135 int chunkSize; in readyFully() local
136 while ((chunkSize = in.read(buffer)) != -1) { in readyFully()
137 result.write(buffer, 0, chunkSize); in readyFully()
DOpenSSLHeartbleedTest.java820 int chunkSize = in.read( in readAtLeast() local
824 if (chunkSize == -1) { in readAtLeast()
832 bufferedByteCount += chunkSize; in readAtLeast()
833 size -= chunkSize; in readAtLeast()
910 int chunkSize; in readResource() local
911 while ((chunkSize = in.read(buf)) != -1) { in readResource()
912 result.write(buf, 0, chunkSize); in readResource()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java205 int chunkSize = Math.min(ioBuffer.length, dataSize - i); in read() local
207 is.read(ioBuffer, 0, chunkSize); in read()
211 dataBuffer.put(ioBuffer, 0, chunkSize); in read()
212 i += chunkSize; in read()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPkgInstallSignatureVerificationTest.java575 int chunkSize; in installPackageFromResource() local
576 while ((chunkSize = in.read(buf)) != -1) { in installPackageFromResource()
577 out.write(buf, 0, chunkSize); in installPackageFromResource()

12