Searched refs:getRemaining (Results 1 – 8 of 8) sorted by relevance
48 assertEquals(data.length, packetReader.getRemaining()); in testLimits()52 assertEquals(0, packetReader.getRemaining()); in testLimits()56 assertEquals(data.length, packetReader.getRemaining()); in testLimits()61 assertEquals(data.length, packetReader.getRemaining()); in testLimits()65 assertEquals(data.length, packetReader.getRemaining()); in testLimits()69 assertEquals(data.length / 2, packetReader.getRemaining()); in testLimits()86 assertEquals(data.length, packetReader.getRemaining()); in testLimits()
204 assertThat(progress.getRemaining()).isEqualTo(0); in testProgressUpdate()211 assertThat(progress.getRemaining()).isEqualTo(25); in testProgressUpdate()218 assertThat(progress.getRemaining()).isEqualTo(20); in testProgressUpdate()225 assertThat(progress.getRemaining()).isEqualTo(0); in testProgressUpdate()244 assertThat(progress.getRemaining()).isEqualTo(25); in testProgressUpdateClearHelpMessage()260 assertThat(progress.getRemaining()).isEqualTo(20); in testProgressUpdateClearHelpMessage()284 assertThat(progress.getRemaining()).isEqualTo(0); in testProgressUpdateWithMessageDisplayController()291 assertThat(progress.getRemaining()).isEqualTo(25); in testProgressUpdateWithMessageDisplayController()298 assertThat(progress.getRemaining()).isEqualTo(20); in testProgressUpdateWithMessageDisplayController()305 assertThat(progress.getRemaining()).isEqualTo(0); in testProgressUpdateWithMessageDisplayController()
92 public int getRemaining() { in getRemaining() method in MdnsPacketReader150 while (getRemaining() > 0) { in readLabels()273 if (getRemaining() < count) { in checkRemaining()
234 public int getRemaining() { in getRemaining() method in MdnsPacketWriter245 if (getRemaining() < count) { in checkRemaining()
68 rData = new byte[reader.getRemaining()]; in readData()
75 while (reader.getRemaining() > 0) { in readData()
73 while (reader.getRemaining() > 0) { in readTypes()
482 private static byte[] getRemaining(final ByteBuffer buf) { in getRemaining() method in TetheringTester495 return Arrays.equals(getRemaining(p), getRemaining( in isExpectedUdpPacket()523 return new TestDnsPacket(getRemaining(buf));677 return Arrays.equals(getRemaining(buf), getRemaining(payload.asReadOnlyBuffer()));