Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/
DLingerMonitor.java111 private int getNotificationSource(NetworkAgentInfo toNai) { in getNotificationSource() argument
113 if (mNotifications.valueAt(i) == toNai.network.netId) { in getNotificationSource()
125 public boolean isNotificationEnabled(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in isNotificationEnabled() argument
143 if (hasTransport(fromNai, fromTransport) && hasTransport(toNai, toTransport)) { in isNotificationEnabled()
151 private void showNotification(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showNotification() argument
153 fromNai, toNai, createNotificationIntent(), true); in showNotification()
173 private void notify(NetworkAgentInfo fromNai, NetworkAgentInfo toNai, boolean forceToast) { in notify() argument
188 showNotification(fromNai, toNai); in notify()
191 mNotifier.showToast(fromNai, toNai); in notify()
199 Log.d(TAG, "Notifying switch from=" + fromNai.name() + " to=" + toNai.name() + in notify()
[all …]
DNetworkNotificationManager.java259 public void showToast(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showToast() argument
261 String toTransport = getTransportName(getFirstTransportType(toNai)); in showToast()