Searched refs:addCapability (Results 1 – 16 of 16) sorted by relevance
244 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in initNetworkCapabilities()245 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED); in initNetworkCapabilities()246 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_ROAMING); in initNetworkCapabilities()247 mNetworkCapabilities.addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_SUSPENDED); in initNetworkCapabilities()
294 .addCapability(NET_CAPABILITY_INTERNET);299 .addCapability(NET_CAPABILITY_INTERNET)300 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED);305 .addCapability(NET_CAPABILITY_INTERNET)306 .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED);691 nc.addCapability(NET_CAPABILITY_NOT_METERED); in testNeedEvaluatingBandwidth()711 nc.addCapability(NET_CAPABILITY_NOT_METERED); in testNeedEvaluatingBandwidth()723 .addCapability(NET_CAPABILITY_INTERNET); in testEvaluatingBandwidthState_meteredNetwork()743 .addCapability(NET_CAPABILITY_INTERNET) in testEvaluatingBandwidthState_nonMeteredNetworkWithWrongConfig()744 .addCapability(NET_CAPABILITY_NOT_METERED); in testEvaluatingBandwidthState_nonMeteredNetworkWithWrongConfig()[all …]
109 val unmeteredNc = NetworkCapabilities().addCapability(NOT_METERED) in <lambda>()152 val netCaps = NetworkCapabilities().addCapability(NOT_METERED).addTransportType(WIFI) in <lambda>()
43 .addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) in DataConnectivityListener()
979 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in onCapabilitiesChanged_callsRefreshIfNecessary()1008 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_PARTIAL_CONNECTIVITY); in onCapabilitiesChanged_callsRefreshIfNecessary()1014 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in onCapabilitiesChanged_callsRefreshIfNecessary()1293 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in captivePortal_shouldShowSignInButton()1320 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in testSignInButton_shouldHideSignInButtonForDisconnectedNetwork()
221 public void addCapability(int capability) { in addCapability() method in TelephonyConferenceBase
204 addCapability(Connection.CAPABILITY_HOLD); in setHoldable()
749 addCapability(Connection.CAPABILITY_HOLD); in setHoldable()
92 new NetworkRequest.Builder().addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET); in createNetworkRequest()
126 .addCapability(NetworkCapabilities.NET_CAPABILITY_MMS) in MmsNetworkManager()
165 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED); in makeValidatedNetworkCapabilities()
255 nc.addCapability(NetworkCapabilities.NET_CAPABILITY_CAPTIVE_PORTAL); in makeCaptivePortalNetworkCapabilities()
120 .addCapability(NET_CAPABILITY_VALIDATED)
167 b.addCapability(capability); in getRequestForNetwork()
244 .addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)
295 .addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)