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.java113 private int getNotificationSource(NetworkAgentInfo toNai) { in getNotificationSource() argument
115 if (mNotifications.valueAt(i) == toNai.network.netId) { in getNotificationSource()
127 public boolean isNotificationEnabled(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in isNotificationEnabled() argument
145 if (hasTransport(fromNai, fromTransport) && hasTransport(toNai, toTransport)) { in isNotificationEnabled()
153 private void showNotification(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showNotification() argument
155 fromNai, toNai, createNotificationIntent(), true); in showNotification()
175 private void notify(NetworkAgentInfo fromNai, NetworkAgentInfo toNai, boolean forceToast) { in notify() argument
190 showNotification(fromNai, toNai); in notify()
193 mNotifier.showToast(fromNai, toNai); in notify()
201 Log.d(TAG, "Notifying switch from=" + fromNai.name() + " to=" + toNai.name() + in notify()
[all …]
DNetworkNotificationManager.java331 public void showToast(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showToast() argument
333 String toTransport = getTransportName(getFirstTransportType(toNai)); in showToast()