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.java1020 assertFalse(wnm.matchesHttpContentLength(100)); in testMatchesHttpContentLength()
1021 assertFalse(wnm.matchesHttpContentLength(1000)); in testMatchesHttpContentLength()
1022 assertTrue(wnm.matchesHttpContentLength(500)); in testMatchesHttpContentLength()
1025 assertFalse(wnm.matchesHttpContentLength(-1)); in testMatchesHttpContentLength()
1026 assertFalse(wnm.matchesHttpContentLength(0)); in testMatchesHttpContentLength()
1027 assertFalse(wnm.matchesHttpContentLength(Integer.MAX_VALUE + 1L)); in testMatchesHttpContentLength()
1035 assertFalse(wnm.matchesHttpContentLength(100)); in testMatchesHttpContentLength()
1036 assertFalse(wnm.matchesHttpContentLength(1000)); in testMatchesHttpContentLength()
1037 assertFalse(wnm.matchesHttpContentLength(500)); in testMatchesHttpContentLength()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java3053 } else if (matchesHttpContentLength(contentLength)) { in sendHttpProbe()
3129 boolean matchesHttpContentLength(final long contentLength) { in matchesHttpContentLength() method in NetworkMonitor