Home
last modified time | relevance | path

Searched refs:createNotificationEntry (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryMeterTest.kt46 NotificationMemoryMeter.notificationMemoryUse(createNotificationEntry(notification)) in currentNotificationMemoryUse_plainNotification()
65 createNotificationEntry(createBasicNotification().setGroup("ranker_group").build()) in currentNotificationMemoryUse_rankerGroupNotification()
85 NotificationMemoryMeter.notificationMemoryUse(createNotificationEntry(notification)) in currentNotificationMemoryUse_plainNotification_dontDoubleCountSameBitmap()
108 NotificationMemoryMeter.notificationMemoryUse(createNotificationEntry(notification)) in currentNotificationMemoryUse_customViewNotification_marksTrue()
128 NotificationMemoryMeter.notificationMemoryUse(createNotificationEntry(notification)) in currentNotificationMemoryUse_notificationWithDataIcon_calculatesCorrectly()
157 NotificationMemoryMeter.notificationMemoryUse(createNotificationEntry(notification)) in currentNotificationMemoryUse_bigPictureStyle()
183 NotificationMemoryMeter.notificationMemoryUse(createNotificationEntry(notification)) in currentNotificationMemoryUse_callingStyle()
219 NotificationMemoryMeter.notificationMemoryUse(createNotificationEntry(notification)) in currentNotificationMemoryUse_messagingStyle()
241 NotificationMemoryMeter.notificationMemoryUse(createNotificationEntry(notification)) in currentNotificationMemoryUse_carExtender()
262 NotificationMemoryMeter.notificationMemoryUse(createNotificationEntry(notification)) in currentNotificationMemoryUse_tvWearExtender()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DTargetSdkResolverTest.kt78 val entry = createNotificationEntry(sbn) in resolveFromNotificationExtras()
89 val entry = createNotificationEntry(sbn) in resolveFromPackageManager()
102 val entry = createNotificationEntry(sbn) in resolveFromPackageManager_andPackageManagerCrashes()
117 private fun createNotificationEntry(sbn: StatusBarNotification) = in createSbn() method in com.android.systemui.statusbar.notification.collection.TargetSdkResolverTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenterTest.java150 assertFalse(mInterruptSuppressor.suppressAwakeHeadsUp(createNotificationEntry())); in testNoSuppressHeadsUp_default_refactorDisabled()
158 assertFalse(mNeedsRedactionFilter.shouldSuppress(createNotificationEntry())); in testNoSuppressHeadsUp_default_refactorEnabled()
170 mInterruptSuppressor.suppressAwakeHeadsUp(createNotificationEntry())); in testSuppressHeadsUp_disabledStatusBar_refactorDisabled()
192 mInterruptSuppressor.suppressAwakeHeadsUp(createNotificationEntry())); in testSuppressHeadsUp_disabledNotificationShade_refactorDisabled()
244 mInterruptSuppressor.suppressAwakeInterruptions(createNotificationEntry())); in testSuppressInterruptions_vrMode_refactorDisabled()
266 mInterruptSuppressor.suppressInterruptions(createNotificationEntry())); in testSuppressInterruptions_statusBarAlertsDisabled_refactorDisabled()
358 private NotificationEntry createNotificationEntry() { in createNotificationEntry() method in StatusBarNotificationPresenterTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSensitiveContentCoordinatorTest.kt142 val defaultNotification = createNotificationEntry("test", false, false) in screenshareSecretFilter_sensitiveInctive_noFiltersSecret()
143 val notificationWithSecretVisibility = createNotificationEntry("test", true, false) in screenshareSecretFilter_sensitiveInctive_noFiltersSecret()
144 val notificationOnSecretChannel = createNotificationEntry("test", false, true) in screenshareSecretFilter_sensitiveInctive_noFiltersSecret()
159 val defaultNotification = createNotificationEntry("test", false, false) in screenshareSecretFilter_sensitiveActive_filtersSecret()
160 val notificationWithSecretVisibility = createNotificationEntry("test", true, false) in screenshareSecretFilter_sensitiveActive_filtersSecret()
161 val notificationOnSecretChannel = createNotificationEntry("test", false, true) in screenshareSecretFilter_sensitiveActive_filtersSecret()
694 private fun createNotificationEntry( in createNotificationEntry() method