Searched refs:networkCapabilities (Results 1 – 10 of 10) sorted by relevance
41 NetworkCapabilities networkCapabilities = connectManager.getNetworkCapabilities(network); in RandomnessFactory() local44 networkCapabilities != null && networkCapabilities.hasTransport(TRANSPORT_TEST); in RandomnessFactory()
142 } else if (networkRequest.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_METERED)) { in getNetworkType()144 } else if (networkRequest.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_ROAMING)) { in getNetworkType()146 } else if (networkRequest.networkCapabilities.hasTransport(TRANSPORT_CELLULAR)) { in getNetworkType()
46 public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument48 mIsCaptivePortal = WifiUtils.canSignIntoNetwork(networkCapabilities); in onCapabilitiesChanged()
230 final NetworkCapabilities networkCapabilities = mConnectivityManager.getNetworkCapabilities( in activeNetworkIsCellular() local232 if (networkCapabilities == null) { in activeNetworkIsCellular()235 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR); in activeNetworkIsCellular()
193 NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument198 final boolean isCaptivePortal = WifiUtils.canSignIntoNetwork(networkCapabilities); in onCapabilitiesChanged()
340 @NonNull NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument341 updateNetworkStatus(network, s -> s.mNetworkCapabilities = networkCapabilities); in onCapabilitiesChanged()
57 public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
197 public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
194 final NetworkCapabilities networkCapabilities = mCm.getNetworkCapabilities(mNetwork); in onCreate() local195 if (networkCapabilities == null) { in onCreate()