Searched refs:countRead (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/net/ |
D | LocalSocketTest.java | 75 int countRead; in testBasic() local 77 countRead = ls.getInputStream().read(buffer, 1, 15); in testBasic() 79 assertEquals(4, countRead); in testBasic() 130 countRead = ls1.getInputStream().read(buffer, 0, 0); in testBasic() 131 assertEquals(0, countRead); in testBasic()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 430 int countRead; in readRilMessage() local 439 countRead = is.read(buffer, offset, remaining); in readRilMessage() 441 if (countRead < 0 ) { in readRilMessage() 446 offset += countRead; in readRilMessage() 447 remaining -= countRead; in readRilMessage() 459 countRead = is.read(buffer, offset, remaining); in readRilMessage() 461 if (countRead < 0 ) { in readRilMessage() 467 offset += countRead; in readRilMessage() 468 remaining -= countRead; in readRilMessage()
|