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.java115 private int getNotificationSource(NetworkAgentInfo toNai) { in getNotificationSource() argument
117 if (mNotifications.valueAt(i) == toNai.network.netId) { in getNotificationSource()
129 public boolean isNotificationEnabled(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in isNotificationEnabled() argument
147 if (hasTransport(fromNai, fromTransport) && hasTransport(toNai, toTransport)) { in isNotificationEnabled()
155 private void showNotification(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showNotification() argument
157 fromNai, toNai, createNotificationIntent(), true); in showNotification()
177 private void notify(NetworkAgentInfo fromNai, NetworkAgentInfo toNai, boolean forceToast) { in notify() argument
192 showNotification(fromNai, toNai); in notify()
195 mNotifier.showToast(fromNai, toNai); in notify()
204 + " to=" + toNai.toShortString() in notify()
[all …]
DNetworkNotificationManager.java335 public void showToast(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showToast() argument
337 String toTransport = getTransportName(approximateTransportType(toNai)); in showToast()