Home
last modified time | relevance | path

Searched refs:matchesHttpContentLength (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java780 assertFalse(wnm.matchesHttpContentLength(100)); in testMatchesHttpContentLength()
781 assertFalse(wnm.matchesHttpContentLength(1000)); in testMatchesHttpContentLength()
782 assertTrue(wnm.matchesHttpContentLength(500)); in testMatchesHttpContentLength()
785 assertFalse(wnm.matchesHttpContentLength(-1)); in testMatchesHttpContentLength()
786 assertFalse(wnm.matchesHttpContentLength(0)); in testMatchesHttpContentLength()
787 assertFalse(wnm.matchesHttpContentLength(Integer.MAX_VALUE + 1L)); in testMatchesHttpContentLength()
795 assertFalse(wnm.matchesHttpContentLength(100)); in testMatchesHttpContentLength()
796 assertFalse(wnm.matchesHttpContentLength(1000)); in testMatchesHttpContentLength()
797 assertFalse(wnm.matchesHttpContentLength(500)); in testMatchesHttpContentLength()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2475 } else if (matchesHttpContentLength(contentLength)) { in sendHttpProbe()
2542 boolean matchesHttpContentLength(final long contentLength) { in matchesHttpContentLength() method in NetworkMonitor