Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java24 import static android.app.NotificationManager.IMPORTANCE_HIGH;
219 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUpAwake()
326 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp()
370 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_filtered()
382 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_suppressPeek()
408 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_deviceNotInUse()
427 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUp_headsUpSuppressed()
438 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldNotHeadsUpAwake_awakeInterruptsSuppressed()
473 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_oldWhen_whenNow()
485 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_oldWhen_whenRecent()
[all …]
DVisualInterruptionDecisionProviderImplTest.kt100 importance = NotificationManager.IMPORTANCE_HIGH in testAvalancheFilter_duringAvalanche_allowConversationFromAfterEvent()
140 importance = NotificationManager.IMPORTANCE_HIGH in testAvalancheFilter_duringAvalanche_allowHighPriorityConversation()
158 importance = NotificationManager.IMPORTANCE_HIGH in testAvalancheFilter_duringAvalanche_allowCall()
176 importance = NotificationManager.IMPORTANCE_HIGH in testAvalancheFilter_duringAvalanche_allowCategoryReminder()
194 importance = NotificationManager.IMPORTANCE_HIGH in testAvalancheFilter_duringAvalanche_allowCategoryEvent()
224 importance = NotificationManager.IMPORTANCE_HIGH in testAvalancheFilter_duringAvalanche_allowColorized()
249 importance = NotificationManager.IMPORTANCE_HIGH in testAvalancheFilter_duringAvalanche_allowEmergency()
DKeyguardNotificationVisibilityProviderTest.java22 import static android.app.NotificationManager.IMPORTANCE_HIGH;
469 NotificationChannel channel = new NotificationChannel("1", "1", IMPORTANCE_HIGH); in publicMode_notifDisallowed()
550 .setImportance(IMPORTANCE_HIGH) in notificationChannelVisibilityNoOverride()
568 NotificationChannel channel = new NotificationChannel("id", "name", IMPORTANCE_HIGH); in notificationChannelVisibilitySecret()
627 .setImportance(IMPORTANCE_HIGH) in summaryExceedsThresholdToShow()
682 .setImportance(IMPORTANCE_HIGH) in setupUnfilteredState()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationChannelExtractorTest.java20 import static android.app.NotificationManager.IMPORTANCE_HIGH;
103 new NotificationChannel("a", "", IMPORTANCE_HIGH); in testExtractsUpdatedConversationChannel()
123 new NotificationChannel("a", "", IMPORTANCE_HIGH); in testInvalidShortcutFlagEnabled_looksUpCorrectNonChannel()
144 new NotificationChannel("a", "", IMPORTANCE_HIGH); in testInvalidShortcutFlagDisabled_looksUpCorrectChannel()
156 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_HIGH); in testAudioAttributes_callStyleCanUseCallUsage()
180 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_HIGH); in testAudioAttributes_nonCallStyleCannotUseCallUsage()
201 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_HIGH); in testAudioAttributes_alarmCategoryCanUseAlarmUsage()
221 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_HIGH); in testAudioAttributes_nonAlarmCategoryCannotUseAlarmUsage()
242 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_HIGH); in testAudioAttributes_noMediaUsage()
263 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_HIGH); in testAudioAttributes_noUnknownUsage()
DNotificationComparatorTest.java166 mRecordHighCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
178 mRecordHighCallStyle.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
186 mRecordInlineReply.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
216 mRecordSystemMax.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
222 mRecordUrgent.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
240 mRecordEmail.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
268 mRecordColorized.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
278 mRecordColorizedCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
DPreferencesHelperTest.java38 import static android.app.NotificationManager.IMPORTANCE_HIGH;
518 NotificationChannel channel0 = new NotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser()
525 NotificationChannel channel10 = new NotificationChannel("id10", "name10", IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser()
557 NotificationChannel channel0 = new NotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testReadXml_onlyRestoresTargetUser()
590 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml()
658 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXmlForBackup()
669 NotificationChannel channel3 = new NotificationChannel("id3", "NAM3", IMPORTANCE_HIGH); in testChannelXmlForBackup()
774 NotificationChannel idp = new NotificationChannel("idp", "name3", IMPORTANCE_HIGH); in testReadXml_oldXml_migrates()
836 NotificationChannel idp = new NotificationChannel("idp", "name3", IMPORTANCE_HIGH); in testReadXml_oldXml_backup_migratesWhenPkgInstalled()
905 NotificationChannel idp = new NotificationChannel("idp", "name3", IMPORTANCE_HIGH); in testReadXml_newXml_noMigration_showPermissionNotification()
[all …]
DImportanceExtractorTest.java100 new NotificationChannel("a", "a", NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference()
106 assertEquals(r.getImportance(), NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference()
DNotificationRecordExtractorDataTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
91 signals.putInt(Adjustment.KEY_IMPORTANCE_PROPOSAL, IMPORTANCE_HIGH); in testHasDiffs_proposedImportanceChange()
DNotificationAttentionHelperTest.java23 import static android.app.NotificationManager.IMPORTANCE_HIGH;
242 mChannel = new NotificationChannel("test", "test", IMPORTANCE_HIGH); in setUp()
783 r.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in testNoBeepForAutomotiveIfEffectsDisabled()
811 r.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in testBeepForImportanceHighInAutomotiveIfEffectsEnabled()
1373 NotificationChannel channel = new NotificationChannel("test", "test", IMPORTANCE_HIGH); in testEmptyUriSoundTreatedAsNoSound()
1436 new NotificationChannel("test", "test", IMPORTANCE_HIGH)); in testCrossUserSoundMuted()
1476 new NotificationChannel("test", "test", IMPORTANCE_HIGH)); in testA11yCrossUserEventNotSent()
1698 new NotificationChannel("test", "test", IMPORTANCE_HIGH)); in testLightsCheckCurrentUser()
1709 new NotificationChannel("ringtone", "", IMPORTANCE_HIGH); in testListenerHintCall()
1743 new NotificationChannel("ringtone", "", IMPORTANCE_HIGH); in testListenerHintBoth()
[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()
DNotificationTimeComparatorTest.java20 import static android.app.NotificationManager.IMPORTANCE_HIGH;
DNotificationRecordTest.java20 import static android.app.NotificationManager.IMPORTANCE_HIGH;
519 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_preUpgrade()
543 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_locked_unspecified_preUpgrade()
716 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceSystem()
722 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceSystem()
768 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceMulti()
774 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceMulti()
1126 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_systemImportance()
1144 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportance()
1165 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportanceChannelUpdate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DAssistantFeedbackControllerTest.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
107 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_HIGH, RANKING_PROMOTED))); in testFeedback_flagDisabled()
109 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_HIGH, RANKING_PROMOTED))); in testFeedback_flagDisabled()
124 NotificationEntry entry = getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_HIGH, RANKING_UNCHANGED); in testFeedback_changedImportance()
156 getEntry(IMPORTANCE_DEFAULT, IMPORTANCE_HIGH, RANKING_PROMOTED))); in testGetFeedbackIcon_whenPromoted()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DHighPriorityProviderTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
72 .setImportance(IMPORTANCE_HIGH) in highImportance()
107 .setImportance(IMPORTANCE_HIGH) in highImportanceConversation()
241 .setImportance(IMPORTANCE_HIGH) in testIsHighPriority_summaryUpdated()
286 .setImportance(IMPORTANCE_HIGH) in testIsHighPriority_childEntryRankingUpdated()
295 .setImportance(highPriority ? IMPORTANCE_HIGH : IMPORTANCE_MIN) in createNotifEntry()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfoTest.java23 import static android.app.NotificationManager.IMPORTANCE_HIGH;
543 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_defaultSelected_notFave_notSilent()
575 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_default_allCanBubble()
613 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityDnd()
642 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityBaseline()
678 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityDndAndBubble()
880 mConversationChannel.setOriginalImportance(IMPORTANCE_HIGH); in testFavorite_andSave_doesNotLowerImportance()
911 assertEquals(IMPORTANCE_HIGH, captor.getValue().getImportance()); in testFavorite_andSave_doesNotLowerImportance()
916 mConversationChannel.setOriginalImportance(IMPORTANCE_HIGH); in testFavorite_thenDefaultThenFavorite_andSave_nothingChanged()
917 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testFavorite_thenDefaultThenFavorite_andSave_nothingChanged()
[all …]
DNotificationTestHelper.java22 import static android.app.NotificationManager.IMPORTANCE_HIGH;
383 mDefaultInflationFlags, IMPORTANCE_HIGH); in createBubble()
400 mDefaultInflationFlags, IMPORTANCE_HIGH); in createStickyRow()
414 mDefaultInflationFlags, IMPORTANCE_HIGH); in createShortcutBubble()
432 mDefaultInflationFlags, IMPORTANCE_HIGH); in createBubbleInGroup()
480 IMPORTANCE_HIGH); in createBubble()
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java108 NotificationManager.IMPORTANCE_HIGH); in createAll()
128 NotificationManager.IMPORTANCE_HIGH); in createAll()
148 NotificationManager.IMPORTANCE_HIGH); in createAll()
204 NotificationManager.IMPORTANCE_HIGH); in createAll()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DColorizedFgsCoordinatorTest.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
107 .setImportance(IMPORTANCE_HIGH) in testDiscludeNonFGSInSection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java72 NotificationManager.IMPORTANCE_HIGH); in createAll()
128 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/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DNotificationTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
140 new NotificationChannel(CHANNEL_ID, CHANNEL_NAME, IMPORTANCE_HIGH); in postMessagingNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DFullScreenIntentDecisionProvider.kt19 import android.app.NotificationManager.IMPORTANCE_HIGH
149 if (entry.importance < IMPORTANCE_HIGH) { in makeDecisionWithoutDnd()
/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/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DNotificationActivity.java83 int importance = NotificationManager.IMPORTANCE_HIGH; in createNotificationChannel()

123