/frameworks/base/core/java/com/android/internal/notification/ |
D | SystemNotificationChannels.java | 66 NotificationManager.IMPORTANCE_LOW); in createAll() 82 NotificationManager.IMPORTANCE_LOW); in createAll() 88 NotificationManager.IMPORTANCE_LOW); in createAll() 97 NotificationManager.IMPORTANCE_LOW); in createAll() 104 NotificationManager.IMPORTANCE_LOW); in createAll() 110 NotificationManager.IMPORTANCE_LOW); in createAll() 123 NotificationManager.IMPORTANCE_LOW); in createAll() 130 NotificationManager.IMPORTANCE_LOW); in createAll() 148 NotificationManager.IMPORTANCE_LOW); in createAll() 160 NotificationManager.IMPORTANCE_LOW); in createAll() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordTest.java | 21 import static android.app.NotificationManager.IMPORTANCE_LOW; 300 defaultChannel.setImportance(IMPORTANCE_LOW); in testImportance_locked_preUpgrade() 307 assertEquals(IMPORTANCE_LOW, record.getImportance()); in testImportance_locked_preUpgrade() 464 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceAsst() 472 assertEquals(IMPORTANCE_LOW, in testLogMakerImportanceAsst() 481 assertEquals(IMPORTANCE_LOW, in testLogMakerImportanceAsst() 541 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceMulti() 558 assertEquals(IMPORTANCE_LOW, logMaker.getTaggedData( in testLogMakerImportanceMulti() 823 record.setSystemImportance(IMPORTANCE_LOW); in testCalculateImportance_systemImportance() 824 assertEquals(IMPORTANCE_LOW, record.getImportance()); in testCalculateImportance_systemImportance() [all …]
|
D | PreferencesHelperTest.java | 20 import static android.app.NotificationManager.IMPORTANCE_LOW; 235 return new NotificationChannel("id", "name", IMPORTANCE_LOW); in getChannel() 324 new NotificationChannel("id2", "name2", IMPORTANCE_LOW); in testChannelXml() 388 new NotificationChannel("id2", "name2", IMPORTANCE_LOW); in testChannelXmlForBackup() 456 new NotificationChannel("id", "name", IMPORTANCE_LOW); in testBackupXml_backupCanonicalizedSoundUri() 483 new NotificationChannel("id", "name", IMPORTANCE_LOW); in testRestoreXml_withExistentCanonicalizedSoundUri() 505 new NotificationChannel("id", "name", IMPORTANCE_LOW); in testRestoreXml_withNonExistentCanonicalizedSoundUri() 548 new NotificationChannel("id", "name", IMPORTANCE_LOW); in testBackupRestoreXml_withNullSoundUri() 570 new NotificationChannel("id3", "name3", IMPORTANCE_LOW); in testChannelXml_backup() 623 defaultChannel.setImportance(NotificationManager.IMPORTANCE_LOW); in testChannelXml_defaultChannelUpdatedApp_userSettings() [all …]
|
D | NotificationChannelExtractorTest.java | 20 import static android.app.NotificationManager.IMPORTANCE_LOW; 57 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in testExtractsUpdatedChannel()
|
D | NotificationIntrusivenessExtractorTest.java | 20 import static android.app.NotificationManager.IMPORTANCE_LOW; 43 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in testNonIntrusive()
|
D | CriticalNotificationExtractorTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_LOW; 99 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in generateRecord()
|
D | ZenModeExtractorTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_LOW; 104 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in generateRecord()
|
D | NotificationAdjustmentExtractorTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_LOW; 115 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in generateRecord()
|
D | NotificationComparatorTest.java | 180 mRecordCheater.setSystemImportance(NotificationManager.IMPORTANCE_LOW); in setUp() 197 mRecordCheaterColorized.setSystemImportance(NotificationManager.IMPORTANCE_LOW); in setUp() 278 NotificationManager.IMPORTANCE_LOW); in getDefaultChannel()
|
D | RankingHelperTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_LOW; 202 IMPORTANCE_LOW); in getLowChannel() 232 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in generateRecord()
|
D | GlobalSortKeyComparatorTest.java | 147 NotificationManager.IMPORTANCE_LOW); in getDefaultChannel()
|
D | NotificationManagerServiceTest.java | 28 import static android.app.NotificationManager.IMPORTANCE_LOW; 503 .updateNotificationChannel(new NotificationChannel("a", "", IMPORTANCE_LOW)); in getSignalExtractorSideEffects() 609 new NotificationChannel("id", "name", NotificationManager.IMPORTANCE_LOW); in testCreateNotificationChannels_SecondCreateAllowedToDowngradeImportance() 614 assertEquals(NotificationManager.IMPORTANCE_LOW, createdChannel.getImportance()); in testCreateNotificationChannels_SecondCreateAllowedToDowngradeImportance() 632 new NotificationChannel("id", "name", NotificationManager.IMPORTANCE_LOW); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() 701 assertEquals(IMPORTANCE_LOW, in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService() 703 assertEquals(IMPORTANCE_LOW, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService() 732 assertEquals(IMPORTANCE_LOW, in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService() 734 assertEquals(IMPORTANCE_LOW, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService() 1672 NotificationChannel channel2 = new NotificationChannel("a", "b", IMPORTANCE_LOW); in testCreateChannelNotifyListener() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInfoTest.java | 21 import static android.app.NotificationManager.IMPORTANCE_LOW; 159 TEST_CHANNEL, TEST_CHANNEL_NAME, IMPORTANCE_LOW); in setUp() 163 IMPORTANCE_LOW); in setUp() 764 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testDoesNotUpdateNotificationChannelAfterImportanceChanged() 778 IMPORTANCE_LOW, in testDoesNotUpdateNotificationChannelAfterImportanceChanged() 1023 assertEquals(IMPORTANCE_LOW, updated.getValue().getImportance()); in testSilentlyChangedCallsUpdateNotificationChannel_blockingHelper() 1028 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testKeepUpdatesNotificationChannel_blockingHelper() 1042 IMPORTANCE_LOW, in testKeepUpdatesNotificationChannel_blockingHelper() 1054 assertEquals(IMPORTANCE_LOW, mNotificationChannel.getImportance()); in testKeepUpdatesNotificationChannel_blockingHelper() 1117 assertEquals(IMPORTANCE_LOW, updated.getValue().getImportance()); in testSilenceCallsUpdateNotificationChannel() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationComparator.java | 137 if (record.getImportance() < NotificationManager.IMPORTANCE_LOW) { in isImportantColorized() 148 if (record.getImportance() < NotificationManager.IMPORTANCE_LOW) { in isImportantOngoing() 156 if (record.getImportance() < NotificationManager.IMPORTANCE_LOW) { in isImportantPeople()
|
D | NotificationRecord.java | 21 import static android.app.NotificationManager.IMPORTANCE_LOW; 358 requestedImportance = IMPORTANCE_LOW; in calculateInitialImportance() 376 if (!stats.isNoisy && requestedImportance > IMPORTANCE_LOW) { in calculateInitialImportance() 377 requestedImportance = IMPORTANCE_LOW; in calculateInitialImportance()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 73 NotificationManager.IMPORTANCE_LOW); in createAll() 80 NotificationManager.IMPORTANCE_LOW in createAll() 97 NotificationManager.IMPORTANCE_LOW), in createAll()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationDataTest.java | 26 import static android.app.NotificationManager.IMPORTANCE_LOW; 427 override.putInt(OVERRIDE_IMPORTANCE, IMPORTANCE_LOW); in lowForegroundHighPriority() 451 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in userChangeTrumpsHighPriorityCharacteristics() 475 override.putInt(OVERRIDE_IMPORTANCE, IMPORTANCE_LOW); in testSort_highPriorityTrumpsNMSRank() 489 bOverride.putInt(OVERRIDE_IMPORTANCE, IMPORTANCE_LOW); in testSort_highPriorityTrumpsNMSRank() 510 override.putInt(OVERRIDE_IMPORTANCE, IMPORTANCE_LOW); in testSort_samePriorityUsesNMSRank() 524 bOverride.putInt(OVERRIDE_IMPORTANCE, IMPORTANCE_LOW); in testSort_samePriorityUsesNMSRank()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | ServiceIntentSender.java | 44 NotificationManager.IMPORTANCE_LOW); in ServiceIntentSender()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationMessagingUtil.java | 50 if (importance < NotificationManager.IMPORTANCE_LOW) { in isImportantMessaging()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 69 : NotificationManager.IMPORTANCE_LOW); in createAll()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInfo.java | 20 import static android.app.NotificationManager.IMPORTANCE_LOW; 158 mChosenImportance = IMPORTANCE_LOW; 610 ? IMPORTANCE_LOW : mStartingChannelImportance;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 84 NotificationManager.IMPORTANCE_LOW)); in NotificationController()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | DynamicSystemInstallationService.java | 359 NotificationManager.IMPORTANCE_LOW); in prepareNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationData.java | 293 && mTmpRanking.getImportance() >= NotificationManager.IMPORTANCE_LOW; in isImportantOngoing()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 263 IMPORTANCE_MIN, IMPORTANCE_LOW, IMPORTANCE_DEFAULT, IMPORTANCE_HIGH 362 public static final int IMPORTANCE_LOW = 2; field in NotificationManager
|