/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImplTest.java | 21 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/ |
D | NotificationRankingManagerTest.kt | 22 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 …]
|
D | HighPriorityProviderTest.java | 19 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/ |
D | NotificationChannelExtractorTest.java | 19 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()
|
D | NotificationComparatorTest.java | 148 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()
|
D | PreferencesHelperTest.java | 27 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 …]
|
D | ImportanceExtractorTest.java | 107 new NotificationChannel("a", "a", NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference() 113 assertEquals(r.getImportance(), NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference()
|
D | BuzzBeepBlinkTest.java | 22 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 …]
|
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 | NotificationRecordTest.java | 20 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/ |
D | NotificationConversationInfoTest.java | 22 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 …]
|
D | NotificationTestHelper.java | 21 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/ |
D | SystemNotificationChannels.java | 107 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/ |
D | ChannelsTest.java | 106 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/ |
D | KeyguardCoordinatorTest.java | 21 import static android.app.NotificationManager.IMPORTANCE_HIGH; 197 .setImportance(IMPORTANCE_HIGH) in summaryExceedsThresholdToShow() 249 .setImportance(IMPORTANCE_HIGH) in setupUnfilteredState()
|
D | AppOpsCoordinatorTest.java | 21 import static android.app.NotificationManager.IMPORTANCE_HIGH; 147 .setImportance(IMPORTANCE_HIGH) in testDiscludeNonFGSInSection()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 62 NotificationManager.IMPORTANCE_HIGH); in createAll() 118 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | AssistantFeedbackControllerTest.java | 21 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/ |
D | NotificationRankingManager.kt | 20 import android.app.NotificationManager.IMPORTANCE_HIGH in <lambda>() 217 importance >= IMPORTANCE_HIGH && sbn.isSystemNotification() in isSystemMax()
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
D | VpnStatusObserver.kt | 95 NotificationManager.IMPORTANCE_HIGH in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | BiometricNotificationUtils.java | 113 NotificationManager.IMPORTANCE_HIGH); in showNotificationHelper()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTest.java | 19 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()
|