/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImplTest.java | 24 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 …]
|
D | VisualInterruptionDecisionProviderImplTest.kt | 100 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()
|
D | KeyguardNotificationVisibilityProviderTest.java | 22 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/ |
D | NotificationChannelExtractorTest.java | 20 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()
|
D | NotificationComparatorTest.java | 166 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()
|
D | PreferencesHelperTest.java | 38 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 …]
|
D | ImportanceExtractorTest.java | 100 new NotificationChannel("a", "a", NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference() 106 assertEquals(r.getImportance(), NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference()
|
D | NotificationRecordExtractorDataTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_HIGH; 91 signals.putInt(Adjustment.KEY_IMPORTANCE_PROPOSAL, IMPORTANCE_HIGH); in testHasDiffs_proposedImportanceChange()
|
D | NotificationAttentionHelperTest.java | 23 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 …]
|
D | BadgeExtractorTest.java | 18 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()
|
D | NotificationTimeComparatorTest.java | 20 import static android.app.NotificationManager.IMPORTANCE_HIGH;
|
D | NotificationRecordTest.java | 20 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/ |
D | AssistantFeedbackControllerTest.java | 21 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/ |
D | HighPriorityProviderTest.java | 19 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/ |
D | NotificationConversationInfoTest.java | 23 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 …]
|
D | NotificationTestHelper.java | 22 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/ |
D | SystemNotificationChannels.java | 108 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/ |
D | ColorizedFgsCoordinatorTest.java | 21 import static android.app.NotificationManager.IMPORTANCE_HIGH; 107 .setImportance(IMPORTANCE_HIGH) in testDiscludeNonFGSInSection()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 72 NotificationManager.IMPORTANCE_HIGH); in createAll() 128 name, NotificationManager.IMPORTANCE_HIGH); // pop on screen in createScreenshotChannel()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationChannelLogger.java | 19 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/ |
D | NotificationChannelController.java | 99 NotificationManager.IMPORTANCE_HIGH), in createAll() 105 NotificationManager.IMPORTANCE_HIGH), in createAll()
|
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | NotificationTest.java | 19 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/ |
D | FullScreenIntentDecisionProvider.kt | 19 import android.app.NotificationManager.IMPORTANCE_HIGH 149 if (entry.importance < IMPORTANCE_HIGH) { in makeDecisionWithoutDnd()
|
/frameworks/proto_logging/stats/enums/stats/sysui/ |
D | notification_enums.proto | 28 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/ |
D | NotificationActivity.java | 83 int importance = NotificationManager.IMPORTANCE_HIGH; in createNotificationChannel()
|