Searched refs:NET_CAPABILITY_INTERNET (Results 1 – 9 of 9) sorted by relevance
19 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET;63 if (nc.hasCapability(NET_CAPABILITY_INTERNET) in isPrivateDnsValidationRequired()
43 .addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) in DataConnectivityListener()
92 new NetworkRequest.Builder().addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in createNetworkRequest()
29 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET;294 .addCapability(NET_CAPABILITY_INTERNET);299 .addCapability(NET_CAPABILITY_INTERNET)305 .addCapability(NET_CAPABILITY_INTERNET)722 .addCapability(NET_CAPABILITY_INTERNET); in testEvaluatingBandwidthState_meteredNetwork()742 .addCapability(NET_CAPABILITY_INTERNET) in testEvaluatingBandwidthState_nonMeteredNetworkWithWrongConfig()2077 .addCapability(NET_CAPABILITY_INTERNET);
244 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in initNetworkCapabilities()
31 import static android.net.NetworkCapabilities.NET_CAPABILITY_INTERNET;632 return capabilities.hasCapability(NET_CAPABILITY_INTERNET) in isConnectedToInternet()
271 sCapabilityNames.put(NetworkCapabilities.NET_CAPABILITY_INTERNET, "[INTERNET]"); in sCapabilityNames.put() argument
244 .addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)
286 .addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)