/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_HIGH; 264 NotificationChannel channel0 = new NotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser() 270 NotificationChannel channel10 = new NotificationChannel("id10", "name10", IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser() 295 NotificationChannel channel0 = new NotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testReadXml_onlyRestoresTargetUser() 322 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml() 386 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXmlForBackup() 397 NotificationChannel channel3 = new NotificationChannel("id3", "NAM3", IMPORTANCE_HIGH); in testChannelXmlForBackup() 566 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml_backup() 568 new NotificationChannel("id2", "name2", IMPORTANCE_HIGH); in testChannelXml_backup() 639 + "\" importance=\"" + NotificationManager.IMPORTANCE_HIGH in testChannelXml_upgradeCreateDefaultChannel() [all …]
|
D | NotificationComparatorTest.java | 124 mRecordHighCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp() 140 mRecordInlineReply.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp() 170 mRecordUrgent.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp() 188 mRecordEmail.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp() 216 mRecordColorized.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp() 226 mRecordColorizedCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
|
D | BubbleExtractorTest.java | 18 import static android.app.NotificationManager.IMPORTANCE_HIGH; 105 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppNoChannelYes() 147 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppYesChannelYesUserNo()
|
D | NotificationChannelExtractorTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_HIGH; 67 new NotificationChannel("a", "", IMPORTANCE_HIGH); in testExtractsUpdatedChannel()
|
D | BadgeExtractorTest.java | 18 import static android.app.NotificationManager.IMPORTANCE_HIGH; 107 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppNoChannelYes() 149 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppYesChannelYesUserNo()
|
D | ImportanceExtractorTest.java | 107 new NotificationChannel("a", "a", NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference() 113 assertEquals(r.getImportance(), NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference()
|
D | NotificationRecordTest.java | 20 import static android.app.NotificationManager.IMPORTANCE_HIGH; 295 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_preUpgrade() 319 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_locked_unspecified_preUpgrade() 492 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceSystem() 498 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceSystem() 544 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceMulti() 550 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceMulti() 817 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_systemImportance() 835 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportance() 856 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportanceChannelUpdate()
|
D | BuzzBeepBlinkTest.java | 21 import static android.app.NotificationManager.IMPORTANCE_HIGH; 277 new NotificationChannel("test", "test", IMPORTANCE_HIGH); in getNotificationRecord() 463 r.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in testNoBeepForAutomotiveIfEffectsDisabled() 491 r.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in testBeepForImportanceHighInAutomotiveIfEffectsEnabled() 1033 NotificationChannel channel = new NotificationChannel("test", "test", IMPORTANCE_HIGH); in testEmptyUriSoundTreatedAsNoSound() 1096 new NotificationChannel("test", "test", IMPORTANCE_HIGH)); in testCrossUserSoundMuted()
|
D | NotificationManagerServiceTest.java | 27 import static android.app.NotificationManager.IMPORTANCE_HIGH; 591 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_SecondCreateDoesNotChangeImportance() 627 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() 637 assertEquals(IMPORTANCE_HIGH, createdChannel.getImportance()); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() 646 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond() 659 IMPORTANCE_HIGH); in testBlockedNotifications_suspended() 713 new NotificationChannel("blockedbyuser", "name", IMPORTANCE_HIGH); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService() 765 NotificationManager.IMPORTANCE_HIGH); in testBlockedNotifications_blockedChannelGroup() 879 NotificationManager.IMPORTANCE_HIGH); in testBlockedNotifications_blockedByAssistant() 1497 new NotificationChannel("foo", "foo", IMPORTANCE_HIGH)); in testTvExtenderChannelOverride_onTv()
|
/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/src/com/android/systemui/util/ |
D | NotificationChannels.java | 57 NotificationManager.IMPORTANCE_HIGH); in createAll() 113 name, NotificationManager.IMPORTANCE_HIGH); // pop on screen in createScreenshotChannel()
|
/frameworks/base/core/java/com/android/internal/notification/ |
D | SystemNotificationChannels.java | 116 NotificationManager.IMPORTANCE_HIGH); in createAll() 136 NotificationManager.IMPORTANCE_HIGH); in createAll()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationTestHelper.java | 21 import static android.app.NotificationManager.IMPORTANCE_HIGH; 182 0 /* extraInflationFlags */, IMPORTANCE_HIGH); in createBubble()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_HIGH; 427 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_nonSuppressedGroupSummary() 448 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_suppressedGroupSummary() 466 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_suppressedHeadsUp() 483 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_noSuppressedHeadsUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationData.java | 105 boolean aSystemMax = aImportance >= NotificationManager.IMPORTANCE_HIGH 107 boolean bSystemMax = bImportance >= NotificationManager.IMPORTANCE_HIGH
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 94 NotificationManager.IMPORTANCE_HIGH), in createAll()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | LeakReporter.java | 96 NotificationManager.IMPORTANCE_HIGH); in dumpLeak()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 20 import static android.app.NotificationManager.IMPORTANCE_HIGH; 365 requestedImportance = IMPORTANCE_HIGH; in calculateInitialImportance() 387 requestedImportance = IMPORTANCE_HIGH; in calculateInitialImportance() 685 importance = Math.min(IMPORTANCE_HIGH, importance); in applyAdjustments()
|
D | NotificationUsageStats.java | 19 import static android.app.NotificationManager.IMPORTANCE_HIGH; 1300 if (noisy && after < IMPORTANCE_HIGH) { in putNotificationDetails()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 20 import static android.app.NotificationManager.IMPORTANCE_HIGH; 89 mNM.createNotificationChannel(new NotificationChannel("high", "High", IMPORTANCE_HIGH)); in onCreate() 112 new NotificationChannel("phone call", "Phone Call", IMPORTANCE_HIGH);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationInterruptionStateProvider.java | 218 if (entry.importance < NotificationManager.IMPORTANCE_HIGH) { in shouldHeadsUp()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 263 IMPORTANCE_MIN, IMPORTANCE_LOW, IMPORTANCE_DEFAULT, IMPORTANCE_HIGH 374 public static final int IMPORTANCE_HIGH = 4; field in NotificationManager
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingService.java | 309 NotificationManager.IMPORTANCE_HIGH); in createRecordingNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationActivityStarter.java | 415 } else if (entry.importance < NotificationManager.IMPORTANCE_HIGH) { in handleFullScreenIntent()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DeviceStorageMonitorService.java | 290 NotificationManager.IMPORTANCE_HIGH)); in onStart()
|