Home
last modified time | relevance | path

Searched refs:IMPORTANCE_LOW (Results 1 – 25 of 32) 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()
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/
DNotificationRecordTest.java21 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 …]
DPreferencesHelperTest.java20 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 …]
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()
DCriticalNotificationExtractorTest.java19 import static android.app.NotificationManager.IMPORTANCE_LOW;
99 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in generateRecord()
DZenModeExtractorTest.java19 import static android.app.NotificationManager.IMPORTANCE_LOW;
104 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()
DNotificationComparatorTest.java180 mRecordCheater.setSystemImportance(NotificationManager.IMPORTANCE_LOW); in setUp()
197 mRecordCheaterColorized.setSystemImportance(NotificationManager.IMPORTANCE_LOW); in setUp()
278 NotificationManager.IMPORTANCE_LOW); in getDefaultChannel()
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()
DGlobalSortKeyComparatorTest.java147 NotificationManager.IMPORTANCE_LOW); in getDefaultChannel()
DNotificationManagerServiceTest.java28 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/
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/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;
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/
DNotificationChannelController.java73 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/
DNotificationDataTest.java26 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/
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/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/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java84 NotificationManager.IMPORTANCE_LOW)); in NotificationController()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java359 NotificationManager.IMPORTANCE_LOW); in prepareNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java293 && mTmpRanking.getImportance() >= NotificationManager.IMPORTANCE_LOW; in isImportantOngoing()
/frameworks/base/core/java/android/app/
DNotificationManager.java263 IMPORTANCE_MIN, IMPORTANCE_LOW, IMPORTANCE_DEFAULT, IMPORTANCE_HIGH
362 public static final int IMPORTANCE_LOW = 2; field in NotificationManager

12