Home
last modified time | relevance | path

Searched refs:READ_BUFFER_SIZE (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DInstallationAsyncTask.java50 private static final int READ_BUFFER_SIZE = 1 << 13; field in InstallationAsyncTask
466 MemoryFile memoryFile = new MemoryFile("dsu_" + partitionName, READ_BUFFER_SIZE); in installImage()
469 mInstallationSession.setAshmem(pfd, READ_BUFFER_SIZE); in installImage()
475 byte[] bytes = new byte[READ_BUFFER_SIZE]; in installImage()
478 while ((numBytesRead = sis.read(bytes, 0, READ_BUFFER_SIZE)) != -1) { in installImage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsRttTextHandlerTest.java43 private static final int READ_BUFFER_SIZE = 1000; field in ImsRttTextHandlerTest
48 char[] buffer = new char[READ_BUFFER_SIZE];
241 int len = inputStreamReader.read(buffer, 0, READ_BUFFER_SIZE); in readAll()
/frameworks/base/packages/BackupEncryption/test/robolectric-integration/src/com/android/server/backup/encryption/
DRoundTripTest.java86 private static final int READ_BUFFER_SIZE = 1024; // 1024 byte buffer. field in RoundTripTest
227 byte[] buffer = new byte[READ_BUFFER_SIZE]; in performFullRestore()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityMetrics.java130 this(ctx, READ_BUFFER_SIZE); in IpConnectivityMetrics()
366 private static final ToIntFunction<Context> READ_BUFFER_SIZE = (ctx) -> { field in IpConnectivityMetrics
/frameworks/base/telecomm/java/android/telecom/
DCall.java1400 private static final int READ_BUFFER_SIZE = 1000; field in Call.RttCall
1407 private char[] mReadBuffer = new char[READ_BUFFER_SIZE];
1466 int numRead = mReceiveStream.read(mReadBuffer, 0, READ_BUFFER_SIZE); in read()
1485 int numRead = mReceiveStream.read(mReadBuffer, 0, READ_BUFFER_SIZE); in readImmediately()
DConnection.java1140 private static final int READ_BUFFER_SIZE = 1000; field in Connection.RttTextStream
1147 private char[] mReadBuffer = new char[READ_BUFFER_SIZE];
1192 int numRead = mPipeFromInCall.read(mReadBuffer, 0, READ_BUFFER_SIZE); in read()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c40 #define READ_BUFFER_SIZE 1024 macro
1264 char *pReadBuffer = malloc(READ_BUFFER_SIZE); in FwdLockConv_ConvertOpenFile()
1275 fpReadFunc(inputFileDesc, pReadBuffer, READ_BUFFER_SIZE)) > 0) { in FwdLockConv_ConvertOpenFile()