/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | RankingConfig.java | 28 void setImportance(String packageName, int uid, int importance); argument
|
H A D | NotificationRecord.java | 119 int importance = IMPORTANCE_DEFAULT; 128 importance = IMPORTANCE_MIN; 131 importance = IMPORTANCE_LOW; 134 importance = IMPORTANCE_DEFAULT; 137 importance = IMPORTANCE_HIGH; 140 importance = IMPORTANCE_MAX; 143 stats.requestedImportance = importance; 151 if (!isNoisy && importance > IMPORTANCE_LOW) { 152 importance = IMPORTANCE_LOW; 156 if (importance < IMPORTANCE_DEFAUL 355 setUserImportance(int importance) argument 387 setImportance(int importance, CharSequence explanation) argument [all...] |
H A D | RankingHelper.java | 57 private static final String ATT_IMPORTANCE = "importance"; 166 r.importance = safeInt(parser, ATT_IMPORTANCE, DEFAULT_IMPORTANCE); 203 final boolean hasNonDefaultSettings = r.importance != DEFAULT_IMPORTANCE 208 if (r.importance != DEFAULT_IMPORTANCE) { 209 out.attribute(null, ATT_IMPORTANCE, Integer.toString(r.importance)); 352 * Gets importance. 356 return getOrCreateRecord(packageName, uid).importance; 360 * Sets importance. 363 public void setImportance(String pkgName, int uid, int importance) { argument 364 getOrCreateRecord(pkgName, uid).importance 538 int importance = DEFAULT_IMPORTANCE; field in class:RankingHelper.Record [all...] |
H A D | NotificationManagerService.java | 1447 public void setImportance(String pkg, int uid, int importance) { 1450 importance != NotificationListenerService.Ranking.IMPORTANCE_NONE); 1451 mRankingHelper.setImportance(pkg, uid, importance); 3692 ArrayList<Integer> importance = new ArrayList<>(N); 3704 importance.add(record.getImportance()); 3724 importanceAr[i] = importance.get(i); 3825 final int importance = r.getImportance(); 3831 notifyEnqueued(info, sbnToPost, importance, fromUser); 3838 final StatusBarNotification sbn, int importance, boolean fromUser) { 3842 ranker.onNotificationEnqueued(sbnHolder, importance, fromUse 3837 notifyEnqueued(final ManagedServiceInfo info, final StatusBarNotification sbn, int importance, boolean fromUser) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | AppImportanceMonitor.java | 28 * Helper for monitoring the current importance of applications. 39 int importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE; field in class:AppImportanceMonitor.AppEntry 96 updateImportanceLocked(app.uid, app.pid, app.importance, false); 106 return ent.importance; 110 * Report when an app's importance changed. Called on looper given to constructor. 112 public void onImportanceChanged(int uid, int importance, int oldImportance) { argument 115 void updateImportanceLocked(int uid, int pid, int importance, boolean repChange) { argument 121 if (importance >= ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE) { 124 ent.procs.put(pid, importance); 137 if (appImp != ent.importance) { [all...] |
H A D | ActivityManager.java | 2739 * Constant for {@link #importance}: This process is running the 2746 * Constant for {@link #importance}: This process is running a foreground 2754 * Constant for {@link #importance}: This process is running the foreground 2763 * Constant for {@link #importance}: This process is running something 2773 * Constant for {@link #importance}: This process is not something the user 2779 * Constant for {@link #importance}: This process is running an 2787 * Constant for {@link #importance}: This process is contains services 2796 * Constant for {@link #importance}: This process process contains 2802 * Constant for {@link #importance}: This process is empty of any 2808 * Constant for {@link #importance} 2843 public int importance; field in class:ActivityManager.RunningAppProcessInfo [all...] |
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/ |
H A D | Ranker.java | 52 public Adjustment onNotificationEnqueued(StatusBarNotification sbn, int importance, argument
|
/frameworks/base/core/java/android/service/notification/ |
H A D | Adjustment.java | 47 * @param importance The recommended importance of the notification. 55 public Adjustment(String pkg, String key, int importance, Bundle signals, argument 59 mImportance = importance;
|
H A D | NotificationRankingUpdate.java | 37 int[] importance, Bundle explanation, Bundle overrideGroupKeys) { 42 mImportance = importance; 35 NotificationRankingUpdate(String[] keys, String[] interceptedKeys, Bundle visibilityOverrides, Bundle suppressedVisualEffects, int[] importance, Bundle explanation, Bundle overrideGroupKeys) argument
|
H A D | NotificationRankerService.java | 135 * @param importance the initial importance of the notification. 136 * @param user true if the initial importance reflects an explicit user preference. 140 int importance, boolean user); 223 int importance, boolean user) { 234 args.argi1 = importance; 297 final int importance = args.argi1; 300 Adjustment adjustment = onNotificationEnqueued(sbn, importance, user); 139 onNotificationEnqueued(StatusBarNotification sbn, int importance, boolean user) argument 222 onNotificationEnqueued(IStatusBarNotificationHolder sbnHolder, int importance, boolean user) argument
|
H A D | NotificationListenerService.java | 963 int importance, boolean user) throws RemoteException { 1018 * Value signifying that the user has not expressed an importance. 1028 * A notification with no importance: shows nowhere, is blocked. 1035 * Min notification importance: only shows in the shade, below the fold. 1042 * Low notification importance: shows everywhere, but is not intrusive. 1049 * Default notification importance: shows everywhere, allowed to makes noise, 1057 * Higher notification importance: shows everywhere, allowed to makes noise and peek. 1064 * Highest notification importance: shows everywhere, allowed to makes noise, peek, and 1140 * Returns the importance of the notification, which dictates its 1150 * If the importance ha 962 onNotificationEnqueued(IStatusBarNotificationHolder notificationHolder, int importance, boolean user) argument 1167 populate(String key, int rank, boolean matchesInterruptionFilter, int visibilityOverride, int suppressedVisualEffects, int importance, CharSequence explanation, String overrideGroupKey) argument 1184 importanceToString(int importance) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationGuts.java | 176 final int importance) { 184 mNotificationImportance = importance; 241 private void bindToggles(final View importanceButtons, final int importance, argument 261 if (importance == NotificationListenerService.Ranking.IMPORTANCE_LOW) { 175 bindImportance(final PackageManager pm, final StatusBarNotification sbn, final int importance) argument
|