/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationMessagingUtil.java | 49 public boolean isImportantMessaging(StatusBarNotification sbn, int importance) { argument 50 if (importance < NotificationManager.IMPORTANCE_LOW) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ForegroundServiceController.java | 24 * @param importance 26 void addNotification(StatusBarNotification sbn, int importance); argument
|
H A D | ForegroundServiceControllerImpl.java | 109 public void addNotification(StatusBarNotification sbn, int importance) { argument 110 updateNotification(sbn, importance);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | RankingConfig.java | 27 void setImportance(String packageName, int uid, int importance); argument
|
H A D | RankingHelper.java | 86 private static final String ATT_IMPORTANCE = "importance"; 223 r.importance = XmlUtils.readIntAttribute( 301 private Record getOrCreateRecord(String pkg, int uid, int importance, int priority, argument 311 r.importance = importance; 376 r.importance); 379 if (r.importance != NotificationManager.IMPORTANCE_UNSPECIFIED) { 404 r.importance != DEFAULT_IMPORTANCE 414 if (r.importance != DEFAULT_IMPORTANCE) { 415 out.attribute(null, ATT_IMPORTANCE, Integer.toString(r.importance)); 1024 setImportance(String pkgName, int uid, int importance) argument 1470 int importance = DEFAULT_IMPORTANCE; field in class:RankingHelper.Record [all...] |
H A D | NotificationRecord.java | 315 int importance = getChannel().getImportance(); 344 && (importance == IMPORTANCE_UNSPECIFIED 360 importance = requestedImportance; 363 stats.naturalImportance = importance; 364 return importance; 381 // Don't copy importance information or mGlobalSortKey, recompute them. 581 "NotificationRecord(0x%08x: pkg=%s user=%s id=%d tag=%s importance=%d key=%s" + 676 public void setUserImportance(int importance) { argument 677 mUserImportance = importance; 708 public void setImportance(int importance, CharSequenc argument [all...] |
/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationRankingUpdate.java | 43 int[] importance, Bundle explanation, Bundle overrideGroupKeys, 50 mImportance = importance; 41 NotificationRankingUpdate(String[] keys, String[] interceptedKeys, Bundle visibilityOverrides, Bundle suppressedVisualEffects, int[] importance, Bundle explanation, Bundle overrideGroupKeys, Bundle channels, Bundle overridePeople, Bundle snoozeCriteria, Bundle showBadge, Bundle userSentiment, Bundle hidden) argument
|
H A D | NotificationListenerService.java | 1489 * Returns the importance of the notification, which dictates its 1492 * @return the importance of the notification 1499 * If the importance has been overridden by user preference, then this will be non-null, 1502 * @return the explanation for the importance, or null if it is the natural importance 1582 int visibilityOverride, int suppressedVisualEffects, int importance, 1589 mIsAmbient = importance < NotificationManager.IMPORTANCE_LOW; 1593 mImportance = importance; 1607 public static String importanceToString(int importance) { argument 1608 switch (importance) { 1581 populate(String key, int rank, boolean matchesInterruptionFilter, int visibilityOverride, int suppressedVisualEffects, int importance, CharSequence explanation, String overrideGroupKey, NotificationChannel channel, ArrayList<String> overridePeople, ArrayList<SnoozeCriterion> snoozeCriteria, boolean showBadge, int userSentiment, boolean hidden) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NotificationChannel.java | 68 private static final String ATT_IMPORTANCE = "importance"; 166 * @param importance The importance of the channel. This controls how interruptive notifications 169 public NotificationChannel(String id, CharSequence name, @Importance int importance) { argument 172 this.mImportance = importance; 367 * audio attributes. Notification channels with an {@link #getImportance() importance} of at 430 * @param importance the amount the user should be interrupted by 433 public void setImportance(@Importance int importance) { argument 434 this.mImportance = importance; 481 * Returns the user specified importance [all...] |
H A D | ActivityManager.java | 3020 * Constant for {@link #importance}: This process is running the 3027 * Constant for {@link #importance}: This process is running a foreground 3044 * Constant for {@link #importance}: This process is running something 3054 * Constant for {@link #importance}: {@link #IMPORTANCE_PERCEPTIBLE} had this wrong value 3069 * Constant for {@link #importance}: This process is not something the user 3075 * Constant for {@link #importance}: {@link #IMPORTANCE_CANT_SAVE_STATE} had 3093 * Constant for {@link #importance}: This process is contains services 3102 * Constant for {@link #importance}: This process is running the foreground 3111 * Constant for {@link #importance}: This process is running an 3119 * Constant for {@link #importance} 3206 importanceToProcState(@mportance int importance) argument 3235 public @Importance int importance; field in class:ActivityManager.RunningAppProcessInfo 3497 onUidImportance(int uid, @RunningAppProcessInfo.Importance int importance) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | LocationManagerService.java | 328 public void onUidImportance(final int uid, final int importance) { 332 onUidImportanceChanged(uid, importance); 414 private void onUidImportanceChanged(int uid, int importance) { argument 415 boolean foreground = isImportanceForeground(importance); 475 private static boolean isImportanceForeground(int importance) { argument 476 return importance <= FOREGROUND_IMPORTANCE_CUTOFF;
|