Home
last modified time | relevance | path

Searched refs:notificationEntry (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionControllerTest.kt353 val notificationEntry = mock(NotificationEntry::class.java) in shouldProtectNotification_projectionInactive_false() constant
355 assertFalse(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionInactive_false()
363 val notificationEntry = setupNotificationEntry(TEST_PACKAGE_NAME) in shouldProtectNotification_projectionActive_singleActivity_false() constant
365 assertFalse(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_singleActivity_false()
372 val notificationEntry = setupFgsNotificationEntry(TEST_PROJECTION_PACKAGE_NAME) in shouldProtectNotification_projectionActive_fgsNotificationFromProjectionApp_false() constant
374 assertFalse(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_fgsNotificationFromProjectionApp_false()
381 val notificationEntry = setupFgsNotificationEntry(TEST_PACKAGE_NAME) in shouldProtectNotification_projectionActive_fgsNotificationNotFromProjectionApp_true() constant
383 assertTrue(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_fgsNotificationNotFromProjectionApp_true()
390 val notificationEntry = setupNotificationEntry(TEST_PROJECTION_PACKAGE_NAME) in shouldProtectNotification_projectionActive_notFgsNotification_true() constant
392 assertTrue(controller.shouldProtectNotification(notificationEntry)) in shouldProtectNotification_projectionActive_notFgsNotification_true()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/render/
DGroupExpansionManagerTest.kt55 private val summary1 = notificationEntry("foo", 1) in <lambda>()
56 private val summary2 = notificationEntry("bar", 1) in <lambda>()
63 notificationEntry("foo", 2), in <lambda>()
64 notificationEntry("foo", 3), in <lambda>()
65 notificationEntry("foo", 4) in <lambda>()
73 notificationEntry("bar", 2), in <lambda>()
74 notificationEntry("bar", 3), in <lambda>()
75 notificationEntry("bar", 4) in <lambda>()
79 notificationEntry("baz", 1) in <lambda>()
82 private fun notificationEntry(pkg: String, id: Int) = in <lambda>() method in com.android.systemui.statusbar.notification.collection.render.GroupExpansionManagerTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DDataStoreCoordinatorTest.kt77 notificationEntry("foo", 1), in testUpdateDataStore_withGroups()
78 notificationEntry("foo", 2), in testUpdateDataStore_withGroups()
80 notificationEntry("bar", 1) in testUpdateDataStore_withGroups()
83 notificationEntry("bar", 2), in testUpdateDataStore_withGroups()
84 notificationEntry("bar", 3), in testUpdateDataStore_withGroups()
85 notificationEntry("bar", 4) in testUpdateDataStore_withGroups()
88 notificationEntry("baz", 1) in testUpdateDataStore_withGroups()
107 private fun notificationEntry(pkg: String, id: Int) = in notificationEntry() method
DSensitiveContentCoordinatorTest.kt704 val notificationEntry = in createNotificationEntry() constant
711 notificationEntry.setRanking( in createNotificationEntry()
712 RankingBuilder(notificationEntry.ranking) in createNotificationEntry()
717 return notificationEntry in createNotificationEntry()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/
DIconManagerTest.kt113 notificationEntry(hasShortcut = true, hasMessageSenderIcon = true, hasLargeIcon = true) in testCreateIcons_importantConversation_shortcutIcon()
123 notificationEntry(hasShortcut = false, hasMessageSenderIcon = true, hasLargeIcon = true) in testCreateIcons_importantConversation_messageIcon()
133 notificationEntry( in testCreateIcons_importantConversation_largeIcon()
147 notificationEntry( in testCreateIcons_importantConversation_smallIcon()
161 notificationEntry( in testCreateIcons_importantConversationWithoutMessagingStyle()
176 notificationEntry(hasShortcut = true, hasMessageSenderIcon = true, hasLargeIcon = true) in testCreateIcons_notImportantConversation()
184 notificationEntry(hasShortcut = true, hasMessageSenderIcon = true, hasLargeIcon = false) in testCreateIcons_sensitiveImportantConversation()
197 notificationEntry(hasShortcut = true, hasMessageSenderIcon = true, hasLargeIcon = false) in testUpdateIcons_sensitiveImportantConversation()
212 notificationEntry(hasShortcut = true, hasMessageSenderIcon = true, hasLargeIcon = false) in testUpdateIcons_sensitivityChange()
224 private fun notificationEntry( in notificationEntry() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationTransitionAnimatorController.kt75 private val notificationEntry = notification.entry constant
76 private val notificationKey = notificationEntry.sbn.key
119 .getViewParentForNotification(notificationEntry) in createAnimatorState()
149 notificationEntry.isExpandAnimationRunning = willAnimate in onIntentStarted()
159 val summaryEntry = notificationEntry.parent?.summary
186 notificationEntry.isExpandAnimationRunning = false in onTransitionAnimationCancelled()
206 notificationEntry.isExpandAnimationRunning = false in onTransitionAnimationEnd()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DColorizedFgsCoordinator.java61 NotificationEntry notificationEntry = entry.getRepresentativeEntry();
62 if (notificationEntry != null) {
63 return isRichOngoing(notificationEntry);
DKeyguardCoordinator.kt399 return entry.anyEntry { notificationEntry -> in <lambda>() method
400 seenNotificationsInteractor.isTopOngoingNotification(notificationEntry) in <lambda>()
409 return entry.anyEntry { notificationEntry -> in <lambda>() method
410 seenNotificationsInteractor.isTopUnseenNotification(notificationEntry) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/dagger/
DExpandableNotificationRowComponent.java59 Builder notificationEntry(NotificationEntry entry); in notificationEntry() method
89 NotificationEntry notificationEntry) { in provideStatusBarNotification() argument
90 return notificationEntry.getSbn(); in provideStatusBarNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleSpaceUtilsTest.java278 NotificationEntry notificationEntry = new NotificationEntryBuilder() in testAugmentTileFromNotificationGroupWithSender() local
292 .augmentTileFromNotification(mContext, tile, key, notificationEntry, 0, in testAugmentTileFromNotificationGroupWithSender()
311 NotificationEntry notificationEntry = new NotificationEntryBuilder() in testAugmentTileFromNotificationGroupWithImageUri() local
325 .augmentTileFromNotification(mContext, tile, key, notificationEntry, 0, in testAugmentTileFromNotificationGroupWithImageUri()
344 NotificationEntry notificationEntry = new NotificationEntryBuilder() in testAugmentTileFromNotificationGroupWithAudioUri() local
358 .augmentTileFromNotification(mContext, tile, key, notificationEntry, 0, in testAugmentTileFromNotificationGroupWithAudioUri()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleSpaceUtils.java235 PeopleTileKey key, NotificationEntry notificationEntry, int messagesCount, in augmentTileFromNotification() argument
237 if (notificationEntry == null || notificationEntry.getSbn().getNotification() == null) { in augmentTileFromNotification()
241 StatusBarNotification sbn = notificationEntry.getSbn(); in augmentTileFromNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationContentViewTest.kt595 private fun createMockContainingNotification(notificationEntry: NotificationEntry) = in <lambda>()
597 whenever(this.entry).thenReturn(notificationEntry) in <lambda>()
622 private fun createMockExpandedChild(notificationEntry: NotificationEntry) = in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DNotificationRowBinderImpl.java157 .notificationEntry(entry) in inflateViews()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithmTest.kt57 private val notificationEntry = mock<NotificationEntry>() in <lambda>() constant in com.android.systemui.statusbar.notification.stack.StackScrollAlgorithmTest
99 whenever(notificationRow.entry).thenReturn(notificationEntry) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubblesTest.java2408 NotificationEntry notificationEntry = mNotificationTestHelper.createBubble(mDeleteIntent); in createBubbleEntry() local
2413 NotificationEntryHelper.modifyRanking(notificationEntry) in createBubbleEntry()
2418 return mBubblesManager.notifToBubbleEntry(notificationEntry); in createBubbleEntry()