Searched refs:IMPORTANCE_NONE (Results 1 – 12 of 12) sorted by relevance
23 import android.app.NotificationManager.IMPORTANCE_NONE139 controller.proposeEditForChannel(channel1, IMPORTANCE_NONE) in testApply_demoteChannel()144 IMPORTANCE_NONE, channel1.importance) in testApply_demoteChannel()203 controller.proposeEditForChannel(channel1, IMPORTANCE_NONE) in testDoneButtonSaysDone_noChanges()220 controller.proposeEditForChannel(channel1, IMPORTANCE_NONE) in testDoneButtonGoesBackToNormal_changeThenNoChange()
23 import android.app.NotificationManager.IMPORTANCE_NONE in <lambda>()182 controller.proposeEditForChannel(it, if (b) it.importance else IMPORTANCE_NONE) in onFinishInflate()219 switch.isChecked = nc.importance != IMPORTANCE_NONE in updateViews()
24 import android.app.NotificationManager.IMPORTANCE_NONE in <lambda>()163 channel.importance == IMPORTANCE_NONE || in <lambda>()
85 legacyChannel.setImportance(NotificationManager.IMPORTANCE_NONE);; in testInheritFromLegacy_keepsUserLockedLegacySettings()93 assertEquals(NotificationManager.IMPORTANCE_NONE, newChannel.getImportance()); in testInheritFromLegacy_keepsUserLockedLegacySettings()
24 IMPORTANCE_NONE = 0; // No importance: does not show in the shade. enumerator
24 import static android.app.NotificationManager.IMPORTANCE_NONE;925 if (channel.getImportance() < IMPORTANCE_NONE in createNotificationChannel()1028 && updatedChannel.getImportance() == IMPORTANCE_NONE) { in updateNotificationChannel()1559 if (r != null && r.importance != IMPORTANCE_NONE) { in getNotificationChannelsBypassingDnd()1617 if (!nc.isDeleted() && IMPORTANCE_NONE == nc.getImportance()) { in getBlockedChannelCount()1632 && r.importance == IMPORTANCE_NONE) { in getBlockedAppCount()1652 if (userId != UserHandle.getUserId(r.uid) || r.importance == IMPORTANCE_NONE) { in getAppsBypassingDndCount()1690 || r.importance == IMPORTANCE_NONE) { in updateChannelsBypassingDnd()1719 if (channel.isDeleted() || channel.getImportance() == IMPORTANCE_NONE) { in channelIsLiveLocked()1752 boolean wasEnabled = getImportance(packageName, uid) != IMPORTANCE_NONE; in setEnabled()[all …]
41 import static android.app.NotificationManager.IMPORTANCE_NONE;2751 if (channel.getImportance() == NotificationManager.IMPORTANCE_NONE) {2787 if ((preUpdate.getImportance() == IMPORTANCE_NONE2788 && update.getImportance() != IMPORTANCE_NONE)2789 || (preUpdate.getImportance() != IMPORTANCE_NONE2790 && update.getImportance() == IMPORTANCE_NONE)) {2796 update.getImportance() == IMPORTANCE_NONE)3415 != NotificationManager.IMPORTANCE_NONE;3490 return mPreferencesHelper.getImportance(pkg, uid) != IMPORTANCE_NONE;5399 == IMPORTANCE_NONE) {[all …]
30 import static android.app.NotificationManager.IMPORTANCE_NONE;542 mHelper.setImportance(PKG_O, UID_O, IMPORTANCE_NONE); in testChannelXmlForBackup()554 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(PKG_O, UID_O)); in testChannelXmlForBackup()857 mHelper.setImportance(PKG_N_MR1, UID_N_MR1, IMPORTANCE_NONE); in testCreateChannel_blocked()867 new NotificationChannel("bananas", "bananas", IMPORTANCE_NONE - 1), in testCreateChannel_badImportance()890 new NotificationChannel("bananas", "bananas", IMPORTANCE_NONE), true, false)); in testCreateChannel_badImportance()938 defaultChannel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_updatesAppFields()950 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_updatesAppFields()965 channel.setImportance(IMPORTANCE_NONE); in testUpdate_postUpgrade_noUpdateAppFields()992 channel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels()[all …]
33 import static android.app.NotificationManager.IMPORTANCE_NONE;1112 NotificationManager.IMPORTANCE_NONE); in testBlockedNotifications_blockedChannel()1133 NotificationManager.IMPORTANCE_NONE); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()1160 new NotificationChannel("blockedbyuser", "name", IMPORTANCE_NONE); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()1163 assertEquals(IMPORTANCE_NONE, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()1181 update = new NotificationChannel("blockedbyuser", "name", IMPORTANCE_NONE); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()1185 assertEquals(IMPORTANCE_NONE, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()1197 assertEquals(IMPORTANCE_NONE, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()1337 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testBlockedNotifications_blockedByAssistant()2243 mTestNotificationChannel.getName(), IMPORTANCE_NONE); in testUpdateChannelNotifyCreatorBlock()[all …]
416 IMPORTANCE_UNSPECIFIED, IMPORTANCE_NONE,508 public static final int IMPORTANCE_NONE = 0; field in NotificationManager
2112 case NotificationManager.IMPORTANCE_NONE: in importanceToString()
6285 field public static final int IMPORTANCE_NONE = 0; // 0x0