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.java71 NotificationData.KeyguardEnvironment mEnvironment; field in NotificationFilterTest
95 mDependency.injectTestDependency(NotificationData.KeyguardEnvironment.class, mEnvironment); in setUp()
96 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in setUp()
97 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in setUp()
DNotificationEntryManagerTest.java113 @Mock private KeyguardEnvironment mEnvironment; field in NotificationEntryManagerTest
224 mDependency.injectTestDependency(KeyguardEnvironment.class, mEnvironment); in setUp()
393 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in testUpdateNotificationRanking()
394 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking()
411 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking_noChange()
425 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking_rowNotInflatedYet()
440 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
144 if (mEnvironment == null) { in getEnvironment()
145 mEnvironment = Dependency.get(KeyguardEnvironment.class); in getEnvironment()
147 return mEnvironment; in getEnvironment()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationDataTest.java105 NotificationData.KeyguardEnvironment mEnvironment; field in NotificationDataTest
132 mDependency.injectTestDependency(KeyguardEnvironment.class, mEnvironment); in setUp()
133 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in setUp()
134 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in setUp()
218 when(mEnvironment.isNotificationForCurrentProfiles( in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()
220 when(mEnvironment.isNotificationForCurrentProfiles( in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()