Searched defs:getImportance (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingConfig.java28 int getImportance(String packageName, int uid); method in interface:RankingConfig
H A DRankingHelper.java506 && record.getImportance() > NotificationManager.IMPORTANCE_MIN
528 public int getImportance(String packageName, int uid) { method in class:RankingHelper
639 channel.getImportance() < existing.getImportance()) {
640 existing.setImportance(channel.getImportance());
657 if (channel.getImportance() < IMPORTANCE_NONE
658 || channel.getImportance() > NotificationManager.IMPORTANCE_MAX) {
717 r.importance = updatedChannel.getImportance();
959 if (!nc.isDeleted() && IMPORTANCE_NONE == nc.getImportance()) {
1030 boolean wasEnabled = getImportance(packageNam
[all...]
H A DNotificationRecord.java315 int importance = getChannel().getImportance();
404 proto.write(NotificationRecordProto.IMPORTANCE, getImportance());
716 public int getImportance() { method in class:NotificationRecord
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationListenerServiceTest.java86 assertEquals(getImportance(i), ranking.getImportance());
119 importance[i] = getImportance(i);
151 private int getImportance(int index) { method in class:NotificationListenerServiceTest
160 return new NotificationChannel(key, key, getImportance(index));
/frameworks/base/core/java/android/service/notification/
H A DNotificationRankingUpdate.java127 public int[] getImportance() { method in class:NotificationRankingUpdate
H A DNotificationListenerService.java1494 public @NotificationManager.Importance int getImportance() { method in class:NotificationListenerService.Ranking
1677 getImportance(key), getImportanceExplanation(key), getOverrideGroupKey(key),
1728 private int getImportance(String key) { method in class:NotificationListenerService.RankingMap
1854 int[] importance = mRankingUpdate.getImportance();
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationManagerCompat.java250 public int getImportance() { method in class:NotificationManagerCompat
252 return mNotificationManager.getImportance();
/frameworks/base/core/java/android/app/
H A DNotificationChannel.java367 * audio attributes. Notification channels with an {@link #getImportance() importance} of at
488 public int getImportance() { method in class:NotificationChannel
709 if (getImportance() != DEFAULT_IMPORTANCE) {
711 null, ATT_IMPORTANCE, Integer.toString(getImportance()));
774 if (getImportance() != DEFAULT_IMPORTANCE) {
776 NotificationListenerService.Ranking.importanceToString(getImportance()));
893 if (getImportance() != that.getImportance()) return false;
928 result = 31 * result + getImportance();
H A DNotificationManager.java110 * (when {@link NotificationChannel#getImportance()} is {@link #IMPORTANCE_NONE}) or unblocked
111 * (when {@link NotificationChannel#getImportance()} is anything other than
837 public @Importance int getImportance() { method in class:NotificationManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java376 aImportance = mRankingA.getImportance();
377 bImportance = mRankingB.getImportance();
582 public int getImportance(String key) { method in class:NotificationData
585 return mTmpRanking.getImportance();
800 mTmpRanking.getImportance());

Completed in 407 milliseconds