Home
last modified time | relevance | path

Searched refs:IMPORTANCE_NONE (Results 1 – 12 of 12) 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>()
151 || 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;
711 if (channel.getImportance() < IMPORTANCE_NONE in createNotificationChannel()
786 && updatedChannel.getImportance() == IMPORTANCE_NONE) { in updateNotificationChannel()
1109 if (r != null && r.importance != IMPORTANCE_NONE) { in getNotificationChannelsBypassingDnd()
1167 if (!nc.isDeleted() && IMPORTANCE_NONE == nc.getImportance()) { in getBlockedChannelCount()
1182 && r.importance == IMPORTANCE_NONE) { in getBlockedAppCount()
1202 if (userId != UserHandle.getUserId(r.uid) || r.importance == IMPORTANCE_NONE) { in getAppsBypassingDndCount()
1240 if (userId != UserHandle.getUserId(r.uid) || r.importance == IMPORTANCE_NONE) { in updateChannelsBypassingDnd()
1269 if (channel.isDeleted() || channel.getImportance() == IMPORTANCE_NONE) { in channelIsLiveLocked()
1301 boolean wasEnabled = getImportance(packageName, uid) != IMPORTANCE_NONE; in setEnabled()
[all …]
DNotificationManagerService.java33 import static android.app.NotificationManager.IMPORTANCE_NONE;
2007 if (channel.getImportance() == NotificationManager.IMPORTANCE_NONE) {
2043 if ((preUpdate.getImportance() == IMPORTANCE_NONE
2044 && update.getImportance() != IMPORTANCE_NONE)
2045 || (preUpdate.getImportance() != IMPORTANCE_NONE
2046 && update.getImportance() == IMPORTANCE_NONE)) {
2052 update.getImportance() == IMPORTANCE_NONE)
2493 != NotificationManager.IMPORTANCE_NONE;
2566 return mPreferencesHelper.getImportance(pkg, uid) != IMPORTANCE_NONE;
4095 == IMPORTANCE_NONE) {
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java22 import static android.app.NotificationManager.IMPORTANCE_NONE;
412 mHelper.setImportance(PKG_O, UID_O, IMPORTANCE_NONE); in testChannelXmlForBackup()
424 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(PKG_O, UID_O)); in testChannelXmlForBackup()
720 mHelper.setImportance(PKG_N_MR1, UID_N_MR1, IMPORTANCE_NONE); in testCreateChannel_blocked()
730 new NotificationChannel("bananas", "bananas", IMPORTANCE_NONE - 1), in testCreateChannel_badImportance()
753 new NotificationChannel("bananas", "bananas", IMPORTANCE_NONE), true, false)); in testCreateChannel_badImportance()
801 defaultChannel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_updatesAppFields()
813 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(PKG_N_MR1, UID_N_MR1)); in testUpdate_preUpgrade_updatesAppFields()
828 channel.setImportance(IMPORTANCE_NONE); in testUpdate_postUpgrade_noUpdateAppFields()
855 channel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels()
[all …]
DNotificationManagerServiceTest.java31 import static android.app.NotificationManager.IMPORTANCE_NONE;
727 NotificationManager.IMPORTANCE_NONE); in testBlockedNotifications_blockedChannel()
747 NotificationManager.IMPORTANCE_NONE); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
774 new NotificationChannel("blockedbyuser", "name", IMPORTANCE_NONE); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
777 assertEquals(IMPORTANCE_NONE, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
795 update = new NotificationChannel("blockedbyuser", "name", IMPORTANCE_NONE); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
799 assertEquals(IMPORTANCE_NONE, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
810 assertEquals(IMPORTANCE_NONE, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
940 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testBlockedNotifications_blockedByAssistant()
1622 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.java1848 case NotificationManager.IMPORTANCE_NONE:
/frameworks/base/non-updatable-api/
Dcurrent.txt5860 field public static final int IMPORTANCE_NONE = 0; // 0x0
/frameworks/base/api/
Dcurrent.txt5860 field public static final int IMPORTANCE_NONE = 0; // 0x0