Searched refs:mHttpConnection (Results 1 – 1 of 1) sorted by relevance
218 private @Mock HttpURLConnection mHttpConnection; field in NetworkMonitorTest489 return mHttpConnection; in setUp()516 when(mHttpConnection.getRequestProperties()).thenReturn(new ArrayMap<>()); in setUp()720 setStatus(mHttpConnection, 204); in testEvaluatingBandwidthState_meteredNetwork()740 setStatus(mHttpConnection, 204); in testEvaluatingBandwidthState_nonMeteredNetworkWithWrongConfig()1060 setPortal302(mHttpConnection); in testIsCaptivePortal_HttpProbeIsPortal()1066 setPortal302(mHttpConnection); in setupPrivateIpResponse()1099 setStatus(mHttpConnection, 500); in testIsCaptivePortal_HttpsProbeIsNotPortal()1107 setStatus(mHttpConnection, 500); in testIsCaptivePortal_FallbackProbeIsPortal()1115 setStatus(mHttpConnection, 500); in testIsCaptivePortal_FallbackProbeIsNotPortal()[all …]