Home
last modified time | relevance | path

Searched refs:getRemaining (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsPacketReaderTests.java48 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()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollProgressViewModelTest.java204 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()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsPacketReader.java92 public int getRemaining() { in getRemaining() method in MdnsPacketReader
150 while (getRemaining() > 0) { in readLabels()
273 if (getRemaining() < count) { in checkRemaining()
DMdnsPacketWriter.java234 public int getRemaining() { in getRemaining() method in MdnsPacketWriter
245 if (getRemaining() < count) { in checkRemaining()
DMdnsKeyRecord.java68 rData = new byte[reader.getRemaining()]; in readData()
DMdnsTextRecord.java75 while (reader.getRemaining() > 0) { in readData()
DMdnsNsecRecord.java73 while (reader.getRemaining() > 0) { in readTypes()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DTetheringTester.java482 private static byte[] getRemaining(final ByteBuffer buf) { in getRemaining() method in TetheringTester
495 return Arrays.equals(getRemaining(p), getRemaining( in isExpectedUdpPacket()
523 return new TestDnsPacket(getRemaining(buf));
677 return Arrays.equals(getRemaining(buf), getRemaining(payload.asReadOnlyBuffer()));