Home
last modified time | relevance | path

Searched refs:writeSize (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DCarWatchdogDaemonTest.java138 int writeSize = Math.toIntExact(Math.min(totalFreeMemory, maxSize)); in writeToFos() local
139 Log.i(TAG, "writeSize:" + writeSize); in writeToFos()
141 fos.write(new byte[writeSize]); in writeToFos()
146 maxSize -= writeSize; in writeToFos()
DCarWatchdogManagerTest.java896 int writeSize = Math.toIntExact(Math.min(totalFreeMemory, maxSize)); in writeToFos() local
897 Log.i(TAG, "writeSize:" + writeSize + ", writtenBytes:" + writtenBytes); in writeToFos()
898 if (writeSize == 0) { in writeToFos()
904 fos.write(new byte[writeSize]); in writeToFos()
909 maxSize -= writeSize; in writeToFos()
910 writtenBytes += writeSize; in writeToFos()
/cts/hostsidetests/car/app/src/android/car/cts/app/watchdog/
DCarWatchdogDeviceAppTest.java350 int writeSize = Math.toIntExact(Math.min(totalFreeMemory, maxSize)); in writeToFos() local
351 Log.i(TAG, "writeSize:" + writeSize + ", writtenBytes:" + writtenBytes); in writeToFos()
352 if (writeSize == 0) { in writeToFos()
358 fos.write(new byte[writeSize]); in writeToFos()
363 maxSize -= writeSize; in writeToFos()
364 writtenBytes += writeSize; in writeToFos()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseInputStreamTest.java225 final int writeSize = 1_000_000; in testReadLargeBytes() local
229 for (int i = 0; i < writeSize; i++) { in testReadLargeBytes()
234 openInput(0, writeSize); in testReadLargeBytes()
236 assertEquals(writeSize, mFd.getLength()); in testReadLargeBytes()
237 assertEquals(writeSize, mInput.readAllBytes().length); in testReadLargeBytes()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java887 int writeSize = src.capacity(); in runDecoder() local
888 dstBuf.put(src.array(), 0, writeSize); in runDecoder() local
898 writeSize, in runDecoder()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt33475 method public void writeSize(@NonNull android.util.Size);