Home
last modified time | relevance | path

Searched refs:IMPORTANCE_HIGH (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
264 NotificationChannel channel0 = new NotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser()
270 NotificationChannel channel10 = new NotificationChannel("id10", "name10", IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser()
295 NotificationChannel channel0 = new NotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testReadXml_onlyRestoresTargetUser()
322 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml()
386 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXmlForBackup()
397 NotificationChannel channel3 = new NotificationChannel("id3", "NAM3", IMPORTANCE_HIGH); in testChannelXmlForBackup()
566 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml_backup()
568 new NotificationChannel("id2", "name2", IMPORTANCE_HIGH); in testChannelXml_backup()
639 + "\" importance=\"" + NotificationManager.IMPORTANCE_HIGH in testChannelXml_upgradeCreateDefaultChannel()
[all …]
DNotificationComparatorTest.java124 mRecordHighCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
140 mRecordInlineReply.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
170 mRecordUrgent.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
188 mRecordEmail.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
216 mRecordColorized.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
226 mRecordColorizedCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
DBubbleExtractorTest.java18 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()
DNotificationChannelExtractorTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
67 new NotificationChannel("a", "", IMPORTANCE_HIGH); in testExtractsUpdatedChannel()
DBadgeExtractorTest.java18 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()
DImportanceExtractorTest.java107 new NotificationChannel("a", "a", NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference()
113 assertEquals(r.getImportance(), NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference()
DNotificationRecordTest.java20 import static android.app.NotificationManager.IMPORTANCE_HIGH;
295 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_preUpgrade()
319 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_locked_unspecified_preUpgrade()
492 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceSystem()
498 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceSystem()
544 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceMulti()
550 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceMulti()
817 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_systemImportance()
835 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportance()
856 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportanceChannelUpdate()
DBuzzBeepBlinkTest.java21 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()
DNotificationManagerServiceTest.java27 import static android.app.NotificationManager.IMPORTANCE_HIGH;
591 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_SecondCreateDoesNotChangeImportance()
627 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
637 assertEquals(IMPORTANCE_HIGH, createdChannel.getImportance()); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
646 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond()
659 IMPORTANCE_HIGH); in testBlockedNotifications_suspended()
713 new NotificationChannel("blockedbyuser", "name", IMPORTANCE_HIGH); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
765 NotificationManager.IMPORTANCE_HIGH); in testBlockedNotifications_blockedChannelGroup()
879 NotificationManager.IMPORTANCE_HIGH); in testBlockedNotifications_blockedByAssistant()
1497 new NotificationChannel("foo", "foo", IMPORTANCE_HIGH)); in testTvExtenderChannelOverride_onTv()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DChannelsTest.java106 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/
DNotificationChannels.java57 NotificationManager.IMPORTANCE_HIGH); in createAll()
113 name, NotificationManager.IMPORTANCE_HIGH); // pop on screen in createScreenshotChannel()
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java116 NotificationManager.IMPORTANCE_HIGH); in createAll()
136 NotificationManager.IMPORTANCE_HIGH); in createAll()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationTestHelper.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
182 0 /* extraInflationFlags */, IMPORTANCE_HIGH); in createBubble()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
427 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_nonSuppressedGroupSummary()
448 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_suppressedGroupSummary()
466 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_suppressedHeadsUp()
483 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_noSuppressedHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java105 boolean aSystemMax = aImportance >= NotificationManager.IMPORTANCE_HIGH
107 boolean bSystemMax = bImportance >= NotificationManager.IMPORTANCE_HIGH
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java94 NotificationManager.IMPORTANCE_HIGH), in createAll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java96 NotificationManager.IMPORTANCE_HIGH); in dumpLeak()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java20 import static android.app.NotificationManager.IMPORTANCE_HIGH;
365 requestedImportance = IMPORTANCE_HIGH; in calculateInitialImportance()
387 requestedImportance = IMPORTANCE_HIGH; in calculateInitialImportance()
685 importance = Math.min(IMPORTANCE_HIGH, importance); in applyAdjustments()
DNotificationUsageStats.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
1300 if (noisy && after < IMPORTANCE_HIGH) { in putNotificationDetails()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java20 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/
DNotificationInterruptionStateProvider.java218 if (entry.importance < NotificationManager.IMPORTANCE_HIGH) { in shouldHeadsUp()
/frameworks/base/core/java/android/app/
DNotificationManager.java263 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/screenrecord/
DRecordingService.java309 NotificationManager.IMPORTANCE_HIGH); in createRecordingNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java415 } else if (entry.importance < NotificationManager.IMPORTANCE_HIGH) { in handleFullScreenIntent()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java290 NotificationManager.IMPORTANCE_HIGH)); in onStart()

12