Home
last modified time | relevance | path

Searched refs:readBufferSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DZipFileReadPerfTest.java92 public void timeZipFileRead(int readBufferSize) throws Exception { in timeZipFileRead() argument
93 byte[] readBuffer = new byte[readBufferSize]; in timeZipFileRead()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp1073 ssize_t readBufferSize = kProcReadStackBufferSize; in android_os_Process_readProcFile() local
1078 numberBytesRead = pread(fd, readBuffer, readBufferSize, 0); in android_os_Process_readProcFile()
1088 if (numberBytesRead < readBufferSize) { in android_os_Process_readProcFile()
1091 if (readBufferSize > std::numeric_limits<ssize_t>::max() / 2) { in android_os_Process_readProcFile()
1097 readBufferSize = std::max(readBufferSize * 2, in android_os_Process_readProcFile()
1100 readBufferHeap = std::make_unique<char[]>(readBufferSize); in android_os_Process_readProcFile()