Home
last modified time | relevance | path

Searched refs:isCellular (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java451 final boolean newIsCellular = isCellular(newNc); in onCapabilitiesChanged()
524 if (!isCellularUpstreamPermitted && isCellular(nc)) { in findFirstAvailableUpstreamByType()
554 private static boolean isCellular(UpstreamNetworkState ns) { in isCellular() method in UpstreamNetworkMonitor
555 return (ns != null) && isCellular(ns.networkCapabilities); in isCellular()
558 private static boolean isCellular(NetworkCapabilities nc) { in isCellular() method in UpstreamNetworkMonitor
570 && !isCellular(ns.networkCapabilities); in isNetworkUsableAndNotCellular()
576 if (isCellular(ns) && hasCapability(ns, NET_CAPABILITY_DUN)) return ns; in findFirstDunNetwork()
DEntitlementManager.java234 public void notifyUpstream(boolean isCellular) { in notifyUpstream() argument
236 mLog.i("notifyUpstream: " + isCellular in notifyUpstream()
240 mUsingCellularAsUpstream = isCellular; in notifyUpstream()