/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 50 public static enum NotificationType { enum in NetworkNotificationManager 60 NotificationType(int eventId) { in NotificationType() method in NetworkNotificationManager.NotificationType 66 private static SparseArray<NotificationType> sIdToTypeMap = new SparseArray<>(); 69 public static NotificationType getFromId(int id) { in getFromId() 109 private static int getIcon(int transportType, NotificationType notifyType) { in getIcon() 114 return notifyType == NotificationType.LOGGED_IN in getIcon() 141 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, in showNotification() 162 final NotificationType previousNotifyType = NotificationType.getFromId(previousEventId); in showNotification() 181 if (notifyType == NotificationType.NO_INTERNET && transportType == TRANSPORT_WIFI) { in showNotification() 185 } else if (notifyType == NotificationType.PARTIAL_CONNECTIVITY in showNotification() [all …]
|
D | LingerMonitor.java | 39 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 154 mNotifier.showNotification(fromNai.network.netId, NotificationType.NETWORK_SWITCH, in showNotification()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceStateTracker.java | 62 private final Map<Integer, NotificationType> mNotificationTypeMap = new HashMap<>(); 124 public Map<Integer, NotificationType> getNotificationTypeMap() { in getNotificationTypeMap() 150 NotificationType notificationType = mNotificationTypeMap.get(msg.what); in handleMessage() 214 for (Map.Entry<Integer, NotificationType> entry : mNotificationTypeMap.entrySet()) { in handleConfigChanges() 215 NotificationType notificationType = entry.getValue(); in handleConfigChanges() 221 NotificationType notificationType = mNotificationTypeMap.get(NOTIFICATION_PREF_NETWORK); in handlePrefNetworkModeChanged() 228 NotificationType notificationType = mNotificationTypeMap in handleImsCapabilitiesChanged() 235 private void evaluateSendingMessageOrCancelNotification(NotificationType notificationType) { in evaluateSendingMessageOrCancelNotification() 250 public boolean evaluateSendingMessage(NotificationType notificationType) { in evaluateSendingMessage() 258 public int getDelay(NotificationType notificationType) { in getDelay() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierServiceStateTrackerTest.java | 151 Map<Integer, CarrierServiceStateTracker.NotificationType> notificationTypeMap = in testSendPrefNetworkNotification() 153 CarrierServiceStateTracker.NotificationType prefNetworkNotification = in testSendPrefNetworkNotification() 155 CarrierServiceStateTracker.NotificationType spyPrefNetworkNotification = spy( in testSendPrefNetworkNotification() 191 Map<Integer, CarrierServiceStateTracker.NotificationType> notificationTypeMap = in testSendEmergencyNetworkNotification() 193 CarrierServiceStateTracker.NotificationType emergencyNetworkNotification = in testSendEmergencyNetworkNotification() 195 CarrierServiceStateTracker.NotificationType spyEmergencyNetworkNotification = spy( in testSendEmergencyNetworkNotification()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 19 import static com.android.server.connectivity.NetworkNotificationManager.NotificationType.*; 43 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 103 List<NotificationType> types = Arrays.asList(NotificationType.values()); in testNotificationsShownAndCleared()
|
D | LingerMonitorTest.java | 50 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 349 eq(NotificationType.NETWORK_SWITCH), eq(from), eq(to), any(), eq(true)); in verifyNotification()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 186 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 2624 showNetworkNotification(nai, NotificationType.LOGGED_IN); in maybeHandleNetworkMonitorMessage() 2651 NotificationType.NO_INTERNET); in maybeHandleNetworkMonitorMessage() 2653 NotificationType.LOST_INTERNET); in maybeHandleNetworkMonitorMessage() 2655 NotificationType.PARTIAL_CONNECTIVITY); in maybeHandleNetworkMonitorMessage() 2707 mNotifier.clearNotification(netId, NotificationType.SIGN_IN); in maybeHandleNetworkMonitorMessage() 2708 mNotifier.clearNotification(netId, NotificationType.NETWORK_SWITCH); in maybeHandleNetworkMonitorMessage() 2715 mNotifier.showNotification(netId, NotificationType.SIGN_IN, nai, null, in maybeHandleNetworkMonitorMessage() 3606 private void showNetworkNotification(NetworkAgentInfo nai, NotificationType type) { in showNetworkNotification() 3640 if (type != NotificationType.LOGGED_IN) { in showNetworkNotification() [all …]
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 197 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 2876 anyString(), eq(NotificationType.LOGGED_IN.eventId), any(), any()); in testCaptivePortal() 2937 eq(NotificationType.LOGGED_IN.eventId), any(), eq(UserHandle.ALL)); in testCaptivePortalApp()
|
/frameworks/base/services/ |
D | art-profile | 909 …ty/NetworkAgentInfo;Lcom/android/server/connectivity/NetworkNotificationManager$NotificationType;)V 5563 HSPLcom/android/server/connectivity/NetworkNotificationManager$NotificationType;-><init>(Ljava/lang… 5564 …workNotificationManager$NotificationType;->values()[Lcom/android/server/connectivity/NetworkNotifi… 5566 …>clearNotification(ILcom/android/server/connectivity/NetworkNotificationManager$NotificationType;)V 5568 …nManager;->priority(Lcom/android/server/connectivity/NetworkNotificationManager$NotificationType;)I 5570 …cation(ILcom/android/server/connectivity/NetworkNotificationManager$NotificationType;Lcom/android/…
|
/frameworks/base/config/ |
D | preloaded-classes | 4716 com.android.internal.telephony.CarrierServiceStateTracker$NotificationType
|