Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/notification/src/com/android/server/notification/
DRankingHelperTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
330 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()
562 new NotificationChannel("id1", "name1", NotificationManager.IMPORTANCE_HIGH); in testChannelXml_backup()
631 + "\" importance=\"" + NotificationManager.IMPORTANCE_HIGH in testChannelXml_upgradeCreateDefaultChannel()
645 assertEquals(NotificationManager.IMPORTANCE_HIGH, updated1.getImportance()); in testChannelXml_upgradeCreateDefaultChannel()
759 new NotificationChannel("id2", "name2", NotificationManager.IMPORTANCE_HIGH); in testUpdate()
1032 new NotificationChannel("id4", "a", NotificationManager.IMPORTANCE_HIGH); in testGetDeletedChannels()
1064 new NotificationChannel("id4", "a", NotificationManager.IMPORTANCE_HIGH); in testGetDeletedChannelCount()
[all …]
DBadgeExtractorTest.java23 import static android.app.NotificationManager.IMPORTANCE_HIGH;
104 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppNoChannelYes()
146 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppYesChannelYesUserNo()
DNotificationChannelExtractorTest.java20 import static android.app.NotificationManager.IMPORTANCE_HIGH;
68 new NotificationChannel("a", "", IMPORTANCE_HIGH); in testExtractsUpdatedChannel()
DImportanceExtractorTest.java107 new NotificationChannel("a", "a", NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference()
113 assertEquals(r.getUserImportance(), NotificationManager.IMPORTANCE_HIGH); in testAppPreferenceChannelPreference()
DNotificationComparatorTest.java119 mRecordHighCall.setUserImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
135 mRecordInlineReply.setUserImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
163 mRecordUrgent.setUserImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
181 mRecordEmail.setUserImportance(NotificationManager.IMPORTANCE_HIGH); in setUp()
DBuzzBeepBlinkTest.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
253 new NotificationChannel("test", "test", IMPORTANCE_HIGH); in getNotificationRecord()
857 NotificationChannel channel = new NotificationChannel("test", "test", IMPORTANCE_HIGH); in testEmptyUriSoundTreatedAsNoSound()
907 new NotificationChannel("test", "test", IMPORTANCE_HIGH)); in testCrossUserSoundMuted()
DNotificationManagerServiceTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
356 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_SecondCreateDoesNotChangeImportance()
392 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
402 assertEquals(IMPORTANCE_HIGH, createdChannel.getImportance()); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
411 new NotificationChannel("id", "name", IMPORTANCE_HIGH); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond()
424 IMPORTANCE_HIGH); in testBlockedNotifications_suspended()
477 new NotificationChannel("blockedbyuser", "name", IMPORTANCE_HIGH); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
899 new NotificationChannel("foo", "foo", IMPORTANCE_HIGH)); in testTvExtenderChannelOverride_onTv()
DNotificationRecordTest.java304 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_preUpgrade()
328 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); in testImportance_locked_unspecified_preUpgrade()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
340 when(mNotificationData.getImportance(any())).thenReturn(IMPORTANCE_HIGH); in testShouldPeek_nonSuppressedGroupSummary()
361 when(mNotificationData.getImportance(any())).thenReturn(IMPORTANCE_HIGH); in testShouldPeek_suppressedGroupSummary()
381 when(mNotificationData.getImportance(any())).thenReturn(IMPORTANCE_HIGH); in testShouldPeek_suppressedScreenOn_dozing()
401 when(mNotificationData.getImportance(any())).thenReturn(IMPORTANCE_HIGH); in testShouldPeek_suppressedScreenOn_noDoze()
419 when(mNotificationData.getImportance(any())).thenReturn(IMPORTANCE_HIGH); in testShouldPeek_suppressedScreenOff_dozing()
438 when(mNotificationData.getImportance(any())).thenReturn(IMPORTANCE_HIGH); in testShouldPeek_suppressedScreenOff_noDoze()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java57 NotificationManager.IMPORTANCE_HIGH), in createAll()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java75 NotificationManager.IMPORTANCE_HIGH), in createAll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java85 NotificationManager.IMPORTANCE_HIGH); in dumpLeak()
/frameworks/base/core/java/com/android/internal/notification/
DSystemNotificationChannels.java97 NotificationManager.IMPORTANCE_HIGH); in createAll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationData.java311 boolean aSystemMax = aImportance >= NotificationManager.IMPORTANCE_HIGH &&
313 boolean bSystemMax = bImportance >= NotificationManager.IMPORTANCE_HIGH &&
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java21 import static android.app.NotificationManager.IMPORTANCE_HIGH;
307 requestedImportance = IMPORTANCE_HIGH; in calculateImportance()
328 requestedImportance = IMPORTANCE_HIGH; in calculateImportance()
DNotificationUsageStats.java19 import static android.app.NotificationManager.IMPORTANCE_HIGH;
1293 if (noisy && after < IMPORTANCE_HIGH) { in putNotificationDetails()
/frameworks/base/core/java/android/app/
DNotificationManager.java184 IMPORTANCE_MIN, IMPORTANCE_LOW, IMPORTANCE_DEFAULT, IMPORTANCE_HIGH
231 public static final int IMPORTANCE_HIGH = 4; field in NotificationManager
/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/support/compat/java/android/support/v4/app/
DNotificationManagerCompat.java138 public static final int IMPORTANCE_HIGH = 4; field in NotificationManagerCompat
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java290 NotificationManager.IMPORTANCE_HIGH)); in onStart()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1505 case NotificationManager.IMPORTANCE_HIGH:
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java317 NotificationManager.IMPORTANCE_HIGH)); in systemReady()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java1658 < NotificationManager.IMPORTANCE_HIGH) { in addNotification()
7532 : NotificationManager.IMPORTANCE_HIGH;
/frameworks/support/compat/api/
Dcurrent.txt484 field public static final int IMPORTANCE_HIGH = 4; // 0x4
D26.0.0.txt490 field public static final int IMPORTANCE_HIGH = 4; // 0x4

12