Searched refs:notifyType (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 130 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, in showNotification() argument 133 final int eventId = notifyType.eventId; in showNotification() 152 if (priority(previousNotifyType) > priority(notifyType)) { in showNotification() 155 notifyType, id, previousNotifyType)); in showNotification() 170 if (notifyType == NotificationType.NO_INTERNET && transportType == TRANSPORT_WIFI) { in showNotification() 173 } else if (notifyType == NotificationType.LOST_INTERNET && in showNotification() 177 } else if (notifyType == NotificationType.SIGN_IN) { in showNotification() 195 } else if (notifyType == NotificationType.NETWORK_SWITCH) { in showNotification() 202 Slog.wtf(TAG, "Unknown notification type " + notifyType + " on network transport " in showNotification() 211 .setShowWhen(notifyType == NotificationType.NETWORK_SWITCH) in showNotification() [all …]
|
D | LingerMonitor.java | 174 int notifyType = in notify() local 176 if (notifyType == NOTIFY_TYPE_NOTIFICATION && forceToast) { in notify() 177 notifyType = NOTIFY_TYPE_TOAST; in notify() 181 Log.d(TAG, "Notify type: " + sNotifyTypeNames.get(notifyType, "" + notifyType)); in notify() 184 switch (notifyType) { in notify() 194 Log.e(TAG, "Unknown notify type " + notifyType); in notify() 200 " type=" + sNotifyTypeNames.get(notifyType, "unknown(" + notifyType + ")")); in notify()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ServiceStateTracker.java | 3581 public void setNotification(int notifyType) { in setNotification() argument 3582 if (DBG) log("setNotification: create notification " + notifyType); in setNotification() 3607 if(disableVoiceBarringNotification && (notifyType == CS_ENABLED in setNotification() 3608 || notifyType == CS_NORMAL_ENABLED in setNotification() 3609 || notifyType == CS_EMERGENCY_ENABLED)) { in setNotification() 3625 switch (notifyType) { in setNotification() 3685 log("setNotification, create notification, notifyType: " + notifyType in setNotification() 3705 if (notifyType == PS_DISABLED || notifyType == CS_DISABLED) { in setNotification() 3710 if (mSS.isEmergencyOnly() && notifyType == CS_EMERGENCY_ENABLED) { in setNotification() 3713 } else if (notifyType == CS_REJECT_CAUSE_ENABLED) { in setNotification()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 5731 protected void notifyNetworkCallbacks(NetworkAgentInfo networkAgent, int notifyType, int arg1) { in notifyNetworkCallbacks() argument 5733 String notification = ConnectivityManager.getCallbackName(notifyType); in notifyNetworkCallbacks() 5743 callCallbackForRequest(nri, networkAgent, notifyType, arg1); in notifyNetworkCallbacks() 5745 sendPendingIntentForRequest(nri, networkAgent, notifyType); in notifyNetworkCallbacks() 5750 protected void notifyNetworkCallbacks(NetworkAgentInfo networkAgent, int notifyType) { in notifyNetworkCallbacks() argument 5751 notifyNetworkCallbacks(networkAgent, notifyType, 0); in notifyNetworkCallbacks()
|