Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorListView.kt21 import android.app.NotificationManager.IMPORTANCE_NONE in <lambda>()
156 controller.proposeEditForChannel(it, if (b) it.importance else IMPORTANCE_NONE) in onFinishInflate()
176 switch.isChecked = nc.importance != IMPORTANCE_NONE in updateViews()
DChannelEditorDialogController.kt24 import android.app.NotificationManager.IMPORTANCE_NONE in <lambda>()
150 || channel.importance == IMPORTANCE_NONE in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt23 import android.app.NotificationManager.IMPORTANCE_NONE
132 controller.proposeEditForChannel(channel1, IMPORTANCE_NONE) in testApply_demoteChannel()
137 IMPORTANCE_NONE, channel1.importance) in testApply_demoteChannel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DChannelsTest.java85 legacyChannel.setImportance(NotificationManager.IMPORTANCE_NONE);; in testInheritFromLegacy_keepsUserLockedLegacySettings()
93 assertEquals(NotificationManager.IMPORTANCE_NONE, newChannel.getImportance()); in testInheritFromLegacy_keepsUserLockedLegacySettings()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java19 import static android.app.NotificationManager.IMPORTANCE_NONE;
695 if (channel.getImportance() < IMPORTANCE_NONE in createNotificationChannel()
770 && updatedChannel.getImportance() == IMPORTANCE_NONE) { in updateNotificationChannel()
1093 if (r != null && r.importance != IMPORTANCE_NONE) { in getNotificationChannelsBypassingDnd()
1151 if (!nc.isDeleted() && IMPORTANCE_NONE == nc.getImportance()) { in getBlockedChannelCount()
1166 && r.importance == IMPORTANCE_NONE) { in getBlockedAppCount()
1186 if (userId != UserHandle.getUserId(r.uid) || r.importance == IMPORTANCE_NONE) { in getAppsBypassingDndCount()
1224 if (userId != UserHandle.getUserId(r.uid) || r.importance == IMPORTANCE_NONE) { in updateChannelsBypassingDnd()
1253 if (channel.isDeleted() || channel.getImportance() == IMPORTANCE_NONE) { in channelIsLiveLocked()
1285 boolean wasEnabled = getImportance(packageName, uid) != IMPORTANCE_NONE; in setEnabled()
[all …]
DNotificationManagerService.java33 import static android.app.NotificationManager.IMPORTANCE_NONE;
1948 if (channel.getImportance() == NotificationManager.IMPORTANCE_NONE) {
1984 if ((preUpdate.getImportance() == IMPORTANCE_NONE
1985 && update.getImportance() != IMPORTANCE_NONE)
1986 || (preUpdate.getImportance() != IMPORTANCE_NONE
1987 && update.getImportance() == IMPORTANCE_NONE)) {
1993 update.getImportance() == IMPORTANCE_NONE)
2491 return mPreferencesHelper.getImportance(pkg, uid) != IMPORTANCE_NONE;
4018 == IMPORTANCE_NONE) {
4722 == NotificationManager.IMPORTANCE_NONE;
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java22 import static android.app.NotificationManager.IMPORTANCE_NONE;
409 mHelper.setImportance(PKG_O, UID_O, IMPORTANCE_NONE); in testChannelXmlForBackup()
421 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(PKG_O, UID_O)); in testChannelXmlForBackup()
717 mHelper.setImportance(PKG_N_MR1, UID_N_MR1, IMPORTANCE_NONE); in testCreateChannel_blocked()
727 new NotificationChannel("bananas", "bananas", IMPORTANCE_NONE - 1), in testCreateChannel_badImportance()
750 new NotificationChannel("bananas", "bananas", IMPORTANCE_NONE), true, false)); in testCreateChannel_badImportance()
798 defaultChannel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_updatesAppFields()
810 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_updatesAppFields()
825 channel.setImportance(IMPORTANCE_NONE); in testUpdate_postUpgrade_noUpdateAppFields()
852 channel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels()
[all …]
DNotificationManagerServiceTest.java30 import static android.app.NotificationManager.IMPORTANCE_NONE;
671 NotificationManager.IMPORTANCE_NONE); in testBlockedNotifications_blockedChannel()
691 NotificationManager.IMPORTANCE_NONE); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
718 new NotificationChannel("blockedbyuser", "name", IMPORTANCE_NONE); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
721 assertEquals(IMPORTANCE_NONE, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
739 update = new NotificationChannel("blockedbyuser", "name", IMPORTANCE_NONE); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
743 assertEquals(IMPORTANCE_NONE, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
754 assertEquals(IMPORTANCE_NONE, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
884 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testBlockedNotifications_blockedByAssistant()
1558 mTestNotificationChannel.getName(), IMPORTANCE_NONE); in testUpdateChannelNotifyCreatorBlock()
[all …]
/frameworks/base/core/java/android/app/
DNotificationManager.java262 IMPORTANCE_UNSPECIFIED, IMPORTANCE_NONE,
346 public static final int IMPORTANCE_NONE = 0; field in NotificationManager
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1837 case NotificationManager.IMPORTANCE_NONE:
/frameworks/base/api/
Dcurrent.txt5857 field public static final int IMPORTANCE_NONE = 0; // 0x0