/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInfoTest.java | 20 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 212 IMPORTANCE_DEFAULT, in testBindNotification_SetsTextApplicationName() 237 IMPORTANCE_DEFAULT, in testBindNotification_SetsPackageIcon() 258 IMPORTANCE_DEFAULT, in testBindNotification_noDelegate() 289 IMPORTANCE_DEFAULT, in testBindNotification_delegate() 313 IMPORTANCE_DEFAULT, in testBindNotification_GroupNameHiddenIfNoGroup() 340 IMPORTANCE_DEFAULT, in testBindNotification_SetsGroupNameIfNonNull() 362 IMPORTANCE_DEFAULT, in testBindNotification_SetsTextChannelName() 383 IMPORTANCE_DEFAULT, in testBindNotification_DefaultChannelDoesNotUseChannelName() 408 IMPORTANCE_DEFAULT, in testBindNotification_DefaultChannelUsesChannelNameIfMoreChannelsExist() [all …]
|
D | ChannelEditorDialogControllerTest.kt | 22 import android.app.NotificationManager.IMPORTANCE_DEFAULT 68 channel1 = NotificationChannel(TEST_CHANNEL, TEST_CHANNEL_NAME, IMPORTANCE_DEFAULT) in setup() 69 channel2 = NotificationChannel(TEST_CHANNEL2, TEST_CHANNEL_NAME2, IMPORTANCE_DEFAULT) in setup() 71 NotificationChannel.DEFAULT_CHANNEL_ID, TEST_CHANNEL_NAME, IMPORTANCE_DEFAULT) in setup() 113 val channel3 = NotificationChannel("test_channel_3", "Test channel 3", IMPORTANCE_DEFAULT) in testPrepareDialogForApp_retrievesUpTo4Channels() 114 val channel4 = NotificationChannel("test_channel_4", "Test channel 4", IMPORTANCE_DEFAULT) in testPrepareDialogForApp_retrievesUpTo4Channels() 141 IMPORTANCE_DEFAULT, channel2.importance) in testApply_demoteChannel()
|
D | NotificationGutsManagerTest.java | 22 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 94 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT); 374 row.getEntry().importance = IMPORTANCE_DEFAULT; in testInitializeNotificationInfoView_highPriority() 395 eq(IMPORTANCE_DEFAULT), in testInitializeNotificationInfoView_highPriority()
|
D | NotificationBlockingHelperManagerTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 142 new NotificationChannel(Integer.toString(i++), "", IMPORTANCE_DEFAULT); in testPerhapsShowBlockingHelper_notShownForMultiChannelGroup()
|
D | ExpandableNotificationRowTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 331 new NotificationChannel("id" + i, "dinnertime" + i, IMPORTANCE_DEFAULT); in testGetNumUniqueChildren_multiChannel()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationChannelTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 52 new NotificationChannel("1", "one", IMPORTANCE_DEFAULT); in testWriteToParcel() 62 NotificationChannel channel = new NotificationChannel("a", "ab", IMPORTANCE_DEFAULT); in testSystemBlockable() 70 NotificationChannel channel = new NotificationChannel("a", "ab", IMPORTANCE_DEFAULT); in testEmptyVibration_noException() 81 NotificationChannel channel = new NotificationChannel("a", "ab", IMPORTANCE_DEFAULT); in testBackupEmptySound() 92 NotificationChannel restored = new NotificationChannel("a", "ab", IMPORTANCE_DEFAULT); in testBackupEmptySound()
|
D | NotificationIntrusivenessExtractorTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 58 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); in testIntrusive_fillScreen() 76 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); in testOldNotificationsNotIntrusive()
|
D | NotificationComparatorTest.java | 147 mRecordDefaultMedia.setSystemImportance(NotificationManager.IMPORTANCE_DEFAULT); in setUp() 163 mRecordSms.setSystemImportance(NotificationManager.IMPORTANCE_DEFAULT); in setUp() 171 mRecordStarredContact.setSystemImportance(NotificationManager.IMPORTANCE_DEFAULT); in setUp() 178 mRecordContact.setSystemImportance(NotificationManager.IMPORTANCE_DEFAULT); in setUp() 221 mNoMediaSessionMedia.setSystemImportance(NotificationManager.IMPORTANCE_DEFAULT); in setUp()
|
D | NotificationRecordTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 93 new NotificationChannel(channelId, "test", NotificationManager.IMPORTANCE_DEFAULT); 354 assertEquals(NotificationManager.IMPORTANCE_DEFAULT, record.getImportance()); in testImportance_upgrade() 893 new NotificationChannel(channelId, "", IMPORTANCE_DEFAULT)); in testCalculateImportance_asstImportanceChannelUpdate() 959 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); in testIgnoreImportanceAdjustmentsForOemLockedChannels() 967 assertEquals(IMPORTANCE_DEFAULT, record.getImportance()); in testIgnoreImportanceAdjustmentsForOemLockedChannels() 978 assertEquals(IMPORTANCE_DEFAULT, record.getImportance()); in testIgnoreImportanceAdjustmentsForOemLockedChannels() 983 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); in testIgnoreImportanceAdjustmentsForDefaultAppLockedChannels() 991 assertEquals(IMPORTANCE_DEFAULT, record.getImportance()); in testIgnoreImportanceAdjustmentsForDefaultAppLockedChannels() 1002 assertEquals(IMPORTANCE_DEFAULT, record.getImportance()); in testIgnoreImportanceAdjustmentsForDefaultAppLockedChannels() [all …]
|
D | PreferencesHelperTest.java | 18 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 1013 update2.setImportance(IMPORTANCE_DEFAULT); in testLockFields_lightsAndImportance() 1498 NotificationManager.IMPORTANCE_DEFAULT); in testCreateChannel_noOverrideSound() 1528 new NotificationChannel("not deleted", "belongs to notDeleted", IMPORTANCE_DEFAULT); in testDeleteGroup() 1531 new NotificationChannel("deleted", "belongs to deleted", IMPORTANCE_DEFAULT); in testDeleteGroup() 1837 NotificationChannel nc = new NotificationChannel("id", "hello", IMPORTANCE_DEFAULT); in testCreateChannel_updateName() 1848 assertEquals(IMPORTANCE_DEFAULT, actual.getImportance()); in testCreateChannel_updateName() 1857 NotificationChannel nc = new NotificationChannel("id", "hello", IMPORTANCE_DEFAULT); in testCreateChannel_addToGroup() 1869 assertEquals(IMPORTANCE_DEFAULT, actual.getImportance()); in testCreateChannel_addToGroup() 2034 NotificationChannel a = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); in testGetNotificationChannelGroupWithChannels() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ForegroundServiceControllerTest.java | 136 entryAdded(sbn_user1_app1, NotificationManager.IMPORTANCE_DEFAULT); in testNeedsDisclosureAfterRemovingUnrelatedNotification() 141 NotificationManager.IMPORTANCE_DEFAULT); in testNeedsDisclosureAfterRemovingUnrelatedNotification() 144 entryAdded(sbn_user1_app1_fg, NotificationManager.IMPORTANCE_DEFAULT); in testNeedsDisclosureAfterRemovingUnrelatedNotification() 160 entryAdded(sbn_user1_app1, NotificationManager.IMPORTANCE_DEFAULT); in testSimpleAddRemove() 164 NotificationManager.IMPORTANCE_DEFAULT); in testSimpleAddRemove() 170 NotificationManager.IMPORTANCE_DEFAULT); in testSimpleAddRemove() 176 NotificationManager.IMPORTANCE_DEFAULT); in testSimpleAddRemove() 181 NotificationManager.IMPORTANCE_DEFAULT); in testSimpleAddRemove() 186 NotificationManager.IMPORTANCE_DEFAULT); in testSimpleAddRemove() 207 entryAdded(sbn_user1_app1, NotificationManager.IMPORTANCE_DEFAULT); // not fg in testDisclosureBasic() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationInterruptionStateProviderTest.java | 20 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 214 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testCanAlertCommon_true() 226 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testCanAlertCommon_false_filteredOut() 246 entry.importance = IMPORTANCE_DEFAULT; in testCanAlertCommon_false_suppressedForGroups() 258 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing_true() 270 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing_false_pulseDisabled() 282 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing_false_notDozing() 294 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUpWhenDozing_false_suppressingAmbient() 399 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testShouldHeadsUp_false_lessImportant() 442 NotificationEntry entry = createNotification(IMPORTANCE_DEFAULT); in testCanAlertAwakeCommon__false_vrMode() [all …]
|
D | NotificationTestHelper.java | 20 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 277 IMPORTANCE_DEFAULT); in generateRow()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationComparator.java | 18 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 54 final boolean isLeftHighImportance = leftImportance >= IMPORTANCE_DEFAULT; in compare() 55 final boolean isRightHighImportance = rightImportance >= IMPORTANCE_DEFAULT; in compare()
|
D | NotificationIntrusivenessExtractor.java | 51 && record.getImportance() >= NotificationManager.IMPORTANCE_DEFAULT) { in process()
|
D | NotificationRecord.java | 19 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 347 int requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance() 358 requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance() 378 if (requestedImportance < IMPORTANCE_DEFAULT) { in calculateInitialImportance() 379 requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 69 NotificationManager.IMPORTANCE_DEFAULT); in createAll() 92 NotificationManager.IMPORTANCE_DEFAULT); in createAll() 151 NotificationManager.IMPORTANCE_DEFAULT); in migrateVoicemailNotificationSettings()
|
/frameworks/base/core/java/com/android/internal/notification/ |
D | SystemNotificationChannels.java | 73 NotificationManager.IMPORTANCE_DEFAULT); in createAll() 143 NotificationManager.IMPORTANCE_DEFAULT); in createAll() 168 NotificationManager.IMPORTANCE_DEFAULT); in createAll()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 68 ? NotificationManager.IMPORTANCE_DEFAULT in createAll() 74 NotificationManager.IMPORTANCE_DEFAULT); in createAll()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ChannelEditorListView.kt | 20 import android.app.NotificationManager.IMPORTANCE_DEFAULT in <lambda>() 181 gentle = importance != IMPORTANCE_UNSPECIFIED && importance < IMPORTANCE_DEFAULT in updateImportance()
|
D | NotificationInfo.java | 19 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 151 mChosenImportance = IMPORTANCE_DEFAULT; 541 if ((mWasShownHighPriority && mChosenImportance >= IMPORTANCE_DEFAULT) 542 || (!mWasShownHighPriority && mChosenImportance < IMPORTANCE_DEFAULT)) {
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 19 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 88 new NotificationChannel("default", "Default", IMPORTANCE_DEFAULT)); in onCreate() 676 "channel for sound and a custom vibration", IMPORTANCE_DEFAULT); 739 "blue", IMPORTANCE_DEFAULT); 756 "red", IMPORTANCE_DEFAULT); 796 "resource sound", IMPORTANCE_DEFAULT); 815 "resource sound", IMPORTANCE_DEFAULT); 835 "vibrate", IMPORTANCE_DEFAULT);
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | SchedulerService.java | 34 NotificationManager.IMPORTANCE_DEFAULT)); in onStartCommand()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationData.java | 81 int aImportance = NotificationManager.IMPORTANCE_DEFAULT; 82 int bImportance = NotificationManager.IMPORTANCE_DEFAULT; 251 if (mTmpRanking.getImportance() >= NotificationManager.IMPORTANCE_DEFAULT in isHighPriority()
|
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/ |
D | TestService.java | 86 NotificationManager.IMPORTANCE_DEFAULT)); in startForeground()
|