Home
last modified time | relevance | path

Searched refs:NETWORK_SWITCH (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkNotificationManager.java54 NETWORK_SWITCH(SystemMessage.NOTE_NETWORK_SWITCH), enumConstant
260 } else if (notifyType == NotificationType.NETWORK_SWITCH) { in showNotification()
286 .setShowWhen(notifyType == NotificationType.NETWORK_SWITCH) in showNotification()
300 if (notifyType == NotificationType.NETWORK_SWITCH) { in showNotification()
425 case NETWORK_SWITCH: in priority()
DLingerMonitor.java159 mNotifier.showNotification(fromNai.network.getNetId(), NotificationType.NETWORK_SWITCH, in showNotification()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java23 … static com.android.server.connectivity.NetworkNotificationManager.NotificationType.NETWORK_SWITCH;
277 mManager.showNotification(104, NETWORK_SWITCH, mWifiNai, mCellNai, null, false); in testNotificationsNotShownIfNoInternetCapability()
388 mManager.showNotification(TEST_NOTIF_ID, NETWORK_SWITCH, mWifiNai, mCellNai, null, false); in testNotifyNoInternetAsDialogWhenHighPriority()
390 verify(mNotificationManager).notify(eq(TEST_NOTIF_TAG), eq(NETWORK_SWITCH.eventId), any()); in testNotifyNoInternetAsDialogWhenHighPriority()
405 verify(mNotificationManager).cancel(TEST_NOTIF_TAG, NETWORK_SWITCH.eventId); in testNotifyNoInternetAsDialogWhenHighPriority()
DLingerMonitorTest.java363 eq(NotificationType.NETWORK_SWITCH), eq(from), eq(to), any(), eq(true)); in verifyNotification()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java3406 mNotifier.clearNotification(netId, NotificationType.NETWORK_SWITCH); in maybeHandleNetworkMonitorMessage()