Searched refs:sConnectivityManager (Results 1 – 1 of 1) sorted by relevance
117 private static ConnectivityManager sConnectivityManager; field in CaptivePortalLoginActivityTest123 if (Context.CONNECTIVITY_SERVICE.equals(name)) return sConnectivityManager; in getSystemService()193 sConnectivityManager = spy(context.getSystemService(ConnectivityManager.class)); in setUp()253 doReturn(networks).when(sConnectivityManager).getAllNetworks(); in configNonVpnNetwork()256 doReturn(nonVpnCapabilities).when(sConnectivityManager).getNetworkCapabilities( in configNonVpnNetwork()264 doReturn(networks).when(sConnectivityManager).getAllNetworks(); in configVpnNetwork()269 doReturn(underlyingCapabilities).when(sConnectivityManager).getNetworkCapabilities( in configVpnNetwork()271 doReturn(vpnCapabilities).when(sConnectivityManager).getNetworkCapabilities(network2); in configVpnNetwork()