Searched refs:NotificationType (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 44 public static enum NotificationType { enum in NetworkNotificationManager 52 NotificationType(int eventId) { in NotificationType() method in NetworkNotificationManager.NotificationType 58 private static SparseArray<NotificationType> sIdToTypeMap = new SparseArray<>(); 61 public static NotificationType getFromId(int id) { in getFromId() 128 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, in showNotification() 156 if (notifyType == NotificationType.NO_INTERNET && transportType == TRANSPORT_WIFI) { in showNotification() 159 } else if (notifyType == NotificationType.LOST_INTERNET && in showNotification() 163 } else if (notifyType == NotificationType.SIGN_IN) { in showNotification() 180 } else if (notifyType == NotificationType.NETWORK_SWITCH) { in showNotification() 196 .setShowWhen(notifyType == NotificationType.NETWORK_SWITCH) in showNotification() [all …]
|
D | LingerMonitor.java | 39 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 152 mNotifier.showNotification(fromNai.network.netId, NotificationType.NETWORK_SWITCH, in showNotification()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 29 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 40 import static com.android.server.connectivity.NetworkNotificationManager.NotificationType.*; 92 List<NotificationType> types = Arrays.asList(NotificationType.values()); in testNotificationsShownAndCleared()
|
D | LingerMonitorTest.java | 32 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 333 eq(NotificationType.NETWORK_SWITCH), eq(from), eq(to), any(), eq(true)); in verifyNotification()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 136 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 2153 mNotifier.showNotification(netId, NotificationType.SIGN_IN, nai, null, in maybeHandleNetworkMonitorMessage() 2703 private void showValidationNotification(NetworkAgentInfo nai, NotificationType type) { in showValidationNotification() 2739 showValidationNotification(nai, NotificationType.NO_INTERNET); in handlePromptUnvalidated() 2748 showValidationNotification(nai, NotificationType.LOST_INTERNET); in handleNetworkUnvalidated()
|