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/
DNetworkNotificationManager.java144 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, in showNotification() argument
147 final int eventId = notifyType.eventId; in showNotification()
166 if (priority(previousNotifyType) > priority(notifyType)) { in showNotification()
169 notifyType, id, previousNotifyType)); in showNotification()
184 if (notifyType == NotificationType.NO_INTERNET && transportType == TRANSPORT_WIFI) { in showNotification()
188 } else if (notifyType == NotificationType.PRIVATE_DNS_BROKEN) { in showNotification()
198 } else if (notifyType == NotificationType.PARTIAL_CONNECTIVITY in showNotification()
203 } else if (notifyType == NotificationType.LOST_INTERNET && in showNotification()
208 } else if (notifyType == NotificationType.SIGN_IN) { in showNotification()
233 } else if (notifyType == NotificationType.NETWORK_SWITCH) { in showNotification()
[all …]
DLingerMonitor.java178 int notifyType = in notify() local
180 if (notifyType == NOTIFY_TYPE_NOTIFICATION && forceToast) { in notify()
181 notifyType = NOTIFY_TYPE_TOAST; in notify()
185 Log.d(TAG, "Notify type: " + sNotifyTypeNames.get(notifyType, "" + notifyType)); in notify()
188 switch (notifyType) { in notify()
198 Log.e(TAG, "Unknown notify type " + notifyType); in notify()
205 + " type=" + sNotifyTypeNames.get(notifyType, "unknown(" + notifyType + ")")); in notify()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java4210 public void setNotification(int notifyType) { in setNotification() argument
4211 if (DBG) log("setNotification: create notification " + notifyType); in setNotification()
4243 if (disableVoiceBarringNotification && (notifyType == CS_ENABLED in setNotification()
4244 || notifyType == CS_NORMAL_ENABLED in setNotification()
4245 || notifyType == CS_EMERGENCY_ENABLED)) { in setNotification()
4261 switch (notifyType) { in setNotification()
4310 notifyType = CS_REJECT_CAUSE_DISABLED; in setNotification()
4325 log("setNotification, create notification, notifyType: " + notifyType in setNotification()
4345 if (notifyType == PS_DISABLED || notifyType == CS_DISABLED in setNotification()
4346 || notifyType == CS_REJECT_CAUSE_DISABLED) { in setNotification()
[all …]
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java7378 protected void notifyNetworkCallbacks(NetworkAgentInfo networkAgent, int notifyType, int arg1) { in notifyNetworkCallbacks() argument
7380 String notification = ConnectivityManager.getCallbackName(notifyType); in notifyNetworkCallbacks()
7388 callCallbackForRequest(nri, networkAgent, notifyType, arg1); in notifyNetworkCallbacks()
7390 sendPendingIntentForRequest(nri, networkAgent, notifyType); in notifyNetworkCallbacks()
7395 protected void notifyNetworkCallbacks(NetworkAgentInfo networkAgent, int notifyType) { in notifyNetworkCallbacks() argument
7396 notifyNetworkCallbacks(networkAgent, notifyType, 0); in notifyNetworkCallbacks()