Home
last modified time | relevance | path

Searched refs:readLength (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java450 int readLength = 0; in sendFile() local
462 readLength = readFully(a, buffer, outputBufferSize); in sendFile()
472 outputStream.write(buffer, 0, readLength); in sendFile()
474 position += readLength; in sendFile()
512 readLength = a.read(buffer, 0, outputBufferSize); in sendFile()
513 outputStream.write(buffer, 0, readLength); in sendFile()
525 position += readLength; in sendFile()
529 + " readLength " + readLength + " bytes took " in sendFile()
DBluetoothOppObexServerSession.java465 int readLength; in receiveFile() local
476 readLength = is.read(b); in receiveFile()
478 if (readLength == -1) { in receiveFile()
485 os.write(b, 0, readLength); in receiveFile()
486 position += readLength; in receiveFile()
492 "Receive file position = " + position + " readLength " + readLength in receiveFile()
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/exoplayer/tests/
DAssetDataSource.java88 public int read(byte[] buffer, int offset, int readLength) throws AssetDataSourceException { in read() argument
96 ? readLength in read()
97 : (int) Math.min(mBytesRemaining, readLength); in read()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Djsoncheckertest.cpp45 size_t readLength = fread(json, 1, length, fp); in ReadFile() local
46 json[readLength] = '\0'; in ReadFile()
Dfilestreamtest.cpp48 size_t readLength = fread(json_, 1, length_, fp); in SetUp() local
49 json_[readLength] = '\0'; in SetUp()
Dprettywritertest.cpp155 size_t readLength = fread(json, 1, size, fp); in TEST() local
156 json[readLength] = '\0'; in TEST()
Dencodedstreamtest.cpp73 size_t readLength = fread(buffer, 1, *outLength, fp); in ReadFile() local
74 buffer[readLength] = '\0'; in ReadFile()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamer.java111 public int read(byte[] buffer, int offset, int readLength) throws IOException { in read() argument
117 readLength); in read()
DFileTsStreamer.java112 public int read(byte[] buffer, int offset, int readLength) throws IOException { in read() argument
118 readLength); in read()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Ddom.md197 size_t readLength = fread(buffer, 1, filesize, fp);
198 buffer[readLength] = '\0';