Home
last modified time | relevance | path

Searched refs:mEnvironment (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java47 private NotificationData.KeyguardEnvironment mEnvironment; field in NotificationFilter
56 if (mEnvironment == null) { in getEnvironment()
57 mEnvironment = Dependency.get(NotificationData.KeyguardEnvironment.class); in getEnvironment()
59 return mEnvironment; in getEnvironment()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationFilterTest.java72 NotificationData.KeyguardEnvironment mEnvironment; field in NotificationFilterTest
96 mDependency.injectTestDependency(NotificationData.KeyguardEnvironment.class, mEnvironment); in setUp()
97 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in setUp()
98 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in setUp()
DNotificationEntryManagerTest.java115 @Mock private KeyguardEnvironment mEnvironment; field in NotificationEntryManagerTest
226 mDependency.injectTestDependency(KeyguardEnvironment.class, mEnvironment); in setUp()
396 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in testUpdateNotificationRanking()
397 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking()
414 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking_noChange()
428 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking_rowNotInflatedYet()
443 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking_pendingNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java53 private KeyguardEnvironment mEnvironment; field in NotificationData
141 if (mEnvironment == null) { in getEnvironment()
142 mEnvironment = Dependency.get(KeyguardEnvironment.class); in getEnvironment()
144 return mEnvironment; in getEnvironment()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationDataTest.java106 NotificationData.KeyguardEnvironment mEnvironment; field in NotificationDataTest
133 mDependency.injectTestDependency(KeyguardEnvironment.class, mEnvironment); in setUp()
134 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in setUp()
135 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in setUp()
219 when(mEnvironment.isNotificationForCurrentProfiles( in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()
221 when(mEnvironment.isNotificationForCurrentProfiles( in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()