/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 | 63 private final Map<Integer, NotificationType> mNotificationTypeMap = new HashMap<>(); 131 public Map<Integer, NotificationType> getNotificationTypeMap() { in getNotificationTypeMap() 157 NotificationType notificationType = mNotificationTypeMap.get(msg.what); in handleMessage() 258 for (Map.Entry<Integer, NotificationType> entry : mNotificationTypeMap.entrySet()) { in handleConfigChanges() 259 NotificationType notificationType = entry.getValue(); in handleConfigChanges() 265 NotificationType notificationType = mNotificationTypeMap.get(NOTIFICATION_PREF_NETWORK); in handlePrefNetworkModeChanged() 272 NotificationType notificationType = mNotificationTypeMap in handleImsCapabilitiesChanged() 279 private void evaluateSendingMessageOrCancelNotification(NotificationType notificationType) { in evaluateSendingMessageOrCancelNotification() 294 public boolean evaluateSendingMessage(NotificationType notificationType) { in evaluateSendingMessage() 302 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; 2817 showNetworkNotification(nai, NotificationType.PRIVATE_DNS_BROKEN); in maybeHandleNetworkMonitorMessage() 2865 mNotifier.clearNotification(netId, NotificationType.SIGN_IN); in maybeHandleNetworkMonitorMessage() 2866 mNotifier.clearNotification(netId, NotificationType.NETWORK_SWITCH); in maybeHandleNetworkMonitorMessage() 2873 mNotifier.showNotification(netId, NotificationType.SIGN_IN, nai, null, in maybeHandleNetworkMonitorMessage() 2931 NotificationType.NO_INTERNET); in handleNetworkTested() 2933 NotificationType.LOST_INTERNET); in handleNetworkTested() 2935 NotificationType.PARTIAL_CONNECTIVITY); in handleNetworkTested() 2937 NotificationType.PRIVATE_DNS_BROKEN); in handleNetworkTested() 3950 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; 4959 eq(NotificationType.PRIVATE_DNS_BROKEN.eventId), any(), eq(UserHandle.ALL)); in testPrivateDnsNotification() 4966 eq(NotificationType.PRIVATE_DNS_BROKEN.eventId), eq(UserHandle.ALL)); in testPrivateDnsNotification() 4973 eq(NotificationType.PRIVATE_DNS_BROKEN.eventId), any(), eq(UserHandle.ALL)); in testPrivateDnsNotification()
|
/frameworks/base/services/ |
D | art-profile | 2110 …ty/NetworkAgentInfo;Lcom/android/server/connectivity/NetworkNotificationManager$NotificationType;)V 12814 PLcom/android/server/connectivity/NetworkNotificationManager$NotificationType$Holder;-><clinit>()V 12815 HPLcom/android/server/connectivity/NetworkNotificationManager$NotificationType$Holder;->access$000(… 12816 PLcom/android/server/connectivity/NetworkNotificationManager$NotificationType;-><clinit>()V 12817 PLcom/android/server/connectivity/NetworkNotificationManager$NotificationType;-><init>(Ljava/lang/S… 12818 …orkNotificationManager$NotificationType;->getFromId(I)Lcom/android/server/connectivity/NetworkNoti… 12819 …workNotificationManager$NotificationType;->values()[Lcom/android/server/connectivity/NetworkNotifi… 12824 …>clearNotification(ILcom/android/server/connectivity/NetworkNotificationManager$NotificationType;)V 12829 …nManager;->priority(Lcom/android/server/connectivity/NetworkNotificationManager$NotificationType;)I 12831 …cation(ILcom/android/server/connectivity/NetworkNotificationManager$NotificationType;Lcom/android/… [all …]
|
/frameworks/base/config/ |
D | preloaded-classes | 8559 com.android.internal.telephony.CarrierServiceStateTracker$NotificationType
|
D | boot-image-profile.txt | 49069 Lcom/android/internal/telephony/CarrierServiceStateTracker$NotificationType;
|