Searched refs:importance (Results 1 - 19 of 19) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewAutofillTest.java47 int importance = ViewCompat.getImportantForAutofill(recyclerView);
50 assertEquals(View.IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, importance);
52 assertEquals(View.IMPORTANT_FOR_ACCESSIBILITY_AUTO, importance);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DForegroundServiceController.java24 * @param importance
26 void addNotification(StatusBarNotification sbn, int importance); argument
H A DForegroundServiceControllerImpl.java109 public void addNotification(StatusBarNotification sbn, int importance) { argument
110 updateNotification(sbn, importance);
/frameworks/base/core/java/com/android/internal/util/
H A DNotificationMessagingUtil.java49 public boolean isImportantMessaging(StatusBarNotification sbn, int importance) { argument
50 if (importance < NotificationManager.IMPORTANCE_LOW) {
/frameworks/base/core/proto/android/app/
H A Dnotification_channel.proto35 optional int32 importance = 4;
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingConfig.java27 void setImportance(String packageName, int uid, int importance); argument
H A DRankingHelper.java86 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 DNotificationRecord.java315 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...]
H A DNotificationManagerService.java2139 * Additionally, this method marks the app importance as locked by the user, which means
4066 // Increase the importance of foreground service notifications unless the user had
6180 ArrayList<Integer> importance = new ArrayList<>(N);
6198 importance.add(record.getImportance());
6224 importanceAr[i] = importance.get(i);
/frameworks/base/core/java/android/service/notification/
H A DNotificationRankingUpdate.java43 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 DNotificationListenerService.java1489 * 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/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationListenerServiceTest.java107 int[] importance = new int[mKeys.length];
119 importance[i] = getImportance(i);
130 suppressedVisualEffects, importance, explanation, overrideGroupKeys,
/frameworks/base/core/proto/android/service/
H A Dnotification.proto68 optional sint32 importance = 10;
125 optional sint32 importance = 3;
/frameworks/base/core/java/android/app/
H A DActivityManager.java3020 * 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...]
H A DNotificationChannel.java68 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...]
/frameworks/base/services/core/java/com/android/server/
H A DLocationManagerService.java328 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;
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java775 && proc.importance <= IMPORTANCE_FOREGROUND_SERVICE) {
/frameworks/base/core/java/android/view/
H A DView.java8337 * <p>The platform determines the importance for autofill automatically but you
8356 * {@link #isImportantForAutofill()} for more details about how the View's importance for
8441 final int importance = getImportantForAutofill();
8444 if (importance == IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS
8445 || importance == IMPORTANT_FOR_AUTOFILL_YES) {
8448 if (importance == IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS
8449 || importance == IMPORTANT_FOR_AUTOFILL_NO) {
11708 // importance, since we'll need to check it later to make sure.
11754 * If an ancestor of this view has importance
16334 * the importance o
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java15883 outInfo.importance = procStateToImportance(procState, adj, outInfo, clientTargetSdk);
15929 //Slog.v(TAG, "Proc " + app.processName + ": imp=" + currApp.importance
23121 // Determine the importance of the process, starting with most
[all...]

Completed in 346 milliseconds