Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitor.java420 final boolean newIsCellular = isCellular(newNc); in onCapabilitiesChanged()
508 if (!isCellularUpstreamPermitted && isCellular(nc)) { in findFirstAvailableUpstreamByType()
545 private static boolean isCellular(NetworkState ns) { in isCellular() method in UpstreamNetworkMonitor
546 return (ns != null) && isCellular(ns.networkCapabilities); in isCellular()
549 private static boolean isCellular(NetworkCapabilities nc) { in isCellular() method in UpstreamNetworkMonitor
561 !isCellular(ns.networkCapabilities); in isNetworkUsableAndNotCellular()
566 if (isCellular(ns) && hasCapability(ns, NET_CAPABILITY_DUN)) return ns; in findFirstDunNetwork()
DEntitlementManager.java233 public void notifyUpstream(boolean isCellular) { in notifyUpstream() argument
235 EVENT_UPSTREAM_CHANGED, encodeBool(isCellular), 0)); in notifyUpstream()
238 private void handleNotifyUpstream(boolean isCellular) { in handleNotifyUpstream() argument
240 mLog.i("notifyUpstream: " + isCellular in handleNotifyUpstream()
244 mUsingCellularAsUpstream = isCellular; in handleNotifyUpstream()