Searched refs:IMPORTANCE_NONE (Results 1 – 11 of 11) sorted by relevance
21 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()
24 import android.app.NotificationManager.IMPORTANCE_NONE in <lambda>()150 || channel.importance == IMPORTANCE_NONE in <lambda>()
23 import android.app.NotificationManager.IMPORTANCE_NONE132 controller.proposeEditForChannel(channel1, IMPORTANCE_NONE) in testApply_demoteChannel()137 IMPORTANCE_NONE, channel1.importance) in testApply_demoteChannel()
85 legacyChannel.setImportance(NotificationManager.IMPORTANCE_NONE);; in testInheritFromLegacy_keepsUserLockedLegacySettings()93 assertEquals(NotificationManager.IMPORTANCE_NONE, newChannel.getImportance()); in testInheritFromLegacy_keepsUserLockedLegacySettings()
19 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 …]
33 import static android.app.NotificationManager.IMPORTANCE_NONE;1948 if (channel.getImportance() == NotificationManager.IMPORTANCE_NONE) {1984 if ((preUpdate.getImportance() == IMPORTANCE_NONE1985 && update.getImportance() != IMPORTANCE_NONE)1986 || (preUpdate.getImportance() != IMPORTANCE_NONE1987 && 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 …]
22 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 …]
30 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 …]
262 IMPORTANCE_UNSPECIFIED, IMPORTANCE_NONE,346 public static final int IMPORTANCE_NONE = 0; field in NotificationManager
1837 case NotificationManager.IMPORTANCE_NONE:
5857 field public static final int IMPORTANCE_NONE = 0; // 0x0