Searched refs:readCount (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AssetTest.java | 40 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()
|
/frameworks/base/media/native/midi/ |
D | amidi.cpp | 328 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()
|
/frameworks/base/core/jni/android/graphics/pdf/ |
D | PdfUtils.cpp | 34 const int readCount = pread(fd, outBuffer, size, position); in getBlock() local 35 if (readCount < 0) { in getBlock()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 836 final int readCount = readOps.size(); in collectHistoricalOpsDLocked() local 837 for (int i = 0; i < readCount; i++) { in collectHistoricalOpsDLocked()
|