Home
last modified time | relevance | path

Searched refs:IMPORTANCE_HIGH (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
176 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUpAwake()
280 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp()
307 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_filtered()
319 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_suppressPeek()
345 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_deviceNotInUse()
364 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_headsUpSuppressed()
375 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUpAwake_awakeInterruptsSuppressed()
433 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in shouldNotBubbleUp_notABubble()
448 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in shouldNotBubbleUp_invalidMetadata()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationRankingManagerTest.kt22 import android.app.NotificationManager.IMPORTANCE_HIGH in <lambda>()
109 .setImportance(IMPORTANCE_HIGH) // high priority in <lambda>()
135 .setImportance(IMPORTANCE_HIGH) in <lambda>()
150 .setImportance(IMPORTANCE_HIGH) in <lambda>()
172 .setImportance(IMPORTANCE_HIGH) in <lambda>()
189 .setImportance(IMPORTANCE_HIGH) in <lambda>()
215 .setImportance(IMPORTANCE_HIGH) in <lambda>()
231 .setImportance(IMPORTANCE_HIGH) in <lambda>()
260 .setImportance(IMPORTANCE_HIGH) in <lambda>()
276 .setImportance(IMPORTANCE_HIGH) in <lambda>()
[all …]
DHighPriorityProviderTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
72 .setImportance(IMPORTANCE_HIGH) in highImportance()
186 .setImportance(IMPORTANCE_HIGH) in testIsHighPriority_summaryUpdated()
231 .setImportance(IMPORTANCE_HIGH) in testIsHighPriority_childEntryRankingUpdated()
240 .setImportance(highPriority ? IMPORTANCE_HIGH : IMPORTANCE_MIN) in createNotifEntry()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationChannelExtractorTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
68 new NotificationChannel("a", "", IMPORTANCE_HIGH); in testExtractsUpdatedChannel()
95 new NotificationChannel("a", "", IMPORTANCE_HIGH); in testInvalidShortcutFlagEnabled_looksUpCorrectChannel()
123 new NotificationChannel("a", "", IMPORTANCE_HIGH); in testInvalidShortcutFlagDisabled_looksUpCorrectChannel()
DNotificationComparatorTest.java148 mRecordHighCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
160 mRecordHighCallStyle.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
168 mRecordInlineReply.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
198 mRecordUrgent.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
216 mRecordEmail.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
244 mRecordColorized.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
254 mRecordColorizedCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
DPreferencesHelperTest.java27 import static android.app.NotificationManager.IMPORTANCE_HIGH;
392 NotificationChannel channel0 = createNotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser()
399 IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser()
424 NotificationChannel channel0 = createNotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testReadXml_onlyRestoresTargetUser()
451 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml()
517 createNotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXmlForBackup()
527 NotificationChannel channel3 = createNotificationChannel("id3", "NAM3", IMPORTANCE_HIGH); in testChannelXmlForBackup()
706 createNotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml_backup()
708 createNotificationChannel("id2", "name2", IMPORTANCE_HIGH); in testChannelXml_backup()
779 + "\" importance=\"" + NotificationManager.IMPORTANCE_HIGH in testChannelXml_upgradeCreateDefaultChannel()
[all …]
DImportanceExtractorTest.java107 new NotificationChannel("a", "a", NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference()
113 assertEquals(r.getImportance(), NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference()
DBuzzBeepBlinkTest.java22 import static android.app.NotificationManager.IMPORTANCE_HIGH;
186 mChannel = new NotificationChannel("test", "test", IMPORTANCE_HIGH); in setUp()
619 r.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in testNoBeepForAutomotiveIfEffectsDisabled()
647 r.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in testBeepForImportanceHighInAutomotiveIfEffectsEnabled()
1197 NotificationChannel channel = new NotificationChannel("test", "test", IMPORTANCE_HIGH); in testEmptyUriSoundTreatedAsNoSound()
1260 new NotificationChannel("test", "test", IMPORTANCE_HIGH)); in testCrossUserSoundMuted()
1466 new NotificationChannel("test", "test", IMPORTANCE_HIGH)); in testLightsCheckCurrentUser()
1477 new NotificationChannel("ringtone", "", IMPORTANCE_HIGH); in testListenerHintCall()
1514 new NotificationChannel("ringtone", "", IMPORTANCE_HIGH); in testListenerHintBoth()
1532 new NotificationChannel("ringtone", "", IMPORTANCE_HIGH); in testListenerHintNotification_callSound()
[all …]
DBadgeExtractorTest.java18 import static android.app.NotificationManager.IMPORTANCE_HIGH;
167 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppNoChannelYes()
209 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppYesChannelYesUserNo()
DNotificationRecordTest.java20 import static android.app.NotificationManager.IMPORTANCE_HIGH;
381 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_preUpgrade()
405 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_locked_unspecified_preUpgrade()
578 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceSystem()
584 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceSystem()
630 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceMulti()
636 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceMulti()
903 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_systemImportance()
921 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportance()
942 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportanceChannelUpdate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfoTest.java22 import static android.app.NotificationManager.IMPORTANCE_HIGH;
539 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_defaultSelected_notFave_notSilent()
571 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_default_allCanBubble()
609 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityDnd()
638 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityBaseline()
674 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityDndAndBubble()
875 mConversationChannel.setOriginalImportance(IMPORTANCE_HIGH); in testFavorite_andSave_doesNotLowerImportance()
906 assertEquals(IMPORTANCE_HIGH, captor.getValue().getImportance()); in testFavorite_andSave_doesNotLowerImportance()
911 mConversationChannel.setOriginalImportance(IMPORTANCE_HIGH); in testFavorite_thenDefaultThenFavorite_andSave_nothingChanged()
912 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testFavorite_thenDefaultThenFavorite_andSave_nothingChanged()
[all …]
DNotificationTestHelper.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
248 0 /* extraInflationFlags */, IMPORTANCE_HIGH); in createBubble()
265 0 /* extraInflationFlags */, IMPORTANCE_HIGH); in createBubbleInGroup()
304 IMPORTANCE_HIGH); in createBubble()
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java107 NotificationManager.IMPORTANCE_HIGH); in createAll()
127 NotificationManager.IMPORTANCE_HIGH); in createAll()
147 NotificationManager.IMPORTANCE_HIGH); in createAll()
199 NotificationManager.IMPORTANCE_HIGH); in createAll()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DChannelsTest.java106 assertEquals(NotificationManager.IMPORTANCE_HIGH, newChannel.getImportance()); in testInheritFromLegacy_dropsUnlockedLegacySettings()
115 assertEquals(NotificationManager.IMPORTANCE_HIGH, newChannel.getImportance()); in testInheritFromLegacy_noLegacyExists()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinatorTest.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
197 .setImportance(IMPORTANCE_HIGH) in summaryExceedsThresholdToShow()
249 .setImportance(IMPORTANCE_HIGH) in setupUnfilteredState()
DAppOpsCoordinatorTest.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
147 .setImportance(IMPORTANCE_HIGH) in testDiscludeNonFGSInSection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java62 NotificationManager.IMPORTANCE_HIGH); in createAll()
118 name, NotificationManager.IMPORTANCE_HIGH); // pop on screen in createScreenshotChannel()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationChannelLogger.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
244 if (channel.getConversationId() == null || importance < IMPORTANCE_HIGH) { in getLoggingImportance()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java99 NotificationManager.IMPORTANCE_HIGH), in createAll()
105 NotificationManager.IMPORTANCE_HIGH), in createAll()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DAssistantFeedbackControllerTest.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
109 NotificationEntry entry = getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_HIGH, RANKING_UNCHANGED); in testFeedback_changedImportance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationRankingManager.kt20 import android.app.NotificationManager.IMPORTANCE_HIGH in <lambda>()
217 importance >= IMPORTANCE_HIGH && sbn.isSystemNotification() in isSystemMax()
/frameworks/proto_logging/stats/enums/stats/sysui/
Dnotification_enums.proto28 IMPORTANCE_HIGH = 4; // Shows everywhere, makes noise, heads-up, may full-screen. enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
DVpnStatusObserver.kt95 NotificationManager.IMPORTANCE_HIGH in <lambda>()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricNotificationUtils.java113 NotificationManager.IMPORTANCE_HIGH); in showNotificationHelper()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
615 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_nonSuppressedGroupSummary()
639 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_suppressedGroupSummary()
659 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_suppressedHeadsUp()
680 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_noSuppressedHeadsUp()

12