Home
last modified time | relevance | path

Searched refs:notifyType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DLingerMonitor.java174 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()
DNetworkNotificationManager.java128 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, in showNotification() argument
131 final int eventId = notifyType.eventId; 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()
187 Slog.wtf(TAG, "Unknown notification type " + notifyType + " on network transport " in showNotification()
196 .setShowWhen(notifyType == NotificationType.NETWORK_SWITCH) in showNotification()
207 if (notifyType == NotificationType.NETWORK_SWITCH) { in showNotification()
213 if (notifyType == NotificationType.SIGN_IN) { in showNotification()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java3778 public void setNotification(int notifyType) { in setNotification() argument
3779 if (DBG) log("setNotification: create notification " + notifyType); in setNotification()
3798 if(disableVoiceBarringNotification && (notifyType == CS_ENABLED in setNotification()
3799 || notifyType == CS_NORMAL_ENABLED in setNotification()
3800 || notifyType == CS_EMERGENCY_ENABLED)) { in setNotification()
3812 switch (notifyType) { in setNotification()
3847 notifyType = CS_REJECT_CAUSE_DISABLED; in setNotification()
3860 log("setNotification, create notification, notifyType: " + notifyType in setNotification()
3879 if (notifyType == PS_DISABLED || notifyType == CS_DISABLED in setNotification()
3880 || notifyType == CS_REJECT_CAUSE_DISABLED) { in setNotification()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5292 protected void notifyNetworkCallbacks(NetworkAgentInfo networkAgent, int notifyType, int arg1) { in notifyNetworkCallbacks() argument
5293 if (VDBG) log("notifyType " + notifyTypeToName(notifyType) + " for " + networkAgent.name()); in notifyNetworkCallbacks()
5301 callCallbackForRequest(nri, networkAgent, notifyType, arg1); in notifyNetworkCallbacks()
5303 sendPendingIntentForRequest(nri, networkAgent, notifyType); in notifyNetworkCallbacks()
5308 protected void notifyNetworkCallbacks(NetworkAgentInfo networkAgent, int notifyType) { in notifyNetworkCallbacks() argument
5309 notifyNetworkCallbacks(networkAgent, notifyType, 0); in notifyNetworkCallbacks()
5312 private String notifyTypeToName(int notifyType) { in notifyTypeToName() argument
5313 switch (notifyType) { in notifyTypeToName()