Searched refs:isCellular (Results 1 – 2 of 2) sorted by relevance
420 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 UpstreamNetworkMonitor546 return (ns != null) && isCellular(ns.networkCapabilities); in isCellular()549 private static boolean isCellular(NetworkCapabilities nc) { in isCellular() method in UpstreamNetworkMonitor561 !isCellular(ns.networkCapabilities); in isNetworkUsableAndNotCellular()566 if (isCellular(ns) && hasCapability(ns, NET_CAPABILITY_DUN)) return ns; in findFirstDunNetwork()
233 public void notifyUpstream(boolean isCellular) { in notifyUpstream() argument235 EVENT_UPSTREAM_CHANGED, encodeBool(isCellular), 0)); in notifyUpstream()238 private void handleNotifyUpstream(boolean isCellular) { in handleNotifyUpstream() argument240 mLog.i("notifyUpstream: " + isCellular in handleNotifyUpstream()244 mUsingCellularAsUpstream = isCellular; in handleNotifyUpstream()