Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/async/
DCircularByteBufferTest.java108 int totalRead = 0; in doTestReadWrite() local
136 readBuffer, 1, readLen, expectedReadSymbol, totalRead); in doTestReadWrite()
141 totalRead += readLen; in doTestReadWrite()
154 || (totalWritten - totalRead) > maxRemaining) { in doTestReadWrite()
155 fail("Unexpected counts: read=" + totalRead + ", written=" + totalWritten in doTestReadWrite()
207 byte[] buffer, int pos, int len, int startValue, int totalRead) { in checkTestBytes() argument
213 + ", pos=" + (totalRead + i)); in checkTestBytes()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DDrmTest.java259 int totalRead = 0; in convertDmToFl() local
263 numRead = dmStream.read(dmData, totalRead, dmData.length - totalRead); in convertDmToFl()
271 totalRead += numRead; in convertDmToFl()
272 if (totalRead == dmData.length) { in convertDmToFl()
277 byte[] fileData = Arrays.copyOf(dmData, totalRead); in convertDmToFl()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarBugreportManagerTest.java223 int totalRead = 0; in streamToText() local
225 while ((nRead = in.read(data, 0, data.length)) != -1 && totalRead <= maxSizeBytes) { in streamToText()
227 totalRead += maxSizeBytes; in streamToText()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DDownloadService.java436 private Integer getProgress(long contentLength, long totalRead) { in getProgress() argument
438 return (int) (totalRead * 100 / contentLength); in getProgress()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java565 int bytesRead = 0, totalRead = 0; in writeAndCheckData() local
567 bytesRead = in.read(read, totalRead, read.length - totalRead); in writeAndCheckData()
568 totalRead += bytesRead; in writeAndCheckData()
569 } while (bytesRead >= 0 && totalRead < data.length); in writeAndCheckData()
570 assertEquals(totalRead, data.length); in writeAndCheckData()
/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Dstream_apis.cc1081 size_t totalRead = 0; in in_read() local
1122 totalRead = in->bluetooth_input_->ReadData(buffer, bytes); in in_read()
1129 const size_t frames = totalRead / audio_stream_in_frame_size(stream); in in_read()
1132 return totalRead; in in_read()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...