Home
last modified time | relevance | path

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

/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkeNotifyPayload.java89 public final int notifyType; field in IkeNotifyPayload
108 notifyType = Short.toUnsignedInt(inputBuffer.getShort()); in IkeNotifyPayload()
136 if (!VALID_NOTIFY_TYPES_FOR_CHILD_SA.contains(notifyType)) { in validateNotifyPayloadForExistingChildSa()
138 "Expected Notify Type for existing Child SA: Notify Type is " + notifyType); in validateNotifyPayloadForExistingChildSa()
148 if (notifyType == NOTIFY_TYPE_INVALID_SELECTORS in validateNotifyPayloadForIkeAndNewChild()
149 || notifyType == NOTIFY_TYPE_CHILD_SA_NOT_FOUND) { in validateNotifyPayloadForIkeAndNewChild()
153 + notifyType); in validateNotifyPayloadForIkeAndNewChild()
200 byteBuffer.put((byte) protocolId).put(spiSize).putShort((short) notifyType); in encodeToByteBuffer()
221 @NotifyType int notifyType, in IkeNotifyPayload() argument
227 this.notifyType = notifyType; in IkeNotifyPayload()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java109 private static int getIcon(int transportType, NotificationType notifyType) { in getIcon() argument
114 return notifyType == NotificationType.LOGGED_IN in getIcon()
141 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, in showNotification() argument
144 final int eventId = notifyType.eventId; in showNotification()
163 if (priority(previousNotifyType) > priority(notifyType)) { in showNotification()
166 notifyType, id, previousNotifyType)); in showNotification()
180 int icon = getIcon(transportType, notifyType); in showNotification()
181 if (notifyType == NotificationType.NO_INTERNET && transportType == TRANSPORT_WIFI) { in showNotification()
185 } else if (notifyType == NotificationType.PARTIAL_CONNECTIVITY in showNotification()
190 } else if (notifyType == NotificationType.LOST_INTERNET && in showNotification()
[all …]
DLingerMonitor.java176 int notifyType = in notify() local
178 if (notifyType == NOTIFY_TYPE_NOTIFICATION && forceToast) { in notify()
179 notifyType = NOTIFY_TYPE_TOAST; in notify()
183 Log.d(TAG, "Notify type: " + sNotifyTypeNames.get(notifyType, "" + notifyType)); in notify()
186 switch (notifyType) { in notify()
196 Log.e(TAG, "Unknown notify type " + notifyType); in notify()
202 " type=" + sNotifyTypeNames.get(notifyType, "unknown(" + notifyType + ")")); in notify()
/frameworks/opt/net/ike/tests/iketests/src/java/com/android/ike/ikev2/message/
DIkeNotifyPayloadTest.java62 assertEquals(EXPECTED_NOTIFY_TYPE, payload.notifyType); in testDecodeNotifyPayload()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java4006 public void setNotification(int notifyType) { in setNotification() argument
4007 if (DBG) log("setNotification: create notification " + notifyType); in setNotification()
4038 if (disableVoiceBarringNotification && (notifyType == CS_ENABLED in setNotification()
4039 || notifyType == CS_NORMAL_ENABLED in setNotification()
4040 || notifyType == CS_EMERGENCY_ENABLED)) { in setNotification()
4056 switch (notifyType) { in setNotification()
4105 notifyType = CS_REJECT_CAUSE_DISABLED; in setNotification()
4120 log("setNotification, create notification, notifyType: " + notifyType in setNotification()
4140 if (notifyType == PS_DISABLED || notifyType == CS_DISABLED in setNotification()
4141 || notifyType == CS_REJECT_CAUSE_DISABLED) { in setNotification()
[all …]
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java6751 protected void notifyNetworkCallbacks(NetworkAgentInfo networkAgent, int notifyType, int arg1) { in notifyNetworkCallbacks() argument
6753 String notification = ConnectivityManager.getCallbackName(notifyType); in notifyNetworkCallbacks()
6763 callCallbackForRequest(nri, networkAgent, notifyType, arg1); in notifyNetworkCallbacks()
6765 sendPendingIntentForRequest(nri, networkAgent, notifyType); in notifyNetworkCallbacks()
6770 protected void notifyNetworkCallbacks(NetworkAgentInfo networkAgent, int notifyType) { in notifyNetworkCallbacks() argument
6771 notifyNetworkCallbacks(networkAgent, notifyType, 0); in notifyNetworkCallbacks()