Searched refs:fromNai (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | LingerMonitor.java | 133 public boolean isNotificationEnabled(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in isNotificationEnabled() argument 150 if (hasTransport(fromNai, fromTransport) && hasTransport(toNai, toTransport)) { in isNotificationEnabled() 158 private void showNotification(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showNotification() argument 159 mNotifier.showNotification(fromNai.network.getNetId(), NotificationType.NETWORK_SWITCH, in showNotification() 160 fromNai, toNai, createNotificationIntent(), true); in showNotification() local 183 private void notify(NetworkAgentInfo fromNai, NetworkAgentInfo toNai, boolean forceToast) { in notify() argument 197 showNotification(fromNai, toNai); in notify() 200 mNotifier.showToast(fromNai, toNai); in notify() 208 Log.d(TAG, "Notifying switch from=" + fromNai.toShortString() in notify() 213 mNotifications.put(fromNai.network.getNetId(), toNai.network.getNetId()); in notify() [all …]
|
D | NetworkNotificationManager.java | 389 public void showToast(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in showToast() argument 390 String fromTransport = getTransportName(approximateTransportType(fromNai)); in showToast()
|