Lines Matching defs:NotificationType
38 public static enum NotificationType { SIGN_IN, NO_INTERNET, LOST_INTERNET, NETWORK_SWITCH };
84 * (NotificationType.SIGN_IN), or to notify that a network does not have Internet access
85 * (NotificationType.NO_INTERNET). We display at most one notification per ID, so on a
101 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai,
126 if (notifyType == NotificationType.NO_INTERNET && transportType == TRANSPORT_WIFI) {
129 } else if (notifyType == NotificationType.LOST_INTERNET &&
133 } else if (notifyType == NotificationType.SIGN_IN) {
150 } else if (notifyType == NotificationType.NETWORK_SWITCH) {
164 .setShowWhen(notifyType == NotificationType.NETWORK_SWITCH)
179 if (notifyType == NotificationType.NETWORK_SWITCH) {
212 showNotification(id, NotificationType.SIGN_IN, null, null, pendingIntent, false);