/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() 144 public void showNotification(int id, NotificationType notifyType, NetworkAgentInfo nai, in showNotification() 165 final NotificationType previousNotifyType = NotificationType.getFromId(previousEventId); 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() [all …]
|
D | LingerMonitor.java | 40 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 156 mNotifier.showNotification(fromNai.network.netId, NotificationType.NETWORK_SWITCH, in showNotification()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceStateTracker.java | 61 private final Map<Integer, NotificationType> mNotificationTypeMap = new HashMap<>(); 129 public Map<Integer, NotificationType> getNotificationTypeMap() { in getNotificationTypeMap() 155 NotificationType notificationType = mNotificationTypeMap.get(msg.what); in handleMessage() 212 for (Map.Entry<Integer, NotificationType> entry : mNotificationTypeMap.entrySet()) { in handleConfigChanges() 213 NotificationType notificationType = entry.getValue(); in handleConfigChanges() 219 NotificationType notificationType = mNotificationTypeMap.get(NOTIFICATION_PREF_NETWORK); in handlePrefNetworkModeChanged() 226 NotificationType notificationType = mNotificationTypeMap in handleImsCapabilitiesChanged() 233 private void evaluateSendingMessageOrCancelNotification(NotificationType notificationType) { in evaluateSendingMessageOrCancelNotification() 248 public boolean evaluateSendingMessage(NotificationType notificationType) { in evaluateSendingMessage() 256 public int getDelay(NotificationType notificationType) { in getDelay() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierServiceStateTrackerTest.java | 139 Map<Integer, CarrierServiceStateTracker.NotificationType> notificationTypeMap = in testSendPrefNetworkNotification() 141 CarrierServiceStateTracker.NotificationType prefNetworkNotification = in testSendPrefNetworkNotification() 143 CarrierServiceStateTracker.NotificationType spyPrefNetworkNotification = spy( in testSendPrefNetworkNotification() 181 Map<Integer, CarrierServiceStateTracker.NotificationType> notificationTypeMap = in testSendEmergencyNetworkNotification() 183 CarrierServiceStateTracker.NotificationType emergencyNetworkNotification = in testSendEmergencyNetworkNotification() 185 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.*; 45 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 145 List<NotificationType> types = Arrays.asList(NotificationType.values()); in testNotificationsShownAndCleared()
|
D | LingerMonitorTest.java | 50 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 348 eq(NotificationType.NETWORK_SWITCH), eq(from), eq(to), any(), eq(true)); in verifyNotification()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 210 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 2809 showNetworkNotification(nai, NotificationType.PRIVATE_DNS_BROKEN); in maybeHandleNetworkMonitorMessage() 2857 mNotifier.clearNotification(netId, NotificationType.SIGN_IN); in maybeHandleNetworkMonitorMessage() 2858 mNotifier.clearNotification(netId, NotificationType.NETWORK_SWITCH); in maybeHandleNetworkMonitorMessage() 2865 mNotifier.showNotification(netId, NotificationType.SIGN_IN, nai, null, in maybeHandleNetworkMonitorMessage() 2923 NotificationType.NO_INTERNET); in handleNetworkTested() 2925 NotificationType.LOST_INTERNET); in handleNetworkTested() 2927 NotificationType.PARTIAL_CONNECTIVITY); in handleNetworkTested() 2929 NotificationType.PRIVATE_DNS_BROKEN); in handleNetworkTested() 3942 private void showNetworkNotification(NetworkAgentInfo nai, NotificationType type) { in showNetworkNotification() [all …]
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 239 import com.android.server.connectivity.NetworkNotificationManager.NotificationType; 4967 eq(NotificationType.PRIVATE_DNS_BROKEN.eventId), any(), eq(UserHandle.ALL)); in testPrivateDnsNotification() 4974 eq(NotificationType.PRIVATE_DNS_BROKEN.eventId), eq(UserHandle.ALL)); in testPrivateDnsNotification() 4981 eq(NotificationType.PRIVATE_DNS_BROKEN.eventId), any(), eq(UserHandle.ALL)); in testPrivateDnsNotification()
|
/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
|
D | boot-image-profile.txt | 21890 …aluateSendingMessage(Lcom/android/internal/telephony/CarrierServiceStateTracker$NotificationType;)Z 21891 …OrCancelNotification(Lcom/android/internal/telephony/CarrierServiceStateTracker$NotificationType;)V 37592 Lcom/android/internal/telephony/CarrierServiceStateTracker$NotificationType;
|