Searched refs:NETWORK_SWITCH (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 54 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()
|
D | LingerMonitor.java | 159 mNotifier.showNotification(fromNai.network.getNetId(), NotificationType.NETWORK_SWITCH, in showNotification()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 23 … 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()
|
D | LingerMonitorTest.java | 363 eq(NotificationType.NETWORK_SWITCH), eq(from), eq(to), any(), eq(true)); in verifyNotification()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 3406 mNotifier.clearNotification(netId, NotificationType.NETWORK_SWITCH); in maybeHandleNetworkMonitorMessage()
|