Home
last modified time | relevance | path

Searched refs:hasTransport (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DLingerMonitor.java107 private static boolean hasTransport(NetworkAgentInfo nai, int transport) { in hasTransport() method in LingerMonitor
108 return nai.networkCapabilities.hasTransport(transport); in hasTransport()
143 if (hasTransport(fromNai, fromTransport) && hasTransport(toNai, toTransport)) { in isNotificationEnabled()
DNetworkAgentInfo.java402 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN); in isVPN()
431 boolean isWifi = networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI) && in ignoreWifiUnvalidationPenalty()
DNetworkNotificationManager.java86 if (nai.networkCapabilities.hasTransport(i)) return i; in getFirstTransportType()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java57 if (nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) in onStartJob()
DCaptivePortalLoginActivity.java253 if (nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) in getNetworkForCaptivePortal()
/frameworks/base/tests/net/java/android/net/
DConnectivityManagerTest.java58 assertTrue(nc.hasTransport(transportType)); in verifyNetworkCapabilities()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcRequest.java74 nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) == false) { in apnIdForNetworkRequest()
DApnContext.java572 nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) == false) { in apnIdForNetworkRequest()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java236 ns.networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR); in canTetherIPv6()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java490 public boolean hasTransport(int transportType) { in hasTransport() method in NetworkCapabilities
DConnectivityManager.java1253 if (!netCap.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)) { in inferLegacyTypeForNetworkCapabilities()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1658 if (networkAgent.networkCapabilities.hasTransport( in setupDataActivityTracking()
1664 } else if (networkAgent.networkCapabilities.hasTransport( in setupDataActivityTracking()
1692 if (iface != null && (caps.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) || in removeDataActivityTracking()
1693 caps.hasTransport(NetworkCapabilities.TRANSPORT_WIFI))) { in removeDataActivityTracking()
2660 if (nai.networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI)) { in rematchForAvoidBadWifiUpdate()
2746 if (nc.hasTransport(NetworkCapabilities.TRANSPORT_WIFI) && in handleNetworkUnvalidated()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java844 assertTrue(mCm.getNetworkCapabilities(mCm.getActiveNetwork()).hasTransport(transport)); in verifyActiveNetwork()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17113 method public boolean hasTransport(int);
/frameworks/base/api/
Dcurrent.txt25566 method public boolean hasTransport(int);
Dsystem-current.txt27762 method public boolean hasTransport(int);