Searched refs:notifEntry (Results 1 – 9 of 9) sorted by relevance
127 NotificationEntry notifEntry = entry.getRepresentativeEntry(); in dumpEntry() local128 if (notifEntry != null) { in dumpEntry()130 .append(notifEntry.getRanking().getRank()); in dumpEntry()140 NotificationEntry notifEntry = requireNonNull(entry.getRepresentativeEntry()); in dumpEntry() local143 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 …]
168 final NotificationEntry notifEntry = HeadsUpManagerTestUtil.createEntry(/* id = */ 0, in testHasNotifications_avalancheMapNotEmpty_true() local170 final BaseHeadsUpManager.HeadsUpEntry headsUpEntry = bhum.createHeadsUpEntry(notifEntry); in testHasNotifications_avalancheMapNotEmpty_true()190 final NotificationEntry notifEntry = HeadsUpManagerTestUtil.createEntry(/* id = */ 0, in testGetHeadsUpEntryList_includesAvalancheEntryList() local192 final BaseHeadsUpManager.HeadsUpEntry headsUpEntry = bhum.createHeadsUpEntry(notifEntry); in testGetHeadsUpEntryList_includesAvalancheEntryList()202 final NotificationEntry notifEntry = HeadsUpManagerTestUtil.createEntry(/* id = */ 0, in testGetHeadsUpEntry_returnsAvalancheEntry() local204 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() local291 headsUpEntry.mEntry = notifEntry; in testHunRemovedLogging()295 verify(mLogger, times(1)).logNotificationActuallyRemoved(eq(notifEntry)); in testHunRemovedLogging()[all …]
91 final NotificationEntry notifEntry = entry.getRepresentativeEntry(); in isHighPriority() local92 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() local106 if (notifEntry == null) { in isHighPriorityConversation()110 if (!isPeopleNotification(notifEntry)) { in isHighPriorityConversation()114 if (notifEntry.getRanking().getImportance() >= NotificationManager.IMPORTANCE_DEFAULT) { in isHighPriorityConversation()
93 val notifEntry = mock<NotificationEntry>() in mediaDataRemoved_userInitiated_dismissNotif() constant94 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() constant117 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()
675 NotificationEntry notifEntry = new NotificationEntryBuilder() in testDevicePolicy_noPrivateNotifications_userAll() local679 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()
63 entry.representativeEntry?.let { notifEntry -> in <lambda>() method65 if (!notifEntry.isDismissableForState(isLocked)) { in <lambda>()66 markedKeys.add(notifEntry.key) in <lambda>()
270 NotificationEntry notifEntry = (NotificationEntry) entry; in inflateAllRequiredViews() local271 inflateRequiredNotifViews(notifEntry); in inflateAllRequiredViews()
95 entry.representativeEntry?.let { notifEntry -> in buildActiveNotificationsStore() method96 builder.addIndividualNotif(notifEntry.toModel()) in buildActiveNotificationsStore()
563 val notifEntry = createOngoingCallNotifEntry() in chipClicked_activityStarterTriggeredWithUnmodifiedIntent() constant564 val pendingIntent = notifEntry.sbn.notification.contentIntent in chipClicked_activityStarterTriggeredWithUnmodifiedIntent()565 notifCollectionListener.onEntryUpdated(notifEntry) in chipClicked_activityStarterTriggeredWithUnmodifiedIntent()