Home
last modified time | relevance | path

Searched refs:chunkSize (Results 1 – 25 of 29) 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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
/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.java139 int chunkSize; in readyFully() local
140 while ((chunkSize = in.read(buffer)) != -1) { in readyFully()
141 result.write(buffer, 0, chunkSize); in readyFully()
/cts/hostsidetests/security/src/android/security/cts/
DFileSystemPermissionTest.java244 int chunkSize; in call() local
245 while ((chunkSize = mIn.read(buf)) != -1) { in call()
246 result.write(buf, 0, chunkSize); in call()
/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/dexmetadata/host/src/com/android/cts/dexmetadata/
DInstallDexMetadataHostTest.java320 int chunkSize; in extractResource() local
321 while ((chunkSize = in.read(buf)) != -1) { in extractResource()
322 out.write(buf, 0, chunkSize); in extractResource()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java385 int chunkSize = scaledDim / 2; in testInBitmapReuse() local
407 for (int w = chunkSize; w <= 3 * chunkSize; w += chunkSize) { in testInBitmapReuse()
408 for (int h = chunkSize; h <= 3 * chunkSize; h += chunkSize) { in testInBitmapReuse()

12