/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntryBuilder.java | 48 public class NotificationEntryBuilder { class 60 public NotificationEntryBuilder() { in NotificationEntryBuilder() method in NotificationEntryBuilder 65 public NotificationEntryBuilder(NotificationEntry source) { in NotificationEntryBuilder() method in NotificationEntryBuilder 111 public NotificationEntryBuilder setParent(@Nullable GroupEntry parent) { in setParent() 120 public NotificationEntryBuilder setSbn(@Nullable StatusBarNotification sbn) { in setSbn() 128 public NotificationEntryBuilder setCreationTime(long creationTime) { in setCreationTime() 135 public NotificationEntryBuilder setPkg(String pkg) { in setPkg() 140 public NotificationEntryBuilder setOpPkg(String opPkg) { in setOpPkg() 145 public NotificationEntryBuilder setId(int id) { in setId() 150 public NotificationEntryBuilder setTag(String tag) { in setTag() [all …]
|
D | NotificationRankingManagerTest.kt | 94 val a = NotificationEntryBuilder() in <lambda>() 108 val b = NotificationEntryBuilder() in <lambda>() 133 val a = NotificationEntryBuilder() in <lambda>() 148 val b = NotificationEntryBuilder() in <lambda>() 171 val a = NotificationEntryBuilder() in <lambda>() 188 val b = NotificationEntryBuilder() in <lambda>() 214 val a = NotificationEntryBuilder() in <lambda>() 230 val b = NotificationEntryBuilder() in <lambda>() 259 val a = NotificationEntryBuilder() in <lambda>() 275 val b = NotificationEntryBuilder() in <lambda>() [all …]
|
D | HighPriorityProviderTest.java | 71 final NotificationEntry entry = new NotificationEntryBuilder() in highImportance() 87 final NotificationEntry entry = new NotificationEntryBuilder() in peopleNotification() 105 final NotificationEntry entry = new NotificationEntryBuilder() in messagingStyle() 122 final NotificationEntry entry = new NotificationEntryBuilder() in lowImportanceForeground() 145 final NotificationEntry entry = new NotificationEntryBuilder() in userChangeTrumpsHighPriorityCharacteristics() 239 return new NotificationEntryBuilder() in createNotifEntry()
|
D | EntryUtil.kt | 27 crossinline modifier: NotificationEntryBuilder.() -> Unit in modifyEntry() 29 val builder = NotificationEntryBuilder(entry) in modifyEntry()
|
D | NotificationEntryTest.java | 84 mEntry = new NotificationEntryBuilder() in setup() 110 NotificationEntry e1 = new NotificationEntryBuilder() in testIsExemptFromDndVisualSuppression_media() 128 NotificationEntry entry = new NotificationEntryBuilder() in testIsNotExemptFromDndVisualSuppression_hiddenCategories() 219 NotificationEntry entry = new NotificationEntryBuilder() in notificationDataEntry_testIsLastMessageFromReply()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/ |
D | GroupCoalescerTest.java | 41 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 96 new NotificationEntryBuilder() in testUngroupedNotificationsAreNotCoalesced() 112 new NotificationEntryBuilder() in testGroupedNotificationsAreCoalesced() 130 new NotificationEntryBuilder() in testCoalescedNotificationsStillPassThroughRankingUpdate() 142 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted() 149 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted() 157 NotifEvent notif3 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedNotificationsArePosted() 181 NotifEvent notif1a = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater() 186 NotifEvent notif2 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater() 190 NotifEvent notif3 = mNoMan.postNotif(new NotificationEntryBuilder() in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | PreparationCoordinatorTest.java | 45 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 91 mEntry = new NotificationEntryBuilder().setParent(ROOT_ENTRY).build(); in setUp() 194 NotificationEntry summary = new NotificationEntryBuilder() in testCutoffGroupChildrenNotInflated() 200 NotificationEntry child = new NotificationEntryBuilder() in testCutoffGroupChildrenNotInflated() 239 .setSummary(new NotificationEntryBuilder().setId(1).build()) in testPartiallyInflatedGroupsAreFilteredOut() 240 .addChild(new NotificationEntryBuilder().setId(2).build()) in testPartiallyInflatedGroupsAreFilteredOut() 241 .addChild(new NotificationEntryBuilder().setId(3).build()) in testPartiallyInflatedGroupsAreFilteredOut() 259 .setSummary(new NotificationEntryBuilder().setId(1).build()) in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion() 260 .addChild(new NotificationEntryBuilder().setId(2).build()) in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion() 261 .addChild(new NotificationEntryBuilder().setId(3).build()) in testPartiallyInflatedGroupsAreFilteredOutSummaryVersion() [all …]
|
D | ConversationCoordinatorTest.kt | 26 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder 74 entry = NotificationEntryBuilder().setChannel(channel).build() in setUp() 81 assertFalse(promoter.shouldPromoteToTopLevel(NotificationEntryBuilder().build())) in testPromotesImportantConversations() 91 assertFalse(peopleSectioner.isInSection(NotificationEntryBuilder().build())) in testInPeopleSection()
|
D | MediaCoordinatorTest.java | 34 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 59 mOtherEntry = new NotificationEntryBuilder().build(); in setUp() 61 NotificationEntryBuilder builder = new NotificationEntryBuilder(); in setUp()
|
D | SmartspaceDedupingCoordinatorTest.kt | 33 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder 135 entry1HasRecentlyAlerted = NotificationEntryBuilder() in setUp() 140 entry2HasNotRecentlyAlerted = NotificationEntryBuilder() in setUp() 144 entry3NotAssociatedWithTarget = NotificationEntryBuilder() in setUp() 149 entry4HasNotRecentlyAlerted = NotificationEntryBuilder() in setUp() 197 val entryOldAlert = NotificationEntryBuilder(entry1HasRecentlyAlerted) in testFilterAlertedButNotRecentNotifs() 253 NotificationEntryBuilder(entry1HasRecentlyAlerted) in testExceptionIsUpdated() 283 val newerEntry = NotificationEntryBuilder() in testReplacementIsCanceled()
|
D | HeadsUpCoordinatorTest.java | 37 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 118 mEntry = new NotificationEntryBuilder().build(); in setUp() 128 assertFalse(mNotifPromoter.shouldPromoteToTopLevel(new NotificationEntryBuilder().build())); in testPromotesCurrentHUN() 138 assertFalse(mNotifSectioner.isInSection(new NotificationEntryBuilder().build())); in testIncludeInSectionCurrentHUN() 149 new NotificationEntryBuilder().build(), /* cancellationReason */ 0)); in testLifetimeExtendsCurrentHUN() 160 NotificationEntry newHUN = new NotificationEntryBuilder().build(); in testLifetimeExtensionEndsOnNewHUN()
|
D | AppOpsCoordinatorTest.java | 44 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 68 private NotificationEntryBuilder mEntryBuilder; 87 mEntryBuilder = new NotificationEntryBuilder() in setup()
|
D | KeyguardCoordinatorTest.java | 48 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 86 mEntry = new NotificationEntryBuilder() in setup() 190 final NotificationEntry entryWithParent = new NotificationEntryBuilder() in summaryExceedsThresholdToShow() 196 .setSummary(new NotificationEntryBuilder() in summaryExceedsThresholdToShow()
|
D | HideNotifsForOtherUsersCoordinatorTest.java | 35 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 62 private NotificationEntry mEntry = new NotificationEntryBuilder().build();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | HeadsUpManagerTest.java | 43 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 104 ongoingCall.setEntry(new NotificationEntryBuilder() in testAlertEntryCompareTo_ongoingCallLessThanActiveRemoteInput() 112 activeRemoteInput.setEntry(new NotificationEntryBuilder() in testAlertEntryCompareTo_ongoingCallLessThanActiveRemoteInput() 126 incomingCall.setEntry(new NotificationEntryBuilder() in testAlertEntryCompareTo_incomingCallLessThanActiveRemoteInput() 134 activeRemoteInput.setEntry(new NotificationEntryBuilder() in testAlertEntryCompareTo_incomingCallLessThanActiveRemoteInput() 150 entryToPin.setEntry(new NotificationEntryBuilder() in testPinEntry_logsPeek()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationFilterTest.java | 50 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 104 NotificationEntryBuilder builder = new NotificationEntryBuilder(); in setUp() 189 NotificationEntry entry = new NotificationEntryBuilder() in testShouldFilterHiddenNotifications() 196 entry = new NotificationEntryBuilder() in testShouldFilterHiddenNotifications() 213 NotificationEntry otherEntry = new NotificationEntryBuilder().build(); in shouldFilterOtherNotificationWhenDisabled() 230 NotificationEntry otherEntry = new NotificationEntryBuilder().build(); in shouldFilterOtherNotificationWhenEnabled()
|
D | DynamicChildBindControllerTest.java | 39 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 115 NotificationEntry summary = new NotificationEntryBuilder().build(); in addGroup() 119 NotificationEntry child = new NotificationEntryBuilder().build(); in addGroup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerTest.java | 63 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 128 mCurrentUserNotif = new NotificationEntryBuilder() in setUp() 132 mSecondaryUserNotif = new NotificationEntryBuilder() in setUp() 136 mWorkProfileNotif = new NotificationEntryBuilder() in setUp() 329 NotificationEntry entry = new NotificationEntryBuilder() in testShowSilentNotifications_settingSaysShow() 346 NotificationEntry entry = new NotificationEntryBuilder() in testShowSilentNotifications_settingSaysHide() 363 NotificationEntry entry = new NotificationEntryBuilder() in testShowSilentNotificationsPeopleBucket_settingSaysHide() 380 NotificationEntry entry = new NotificationEntryBuilder() in testShowSilentNotificationsMediaBucket_settingSaysHide() 394 final NotificationEntry entry = new NotificationEntryBuilder() in testKeyguardNotificationSuppressors()
|
D | AlertingNotificationManagerTest.java | 43 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 137 mEntry = new NotificationEntryBuilder() in setUp() 192 NotificationEntry entry = new NotificationEntryBuilder() in testReleaseAllImmediately()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | NotificationHelperTest.java | 47 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 111 private final NotificationEntry mNotificationEntry1 = new NotificationEntryBuilder() 118 private final NotificationEntry mNotificationEntry2 = new NotificationEntryBuilder() 126 private final NotificationEntry mMissedCallNotificationEntry = new NotificationEntryBuilder() 133 private final NotificationEntry mNoContentNotificationEntry = new NotificationEntryBuilder()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationPresenterTest.java | 54 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 144 NotificationEntry entry = new NotificationEntryBuilder() in testSuppressHeadsUp_disabledStatusBar() 161 NotificationEntry entry = new NotificationEntryBuilder() in testSuppressHeadsUp_disabledNotificationShade() 179 NotificationEntry entry = new NotificationEntryBuilder() in testSuppressInterruptions_vrMode() 194 NotificationEntry entry = new NotificationEntryBuilder() in testSuppressInterruptions_statusBarAlertsDisabled()
|
D | NotificationGroupTestHelper.java | 29 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 78 NotificationEntry entry = new NotificationEntryBuilder() in createEntry()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManagerTest.java | 116 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 307 mNotificationEntry = new NotificationEntryBuilder() in setUp() 413 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateAppWidgetIfNoWidgets() 434 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateAppWidgetIfNoShortcutInfo() 455 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateAppWidgetIfNoPackage() 504 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateNotificationPostedIfDifferentShortcutId() 523 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateNotificationPostedIfDifferentPackageName() 539 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateNotificationRemovedIfDifferentShortcutId() 560 NotifEvent notif1 = mNoMan.postNotif(new NotificationEntryBuilder() in testDoNotUpdateNotificationRemovedIfDifferentPackageName() 630 NotificationEntryBuilder builder = new NotificationEntryBuilder() in testUpdateNotificationPostedIfExistingTile() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/ |
D | OngoingCallControllerTest.kt | 39 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder 159 val notification = NotificationEntryBuilder(createOngoingCallNotifEntry()) in onEntryUpdated_notificationWhenIsZero_timeHidden() 174 val notification = NotificationEntryBuilder(createOngoingCallNotifEntry()) in onEntryUpdated_notificationWhenIsValid_timeShown() 233 val removedEntryBuilder = NotificationEntryBuilder(ongoingCallNotifEntry) in onEntryRemoved_removedNotifHasSameKeyAsAddedNotif_listenerNotified() 423 val notificationEntryBuilder = NotificationEntryBuilder() in createOngoingCallNotifEntry() 438 private fun createNotCallNotifEntry() = NotificationEntryBuilder().build()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotifRemoteViewCacheImplTest.java | 36 import com.android.systemui.statusbar.notification.collection.NotificationEntryBuilder; 59 mEntry = new NotificationEntryBuilder().build(); in setUp()
|