/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationInterruptionStateProviderTest.java | 21 import static android.app.NotificationManager.IMPORTANCE_HIGH; 319 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_true() 334 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_noHunsAllowed() 346 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_dozing() 373 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_alertCommonFalse() 385 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_suppressPeek() 409 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_deviceNotInUse() 429 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_suppressed() 500 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in shouldBubbleUp_false_notABubble() 513 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in shouldBubbleUp_false_invalidMetadata() [all …]
|
D | NotificationTestHelper.java | 21 import static android.app.NotificationManager.IMPORTANCE_HIGH; 189 0 /* extraInflationFlags */, IMPORTANCE_HIGH); in createBubble()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_HIGH; 267 NotificationChannel channel0 = new NotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser() 273 NotificationChannel channel10 = new NotificationChannel("id10", "name10", IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser() 298 NotificationChannel channel0 = new NotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testReadXml_onlyRestoresTargetUser() 325 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml() 389 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXmlForBackup() 400 NotificationChannel channel3 = new NotificationChannel("id3", "NAM3", IMPORTANCE_HIGH); in testChannelXmlForBackup() 569 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml_backup() 571 new NotificationChannel("id2", "name2", IMPORTANCE_HIGH); in testChannelXml_backup() 642 + "\" importance=\"" + NotificationManager.IMPORTANCE_HIGH in testChannelXml_upgradeCreateDefaultChannel() [all …]
|
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 | NotificationComparatorTest.java | 138 mRecordHighCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp() 154 mRecordInlineReply.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp() 184 mRecordUrgent.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp() 202 mRecordEmail.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp() 230 mRecordColorized.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp() 240 mRecordColorizedCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
|
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; 321 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_preUpgrade() 345 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_locked_unspecified_preUpgrade() 518 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceSystem() 524 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceSystem() 570 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceMulti() 576 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceMulti() 843 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_systemImportance() 861 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportance() 882 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() 1302 new NotificationChannel("test", "test", IMPORTANCE_HIGH)); in testLightsCheckCurrentUser()
|
D | NotificationManagerServiceTest.java | 28 import static android.app.NotificationManager.IMPORTANCE_HIGH; 647 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_SecondCreateDoesNotChangeImportance() 683 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() 693 assertEquals(IMPORTANCE_HIGH, createdChannel.getImportance()); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() 702 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond() 715 IMPORTANCE_HIGH); in testBlockedNotifications_suspended() 769 new NotificationChannel("blockedbyuser", "name", IMPORTANCE_HIGH); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService() 821 NotificationManager.IMPORTANCE_HIGH); in testBlockedNotifications_blockedChannelGroup() 935 NotificationManager.IMPORTANCE_HIGH); in testBlockedNotifications_blockedByAssistant() 1553 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/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/core/java/com/android/internal/notification/ |
D | SystemNotificationChannels.java | 117 NotificationManager.IMPORTANCE_HIGH); in createAll() 137 NotificationManager.IMPORTANCE_HIGH); in createAll()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_HIGH; 425 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_nonSuppressedGroupSummary() 446 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_suppressedGroupSummary() 464 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_suppressedHeadsUp() 481 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_noSuppressedHeadsUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationData.java | 104 boolean aSystemMax = aImportance >= NotificationManager.IMPORTANCE_HIGH 106 boolean bSystemMax = bImportance >= NotificationManager.IMPORTANCE_HIGH
|
/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; 362 requestedImportance = IMPORTANCE_HIGH; in calculateInitialImportance() 384 requestedImportance = IMPORTANCE_HIGH; in calculateInitialImportance() 655 importance = Math.min(IMPORTANCE_HIGH, importance); in applyAdjustments()
|
/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 | 253 if (entry.importance < NotificationManager.IMPORTANCE_HIGH) { in shouldHeadsUpWhenAwake()
|
/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/statusbar/phone/ |
D | StatusBarNotificationActivityStarter.java | 414 } else if (entry.importance < NotificationManager.IMPORTANCE_HIGH) { in handleFullScreenIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingService.java | 286 NotificationManager.IMPORTANCE_HIGH); in createRecordingNotification()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DeviceStorageMonitorService.java | 278 NotificationManager.IMPORTANCE_HIGH)); in onStart()
|