Searched refs:extender (Results 1 – 6 of 6) sorted by relevance
158 for (NotificationLifetimeExtender extender : extenders) { in addNotificationLifetimeExtenders()159 addNotificationLifetimeExtender(extender); in addNotificationLifetimeExtenders()164 public void addNotificationLifetimeExtender(NotificationLifetimeExtender extender) { in addNotificationLifetimeExtender() argument165 mNotificationLifetimeExtenders.add(extender); in addNotificationLifetimeExtender()166 extender.setCallback(key -> removeNotification(key, mLatestRankingMap, in addNotificationLifetimeExtender()289 for (NotificationLifetimeExtender extender : mNotificationLifetimeExtenders) { in removeNotificationInternal()290 if (extender.shouldExtendLifetime(entry)) { in removeNotificationInternal()292 extendLifetime(entry, extender); in removeNotificationInternal()513 private void extendLifetime(NotificationEntry entry, NotificationLifetimeExtender extender) { in extendLifetime() argument515 if (activeExtender != null && activeExtender != extender) { in extendLifetime()[all …]
459 NotificationLifetimeExtender extender = mock(NotificationLifetimeExtender.class); in testLifetimeExtenders_ifNotificationIsRetainedItIsntRemoved() local460 when(extender.shouldExtendLifetime(mEntry)).thenReturn(true); in testLifetimeExtenders_ifNotificationIsRetainedItIsntRemoved()461 mEntryManager.addNotificationLifetimeExtender(extender); in testLifetimeExtenders_ifNotificationIsRetainedItIsntRemoved()467 verify(extender).setShouldManageLifetime(mEntry, true); in testLifetimeExtenders_ifNotificationIsRetainedItIsntRemoved()478 final FakeNotificationLifetimeExtender extender = new FakeNotificationLifetimeExtender(); in testLifetimeExtenders_whenRetentionEndsNotificationIsRemoved() local479 mEntryManager.addNotificationLifetimeExtender(extender); in testLifetimeExtenders_whenRetentionEndsNotificationIsRemoved()481 assertTrue(extender.isManaging(mEntry.key)); in testLifetimeExtenders_whenRetentionEndsNotificationIsRemoved()484 extender.setExtendLifetimes(false); in testLifetimeExtenders_whenRetentionEndsNotificationIsRemoved()485 extender.getCallback().onSafeToRemove(mEntry.key); in testLifetimeExtenders_whenRetentionEndsNotificationIsRemoved()497 NotificationLifetimeExtender extender = mock(NotificationLifetimeExtender.class); in testLifetimeExtenders_whenNotificationUpdatedRetainersAreCanceled() local[all …]
84 for (NotificationLifetimeExtender extender : mRemoteInputManager.getLifetimeExtenders()) { in setUp()85 extender.setCallback( in setUp()
460 Notification.TvExtender extender) { in generateNotificationRecord() argument461 return generateNotificationRecord(channel, extender, false /* isBubble */); in generateNotificationRecord()465 Notification.TvExtender extender, boolean isBubble) { in generateNotificationRecord() argument472 if (extender != null) { in generateNotificationRecord()473 nb.extend(extender); in generateNotificationRecord()
1731 public Builder extend(Extender extender) { in extend() argument1732 extender.extend(this); in extend()4538 public Builder extend(Extender extender) { in extend() argument4539 extender.extend(this); in extend()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...