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.java79 public void testObjectOneChar(int chunkSize) { in testObjectOneChar() argument
80 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testObjectOneChar()
106 public void testObjectOneLargeChar(int chunkSize) { in testObjectOneLargeChar() argument
107 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testObjectOneLargeChar()
134 public void testObjectAndTwoChars(int chunkSize) { in testObjectAndTwoChars() argument
135 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testObjectAndTwoChars()
177 public void testEmptyObject(int chunkSize) { in testEmptyObject() argument
178 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testEmptyObject()
199 public void testDeepEmptyObjects(int chunkSize) { in testDeepEmptyObjects() argument
200 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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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/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()
DTestUtils.java537 int chunkSize; in drain() local
538 while ((chunkSize = in.read(buffer)) != -1) { in drain()
539 result.write(buffer, 0, chunkSize); in drain()
657 int chunkSize = Math.min(seed.length, resultRemaining); in generateLargeKatMsg() local
658 System.arraycopy(seed, 0, result, resultOffset, chunkSize); in generateLargeKatMsg()
659 resultOffset += chunkSize; in generateLargeKatMsg()
660 resultRemaining -= chunkSize; in generateLargeKatMsg()
/cts/tests/tests/security/src/android/security/cts/
DHwRngTest.java137 int chunkSize; in readyFully() local
138 while ((chunkSize = in.read(buffer)) != -1) { in readyFully()
139 result.write(buffer, 0, chunkSize); in readyFully()
/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/packagemanager/extractnativelibs/src/android/extractnativelibs/cts/
DCtsExtractNativeLibsHostTestBase.java128 int chunkSize; in getFileFromResource() local
129 while ((chunkSize = in.read(buf)) != -1) { in getFileFromResource()
130 out.write(buf, 0, chunkSize); in getFileFromResource()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java382 int chunkSize = scaledDim / 2; in testInBitmapReuse() local
404 for (int w = chunkSize; w <= 3 * chunkSize; w += chunkSize) { in testInBitmapReuse()
405 for (int h = chunkSize; h <= 3 * chunkSize; h += chunkSize) { in testInBitmapReuse()

12