Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DHeaderPreferenceControllerTest.java19 import static android.app.NotificationManager.IMPORTANCE_NONE;
112 NotificationChannel channel = new NotificationChannel("cid", "cname", IMPORTANCE_NONE); in testGetLabel()
117 NotificationChannel.DEFAULT_CHANNEL_ID, "", IMPORTANCE_NONE); in testGetLabel()
133 NotificationChannel channel = new NotificationChannel("cid", "cname", IMPORTANCE_NONE); in testGetSummary()
143 NotificationChannel.DEFAULT_CHANNEL_ID, "", IMPORTANCE_NONE); in testGetSummary()
DBlockPreferenceControllerTest.java23 import static android.app.NotificationManager.IMPORTANCE_NONE;
154 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_systemApp()
302 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_NONE); in testUpdateState_channelBlocked()
353 assertEquals(IMPORTANCE_NONE, channel.getImportance()); in testOnSwitchChanged_channel_default()
374 assertEquals(IMPORTANCE_NONE, channel.getImportance()); in testOnSwitchChanged_channel_nonDefault()
DNotificationsOffPreferenceControllerTest.java19 import static android.app.NotificationManager.IMPORTANCE_NONE;
90 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_yesIfChannelBlocked()
99 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testUpdateState_channel()
DAppLinkPreferenceControllerTest.java21 import static android.app.NotificationManager.IMPORTANCE_NONE;
92 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_notIfChannelBlocked()
DDescriptionPreferenceControllerTest.java20 import static android.app.NotificationManager.IMPORTANCE_NONE;
91 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_notIfChannelBlocked()
DNotificationPreferenceControllerTest.java23 import static android.app.NotificationManager.IMPORTANCE_NONE;
111 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in isAvailable_notIfChannelBlocked()
273 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsChannelBlockable_canUndoSystemBlock()
DMinImportancePreferenceControllerTest.java22 import static android.app.NotificationManager.IMPORTANCE_NONE;
106 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_notIfChannelBlocked()
DHighImportancePreferenceControllerTest.java22 import static android.app.NotificationManager.IMPORTANCE_NONE;
106 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_notIfChannelBlocked()
DImportancePreferenceControllerTest.java23 import static android.app.NotificationManager.IMPORTANCE_NONE;
123 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_ifChannelBlocked()
DBadgePreferenceControllerTest.java22 import static android.app.NotificationManager.IMPORTANCE_NONE;
103 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_notIfChannelBlocked()
DBubblePreferenceControllerTest.java22 import static android.app.NotificationManager.IMPORTANCE_NONE;
118 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_notIfChannelBlocked()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationPreferenceController.java19 import static android.app.NotificationManager.IMPORTANCE_NONE;
82 return mChannel.getImportance() != IMPORTANCE_NONE; in isAvailable()
119 return mChannel.getImportance() == IMPORTANCE_NONE; in isChannelBlockable()
123 || mChannel.getImportance() == IMPORTANCE_NONE; in isChannelBlockable()
DBlockPreferenceController.java20 import static android.app.NotificationManager.IMPORTANCE_NONE;
90 && mChannel.getImportance() != NotificationManager.IMPORTANCE_NONE); in updateState()
107 if (blocked || originalImportance == IMPORTANCE_NONE) { in onSwitchChanged()
108 final int importance = blocked ? IMPORTANCE_NONE in onSwitchChanged()
DNotificationSettingsBase.java20 import static android.app.NotificationManager.IMPORTANCE_NONE;
305 channelPref.setChecked(channel.getImportance() != IMPORTANCE_NONE); in populateSingleChannelPrefs()
321 int importance = value ? IMPORTANCE_LOW : IMPORTANCE_NONE; in populateSingleChannelPrefs()
331 importance != IMPORTANCE_NONE); in populateSingleChannelPrefs() local
382 || channel.getImportance() == NotificationManager.IMPORTANCE_NONE; in isChannelBlockable()
475 hideDynamicFields = mChannel.getImportance() == IMPORTANCE_NONE; in onImportanceChanged()
DNotificationBackend.java18 import static android.app.NotificationManager.IMPORTANCE_NONE;
157 defaultChannel.setImportance(enabled ? IMPORTANCE_UNSPECIFIED : IMPORTANCE_NONE); in setNotificationsEnabledForPackage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationPreferenceController.java19 import static android.app.NotificationManager.IMPORTANCE_NONE;
80 return mChannel.getImportance() != IMPORTANCE_NONE; in isAvailable()
126 return mChannel.getImportance() == IMPORTANCE_NONE; in isChannelBlockable()
135 || mChannel.getImportance() == IMPORTANCE_NONE; in isChannelBlockable()
DBlockPreferenceController.java20 import static android.app.NotificationManager.IMPORTANCE_NONE;
83 && mChannel.getImportance() != NotificationManager.IMPORTANCE_NONE); in updateState()
100 if (blocked || originalImportance == IMPORTANCE_NONE) { in onSwitchChanged()
101 final int importance = blocked ? IMPORTANCE_NONE in onSwitchChanged()
DImportancePreference.java23 import static android.app.NotificationManager.IMPORTANCE_NONE;
98 if (mImportance == IMPORTANCE_NONE) { in onBindViewHolder()
112 case IMPORTANCE_NONE: in onBindViewHolder()
138 callChangeListener(IMPORTANCE_NONE); in onBindViewHolder()
DNotificationSettingsBase.java20 import static android.app.NotificationManager.IMPORTANCE_NONE;
284 channelPref.setChecked(channel.getImportance() != IMPORTANCE_NONE); in populateSingleChannelPrefs()
303 int importance = value ? IMPORTANCE_LOW : IMPORTANCE_NONE; in populateSingleChannelPrefs()
332 || channel.getImportance() == NotificationManager.IMPORTANCE_NONE; in isChannelBlockable()
425 hideDynamicFields = mChannel.getImportance() == IMPORTANCE_NONE; in onImportanceChanged()
DNotificationBackend.java18 import static android.app.NotificationManager.IMPORTANCE_NONE;
149 defaultChannel.setImportance(enabled ? IMPORTANCE_UNSPECIFIED : IMPORTANCE_NONE); in setNotificationsEnabledForPackage()
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/
DChannelNotificationSettingsTest.java20 import static android.app.NotificationManager.IMPORTANCE_NONE;
90 new NotificationChannel("blocked", "blocked", IMPORTANCE_NONE); in launchNotificationSettings_blockedChannel()
95 blocked.setImportance(IMPORTANCE_NONE); in launchNotificationSettings_blockedChannel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DNotificationChannelSlice.java20 import static android.app.NotificationManager.IMPORTANCE_NONE;
201 final int importance = newState ? IMPORTANCE_LOW : IMPORTANCE_NONE; in onNotifyChange()
286 null /* actionTitle */, channel.getImportance() != IMPORTANCE_NONE))); in getNotificationChannelRows()
409 if (channel.getImportance() != IMPORTANCE_NONE) { in isAllChannelsBlocked()
469 || channel.getImportance() == IMPORTANCE_NONE; in isChannelBlockable()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DNotificationChannelSlice.java20 import static android.app.NotificationManager.IMPORTANCE_NONE;
202 final int importance = newState ? IMPORTANCE_LOW : IMPORTANCE_NONE; in onNotifyChange()
297 null /* actionTitle */, channel.getImportance() != IMPORTANCE_NONE))); in getNotificationChannelRows()
416 if (channel.getImportance() != IMPORTANCE_NONE) { in isAllChannelsBlocked()
476 || channel.getImportance() == IMPORTANCE_NONE; in isChannelBlockable()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DNotificationsPreferenceController.java19 import static android.app.NotificationManager.IMPORTANCE_NONE;
86 defaultChannel.setImportance(enabled ? IMPORTANCE_UNSPECIFIED : IMPORTANCE_NONE); in handlePreferenceChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DNotificationChannelSliceTest.java20 import static android.app.NotificationManager.IMPORTANCE_NONE;
372 isChannelBlock ? IMPORTANCE_NONE : IMPORTANCE_LOW)); in buildNotificationChannel()

12