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 | 336 ssize_t readCount = TEMP_FAILURE_RETRY(read(mPort->ufd, readBuffer, sizeof(readBuffer))); in receive() local 337 if (readCount < 1) { in receive() 344 if (*opcodePtr == AMIDI_OPCODE_DATA && readCount >= AMIDI_PACKET_OVERHEAD) { in receive() 345 numMessageBytes = readCount - AMIDI_PACKET_OVERHEAD; in receive() 349 memcpy(timestampPtr, readBuffer + readCount - sizeof(uint64_t), in receive()
|
/frameworks/base/libs/hwui/jni/pdf/ |
D | PdfUtils.cpp | 32 const int readCount = pread(fd, outBuffer, size, position); in getBlock() local 33 if (readCount < 0) { in getBlock()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 937 final int readCount = readOps.size(); in collectHistoricalOpsDLocked() local 938 for (int i = 0; i < readCount; i++) { in collectHistoricalOpsDLocked()
|