Searched refs:readCount (Results 1 – 5 of 5) 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/apex/media/framework/java/android/media/ |
D | ApplicationMediaCapabilities.java | 212 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) {
|
/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/libs/hwui/jni/pdf/ |
D | PdfUtils.cpp | 35 const int readCount = pread(fd, outBuffer, size, position); in getBlock() local 36 if (readCount < 0) { in getBlock()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 960 final int readCount = readOps.size(); in collectHistoricalOpsDLocked() local 961 for (int i = 0; i < readCount; i++) { in collectHistoricalOpsDLocked()
|