/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() 124 NotificationManager.IMPORTANCE_LOW); in createAll() 131 NotificationManager.IMPORTANCE_LOW); in createAll() 149 NotificationManager.IMPORTANCE_LOW); in createAll() 161 NotificationManager.IMPORTANCE_LOW); in createAll() [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/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordTest.java | 21 import static android.app.NotificationManager.IMPORTANCE_LOW; 326 defaultChannel.setImportance(IMPORTANCE_LOW); in testImportance_locked_preUpgrade() 333 assertEquals(IMPORTANCE_LOW, record.getImportance()); in testImportance_locked_preUpgrade() 490 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceAsst() 498 assertEquals(IMPORTANCE_LOW, in testLogMakerImportanceAsst() 507 assertEquals(IMPORTANCE_LOW, in testLogMakerImportanceAsst() 567 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceMulti() 584 assertEquals(IMPORTANCE_LOW, logMaker.getTaggedData( in testLogMakerImportanceMulti() 849 record.setSystemImportance(IMPORTANCE_LOW); in testCalculateImportance_systemImportance() 850 assertEquals(IMPORTANCE_LOW, record.getImportance()); in testCalculateImportance_systemImportance() [all …]
|
D | PreferencesHelperTest.java | 20 import static android.app.NotificationManager.IMPORTANCE_LOW; 238 return new NotificationChannel("id", "name", IMPORTANCE_LOW); in getChannel() 327 new NotificationChannel("id2", "name2", IMPORTANCE_LOW); in testChannelXml() 391 new NotificationChannel("id2", "name2", IMPORTANCE_LOW); in testChannelXmlForBackup() 459 new NotificationChannel("id", "name", IMPORTANCE_LOW); in testBackupXml_backupCanonicalizedSoundUri() 486 new NotificationChannel("id", "name", IMPORTANCE_LOW); in testRestoreXml_withExistentCanonicalizedSoundUri() 508 new NotificationChannel("id", "name", IMPORTANCE_LOW); in testRestoreXml_withNonExistentCanonicalizedSoundUri() 551 new NotificationChannel("id", "name", IMPORTANCE_LOW); in testBackupRestoreXml_withNullSoundUri() 573 new NotificationChannel("id3", "name3", IMPORTANCE_LOW); in testChannelXml_backup() 626 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 | ZenModeExtractorTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_LOW; 104 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in generateRecord()
|
D | CriticalNotificationExtractorTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_LOW; 99 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 | 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 | NotificationComparatorTest.java | 194 mRecordCheater.setSystemImportance(NotificationManager.IMPORTANCE_LOW); in setUp() 211 mRecordCheaterColorized.setSystemImportance(NotificationManager.IMPORTANCE_LOW); in setUp() 293 NotificationManager.IMPORTANCE_LOW); in getDefaultChannel()
|
D | GlobalSortKeyComparatorTest.java | 147 NotificationManager.IMPORTANCE_LOW); in getDefaultChannel()
|
D | NotificationManagerServiceTest.java | 29 import static android.app.NotificationManager.IMPORTANCE_LOW; 513 .updateNotificationChannel(new NotificationChannel("a", "", IMPORTANCE_LOW)); in getSignalExtractorSideEffects() 665 new NotificationChannel("id", "name", NotificationManager.IMPORTANCE_LOW); in testCreateNotificationChannels_SecondCreateAllowedToDowngradeImportance() 670 assertEquals(NotificationManager.IMPORTANCE_LOW, createdChannel.getImportance()); in testCreateNotificationChannels_SecondCreateAllowedToDowngradeImportance() 688 new NotificationChannel("id", "name", NotificationManager.IMPORTANCE_LOW); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() 757 assertEquals(IMPORTANCE_LOW, in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService() 759 assertEquals(IMPORTANCE_LOW, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService() 788 assertEquals(IMPORTANCE_LOW, in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService() 790 assertEquals(IMPORTANCE_LOW, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService() 1736 NotificationChannel channel2 = new NotificationChannel("a", "b", IMPORTANCE_LOW); in testCreateChannelNotifyListener() [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; 355 requestedImportance = IMPORTANCE_LOW; in calculateInitialImportance() 373 if (!stats.isNoisy && requestedImportance > IMPORTANCE_LOW) { in calculateInitialImportance() 374 requestedImportance = IMPORTANCE_LOW; in calculateInitialImportance()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 78 NotificationManager.IMPORTANCE_LOW); in createAll() 85 NotificationManager.IMPORTANCE_LOW in createAll() 102 NotificationManager.IMPORTANCE_LOW), in createAll()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationDataTest.java | 27 import static android.app.NotificationManager.IMPORTANCE_LOW; 434 override.putInt(OVERRIDE_IMPORTANCE, IMPORTANCE_LOW); in lowForegroundHighPriority() 458 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in userChangeTrumpsHighPriorityCharacteristics() 482 override.putInt(OVERRIDE_IMPORTANCE, IMPORTANCE_LOW); in testSort_highPriorityTrumpsNMSRank() 496 bOverride.putInt(OVERRIDE_IMPORTANCE, IMPORTANCE_LOW); in testSort_highPriorityTrumpsNMSRank() 517 override.putInt(OVERRIDE_IMPORTANCE, IMPORTANCE_LOW); in testSort_samePriorityUsesNMSRank() 531 bOverride.putInt(OVERRIDE_IMPORTANCE, IMPORTANCE_LOW); in testSort_samePriorityUsesNMSRank() 583 override.putInt(OVERRIDE_IMPORTANCE, IMPORTANCE_LOW); in testSort_properlySetsIsNotTopBucket()
|
/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/tests/src/com/android/systemui/statusbar/ |
D | NotificationInterruptionStateProviderTest.java | 22 import static android.app.NotificationManager.IMPORTANCE_LOW; 308 NotificationEntry entry = createNotification(IMPORTANCE_LOW); in testShouldHeadsUpWhenDozing_false_lessImportant()
|
/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/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdater.java | 148 NotificationManager.IMPORTANCE_LOW); in TetheringNotificationUpdater()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 84 NotificationManager.IMPORTANCE_LOW)); in NotificationController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationData.java | 290 && mTmpRanking.getImportance() >= NotificationManager.IMPORTANCE_LOW; in isImportantOngoing()
|