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.java802 assertFalse(wnm.matchesHttpContentLength(100)); in testMatchesHttpContentLength()
803 assertFalse(wnm.matchesHttpContentLength(1000)); in testMatchesHttpContentLength()
804 assertTrue(wnm.matchesHttpContentLength(500)); in testMatchesHttpContentLength()
807 assertFalse(wnm.matchesHttpContentLength(-1)); in testMatchesHttpContentLength()
808 assertFalse(wnm.matchesHttpContentLength(0)); in testMatchesHttpContentLength()
809 assertFalse(wnm.matchesHttpContentLength(Integer.MAX_VALUE + 1L)); in testMatchesHttpContentLength()
817 assertFalse(wnm.matchesHttpContentLength(100)); in testMatchesHttpContentLength()
818 assertFalse(wnm.matchesHttpContentLength(1000)); in testMatchesHttpContentLength()
819 assertFalse(wnm.matchesHttpContentLength(500)); in testMatchesHttpContentLength()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2510 } else if (matchesHttpContentLength(contentLength)) { in sendHttpProbe()
2586 boolean matchesHttpContentLength(final long contentLength) { in matchesHttpContentLength() method in NetworkMonitor