Home
last modified time | relevance | path

Searched refs:readCount (Results 1 – 15 of 15) sorted by relevance

/aosp12/frameworks/base/core/tests/coretests/src/android/content/
H A DAssetTest.java40 int readCount; in verifyTextAsset() local
42 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { in verifyTextAsset()
43 for (int i = 0; i < readCount; i++) { in verifyTextAsset()
52 readCount = is.read(buffer, 0, buffer.length); in verifyTextAsset()
53 assertEquals("Reading end of buffer: expected readCount=-1 but got " + readCount, in verifyTextAsset()
54 -1, readCount); in verifyTextAsset()
56 readCount = is.read(buffer, buffer.length, 0); in verifyTextAsset()
57 assertEquals("Reading end of buffer length 0: expected readCount=0 but got " + readCount, in verifyTextAsset()
58 0, readCount); in verifyTextAsset()
/aosp12/frameworks/base/apex/media/framework/java/android/media/
H A DApplicationMediaCapabilities.java212 for (int readCount = 0; readCount < count; ++readCount) {
218 for (int readCount = 0; readCount < count; ++readCount) {
224 for (int readCount = 0; readCount < count; ++readCount) {
230 for (int readCount = 0; readCount < count; ++readCount) {
/aosp12/build/make/tools/libhost/
H A DCopyFile.c119 ssize_t readCount, writeCount; in copyFileContents() local
125 readCount = read(srcFd, buf, sizeof(buf)); in copyFileContents()
126 if (readCount < 0) { in copyFileContents()
132 if (readCount > 0) { in copyFileContents()
133 writeCount = write(dstFd, buf, readCount); in copyFileContents()
139 if (writeCount != readCount) { in copyFileContents()
141 dst, writeCount, readCount); in copyFileContents()
146 if (readCount < (ssize_t) sizeof(buf)) in copyFileContents()
/aosp12/frameworks/base/media/native/midi/
H A Damidi.cpp328 ssize_t readCount = read(mPort->ufd, readBuffer, sizeof(readBuffer)); in receive() local
329 if (readCount == EINTR || readCount < 1) { in receive()
336 if (*opcodePtr == AMIDI_OPCODE_DATA && readCount >= AMIDI_PACKET_OVERHEAD) { in receive()
337 numMessageBytes = readCount - AMIDI_PACKET_OVERHEAD; in receive()
341 memcpy(timestampPtr, readBuffer + readCount - sizeof(uint64_t), in receive()
/aosp12/frameworks/base/libs/hwui/jni/pdf/
H A DPdfUtils.cpp35 const int readCount = pread(fd, outBuffer, size, position); in getBlock() local
36 if (readCount < 0) { in getBlock()
/aosp12/system/chre/platform/linux/
H A Dplatform_audio.cc64 sf_count_t readCount = sf_read_short( in audioSourceCallback() local
67 if (readCount != dataEvent.sampleCount) { in audioSourceCallback()
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DLocalSocketTest.java383 int readCount; in run() local
384 while ((readCount = is.read(buffer)) >= 0) { in run()
385 bytesRead += readCount; in run()
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/
H A Dokio-1.15.0.jarMETA-INF/ META-INF/MANIFEST.MF okio/ okio/AsyncTimeout$Watchdog. ...
/aosp12/frameworks/base/services/core/java/com/android/server/appop/
H A DHistoricalRegistry.java960 final int readCount = readOps.size(); in collectHistoricalOpsDLocked() local
961 for (int i = 0; i < readCount; i++) { in collectHistoricalOpsDLocked()
/aosp12/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/aosp12/packages/apps/TV/libs/m2/
H A Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
H A Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
H A Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/aosp12/packages/apps/TV/libs/
H A Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/aosp12/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...