Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java225 private @Mock HttpURLConnection mOtherFallbackConnection; field in NetworkMonitorTest
503 return mOtherFallbackConnection; in setUp()
1131 setPortal302(mOtherFallbackConnection); in testIsCaptivePortal_OtherFallbackProbeIsPortal()
1139 verify(mOtherFallbackConnection, never()).getResponseCode(); in testIsCaptivePortal_OtherFallbackProbeIsPortal()
1146 verify(mOtherFallbackConnection, timeout(INITIAL_REEVALUATE_DELAY_MS + HANDLER_TIMEOUT_MS)) in testIsCaptivePortal_OtherFallbackProbeIsPortal()
1159 verify(mOtherFallbackConnection, never()).getResponseCode();
1169 setPortal302(mOtherFallbackConnection);
1171 verify(mOtherFallbackConnection, times(1)).getResponseCode();
1440 set302(mOtherFallbackConnection, "https://www.google.com/test?q=3");
1445 verify(mOtherFallbackConnection, times(1)).getResponseCode();
[all …]