Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInterruptionStateProviderTest.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
319 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_true()
334 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_noHunsAllowed()
346 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_dozing()
373 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_alertCommonFalse()
385 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_suppressPeek()
409 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_deviceNotInUse()
429 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in testShouldHeadsUp_false_suppressed()
500 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in shouldBubbleUp_false_notABubble()
513 NotificationEntry entry = createNotification(IMPORTANCE_HIGH); in shouldBubbleUp_false_invalidMetadata()
[all …]
DNotificationTestHelper.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
189 0 /* extraInflationFlags */, IMPORTANCE_HIGH); in createBubble()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
267 NotificationChannel channel0 = new NotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser()
273 NotificationChannel channel10 = new NotificationChannel("id10", "name10", IMPORTANCE_HIGH); in testWriteXml_onlyBackupsTargetUser()
298 NotificationChannel channel0 = new NotificationChannel("id0", "name0", IMPORTANCE_HIGH); in testReadXml_onlyRestoresTargetUser()
325 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml()
389 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXmlForBackup()
400 NotificationChannel channel3 = new NotificationChannel("id3", "NAM3", IMPORTANCE_HIGH); in testChannelXmlForBackup()
569 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml_backup()
571 new NotificationChannel("id2", "name2", IMPORTANCE_HIGH); in testChannelXml_backup()
642 + "\" importance=\"" + NotificationManager.IMPORTANCE_HIGH in testChannelXml_upgradeCreateDefaultChannel()
[all …]
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()
DNotificationComparatorTest.java138 mRecordHighCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
154 mRecordInlineReply.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
184 mRecordUrgent.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
202 mRecordEmail.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
230 mRecordColorized.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
240 mRecordColorizedCall.setSystemImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
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;
321 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_preUpgrade()
345 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_locked_unspecified_preUpgrade()
518 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceSystem()
524 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceSystem()
570 record.setSystemImportance(IMPORTANCE_HIGH); in testLogMakerImportanceMulti()
576 assertEquals(IMPORTANCE_HIGH, in testLogMakerImportanceMulti()
843 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_systemImportance()
861 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportance()
882 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()
1302 new NotificationChannel("test", "test", IMPORTANCE_HIGH)); in testLightsCheckCurrentUser()
DNotificationManagerServiceTest.java28 import static android.app.NotificationManager.IMPORTANCE_HIGH;
647 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_SecondCreateDoesNotChangeImportance()
683 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
693 assertEquals(IMPORTANCE_HIGH, createdChannel.getImportance()); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
702 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond()
715 IMPORTANCE_HIGH); in testBlockedNotifications_suspended()
769 new NotificationChannel("blockedbyuser", "name", IMPORTANCE_HIGH); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
821 NotificationManager.IMPORTANCE_HIGH); in testBlockedNotifications_blockedChannelGroup()
935 NotificationManager.IMPORTANCE_HIGH); in testBlockedNotifications_blockedByAssistant()
1553 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/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java99 NotificationManager.IMPORTANCE_HIGH), in createAll()
105 NotificationManager.IMPORTANCE_HIGH), in createAll()
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java117 NotificationManager.IMPORTANCE_HIGH); in createAll()
137 NotificationManager.IMPORTANCE_HIGH); in createAll()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
425 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_nonSuppressedGroupSummary()
446 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_suppressedGroupSummary()
464 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_suppressedHeadsUp()
481 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_noSuppressedHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java104 boolean aSystemMax = aImportance >= NotificationManager.IMPORTANCE_HIGH
106 boolean bSystemMax = bImportance >= NotificationManager.IMPORTANCE_HIGH
/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;
362 requestedImportance = IMPORTANCE_HIGH; in calculateInitialImportance()
384 requestedImportance = IMPORTANCE_HIGH; in calculateInitialImportance()
655 importance = Math.min(IMPORTANCE_HIGH, importance); in applyAdjustments()
/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.java253 if (entry.importance < NotificationManager.IMPORTANCE_HIGH) { in shouldHeadsUpWhenAwake()
/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/statusbar/phone/
DStatusBarNotificationActivityStarter.java414 } else if (entry.importance < NotificationManager.IMPORTANCE_HIGH) { in handleFullScreenIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java286 NotificationManager.IMPORTANCE_HIGH); in createRecordingNotification()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java278 NotificationManager.IMPORTANCE_HIGH)); in onStart()

12