/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
HttpFetcher.java | 86 int bytesRead; 88 while ((bytesRead = is.read(buffer)) != -1) { 89 baos.write(buffer, 0, bytesRead);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
InstallStaging.java | 189 int bytesRead; 190 while ((bytesRead = in.read(buffer)) >= 0) { 195 out.write(buffer, 0, bytesRead);
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ffmpeg/ |
FfmpegDecoderService.java | 106 int bytesRead = policyStream.read(buffer); 107 if (bytesRead == -1) break; 108 outputStream.write(buffer, 0, bytesRead);
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
WifiDownloadReceiver.java | 118 int bytesRead = downloadFile(connection); 119 if (fileLength != bytesRead) { 121 + bytesRead; 168 int bytesRead = -1; 170 while ((bytesRead = inputStream.read(buffer)) != -1) { 171 totalBytesRead += bytesRead;
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
FilesystemUtil.java | 132 int bytesRead = 0; 135 while (bytesRead >= 0) { 136 out.write(buffer, 0, bytesRead); 137 bytesRead = in.read(buffer);
|
/platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/ |
WifiStrengthScannerInstrumentation.java | 174 int bytesRead; 176 while ((bytesRead = fis.read(buf)) != -1) { 177 result.append(new String(buf, 0, bytesRead));
|
/system/netd/server/ |
BandwidthControllerTest.cpp | 276 ssize_t bytesRead = read(fd, buf, sizeof(buf)); 277 if (bytesRead < 0) { 280 for (int i = 0; i < bytesRead; i++) { 283 return std::string(buf, bytesRead);
|
/system/timezone/tzdatacheck/ |
tzdatacheck.cpp | 114 size_t bytesRead = fread(buffer, 1, byteCount, file); 116 if (bytesRead != byteCount) {
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/ |
InputStreamBerDataValueReader.java | 163 long bytesRead = 0; 168 "Truncated definite-length contents: " + bytesRead + " bytes read" 172 bytesRead += skipped; 180 int bytesRead = 0; 185 "Truncated indefinite-length contents: " + bytesRead + " bytes read"); 187 bytesRead++; 188 if (bytesRead < 0) { 194 return bytesRead - 2;
|
/build/make/tools/signtos/ |
SignTos.java | 233 int bytesRead = input.read(buffer, 0, HEADER_SIZE - skippedBytes); 234 output.write(buffer, 0, bytesRead); 235 skippedBytes += bytesRead; 240 int bytesRead = input.read(buffer); 241 if (bytesRead == -1) { 244 totalBytes += bytesRead; 245 sig.update(buffer, 0, bytesRead); 246 output.write(buffer, 0, bytesRead);
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
FileUtils.java | 117 int bytesRead; 118 while ((bytesRead = inputStream.read(buffer)) >= 0) { 119 out.write(buffer, 0, bytesRead);
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
TriggerContentTest.java | 163 int bytesRead; 164 while ((bytesRead = inputStream.read(buffer)) >= 0) { 165 out.write(buffer, 0, bytesRead);
|
/cts/tests/tests/os/src/android/os/cts/ |
SeccompTest.java | 438 int bytesRead = policyStream.read(buffer); 439 if (bytesRead == -1) 444 for (int i = 0; i < bytesRead; i++) {
|
/external/skia/src/codec/ |
SkBmpCodec.cpp | 59 bool SkBmpCodec::IsBmp(const void* buffer, size_t bytesRead) { 62 return bytesRead >= sizeof(bmpSig) && !memcmp(buffer, bmpSig, sizeof(bmpSig)); 411 const uint32_t bytesRead = kBmpHeaderBytes + infoBytes + maskBytes; 412 if (!inIco && offset < bytesRead) { 480 numColors, bytesPerColor, offset - bytesRead, 508 if (stream->skip(offset - bytesRead) != offset - bytesRead) { 567 numColors, bytesPerColor, offset - bytesRead,
|
/external/webrtc/webrtc/modules/media_file/ |
media_file_utility.cc | 442 int32_t bytesRead = ReadWavData( 446 if(bytesRead == 0) 450 if(bytesRead < 0) 533 int32_t bytesRead = ReadWavData(wav, _tempData, totalBytesNeeded); 534 if(bytesRead <= 0) 609 int32_t bytesRead = wav.Read(buffer, dataLengthInBytes); 610 if(bytesRead < 0) 619 if(bytesRead < (int32_t)dataLengthInBytes) 629 bytesRead = wav.Read(buffer, dataLengthInBytes); 630 if(bytesRead < (int32_t)dataLengthInBytes [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 685 ssize_t bytesRead = -1; 699 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes); 700 if (bytesRead < 0) { 708 return bytesRead;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
MPEG2TSExtractor.cpp | 393 int bytesRead = 0; 399 if (bytesRead >= kMaxDurationReadSize << max(0, retry - 1)) { 411 bytesRead += kTSPacketSize;
|
/frameworks/base/core/java/android/util/jar/ |
StrictJarFile.java | 392 private long bytesRead = 0; 405 + bytesRead, e); 408 if (entry.getSize() != bytesRead) { 409 throw new IOException("Size mismatch on inflated file: " + bytesRead + " vs " 413 bytesRead += i; 425 return super.available() == 0 ? 0 : (int) (entry.getSize() - bytesRead);
|
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfoDB.java | 410 int bytesRead = is.read(tzdataVersion, 0, bytesToRead); 411 if (bytesRead != bytesToRead) { 412 throw new IOException("File too short: only able to read " + bytesRead + " bytes.");
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldInputStreamReaderTest.java | 151 int bytesRead = isr.read(buf, 0, buf.length); 152 if (bytesRead == -1) { 155 bytesRead = isr.read(buf, 0, buf.length); 156 if (bytesRead == -1) {
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ClassTest.java | 72 int bytesRead = 0; 73 while ((bytesRead = is.read(buffer)) >= 0) { 74 os.write(buffer, 0, bytesRead);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
Utils.java | 190 int bytesRead = 0; 191 while ((bytesRead = is.read(buffer)) >= 0) { 192 os.write(buffer, 0, bytesRead);
|
/tools/tradefederation/core/src/com/android/tradefed/util/net/ |
HttpHelper.java | 107 int bytesRead; 109 while ((bytesRead = remote.read(bufResult, currBufPos, 111 currBufPos += bytesRead; 375 int bytesRead; 377 while ((bytesRead = inputStream.read(bufResult, currBufPos, 379 currBufPos += bytesRead;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
PowerTestHostLink.java | 149 int bytesRead = streamIn.read(buffer, total, 151 if (bytesRead > 0) { 152 total += bytesRead;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/compression/ |
ExhaustiveTest.java | 60 int[] bytesRead = new int[1]; 66 bytesRead, myDecompressed, 0, myDecompressedSize); 110 int[] bytesRead = new int[1]; 156 bytesRead, unicharBuffer, 0, unicharBufferSize); 163 totalBytesDecompressed += bytesRead[0]; 169 + bytesRead[0] + " bytes into "
|