Searched refs:networkCapabilities (Results 1 – 8 of 8) sorted by relevance
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()
57 public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument
149 final NetworkCapabilities networkCapabilities = mCm.getNetworkCapabilities(mNetwork); in onCreate() local150 if (networkCapabilities == null) { in onCreate()
194 public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() argument