/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; 337 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 | 133 mRecordDefaultMedia.setSystemImportance(NotificationManager.IMPORTANCE_DEFAULT); in setUp() 149 mRecordSms.setSystemImportance(NotificationManager.IMPORTANCE_DEFAULT); in setUp() 157 mRecordStarredContact.setSystemImportance(NotificationManager.IMPORTANCE_DEFAULT); in setUp() 164 mRecordContact.setSystemImportance(NotificationManager.IMPORTANCE_DEFAULT); in setUp() 207 mNoMediaSessionMedia.setSystemImportance(NotificationManager.IMPORTANCE_DEFAULT); in setUp()
|
D | NotificationRecordTest.java | 19 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 91 new NotificationChannel(channelId, "test", NotificationManager.IMPORTANCE_DEFAULT); 328 assertEquals(NotificationManager.IMPORTANCE_DEFAULT, record.getImportance()); in testImportance_upgrade() 867 new NotificationChannel(channelId, "", IMPORTANCE_DEFAULT)); in testCalculateImportance_asstImportanceChannelUpdate() 933 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); in testIgnoreImportanceAdjustmentsForOemLockedChannels() 941 assertEquals(IMPORTANCE_DEFAULT, record.getImportance()); in testIgnoreImportanceAdjustmentsForOemLockedChannels() 952 assertEquals(IMPORTANCE_DEFAULT, record.getImportance()); in testIgnoreImportanceAdjustmentsForOemLockedChannels() 957 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); in testIgnoreImportanceAdjustmentsForDefaultAppLockedChannels() 965 assertEquals(IMPORTANCE_DEFAULT, record.getImportance()); in testIgnoreImportanceAdjustmentsForDefaultAppLockedChannels() 976 assertEquals(IMPORTANCE_DEFAULT, record.getImportance()); in testIgnoreImportanceAdjustmentsForDefaultAppLockedChannels() [all …]
|
D | PreferencesHelperTest.java | 18 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 1010 update2.setImportance(IMPORTANCE_DEFAULT); in testLockFields_lightsAndImportance() 1495 NotificationManager.IMPORTANCE_DEFAULT); in testCreateChannel_noOverrideSound() 1525 new NotificationChannel("not deleted", "belongs to notDeleted", IMPORTANCE_DEFAULT); in testDeleteGroup() 1528 new NotificationChannel("deleted", "belongs to deleted", IMPORTANCE_DEFAULT); in testDeleteGroup() 1834 NotificationChannel nc = new NotificationChannel("id", "hello", IMPORTANCE_DEFAULT); in testCreateChannel_updateName() 1845 assertEquals(IMPORTANCE_DEFAULT, actual.getImportance()); in testCreateChannel_updateName() 1854 NotificationChannel nc = new NotificationChannel("id", "hello", IMPORTANCE_DEFAULT); in testCreateChannel_addToGroup() 1866 assertEquals(IMPORTANCE_DEFAULT, actual.getImportance()); in testCreateChannel_addToGroup() 2055 NotificationChannel a = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); in testGetNotificationChannelGroupWithChannels() [all …]
|
D | RankingHelperTest.java | 18 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 207 IMPORTANCE_DEFAULT); in getDefaultChannel()
|
/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/services/core/java/com/android/server/notification/ |
D | NotificationComparator.java | 18 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 55 final boolean isLeftHighImportance = leftImportance >= IMPORTANCE_DEFAULT; in compare() 56 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; 350 int requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance() 361 requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance() 381 if (requestedImportance < IMPORTANCE_DEFAULT) { in calculateInitialImportance() 382 requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 64 NotificationManager.IMPORTANCE_DEFAULT); in createAll() 87 NotificationManager.IMPORTANCE_DEFAULT); in createAll() 143 NotificationManager.IMPORTANCE_DEFAULT); in migrateVoicemailNotificationSettings()
|
/frameworks/base/core/java/com/android/internal/notification/ |
D | SystemNotificationChannels.java | 73 NotificationManager.IMPORTANCE_DEFAULT); in createAll() 142 NotificationManager.IMPORTANCE_DEFAULT); in createAll() 167 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 | 82 int aImportance = NotificationManager.IMPORTANCE_DEFAULT; 83 int bImportance = NotificationManager.IMPORTANCE_DEFAULT; 254 if (mTmpRanking.getImportance() >= NotificationManager.IMPORTANCE_DEFAULT in isHighPriority()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationTestHelper.java | 20 import static android.app.NotificationManager.IMPORTANCE_DEFAULT; 270 IMPORTANCE_DEFAULT); in generateRow()
|
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/ |
D | TestService.java | 86 NotificationManager.IMPORTANCE_DEFAULT)); in startForeground()
|