Home
last modified time | relevance | path

Searched refs:IMPORTANCE_LOW (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java66 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/
DNotificationInfoTest.java21 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/
DNotificationRecordTest.java21 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 …]
DPreferencesHelperTest.java20 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 …]
DNotificationChannelExtractorTest.java20 import static android.app.NotificationManager.IMPORTANCE_LOW;
57 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in testExtractsUpdatedChannel()
DNotificationIntrusivenessExtractorTest.java20 import static android.app.NotificationManager.IMPORTANCE_LOW;
43 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in testNonIntrusive()
DZenModeExtractorTest.java19 import static android.app.NotificationManager.IMPORTANCE_LOW;
104 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in generateRecord()
DCriticalNotificationExtractorTest.java19 import static android.app.NotificationManager.IMPORTANCE_LOW;
99 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in generateRecord()
DNotificationAdjustmentExtractorTest.java19 import static android.app.NotificationManager.IMPORTANCE_LOW;
115 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in generateRecord()
DRankingHelperTest.java19 import static android.app.NotificationManager.IMPORTANCE_LOW;
202 IMPORTANCE_LOW); in getLowChannel()
232 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in generateRecord()
DNotificationComparatorTest.java194 mRecordCheater.setSystemImportance(NotificationManager.IMPORTANCE_LOW); in setUp()
211 mRecordCheaterColorized.setSystemImportance(NotificationManager.IMPORTANCE_LOW); in setUp()
293 NotificationManager.IMPORTANCE_LOW); in getDefaultChannel()
DGlobalSortKeyComparatorTest.java147 NotificationManager.IMPORTANCE_LOW); in getDefaultChannel()
DNotificationManagerServiceTest.java29 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/
DNotificationComparator.java137 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()
DNotificationRecord.java21 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/
DNotificationChannelController.java78 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/
DNotificationDataTest.java27 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/
DServiceIntentSender.java44 NotificationManager.IMPORTANCE_LOW); in ServiceIntentSender()
/frameworks/base/core/java/com/android/internal/util/
DNotificationMessagingUtil.java50 if (importance < NotificationManager.IMPORTANCE_LOW) { in isImportantMessaging()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java69 : NotificationManager.IMPORTANCE_LOW); in createAll()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInterruptionStateProviderTest.java22 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/
DNotificationInfo.java20 import static android.app.NotificationManager.IMPORTANCE_LOW;
158 mChosenImportance = IMPORTANCE_LOW;
610 ? IMPORTANCE_LOW : mStartingChannelImportance;
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java148 NotificationManager.IMPORTANCE_LOW); in TetheringNotificationUpdater()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java84 NotificationManager.IMPORTANCE_LOW)); in NotificationController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java290 && mTmpRanking.getImportance() >= NotificationManager.IMPORTANCE_LOW; in isImportantOngoing()

12