Searched refs:hasTransport (Results 1 – 16 of 16) sorted by relevance
107 private static boolean hasTransport(NetworkAgentInfo nai, int transport) { in hasTransport() method in LingerMonitor108 return nai.networkCapabilities.hasTransport(transport); in hasTransport()143 if (hasTransport(fromNai, fromTransport) && hasTransport(toNai, toTransport)) { in isNotificationEnabled()
402 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN); in isVPN()431 boolean isWifi = networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_WIFI) && in ignoreWifiUnvalidationPenalty()
86 if (nai.networkCapabilities.hasTransport(i)) return i; in getFirstTransportType()
57 if (nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) in onStartJob()
253 if (nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) in getNetworkForCaptivePortal()
58 assertTrue(nc.hasTransport(transportType)); in verifyNetworkCapabilities()
74 nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) == false) { in apnIdForNetworkRequest()
572 nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) == false) { in apnIdForNetworkRequest()
236 ns.networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR); in canTetherIPv6()
490 public boolean hasTransport(int transportType) { in hasTransport() method in NetworkCapabilities
1253 if (!netCap.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)) { in inferLegacyTypeForNetworkCapabilities()
1658 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()
844 assertTrue(mCm.getNetworkCapabilities(mCm.getActiveNetwork()).hasTransport(transport)); in verifyActiveNetwork()
17113 method public boolean hasTransport(int);
25566 method public boolean hasTransport(int);
27762 method public boolean hasTransport(int);