Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt23 import android.app.NotificationManager.IMPORTANCE_NONE
139 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorListView.kt23 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()
DChannelEditorDialogController.kt24 import android.app.NotificationManager.IMPORTANCE_NONE in <lambda>()
163 channel.importance == IMPORTANCE_NONE || in <lambda>()
/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/proto_logging/stats/enums/stats/sysui/
Dnotification_enums.proto24 IMPORTANCE_NONE = 0; // No importance: does not show in the shade. enumerator
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java24 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 …]
DNotificationManagerService.java41 import static android.app.NotificationManager.IMPORTANCE_NONE;
2751 if (channel.getImportance() == NotificationManager.IMPORTANCE_NONE) {
2787 if ((preUpdate.getImportance() == IMPORTANCE_NONE
2788 && update.getImportance() != IMPORTANCE_NONE)
2789 || (preUpdate.getImportance() != IMPORTANCE_NONE
2790 && 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 …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java30 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 …]
DNotificationManagerServiceTest.java33 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 …]
/frameworks/base/core/java/android/app/
DNotificationManager.java416 IMPORTANCE_UNSPECIFIED, IMPORTANCE_NONE,
508 public static final int IMPORTANCE_NONE = 0; field in NotificationManager
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java2112 case NotificationManager.IMPORTANCE_NONE: in importanceToString()
/frameworks/base/core/api/
Dcurrent.txt6285 field public static final int IMPORTANCE_NONE = 0; // 0x0