Home | History | Annotate | Download | only in connectivity

Lines Matching refs:nai

107     private static boolean hasTransport(NetworkAgentInfo nai, int transport) {
108 return nai.networkCapabilities.hasTransport(transport);
120 private boolean everNotified(NetworkAgentInfo nai) {
121 return mEverNotified.get(nai.network.netId, false);
162 // Removes any notification that was put up as a result of switching to nai.
163 private void maybeStopNotifying(NetworkAgentInfo nai) {
164 int fromNetId = getNotificationSource(nai);
273 public void noteDisconnect(NetworkAgentInfo nai) {
274 mNotifications.delete(nai.network.netId);
275 mEverNotified.delete(nai.network.netId);
276 maybeStopNotifying(nai);
277 // No need to cancel notifications on nai: NetworkMonitor does that on disconnect.