Home
last modified time | relevance | path

Searched refs:IMPORTANCE_NONE (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationInfo.java19 import static android.app.NotificationManager.IMPORTANCE_NONE;
303 return IMPORTANCE_NONE; in getSelectedImportance()
313 mStartingUserImportance != IMPORTANCE_NONE); in bindButtons()
344 getSelectedImportance() == IMPORTANCE_NONE; in updateSecondaryText()
358 if (settingsIntent != null && getSelectedImportance() != IMPORTANCE_NONE in updateAppSettingsLink()
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DRankingHelperTest.java22 import static android.app.NotificationManager.IMPORTANCE_NONE;
412 mHelper.setImportance(UPDATED_PKG, UID2, IMPORTANCE_NONE); in testChannelXmlForBackup()
423 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(UPDATED_PKG, UID2)); in testChannelXmlForBackup()
709 mHelper.setImportance(PKG, UID, IMPORTANCE_NONE); in testCreateChannel_blocked()
719 new NotificationChannel("bananas", "bananas", IMPORTANCE_NONE - 1), true); in testCreateChannel_badImportance()
739 new NotificationChannel("bananas", "bananas", IMPORTANCE_NONE), true); in testCreateChannel_badImportance()
785 defaultChannel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_updatesAppFields()
795 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(PKG, UID)); in testUpdate_preUpgrade_updatesAppFields()
809 channel.setImportance(IMPORTANCE_NONE); in testUpdate_postUpgrade_noUpdateAppFields()
DNotificationManagerServiceTest.java21 import static android.app.NotificationManager.IMPORTANCE_NONE;
435 NotificationManager.IMPORTANCE_NONE); in testBlockedNotifications_blockedChannel()
455 NotificationManager.IMPORTANCE_NONE); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
482 new NotificationChannel("blockedbyuser", "name", IMPORTANCE_NONE); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
485 assertEquals(IMPORTANCE_NONE, in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
495 assertEquals(IMPORTANCE_NONE, in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
/frameworks/base/core/java/android/app/
DNotificationManager.java183 IMPORTANCE_UNSPECIFIED, IMPORTANCE_NONE,
204 public static final int IMPORTANCE_NONE = 0; field in NotificationManager
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java574 if (channel.getImportance() < NotificationManager.IMPORTANCE_NONE in createNotificationChannel()
834 boolean wasEnabled = getImportance(packageName, uid) != NotificationManager.IMPORTANCE_NONE; in setEnabled()
839 enabled ? DEFAULT_IMPORTANCE : NotificationManager.IMPORTANCE_NONE); in setEnabled()
1021 if (r.importance == NotificationManager.IMPORTANCE_NONE) { in getPackageBans()
DNotificationManagerService.java21 import static android.app.NotificationManager.IMPORTANCE_NONE;
1483 if (channel.getImportance() == NotificationManager.IMPORTANCE_NONE) {
1781 return mRankingHelper.getImportance(pkg, uid) != IMPORTANCE_NONE;
3525 && (r.getImportance() == IMPORTANCE_MIN || r.getImportance() == IMPORTANCE_NONE)) {
3706 mRankingHelper.getImportance(pkg, callingUid) == NotificationManager.IMPORTANCE_NONE
3707 || r.getChannel().getImportance() == NotificationManager.IMPORTANCE_NONE;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInfoTest.java516 mNotificationChannel.setImportance(NotificationManager.IMPORTANCE_NONE); in testbindNotification_ChannelDisabledTextVisibleWhenDisabled()
547 mDefaultNotificationChannel.setImportance(NotificationManager.IMPORTANCE_NONE); in testBindNotification_ChannelDisabledTextShowsForDefaultChannel()
622 mNotificationChannel.setImportance(NotificationManager.IMPORTANCE_NONE); in testEnabledButtonOffWhenAlreadyBanned()
/frameworks/support/compat/java/android/support/v4/app/
DNotificationManagerCompat.java117 public static final int IMPORTANCE_NONE = 0; field in NotificationManagerCompat
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1497 case NotificationManager.IMPORTANCE_NONE:
/frameworks/support/compat/api/
Dcurrent.txt488 field public static final int IMPORTANCE_NONE = 0; // 0x0
D26.0.0.txt494 field public static final int IMPORTANCE_NONE = 0; // 0x0
/frameworks/support/api/
D24.2.0.txt4460 field public static final int IMPORTANCE_NONE = 0; // 0x0
D25.0.0.txt4515 field public static final int IMPORTANCE_NONE = 0; // 0x0
D25.2.0.txt4897 field public static final int IMPORTANCE_NONE = 0; // 0x0
D25.1.0.txt4897 field public static final int IMPORTANCE_NONE = 0; // 0x0
D25.3.0.txt5278 field public static final int IMPORTANCE_NONE = 0; // 0x0
D25.4.0.txt5329 field public static final int IMPORTANCE_NONE = 0; // 0x0
D26.0.0-alpha1.txt5715 field public static final int IMPORTANCE_NONE = 0; // 0x0
D24.1.0.txt4308 field public static final int IMPORTANCE_NONE = 0; // 0x0
D26.1.0.txt6684 field public static final int IMPORTANCE_NONE = 0; // 0x0
D24.0.0.txt4306 field public static final int IMPORTANCE_NONE = 0; // 0x0
D26.0.0-beta1.txt6574 field public static final int IMPORTANCE_NONE = 0; // 0x0
D26.0.0-beta2.txt6689 field public static final int IMPORTANCE_NONE = 0; // 0x0
/frameworks/base/api/
Dcurrent.txt5624 field public static final int IMPORTANCE_NONE = 0; // 0x0
Dtest-current.txt5638 field public static final int IMPORTANCE_NONE = 0; // 0x0

12