/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationComparatorTest.java | 89 private static final String TEST_CHANNEL_ID = "test_channel_id"; field in NotificationComparatorTest 137 Notification nonInterruptiveNotif = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() 149 Notification n1 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() 159 Notification n2 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() 168 Notification nHighCallStyle = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() 181 Notification n4 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() 190 Notification n5 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() 198 Notification n6 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID).build(); in setUp() 205 Notification n7 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID).build(); in setUp() 212 Notification nSystemMax = new Notification.Builder(mMockContext, TEST_CHANNEL_ID).build(); in setUp() [all …]
|
D | RankingHelperTest.java | 79 private static final String TEST_CHANNEL_ID = "test_channel_id"; field in RankingHelperTest 162 mNotiGroupGSortA = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 172 mNotiGroupGSortB = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 182 mNotiNoGroup = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 190 mNotiNoGroup2 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 198 mNotiNoGroupSortA = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 207 Notification n = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 386 new Notification.Builder(mContext, TEST_CHANNEL_ID) in testSort_oldWhenChildren_unspecifiedSummary() 394 new Notification.Builder(mContext, TEST_CHANNEL_ID) in testSort_oldWhenChildren_unspecifiedSummary() 402 new Notification.Builder(mContext, TEST_CHANNEL_ID) in testSort_oldWhenChildren_unspecifiedSummary() [all …]
|
D | GlobalSortKeyComparatorTest.java | 44 private static final String TEST_CHANNEL_ID = "test_channel_id"; field in GlobalSortKeyComparatorTest 48 Notification n = new Notification.Builder(getContext(), TEST_CHANNEL_ID) in testComparator() 87 Notification n = new Notification.Builder(getContext(), TEST_CHANNEL_ID) in testNoCrash_leftNull() 117 Notification n = new Notification.Builder(getContext(), TEST_CHANNEL_ID) in testNoCrash_rightNull()
|
D | SnoozeHelperTest.java | 75 private static final String TEST_CHANNEL_ID = "test_channel_id"; field in SnoozeHelperTest 866 Notification n = new Notification.Builder(getContext(), TEST_CHANNEL_ID) 875 TEST_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_LOW);
|
D | NotificationManagerServiceTest.java | 361 private static final String TEST_CHANNEL_ID = "NotificationManagerServiceTestChannelId"; field in NotificationManagerServiceTest 458 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT); 862 mPkg, mContext.getUserId(), mPkg, TEST_CHANNEL_ID)); in initNMS() 4190 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT); in testUpdateNotificationChannelFromPrivilegedListener_noSoundUriPermission() 4222 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT); in testUpdateNotificationChannelFromPrivilegedListener_noSoundUriPermission_sameSound() 6670 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT); in updateUriPermissions_update() 6733 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT); in updateUriPermissions_posterDoesNotOwnUri() 13172 Notification notification = builder.setChannelId(TEST_CHANNEL_ID).build(); 14300 Notification sent = new Notification.Builder(mContext, TEST_CHANNEL_ID) 14319 Notification receivedWithoutParceling = new Notification.Builder(mContext, TEST_CHANNEL_ID) [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NotificationGroupTestHelper.java | 40 private static final String TEST_CHANNEL_ID = "test_channel"; field in NotificationGroupTestHelper 90 Notification notif = new Notification.Builder(mContext, TEST_CHANNEL_ID) in createEntry()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManagerTest.java | 121 private static final String TEST_CHANNEL_ID = "NotificationManagerServiceTestChannelId"; field in NotificationGutsManagerTest 124 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT);
|
D | NotificationGutsManagerWithScenesTest.kt | 100 TEST_CHANNEL_ID, in <lambda>() 101 TEST_CHANNEL_ID, in <lambda>() 622 private const val TEST_CHANNEL_ID = "NotificationManagerServiceTestChannelId" in <lambda>() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | VisualInterruptionDecisionProviderTestBase.kt | 1211 Notification.Builder(context, TEST_CHANNEL_ID) in <lambda>() 1273 NotificationChannel(TEST_CHANNEL_ID, TEST_CHANNEL_NAME, importance) in <lambda>() 1373 private const val TEST_CHANNEL_ID = "test_channel" constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManagerTest.java | 153 private static final String TEST_CHANNEL_ID = "channel_id"; field in PeopleSpaceWidgetManagerTest 482 new NotificationChannel(TEST_CHANNEL_ID, TEST_CHANNEL_NAME, IMPORTANCE_DEFAULT); in testDoNotUpdateAppWidgetIfNonConversationChannelModified() 500 new NotificationChannel(TEST_CHANNEL_ID, TEST_CHANNEL_NAME, IMPORTANCE_DEFAULT); in testUpdateAppWidgetIfConversationChannelModified() 518 new NotificationChannel(TEST_CHANNEL_ID, TEST_CHANNEL_NAME, IMPORTANCE_DEFAULT); in testOnNotificationChannelModified_userLocked()
|