Home
last modified time | relevance | path

Searched refs:IMPORTANCE_DEFAULT (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java20 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 …]
DChannelEditorDialogControllerTest.kt22 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()
DNotificationGutsManagerTest.java22 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()
DNotificationBlockingHelperManagerTest.java19 import static android.app.NotificationManager.IMPORTANCE_DEFAULT;
142 new NotificationChannel(Integer.toString(i++), "", IMPORTANCE_DEFAULT); in testPerhapsShowBlockingHelper_notShownForMultiChannelGroup()
DExpandableNotificationRowTest.java19 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/
DNotificationChannelTest.java19 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()
DNotificationIntrusivenessExtractorTest.java19 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()
DNotificationComparatorTest.java147 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()
DNotificationRecordTest.java19 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 …]
DPreferencesHelperTest.java18 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/
DForegroundServiceControllerTest.java136 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/
DNotificationInterruptionStateProviderTest.java20 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 …]
DNotificationTestHelper.java20 import static android.app.NotificationManager.IMPORTANCE_DEFAULT;
277 IMPORTANCE_DEFAULT); in generateRow()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationComparator.java18 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()
DNotificationIntrusivenessExtractor.java51 && record.getImportance() >= NotificationManager.IMPORTANCE_DEFAULT) { in process()
DNotificationRecord.java19 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/
DNotificationChannelController.java69 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/
DSystemNotificationChannels.java73 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/
DNotificationChannels.java68 ? NotificationManager.IMPORTANCE_DEFAULT in createAll()
74 NotificationManager.IMPORTANCE_DEFAULT); in createAll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorListView.kt20 import android.app.NotificationManager.IMPORTANCE_DEFAULT in <lambda>()
181 gentle = importance != IMPORTANCE_UNSPECIFIED && importance < IMPORTANCE_DEFAULT in updateImportance()
DNotificationInfo.java19 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/
DNotificationTestList.java19 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/
DSchedulerService.java34 NotificationManager.IMPORTANCE_DEFAULT)); in onStartCommand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java81 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/
DTestService.java86 NotificationManager.IMPORTANCE_DEFAULT)); in startForeground()

12