/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationComparatorTest.java | 89 private static final String TEST_CHANNEL_ID = "test_channel_id"; field in NotificationComparatorTest 149 Notification n1 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() 159 Notification n2 = 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() 224 Notification n9 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() 235 Notification n10 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() 242 Notification n11 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() 251 Notification n12 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() 261 Notification n13 = new Notification.Builder(mMockContext, TEST_CHANNEL_ID) in setUp() [all …]
|
H A 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()
|
H A D | RankingHelperTest.java | 73 private static final String TEST_CHANNEL_ID = "test_channel_id"; field in RankingHelperTest 151 mNotiGroupGSortA = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 161 mNotiGroupGSortB = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 171 mNotiNoGroup = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 179 mNotiNoGroup2 = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp() 187 mNotiNoGroupSortA = new Notification.Builder(mContext, TEST_CHANNEL_ID) in setUp()
|
H A D | SnoozeHelperTest.java | 75 private static final String TEST_CHANNEL_ID = "test_channel_id"; field in SnoozeHelperTest 843 Notification n = new Notification.Builder(getContext(), TEST_CHANNEL_ID) 852 TEST_CHANNEL_ID, "name", NotificationManager.IMPORTANCE_LOW);
|
H A D | NotificationManagerServiceTest.java | 302 private static final String TEST_CHANNEL_ID = "NotificationManagerServiceTestChannelId"; field in NotificationManagerServiceTest 381 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT); 703 PKG, mContext.getUserId(), PKG, TEST_CHANNEL_ID)); in setUp() 3736 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT); in testUpdateNotificationChannelFromPrivilegedListener_noSoundUriPermission() 3768 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT); in testUpdateNotificationChannelFromPrivilegedListener_noSoundUriPermission_sameSound() 5859 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT); in updateUriPermissions_update() 5922 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT); in updateUriPermissions_posterDoesNotOwnUri() 12461 Notification n = new Notification.Builder(mContext, TEST_CHANNEL_ID) 12485 Notification source = new Notification.Builder(mContext, TEST_CHANNEL_ID)
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationGutsManagerTest.java | 107 private static final String TEST_CHANNEL_ID = "NotificationManagerServiceTestChannelId"; field in NotificationGutsManagerTest 110 TEST_CHANNEL_ID, TEST_CHANNEL_ID, IMPORTANCE_DEFAULT);
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
H A D | PeopleSpaceWidgetManagerTest.java | 148 private static final String TEST_CHANNEL_ID = "channel_id"; field in PeopleSpaceWidgetManagerTest 469 new NotificationChannel(TEST_CHANNEL_ID, TEST_CHANNEL_NAME, IMPORTANCE_DEFAULT); in testDoNotUpdateAppWidgetIfNonConversationChannelModified() 487 new NotificationChannel(TEST_CHANNEL_ID, TEST_CHANNEL_NAME, IMPORTANCE_DEFAULT); in testUpdateAppWidgetIfConversationChannelModified() 505 new NotificationChannel(TEST_CHANNEL_ID, TEST_CHANNEL_NAME, IMPORTANCE_DEFAULT); in testOnNotificationChannelModified_userLocked()
|