Home
last modified time | relevance | path

Searched refs:notifEntry (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DListDumper.java127 NotificationEntry notifEntry = entry.getRepresentativeEntry(); in dumpEntry() local
128 if (notifEntry != null) { in dumpEntry()
130 .append(notifEntry.getRanking().getRank()); in dumpEntry()
140 NotificationEntry notifEntry = requireNonNull(entry.getRepresentativeEntry()); in dumpEntry() local
143 if (!notifEntry.mLifetimeExtenders.isEmpty()) { in dumpEntry()
144 String[] lifetimeExtenderNames = new String[notifEntry.mLifetimeExtenders.size()]; in dumpEntry()
146 lifetimeExtenderNames[i] = notifEntry.mLifetimeExtenders.get(i).getName(); in dumpEntry()
153 if (!notifEntry.mDismissInterceptors.isEmpty()) { in dumpEntry()
154 String[] interceptorsNames = new String[notifEntry.mDismissInterceptors.size()]; in dumpEntry()
156 interceptorsNames[i] = notifEntry.mDismissInterceptors.get(i).getName(); in dumpEntry()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/
DBaseHeadsUpManagerTest.java168 final NotificationEntry notifEntry = HeadsUpManagerTestUtil.createEntry(/* id = */ 0, in testHasNotifications_avalancheMapNotEmpty_true() local
170 final BaseHeadsUpManager.HeadsUpEntry headsUpEntry = bhum.createHeadsUpEntry(notifEntry); in testHasNotifications_avalancheMapNotEmpty_true()
190 final NotificationEntry notifEntry = HeadsUpManagerTestUtil.createEntry(/* id = */ 0, in testGetHeadsUpEntryList_includesAvalancheEntryList() local
192 final BaseHeadsUpManager.HeadsUpEntry headsUpEntry = bhum.createHeadsUpEntry(notifEntry); in testGetHeadsUpEntryList_includesAvalancheEntryList()
202 final NotificationEntry notifEntry = HeadsUpManagerTestUtil.createEntry(/* id = */ 0, in testGetHeadsUpEntry_returnsAvalancheEntry() local
204 final BaseHeadsUpManager.HeadsUpEntry headsUpEntry = bhum.createHeadsUpEntry(notifEntry); in testGetHeadsUpEntry_returnsAvalancheEntry()
207 assertThat(bhum.getHeadsUpEntry(notifEntry.getKey())).isEqualTo(headsUpEntry); in testGetHeadsUpEntry_returnsAvalancheEntry()
287 final NotificationEntry notifEntry = HeadsUpManagerTestUtil.createEntry(/* id = */ 0, in testHunRemovedLogging() local
291 headsUpEntry.mEntry = notifEntry; in testHunRemovedLogging()
295 verify(mLogger, times(1)).logNotificationActuallyRemoved(eq(notifEntry)); in testHunRemovedLogging()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/
DHighPriorityProvider.java91 final NotificationEntry notifEntry = entry.getRepresentativeEntry(); in isHighPriority() local
92 if (notifEntry == null) { in isHighPriority()
96 return notifEntry.getRanking().getImportance() >= NotificationManager.IMPORTANCE_DEFAULT in isHighPriority()
97 || (allowImplicit && hasHighPriorityCharacteristics(notifEntry)) in isHighPriority()
105 final NotificationEntry notifEntry = entry.getRepresentativeEntry(); in isHighPriorityConversation() local
106 if (notifEntry == null) { in isHighPriorityConversation()
110 if (!isPeopleNotification(notifEntry)) { in isHighPriorityConversation()
114 if (notifEntry.getRanking().getImportance() >= NotificationManager.IMPORTANCE_DEFAULT) { in isHighPriorityConversation()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/
DNotificationMediaManagerTest.kt93 val notifEntry = mock<NotificationEntry>() in mediaDataRemoved_userInitiated_dismissNotif() constant
94 whenever(notifEntry.key).thenReturn(KEY) in mediaDataRemoved_userInitiated_dismissNotif()
95 whenever(notifEntry.ranking).thenReturn(NotificationListenerService.Ranking()) in mediaDataRemoved_userInitiated_dismissNotif()
96 whenever(notifPipeline.allNotifs).thenReturn(listOf(notifEntry)) in mediaDataRemoved_userInitiated_dismissNotif()
116 val notifEntry = mock<NotificationEntry>() in mediaDataRemoved_notUserInitiated_flagOff_dismissNotif() constant
117 whenever(notifEntry.key).thenReturn(KEY) in mediaDataRemoved_notUserInitiated_flagOff_dismissNotif()
118 whenever(notifEntry.ranking).thenReturn(NotificationListenerService.Ranking()) in mediaDataRemoved_notUserInitiated_flagOff_dismissNotif()
119 whenever(notifPipeline.allNotifs).thenReturn(listOf(notifEntry)) in mediaDataRemoved_notUserInitiated_flagOff_dismissNotif()
DNotificationLockscreenUserManagerTest.java675 NotificationEntry notifEntry = new NotificationEntryBuilder() in testDevicePolicy_noPrivateNotifications_userAll() local
679 notifEntry.setRanking(new RankingBuilder(notifEntry.getRanking()) in testDevicePolicy_noPrivateNotifications_userAll()
682 when(mNotifCollection.getEntry(notifEntry.getKey())).thenReturn(notifEntry); in testDevicePolicy_noPrivateNotifications_userAll()
697 assertTrue(mLockscreenUserManager.needsRedaction(notifEntry)); in testDevicePolicy_noPrivateNotifications_userAll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDismissibilityCoordinator.kt63 entry.representativeEntry?.let { notifEntry -> in <lambda>() method
65 if (!notifEntry.isDismissableForState(isLocked)) { in <lambda>()
66 markedKeys.add(notifEntry.key) in <lambda>()
DPreparationCoordinator.java270 NotificationEntry notifEntry = (NotificationEntry) entry; in inflateAllRequiredViews() local
271 inflateRequiredNotifViews(notifEntry); in inflateAllRequiredViews()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/
DRenderNotificationListInteractor.kt95 entry.representativeEntry?.let { notifEntry -> in buildActiveNotificationsStore() method
96 builder.addIndividualNotif(notifEntry.toModel()) in buildActiveNotificationsStore()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallControllerTest.kt563 val notifEntry = createOngoingCallNotifEntry() in chipClicked_activityStarterTriggeredWithUnmodifiedIntent() constant
564 val pendingIntent = notifEntry.sbn.notification.contentIntent in chipClicked_activityStarterTriggeredWithUnmodifiedIntent()
565 notifCollectionListener.onEntryUpdated(notifEntry) in chipClicked_activityStarterTriggeredWithUnmodifiedIntent()