Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2514 if (matchesHttpContent(content, in sendHttpProbe()
2517 } else if (matchesHttpContent(content, in sendHttpProbe()
2574 boolean matchesHttpContent(final String content, @StringRes final int configResource) { in matchesHttpContent() method in NetworkMonitor
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java783 assertTrue(wnm.matchesHttpContent("This is line1\nThis is line2\nThis is line3", in testMatchesHttpContent()
785 assertFalse(wnm.matchesHttpContent("hello", in testMatchesHttpContent()
791 assertFalse(wnm.matchesHttpContent("[", in testMatchesHttpContent()