Searched refs:hasTransport (Results 1 – 11 of 11) sorted by relevance
216 return networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_VPN); in isVPN()
74 nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) == false) { in apnIdForNetworkRequest()
540 nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) == false) { in apnIdForNetworkRequest()
466 public boolean hasTransport(int transportType) { in hasTransport() method in NetworkCapabilities
1230 if (!netCap.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR)) { in inferLegacyTypeForNetworkCapabilities()
1649 if (networkAgent.networkCapabilities.hasTransport( in setupDataActivityTracking()1655 } else if (networkAgent.networkCapabilities.hasTransport( in setupDataActivityTracking()1683 if (iface != null && (caps.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) || in removeDataActivityTracking()1684 caps.hasTransport(NetworkCapabilities.TRANSPORT_WIFI))) { in removeDataActivityTracking()
730 assertTrue(mCm.getNetworkCapabilities(mCm.getActiveNetwork()).hasTransport(transport)); in verifyActiveNetwork()
17113 method public boolean hasTransport(int);
23586 method public boolean hasTransport(int);
23655 method public boolean hasTransport(int);
25410 method public boolean hasTransport(int);